:root {
  --ink: #0c1622; --ink-2: #111f30; --panel: rgba(17, 31, 48, .72);
  --grid: rgba(160, 196, 230, .07); --grid-strong: rgba(160, 196, 230, .13);
  --line: #dfe8f1; --line-dim: rgba(223, 232, 241, .3);
  --muted: #8da2b8; --text: #b9c8d8;
  --amber: #f2b33d; --amber-soft: rgba(242, 179, 61, .14);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(ellipse 90% 760px at 50% 0, var(--ink-2), rgba(12, 22, 34, 0) 100%);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, no-repeat;
  color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--amber); color: var(--ink); padding: 10px 14px; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }
a { color: var(--line); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; margin: 0 0 1em; }
li { margin-bottom: .45em; }
strong { color: var(--line); font-weight: 600; }

/* header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(12, 22, 34, .82); border-bottom: 1px solid var(--grid-strong); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--line); font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.mark svg { width: 22px; height: 22px; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--line); border-bottom-color: var(--amber); }
.nav a.btn { color: var(--ink); border-bottom-color: var(--amber); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line-dim); color: var(--line); font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px var(--pad) 20px; background: rgba(12, 22, 34, .97); border-bottom: 1px solid var(--grid-strong); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 13px; }
}

/* buttons */
a.btn, button.btn {
  display: inline-block; font: 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 13px 20px; border: 1.5px solid var(--amber); color: var(--ink); background: var(--amber); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.btn.small { padding: 9px 14px; font-size: 12px; }
a.btn.ghost { background: transparent; color: var(--line); border-color: var(--line-dim); }
a.btn:hover, a.btn:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(242, 179, 61, .35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* layout and type */
main > section { padding: clamp(52px, 8vw, 104px) var(--pad); border-top: 1px solid var(--grid-strong); }
main > section:first-child { border-top: 0; }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 760px; }
.eyebrow { font: 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--line); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; }
h1 em, h2 em { font-style: italic; color: var(--amber); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.22; margin-bottom: 8px; }
.lede { font-size: clamp(17px, 1.8vw, 20px); max-width: 54ch; margin-top: 22px; color: var(--text); }
.lead { max-width: 60ch; margin-bottom: 36px; }
.page-head { padding-top: clamp(44px, 7vw, 88px) !important; }
.page-head h1 { max-width: 18ch; }

/* hero */
.hero { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 60px; } }
.hero h1 { max-width: 14ch; }

/* stack animation */
.stackbox { background: var(--panel); border: 1px solid var(--grid-strong); padding: 18px 18px 16px; }
.stack-head { display: flex; justify-content: space-between; align-items: center; font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; gap: 10px; }
.stack-head button { background: none; border: 1px solid var(--line-dim); color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 5px 9px; cursor: pointer; }
.stack-head button:hover { color: var(--line); border-color: var(--line); }
.stack { position: relative; transition: height .5s cubic-bezier(.2, .8, .2, 1); user-select: none; -webkit-user-select: none; }
.lay { position: absolute; left: 0; right: 0; height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px;
  border: 1.5px solid var(--line-dim); background: rgba(12, 22, 34, .6); color: var(--line);
  font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; will-change: transform; }
.lay small { color: var(--muted); font-size: 10.5px; letter-spacing: .08em; text-align: right; }
.lay.ai { border-color: var(--amber); background: #1d2430; background-image: linear-gradient(var(--amber-soft), var(--amber-soft)); color: var(--amber); cursor: grab; touch-action: none; z-index: 2; }
.lay.ai small { color: var(--amber); opacity: .85; }
.lay.ai.dragging { cursor: grabbing; transition: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); z-index: 3; }
.lay.ai.gone { opacity: 0; pointer-events: none; }
.lay.ai::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; bottom: -1.5px; width: 4px; background: var(--amber); }
.lay.ai.pulse { animation: pulse 1s ease-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 179, 61, .55); } 100% { box-shadow: 0 0 0 16px rgba(242, 179, 61, 0); } }
.says { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--amber); background: rgba(12, 22, 34, .55); min-height: 8.6em; }
.says .where { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
.says h3 { font-size: 20px; margin-bottom: 6px; }
.says p { margin: 0; font-size: 15px; line-height: 1.55; }
.dots { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.dots button { width: 26px; height: 6px; border: 0; padding: 0; background: var(--line-dim); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--amber); }
.dots span { margin-left: auto; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* proof strip */
.proof { padding-top: 0 !important; padding-bottom: 0 !important; }
.proof-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--grid-strong); }
@media (min-width: 760px) { .proof-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-in div { padding: 26px 18px; border-right: 1px solid var(--grid-strong); border-bottom: 1px solid var(--grid-strong); }
@media (min-width: 760px) { .proof-in div { border-bottom: 0; } }
.proof-in b { display: block; font: 500 clamp(26px, 3.2vw, 36px)/1.1 var(--serif); color: var(--line); }
.proof-in span { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proof-note { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; padding-bottom: 28px; }

/* cards and grids */
.grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--grid-strong); padding: 24px 22px 22px; text-decoration: none; color: var(--text); position: relative; transition: border-color .2s ease, transform .2s ease; }
a.card:hover, a.card:focus-visible { border-color: var(--amber); transform: translateY(-3px); }
.card .tag { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.55; margin-bottom: 14px; }
.card .more { margin-top: auto; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.card .big { font: 500 clamp(30px, 3.4vw, 40px)/1.05 var(--serif); color: var(--amber); margin-bottom: 10px; }

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--grid-strong); }
.steps > div { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; padding: 26px 0; border-bottom: 1px solid var(--grid-strong); }
.steps > div::before { content: "0" counter(s); font: 500 30px/1 var(--serif); color: var(--amber); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; max-width: 62ch; }

/* quotes */
.quotes { columns: 1; column-gap: 18px; }
@media (min-width: 760px) { .quotes { columns: 2; } }
@media (min-width: 1040px) { .quotes { columns: 3; } }
.quote { break-inside: avoid; margin: 0 0 18px; background: var(--panel); border: 1px solid var(--grid-strong); padding: 22px 22px 18px; }
.quote blockquote { margin: 0 0 16px; font: 18px/1.5 var(--serif); color: var(--line); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--grid-strong); }
.quote .flag { width: 28px; height: 21px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); flex: none; object-fit: cover; }
.quote figcaption b { display: block; font: 600 14px var(--sans, inherit); color: var(--line); }
.quote figcaption small { display: block; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.quote .stars { display: block; color: var(--amber); letter-spacing: .2em; font-size: 13px; }

/* workflow diagram */
.flow { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: f; }
@media (min-width: 860px) { .flow { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; } }
.flow li { counter-increment: f; position: relative; margin: 0; padding: 18px 18px 18px; background: var(--panel); border: 1.5px solid var(--line-dim); animation: step 10s infinite; animation-delay: calc(var(--i) * 2s); }
@media (min-width: 860px) { .flow li + li { border-left: 0; } .flow li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--ink); border-top: 1.5px solid var(--line-dim); border-right: 1.5px solid var(--line-dim); transform: rotate(45deg); z-index: 1; } }
.flow li b { display: block; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--line); margin-bottom: 6px; }
.flow li b::before { content: counter(f) " · "; color: var(--muted); }
.flow li span { font-size: 14.5px; line-height: 1.5; display: block; }
.flow li.ai { border-color: var(--amber); background-image: linear-gradient(var(--amber-soft), var(--amber-soft)); }
.flow li.ai b, .flow li.ai b::before { color: var(--amber); }
@keyframes step { 0%, 4% { box-shadow: inset 0 3px 0 var(--amber); } 18%, 100% { box-shadow: inset 0 3px 0 transparent; } }
.flow-note { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* facts table */
.facts { display: grid; gap: 0; border-top: 1px solid var(--grid-strong); margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--grid-strong); }
.facts dt { font: 11px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--line); }
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 64px; } }
.demo { border: 1.5px dashed var(--line-dim); padding: 22px; background: rgba(12, 22, 34, .5); }
.demo .tag { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.demo p:last-child { margin: 0; }
.band { background: linear-gradient(rgba(242, 179, 61, .07), rgba(242, 179, 61, .02)); }
.band h2 { max-width: 20ch; }
details { border-bottom: 1px solid var(--grid-strong); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--grid-strong); }
summary { cursor: pointer; font: 20px/1.3 var(--serif); color: var(--line); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--amber); font-family: var(--mono); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; max-width: 64ch; }

/* footer */
footer { border-top: 1px solid var(--grid-strong); padding: 44px var(--pad) 32px; font-size: 14.5px; }
.foot { max-width: 1080px; margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 800px) { .foot { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot h4 { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 400; }
.foot a { display: block; color: var(--text); text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: var(--amber); }
.foot p { max-width: 34ch; margin-top: 12px; color: var(--muted); }
.legal { max-width: 1080px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid var(--grid-strong); font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.legal a { color: inherit; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow li, .lay.ai.pulse { animation: none; }
  .lay, .stack { transition: none; }
  html { scroll-behavior: auto; }
}
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 10px; }
.prose h3 { margin: 26px 0 6px; font-size: 18px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* try-on page */
.vid { display: block; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; background: var(--ink-2); border: 1px solid var(--grid-strong); }
.vid-note { max-width: 480px; margin: 12px auto 0; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.labels .card p { margin: 0; color: var(--line); }
section[id] { scroll-margin-top: 70px; }
