:root {
  color-scheme: dark;
  --ink: #000000;
  --panel: #0a0a0a;
  --panel-strong: #16181a;
  --line: rgba(255, 255, 255, .12);
  --text: #ffffff;
  --muted: #8d969e;
  --red: #e61e49;
  --lime: #c8f542;
  --blue: #007bc2;
  --cta-label: #191c1f;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% -10%, #16181a 0, transparent 38rem), var(--ink); color: var(--text); line-height: 1.65; }
a { color: inherit; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .88); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mark { width: 34px; height: 34px; border: 2px solid var(--red); transform: rotate(45deg); position: relative; display: inline-block; }
.mark::after { content: ""; position: absolute; width: 11px; height: 11px; background: var(--lime); left: 9px; top: 9px; }
.nav { display: flex; gap: 20px; color: var(--muted); font-size: .92rem; }
.nav a[aria-current="page"] { color: var(--text); }
main { padding: 72px 0 96px; }
.eyebrow { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); max-width: 850px; margin: 16px 0 22px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 18px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.lede { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 720px; }
.hero { min-height: 54vh; display: grid; align-content: center; position: relative; }
.hero::after { content: ""; position: absolute; right: 3%; bottom: 12%; width: min(32vw, 270px); height: min(32vw, 270px); border: 1px solid var(--blue); border-radius: 50%; opacity: .35; }
.hero-copy { position: relative; z-index: 1; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-strong); text-decoration: none; font-weight: 750; }
.button.primary { border-color: var(--text); background: var(--text); color: var(--cta-label); }
.button.primary:hover { color: var(--cta-label); }
.section { border-top: 1px solid var(--line); padding: 64px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 190px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel-strong), var(--panel)); padding: 24px; position: relative; }
.card::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 28px; }
.card:nth-child(2)::before { background: var(--lime); }
.card:nth-child(3)::before { background: var(--blue); }
.card p, .muted { color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 30px; }
.prose li { margin: 8px 0; }
.prose a, .card a { text-decoration: underline; text-underline-offset: 3px; }
.prose .button { text-decoration: none; }
.card a { display: inline-block; margin-top: 6px; font-weight: 700; }
.notice { border-left: 3px solid var(--lime); background: var(--panel-strong); padding: 18px 20px; color: var(--text); }
.meta { color: var(--muted); font-size: .9rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 3; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--cta-label); font-weight: 750; text-decoration: none; }
.skip-link:focus { top: 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 42px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { position: static; }
  .header-inner { min-height: 68px; align-items: flex-start; padding: 16px 0; flex-direction: column; gap: 10px; }
  .nav { gap: 14px; font-size: .82rem; }
  main { padding-top: 46px; }
  .hero { min-height: 58vh; }
  .hero::after { width: 150px; height: 150px; right: 0; bottom: 12%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
