:root {
  color-scheme: dark;
  --bg: #050d18;
  --surface: #0a1728;
  --surface-strong: #0d2036;
  --line: #183452;
  --text: #f5f8fc;
  --muted: #a8bad0;
  --blue: #2387f5;
  --blue-soft: #112d50;
  --green: #15d7a0;
  --orange: #ff9d42;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(35, 135, 245, .14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; color: #000; padding: .7rem 1rem; border-radius: .5rem; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 13, 24, .9);
  backdrop-filter: blur(16px);
}
.nav {
  max-width: var(--max);
  min-height: 72px;
  margin: auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.nav-links a { color: var(--muted); text-decoration: none; padding: .55rem .75rem; border-radius: .65rem; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: #fff; background: var(--surface-strong); }
.hero, .page-head, .content, .footer-inner { max-width: var(--max); margin: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.hero { min-height: 560px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; padding-top: 5rem; padding-bottom: 5rem; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; margin: .65rem 0 1.35rem; max-width: 850px; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); color: #fff; text-decoration: none; font-weight: 700; }
.button.primary { background: var(--blue); border-color: var(--blue); }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.overview { position: relative; min-height: 390px; border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.25rem; background: linear-gradient(155deg, rgba(13,32,54,.95), rgba(7,17,31,.95)); box-shadow: 0 28px 80px rgba(0,0,0,.35); overflow: hidden; }
.overview::after { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -90px; border-radius: 50%; background: rgba(21,215,160,.09); }
.overview-title { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.total { font-size: 2.15rem; font-weight: 800; letter-spacing: -.04em; margin: .65rem 0 1.5rem; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); height: 170px; align-items: end; gap: .65rem; border-bottom: 1px solid var(--line); }
.bars span { display: block; border-radius: .45rem .45rem 0 0; background: linear-gradient(to top, var(--blue), #18b9d6); min-height: 35px; }
.bars span:last-child { background: linear-gradient(to top, var(--blue) 0 72%, var(--green) 72% 100%); }
.legend { color: var(--muted); font-size: .82rem; margin-top: 1rem; }
.section { max-width: var(--max); margin: auto; padding: 4.5rem 1.5rem; }
.section h2 { margin: 0 0 .75rem; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.section-intro { color: var(--muted); max-width: 660px; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.3rem; background: var(--surface); }
.card-tag { display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: .75rem; align-items: center; justify-content: center; background: var(--blue-soft); color: #7fbcff; font-weight: 900; }
.card h3 { margin: 1rem 0 .35rem; }
.card p { color: var(--muted); margin: 0; }
.legal-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10,23,40,.7); }
.legal-strip .section { padding-top: 3rem; padding-bottom: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.page-head { padding-top: 4.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
.updated { color: var(--muted); }
.content { padding-top: 3rem; padding-bottom: 5rem; display: grid; grid-template-columns: 250px minmax(0, 730px); gap: 4rem; }
.toc { position: sticky; top: 105px; align-self: start; border-left: 2px solid var(--line); padding-left: 1rem; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: .3rem 0; font-size: .9rem; }
.toc a:hover { color: #fff; }
.prose h2 { margin-top: 2.8rem; line-height: 1.2; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: #c7d3e2; }
.prose strong { color: #fff; }
.prose a { color: #78b8ff; }
.notice { border: 1px solid #275886; background: var(--blue-soft); border-radius: 1rem; padding: 1rem 1.1rem; margin: 1.5rem 0; }
.request-box { border: 1px solid var(--line); background: var(--surface); border-radius: 1.2rem; padding: 1.5rem; margin: 2rem 0; }
.request-box h2 { margin-top: 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 820px) {
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 2.5rem; padding-top: 3.5rem; }
  .grid { grid-template-columns: 1fr; }
  .content { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc { position: static; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
  .legal-strip .section, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
