@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b0f17;
  --ink-2: #111827;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9eef5;
  --soft: #b9c4d3;
  --muted: #8391a7;
  --teal: #5eead4;
  --teal-2: #2dd4bf;
  --teal-3: #99f6e4;
  --rose: #fb7185;
  --radius: 22px;
  --wrap: 1180px;
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 clamp(16px, 1.05vw + 12px, 18px)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; background: rgba(94, 234, 212, .08); border: 1px solid rgba(94, 234, 212, .18); padding: .08em .4em; border-radius: 6px; color: var(--teal-3); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--teal); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; pointer-events: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(18, 50, 74, .9), transparent 60%),
    radial-gradient(800px 600px at -10% 40%, rgba(29, 20, 64, .7), transparent 60%),
    radial-gradient(700px 500px at 110% 90%, rgba(13, 148, 136, .14), transparent 60%);
}

.wrap { width: min(var(--wrap), 100% - 2 * clamp(20px, 5vw, 48px)); margin-inline: auto; }
.wrap.narrow { --wrap: 860px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 15, 23, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--soft); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s; }
.menu span:first-child { top: 17px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--body); padding: 15px 24px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal-2), var(--teal-3)); color: #042f2e; box-shadow: 0 10px 30px -10px rgba(45, 212, 191, .6); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(45, 212, 191, .8); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(94, 234, 212, .45); }
.btn-sm { padding: 10px 14px; font-size: 14px; border-radius: 12px; }

/* type */
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; max-width: 20ch; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; font-weight: 700; }
.grad { background: linear-gradient(100deg, var(--teal-2), var(--teal-3) 55%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no { color: var(--rose); }
.lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--soft); max-width: 60ch; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin: 0 0 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* hero */
.hero { padding: clamp(40px, 8vh, 96px) 0 clamp(40px, 6vh, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); margin: 0 0 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, .55); } 70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }
.hero .lead { margin: 26px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cmd { margin-top: 26px; display: flex; align-items: center; gap: 12px; max-width: 460px; padding: 10px 10px 10px 18px; border-radius: 14px; background: #060910; border: 1px solid rgba(94, 234, 212, .25); }
.cmd code { min-width: 0; background: none; border: 0; padding: 0; font-size: 15px; color: var(--teal-3); flex: 1; overflow-x: auto; white-space: nowrap; }
.cmd .prompt { color: var(--muted); font-family: var(--mono); }
.copy { font: 600 13px/1 var(--body); color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; transition: background .2s, color .2s; }
.copy:hover { background: rgba(94, 234, 212, .15); }
.copy.done { color: var(--ink); background: var(--teal); border-color: var(--teal); }
.works { color: var(--muted); font-size: 15px; margin: 16px 0 0; }
.works strong { color: var(--soft); font-weight: 600; }

.hero-visual { position: relative; }
.console { background: linear-gradient(180deg, rgba(17, 24, 39, .92), rgba(8, 11, 18, .96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(94, 234, 212, .05); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.console-bar span { width: 11px; height: 11px; border-radius: 50%; background: #1f2937; }
.console-bar span:nth-child(1) { background: #fb7185; } .console-bar span:nth-child(2) { background: #fbbf24; } .console-bar span:nth-child(3) { background: #34d399; }
.console-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.console-body { list-style: none; margin: 0; padding: 20px; min-height: 360px; font: 14px/1.6 var(--mono); }
.console-body li { overflow-wrap: anywhere; margin: 0 0 12px; opacity: 0; transform: translateY(6px); animation: in .45s forwards; }
@keyframes in { to { opacity: 1; transform: none; } }
.c-user { color: var(--text); font-family: var(--body); font-size: 15px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px 12px 12px 4px; }
.c-call { color: var(--teal-3); }
.c-call::before { content: "→ "; color: var(--muted); }
.c-out { color: var(--soft); padding-left: 18px; border-left: 2px solid rgba(94, 234, 212, .25); }
.c-ok { color: #34d399; font-weight: 600; }
.c-warn { color: #fbbf24; }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.seal { position: absolute; width: 96px; right: -18px; bottom: -26px; filter: drop-shadow(0 14px 30px rgba(45, 212, 191, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 7vh, 72px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: rgba(11, 15, 23, .92); padding: 20px 22px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; color: var(--text); font-size: 15px; }

/* sections */
.section { padding: clamp(64px, 11vh, 128px) 0; position: relative; }
.section.tight { padding: clamp(32px, 6vh, 64px) 0; }
.section h2 + * { margin-top: 28px; }

.switch { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-top: 36px; }
.switch button { font: 600 15px/1 var(--body); color: var(--soft); background: none; border: 0; padding: 12px 18px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.switch button.on { background: var(--teal); color: var(--ink); }
.explain { margin-top: 28px; max-width: 820px; }
.exp-panel { animation: in .4s; }
.exp-panel p { color: var(--soft); }
.exp-panel .big { font-size: clamp(19px, 1.6vw, 23px); color: var(--text); line-height: 1.55; }
.exp-panel .hl { color: var(--text); font-weight: 500; padding: 18px 22px; border-left: 3px solid var(--teal); background: linear-gradient(90deg, rgba(94, 234, 212, .08), transparent); border-radius: 0 14px 14px 0; }
.rules { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.rules li { padding: 14px 18px 14px 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: relative; color: var(--soft); }
.rules li::before { content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--body); color: var(--ink); background: #fbbf24; }
.rules span { color: var(--text); font-weight: 600; }

/* demo */
.demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(18, 50, 74, .55), rgba(11, 15, 23, .6)); }
.demo h2 { font-size: clamp(26px, 3vw, 40px); max-width: 24ch; }
.demo-copy > p:not(.eyebrow) { color: var(--soft); }
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.who button { font: 600 15px/1 var(--body); color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 13px 16px; border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.who button:hover { border-color: rgba(94, 234, 212, .5); transform: translateY(-1px); }
.who button[aria-checked="true"] { background: var(--text); color: var(--ink); }
.verdict { text-align: center; padding: 34px 24px; border-radius: 22px; background: rgba(6, 9, 16, .75); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: border-color .3s, box-shadow .3s; }
.v-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font: 700 36px/1 var(--head); background: rgba(255, 255, 255, .06); color: var(--muted); transition: background .3s, color .3s, transform .3s; }
.v-title { font: 700 26px/1.2 var(--head); margin: 18px 0 8px; }
.v-text { color: var(--soft); margin: 0; font-size: 15px; max-width: 34ch; }
.verdict.ok { border-color: rgba(52, 211, 153, .5); box-shadow: 0 0 60px -20px rgba(52, 211, 153, .5); }
.verdict.ok .v-icon { background: #34d399; color: var(--ink); transform: scale(1.06); }
.verdict.ok .v-title { color: #34d399; }
.verdict.bad { border-color: rgba(251, 113, 133, .5); box-shadow: 0 0 60px -20px rgba(251, 113, 133, .5); }
.verdict.bad .v-icon { background: var(--rose); color: var(--ink); transform: scale(1.06); }
.verdict.bad .v-title { color: var(--rose); }
.verdict .tag { display: inline-block; margin-top: 14px; font: 600 12px/1 var(--mono); color: var(--muted); padding: 7px 10px; border: 1px dashed var(--line); border-radius: 8px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.step { padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; min-width: 0; }
.step:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 40px; align-items: center; }
.step:first-child .code { margin: 0; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 700 18px/1 var(--head); color: var(--ink); background: var(--teal); margin-bottom: 18px; }
.step p { color: var(--soft); margin: 10px 0 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; color: var(--soft); font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.code { position: relative; margin: 20px 0 0; padding: 22px 24px; border-radius: 16px; background: #05080f; border: 1px solid var(--line); overflow-x: auto; font: 14px/1.7 var(--mono); color: var(--soft); }
.code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
.code .k { color: #c4b5fd; } .code .s { color: #86efac; } .code .f { color: var(--teal-3); } .code .nu { color: #fca5a5; } .code .c { color: var(--muted); }
.code.copyable { padding-right: 90px; }
.code .copy { position: absolute; top: 12px; right: 12px; }
.sub { margin: 64px 0 22px; font-size: clamp(22px, 2vw, 28px); }
.tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tools li { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s; }
.tools li:hover { border-color: rgba(94, 234, 212, .4); transform: translateY(-2px); }
.tools code { display: inline-block; font-size: 15px; margin-bottom: 8px; }
.tools span { display: block; color: var(--soft); font-size: 15px; }

/* proof */
.proof { background: linear-gradient(180deg, transparent, rgba(13, 148, 136, .06), transparent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.stat b { display: block; font: 700 clamp(44px, 5vw, 68px)/1 var(--head); letter-spacing: -.04em; color: var(--teal); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--soft); font-size: 15px; }
.bug { margin-top: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); border: 1px solid rgba(251, 113, 133, .35); background: linear-gradient(135deg, rgba(251, 113, 133, .08), rgba(11, 15, 23, .5)); }
.bug p { font-size: clamp(17px, 1.4vw, 20px); color: var(--soft); max-width: 70ch; margin: 0 0 10px; }
.bug strong { color: var(--text); }
.bug-tag { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); border: 1px solid rgba(251, 113, 133, .45); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px; }

/* developers */
.tabs { margin-top: 40px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.tab-list button { font: 600 15px/1 var(--body); color: var(--soft); background: none; border: 0; padding: 14px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-list button.on { color: var(--text); border-bottom-color: var(--teal); }
.tab-panel { padding-top: 6px; animation: in .35s; }
.note { color: var(--muted); font-size: 15px; }
.dev-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; margin-top: 40px; }
.panel { padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.panel h3 + * { margin-top: 16px; }
.panel h3:not(:first-child) { margin-top: 28px; }
.pkgs { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.pkgs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pkgs li:last-child { border-bottom: 0; }
.pkgs a { font-family: var(--mono); font-size: 15px; }
.pkgs span { color: var(--muted); font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: rgba(94, 234, 212, .1); color: var(--teal-3); border: 1px solid rgba(94, 234, 212, .25); }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links a::after { content: " →"; }
.privacy { margin: 26px 0 0; font-size: 14px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

/* story */
.timeline { list-style: none; padding: 0; margin: 52px 0 40px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), rgba(94, 234, 212, .1)); }
.timeline li { position: relative; padding: 4px 0 4px 64px; max-width: 760px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--teal); box-shadow: 0 0 0 5px rgba(94, 234, 212, .12); }
.timeline li:nth-child(4)::before { border-color: var(--rose); box-shadow: 0 0 0 5px rgba(251, 113, 133, .14); }
.timeline time { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin: 8px 0 6px; }
.timeline p { margin: 0; color: var(--soft); }

.limits { padding: clamp(26px, 3.5vw, 44px); border-radius: 28px; border: 1px dashed rgba(255, 255, 255, .18); }
.limits h2 { font-size: clamp(24px, 2.6vw, 34px); max-width: none; }
.limits ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.limits li { color: var(--soft); }
.limits b { color: var(--text); }

/* join */
.join { text-align: center; }
.join h2, .join .lead { margin-inline: auto; }
.join h2 { max-width: 22ch; }
.join .lead { margin-top: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; text-align: left; }
.card { position: relative; display: block; padding: 30px 28px 34px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: transform .2s, border-color .2s, background .2s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(rgba(94, 234, 212, .18), transparent 70%); transition: transform .4s; }
.card:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(94, 234, 212, .45); }
.card:hover::after { transform: scale(1.3); }
.card-kicker { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.card .arrow { position: absolute; right: 24px; top: 26px; font-size: 22px; color: var(--muted); transition: transform .2s, color .2s; }
.card:hover .arrow { transform: translateX(4px); color: var(--teal); }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* faq */
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .2s; }
.faq details[open] { border-color: rgba(94, 234, 212, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 clamp(16px, 1.3vw, 18px)/1.35 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--body); color: var(--teal); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--soft); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: rgba(6, 9, 16, .6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 32ch; margin: 16px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col a { color: var(--soft); font-size: 15px; }
.foot-col a:hover { color: var(--teal); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.credit { margin: 0; font: 500 16px/1.4 var(--head); color: var(--soft); }
.credit a { color: var(--text); font-weight: 700; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.credit a:hover { text-decoration: none; color: var(--teal); }
.fine { margin: 0; color: var(--muted); font-size: 14px; }
.fine a { color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.seen { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
  .tools { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .demo, .dev-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:first-child { grid-column: auto; display: block; }
  .step:first-child .code { margin-top: 20px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .limits ul { grid-template-columns: 1fr; }
  .seal { width: 72px; right: 8px; bottom: -22px; }
}
@media (max-width: 760px) {
  .menu { display: block; }
  .nav nav { position: fixed; inset: 72px 0 auto 0; background: rgba(11, 15, 23, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav.open nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links { flex-direction: column; padding: 12px 20px 20px; gap: 2px; }
  .nav-links a { display: block; padding: 14px 12px; font-size: 17px; }
  .gh span { display: none; }
  .console-body { min-height: 320px; font-size: 13px; padding: 16px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .cmd code { font-size: 14px; }
  .switch { display: flex; }
  .switch button { flex: 1; padding: 12px 10px; }
  .who button { flex: 1 1 calc(50% - 10px); }
  .code { font-size: 13px; padding: 18px; }
  .code.copyable { padding-top: 52px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  #field { display: none; }
}

.hero-copy, .hero-visual, .demo-copy, .verdict, .panel { min-width: 0; }
