:root {
  --bg-dark: #060d1f;
  --bg-darker: #030712;
  --bg-card: rgba(12, 27, 59, 0.6);
  --bg-card-hover: rgba(12, 27, 59, 0.9);
  --border-color: #24375e;
  --border-highlight: #3a5382;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-green: #8ef0c1;
  --accent-orange: #ff704d;
  --accent-yellow: #fbbf24;
  --accent-blue: #60a5fa;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at top right, rgba(16, 35, 77, 0.8) 0, transparent 400px),
    radial-gradient(circle at bottom left, rgba(16, 35, 77, 0.4) 0, transparent 400px);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--accent-orange);
  color: #fff;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
}

a:hover, a:focus-visible {
  color: #fff;
  text-decoration-color: var(--accent-green);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Header & Nav */
header {
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--text-main);
}

/* Main Container */
main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.document-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
  color: #fff;
}

.document-content p, .document-content ul {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.document-content ul {
  padding-left: 20px;
}

.document-content li {
  margin-bottom: 12px;
}
.eyebrow {
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 16px;
  display: inline-block;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 64px 0 32px;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  font-weight: 600;
  color: #fff;
}

p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1.125rem, 3vw, 1.35rem);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* Button / CTA */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent-green);
  color: #061326;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.button:hover, .button:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-highlight);
}

.button-outline:hover, .button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  color: #fff;
}

/* Cards & Grids */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-blue);
  stroke-width: 2;
  fill: none;
}

/* Footer */
footer {
  margin-top: 64px;
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  footer .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

footer a {
  color: var(--text-muted);
}
footer a:hover {
  color: var(--accent-green);
}
