:root {
  --bg: #060714; --bg-elev: #0d0f26; --text: #eef0ff; --text-dim: #b0b5dc; --text-faint: #7f85b3;
  --border: rgba(255,255,255,0.09); --surface: rgba(255,255,255,0.045);
  --accent: #22d3ee; --accent-2: #a855f7; --accent-3: #34e0a1;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 16px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f5f6fc; --bg-elev: #ffffff; --text: #12142c; --text-dim: #40456c; --text-faint: #6a6f98;
          --border: rgba(10,12,40,0.10); --surface: rgba(10,12,40,0.035); --accent: #0891b2; --accent-2: #7c3aed; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, "Segoe UI", Inter, Roboto, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--accent); color: #04121a; padding: .5rem .8rem; border-radius: 8px; z-index: 10; }

header.top { border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.logo { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.logo:hover { text-decoration: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.main a { color: var(--text-dim); margin-left: 1.2rem; font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current] { color: var(--text); text-decoration: none; }

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); text-align: center; }
.eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .8rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); letter-spacing: -0.015em; margin: 0 0 .8rem; line-height: 1.2; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.lede { color: var(--text-dim); font-size: 1.1rem; max-width: 62ch; margin: 0 auto; }
section.block { padding: clamp(2rem, 5vw, 3.25rem) 0; }
.sec-head { max-width: 640px; margin-bottom: 1.75rem; }
.sec-head p { color: var(--text-dim); margin: 0; }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; color: inherit; display: flex; flex-direction: column; }
a.card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
a.card { transition: transform .2s ease, border-color .2s ease; }
.card p { color: var(--text-dim); margin: 0 0 .8rem; font-size: .95rem; }
.card .go { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .9rem; }
.tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-3); font-weight: 700; margin-bottom: .5rem; }
.card ul { color: var(--text-dim); font-size: .92rem; padding-left: 1.1rem; margin: 0 0 .9rem; }

.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--text); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { color: var(--text-dim); margin: .7rem 0 0; }
.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 10px; background: var(--grad); color: #04121a; font-weight: 700; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

footer.bottom { border-top: 1px solid var(--border); margin-top: 3rem; padding: 2.5rem 0 2rem; font-size: .9rem; color: var(--text-faint); }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 1.75rem; }
.foot-grid h4 { margin: 0 0 .7rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.foot-grid a { color: var(--text-dim); }
.foot-grid p { margin: .5rem 0 0; max-width: 34ch; }
.copy { border-top: 1px solid var(--border); padding-top: 1.25rem; }
