/* AgentGuard shared styles */

:root {
  --bg: #0b0f14;
  --text: #e6eaf0;
  --muted: #9aa4b2;
  --accent: #7aa2ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(ellipse 1400px 700px at 50% -5%, #1a2540, var(--bg));
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

/* Optional universe background - add assets/universe.webp to enable */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/assets/universe.webp") center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}

/* Accessible focus outline */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Navigation */
.site-header {
  padding: 1.5rem 1.5rem 0;
}

.site-header nav {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.site-header .site-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-header .site-name:hover {
  color: var(--accent);
}

.site-header .nav-links {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav-links li {
  line-height: 1;
}

.site-header .nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] {
  color: var(--text);
}

/* Main content */
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 3.5rem 0 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

/* Lists */
ul {
  margin: 0 0 1rem;
  padding: 0 0 0 1.25rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.5rem;
}

li strong {
  color: var(--text);
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Intro paragraph styling */
.intro {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
}
