/* Muduo — marketing site. Tokens first; everything below reads them. */
:root {
  --paper: #ffffff;
  --paper-2: #f6f4fa;
  --paper-3: #ece8f3;
  --ink: #331565;
  --ink-2: #4a3a6e;
  --muted: #6c6384;
  --line: #e6e1ee;
  --yellow: #da6ddd;
  --red: #c5eb5b;
  --blue: #789cf8;
  --night: #1b0d33;
  --night-2: #231342;
  --night-3: #2d1a52;
  --night-line: #3e2a68;
  --night-fg: #f6f3fb;
  --night-muted: #b9add3;
  --display: "Sora", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
code { font-family: var(--mono); font-size: 0.88em; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 15px/1 var(--body); padding: 12px 18px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn svg { width: 13px; height: 15px; flex: none; }
.btn-run { background: var(--ink); color: #fff; }
.btn-run:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(51 21 101 / .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-xl { padding: 20px 30px; font-size: 18px; }
.btn-xl svg { width: 17px; height: 20px; }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.dark .btn-ghost { color: var(--night-fg); border-color: var(--night-line); }

/* Nav ------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 26px; height: 30px; }
.brand-word { font: 600 22px/1 var(--display); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* Shared type ----------------------------------------------------------- */
.kicker { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--ink); }
.kicker-y::before { background: var(--yellow); }
.kicker-r::before { background: var(--red); }
.kicker-b::before { background: var(--blue); }
.h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; margin-top: 18px; max-width: 18ch; }
.lede { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--muted); max-width: 60ch; margin-top: 20px; }
.dark .lede, .dark .kicker { color: var(--night-muted); }
.dark .kicker::before { background: var(--night-fg); }
.dark .kicker-y::before { background: var(--yellow); }
.dark .kicker-r::before { background: var(--red); }
section { padding-block: clamp(80px, 11vw, 150px); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head-row .lede { margin-top: 0; max-width: 34ch; }
.dark { background: var(--night); color: var(--night-fg); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .8; }

/* Hero ------------------------------------------------------------------ */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgb(218 109 221 / .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(218 109 221 / 0); } }
.hero-title { font-size: clamp(46px, 6.1vw, 88px); line-height: .95; letter-spacing: -0.045em; margin-top: 26px; }
.hero-title .hl { position: relative; white-space: nowrap; }
.hero-title .hl::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .22em; background: var(--red); z-index: -1; transform-origin: left; transform: scaleX(var(--hl, 1)); }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 4px; align-content: start; }
.hero-facts dt { font: 600 30px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-facts dd { margin: 0; font-size: 13.5px; color: var(--muted); }
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.hero-stage svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { justify-self: center; max-width: 520px; } }

.formats { margin-top: clamp(40px, 6vw, 72px); border-block: 1px solid var(--line); overflow: hidden; padding-block: 16px; }
.formats-track { display: flex; gap: 44px; width: max-content; font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.formats-track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.formats-track span::after { content: ""; width: 7px; height: 7px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* How ------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: 88px; }
.steps-line { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 40px; pointer-events: none; }
.step { background: var(--paper-2); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.step-n { font: 500 13px/1 var(--mono); color: var(--muted); }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step-ill { margin-top: auto; aspect-ratio: 1200 / 640; border-radius: 12px; position: relative; overflow: hidden; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps-line { display: none; } .step { min-height: 0; } }

/* Studio recording ------------------------------------------------------ */
.rec { margin: 0; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); overflow: hidden; box-shadow: 0 40px 120px -40px rgb(0 0 0 / .8); }
.rec-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); font: 500 12px/1 var(--mono); color: var(--night-muted); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.rec-time { font-variant-numeric: tabular-nums; }
.rec-toggle { margin-left: auto; font: inherit; color: var(--night-fg); background: var(--night-3); border: 1px solid var(--night-line); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.rec-progress { height: 3px; background: var(--night-3); }
.rec-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.rec-cap { padding: 14px 18px; font-size: 14px; color: var(--night-muted); border-top: 1px solid var(--night-line); }
.app { position: relative; font-family: var(--body); color: var(--night-fg); user-select: none; }
.app-top { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--night-line); font-size: 12.5px; }
.app-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.app-logo svg { width: 13px; height: 15px; }
.app-file { color: var(--night-muted); }
.app-file b { color: var(--night-fg); font-weight: 500; }
.app-zoom { margin-left: auto; color: var(--night-muted); border: 1px solid var(--night-line); border-radius: 6px; padding: 4px 8px; }
.app-run { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 6px; padding: 5px 10px; }
.app-body { display: grid; grid-template-columns: 180px 1fr 230px; height: clamp(380px, 46vw, 560px); }
.app-h { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); margin: 16px 14px 10px; }
.app-layers { border-right: 1px solid var(--night-line); font-size: 12.5px; }
.app-layers ul { list-style: none; margin: 0; padding: 0 8px; }
.app-layers li { padding: 7px 8px; border-radius: 6px; color: var(--night-muted); }
.app-layers li.ab { color: var(--night-fg); }
.app-layers li.l1 { padding-left: 22px; }
.app-layers li.is-sel { background: rgb(197 235 91 / .14); color: var(--night-fg); box-shadow: inset 0 0 0 1px rgb(197 235 91 / .5); }
.app-canvas { position: relative; background: #150a29; overflow: hidden; display: grid; place-items: center; background-image: radial-gradient(#222 1px, transparent 1px); background-size: 18px 18px; }
.board { position: relative; width: min(64%, 360px); aspect-ratio: 1; border-radius: 3px; overflow: hidden; color: #331565; box-shadow: 0 20px 60px -20px #0f0620; }
.board-bg { position: absolute; inset: 0; background: #789cf8; }
.board-circle { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -10%; bottom: -10%; background: #da6ddd; }
.board-kick { position: absolute; left: 8%; top: 9%; font: 500 clamp(8px, .9vw, 11px)/1 var(--mono); letter-spacing: .14em; opacity: .85; }
.board-head { position: absolute; left: 8%; top: 16%; right: 8%; font: 700 clamp(22px, 3.2vw, 40px)/1 var(--display); letter-spacing: -0.035em; }
.caret { display: inline-block; width: 2px; height: .9em; background: #331565; margin-left: 2px; vertical-align: -0.1em; opacity: 0; }
.board-offer { position: absolute; left: 8%; top: 44%; font-size: clamp(11px, 1.1vw, 14px); opacity: .9; }
.board-cta { position: absolute; left: 8%; bottom: 10%; background: #c5eb5b; color: #331565; font: 600 clamp(10px, 1vw, 13px)/1 var(--body); padding: .9em 1.3em; border-radius: 999px; }
.sel { position: absolute; border: 1.5px solid #c5eb5b; opacity: 0; pointer-events: none; }
.sel::before, .sel::after { content: ""; position: absolute; width: 6px; height: 6px; background: #fff; border: 1px solid #c5eb5b; }
.sel::before { left: -4px; top: -4px; } .sel::after { right: -4px; bottom: -4px; }
.variant { position: absolute; border-radius: 3px; overflow: hidden; opacity: 0; box-shadow: 0 20px 50px -20px #0f0620; }
.variant span { position: absolute; top: -18px; left: 0; font: 500 10px/1 var(--mono); color: var(--night-muted); white-space: nowrap; }
.variant div { position: absolute; inset: 0; background: linear-gradient(#789cf8, #789cf8); }
.v1 { width: 17%; aspect-ratio: 9 / 16; left: 4%; top: 22%; overflow: visible; }
.v2 { width: 26%; aspect-ratio: 1200 / 628; right: 3%; top: 12%; overflow: visible; }
.v1 div, .v2 div { border-radius: 3px; }
.app-insp { border-left: 1px solid var(--night-line); font-size: 12.5px; position: relative; }
.insp-row { display: flex; align-items: center; gap: 8px; margin: 0 14px; padding: 6px; border-radius: 6px; background: var(--night-3); }
.sw { width: 22px; height: 22px; border-radius: 5px; background: #c5eb5b; }
.insp-hex { font-family: var(--mono); font-size: 11.5px; }
.picker { position: absolute; right: calc(100% + 10px); top: 40px; width: 220px; background: #131316; border: 1px solid var(--night-line); border-radius: 10px; padding: 10px; box-shadow: 0 20px 50px -10px #0f0620; opacity: 0; transform: translateY(6px); }
.picker-tabs { display: flex; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--night-line); }
.picker-tabs i { width: 24px; height: 22px; border-radius: 5px; background: var(--night-3); font-style: normal; }
.picker-tabs i.on { width: auto; padding: 0 8px; font: 500 10.5px/22px var(--mono); color: var(--night-fg); box-shadow: inset 0 0 0 1px #3a3a42; }
.picker-t { font-size: 11.5px; color: var(--night-muted); margin: 10px 2px 8px; }
.picker-t b { color: var(--night-fg); font-weight: 500; }
.picker-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.picker-grid span { aspect-ratio: 1; border-radius: 5px; }
.picker-grid span.is-on { box-shadow: 0 0 0 2px #131316, 0 0 0 3.5px #fff; }
.insp-sizes { display: grid; gap: 6px; margin: 0 14px; }
.insp-sizes span { font: 500 11.5px/1 var(--mono); padding: 8px; border-radius: 6px; background: var(--night-3); }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .5)); pointer-events: none; }
@media (max-width: 860px) { .app-layers { display: none; } .app-body { grid-template-columns: 1fr 170px; } .picker { width: 170px; } }
@media (max-width: 560px) { .app-insp { display: none; } .app-body { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r); overflow: hidden; }
.feature-grid article { background: var(--night); padding: 26px; }
.feature-grid h3 { font-size: 18px; margin-bottom: 10px; }
.feature-grid p { font-size: 14.5px; color: var(--night-muted); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Colour demo ----------------------------------------------------------- */
.colour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.demo-label { margin-top: 34px; font: 500 13px/1 var(--mono); color: var(--ink-2); }
.seeds { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.seeds button[role="radio"], .seed-custom { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; position: relative; transition: transform .2s; }
.seeds button[role="radio"]:hover { transform: scale(1.08); }
.seeds button[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.seed-custom { display: grid; place-items: center; background: conic-gradient(#c5eb5b, #da6ddd, #2a9d8f, #789cf8, #7b3fe4, #c5eb5b); overflow: hidden; }
.seed-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.seed-custom span { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; pointer-events: none; }
.roles { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 520px; }
.roles li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--paper-2); font-size: 13.5px; }
.roles i { width: 26px; height: 26px; border-radius: 7px; flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.roles b { font-weight: 500; display: block; line-height: 1.2; }
.roles span { font: 12px/1.3 var(--mono); color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roles li > div { min-width: 0; }
.roles em { font: 12px/1.3 var(--mono); font-style: normal; color: var(--ink-2); display: block; }
.colour-stage { position: relative; display: grid; gap: 16px; justify-items: end; }
.cbanner { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; padding: 9%; display: flex; flex-direction: column; box-shadow: 0 40px 80px -40px rgb(51 21 101 / .4); transition: background-color .5s; }
.cb-shape { position: absolute; border-radius: 50%; transition: background-color .5s; }
.cb-s1 { width: 62%; aspect-ratio: 1; right: -14%; bottom: -16%; }
.cb-s2 { width: 22%; aspect-ratio: 1; right: 12%; top: 10%; border-radius: 6px; transform: rotate(14deg); }
.cb-tag { position: relative; align-self: flex-start; font: 500 clamp(10px, 1vw, 13px)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: .7em 1em; border-radius: 999px; transition: background-color .5s, color .5s; }
.cb-head { position: relative; font: 700 clamp(30px, 4.4vw, 58px)/.98 var(--display); letter-spacing: -0.04em; margin-top: auto; transition: color .5s; }
.cb-sub { position: relative; margin-top: 14px; font-size: clamp(14px, 1.3vw, 18px); transition: color .5s; }
.cb-cta { position: relative; align-self: flex-start; margin-top: 22px; font: 600 clamp(13px, 1.2vw, 16px)/1 var(--body); padding: 1em 1.5em; border-radius: 999px; transition: background-color .5s, color .5s; }
.cbanner-sm { position: absolute; left: -2%; bottom: 8%; width: 44%; aspect-ratio: 1200 / 628; padding: 5%; border-radius: 10px; box-shadow: 0 30px 60px -20px rgb(51 21 101 / .45); flex-direction: row; align-items: center; justify-content: space-between; }
.cbanner-sm .cb-head { font-size: clamp(14px, 1.6vw, 20px); margin: 0; }
.cbanner-sm .cb-cta { margin: 0; padding: .7em 1em; font-size: 12px; }
.cbanner-sm .cb-s1 { width: 50%; right: -18%; bottom: -40%; }
.aa { font: 500 12.5px/1 var(--mono); color: var(--muted); justify-self: end; }
@media (max-width: 960px) { .colour-grid { grid-template-columns: 1fr; } .colour-stage { justify-items: center; } .cbanner-sm { left: 0; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* AI -------------------------------------------------------------------- */
.ai { background: var(--paper-2); }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ai-card { background: var(--paper); border-radius: var(--r); padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.ai-card h3 { font-size: 19px; margin-top: 8px; }
.ai-card p { font-size: 14.5px; color: var(--muted); }
.ai-ill { position: relative; aspect-ratio: 200 / 140; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.ai-ill svg { width: 100%; height: 100%; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 1060px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-grid { grid-template-columns: 1fr; } }

/* Run modes ------------------------------------------------------------- */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mode { position: relative; text-align: left; background: var(--night-2); border: 1px solid var(--night-line); color: var(--night-fg); border-radius: 12px; padding: 16px 18px 20px; cursor: pointer; display: grid; gap: 4px; overflow: hidden; transition: background .2s, border-color .2s; font-family: var(--body); }
.mode b { font: 600 18px/1.2 var(--display); letter-spacing: -0.02em; }
.mode span { font-size: 13.5px; color: var(--night-muted); }
.mode i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
.mode.is-on { background: var(--night-3); border-color: #3a3a42; }
.mode:hover { border-color: #3a3a42; }
.mode-stage { margin-top: 14px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; min-height: 460px; position: relative; overflow: hidden; }
.panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: clamp(24px, 4vw, 48px); align-items: center; min-height: 460px; }
.panel[hidden] { display: none; }
.p-copy h3 { font-size: clamp(24px, 2.4vw, 32px); }
.p-copy p { color: var(--night-muted); margin-top: 14px; font-size: 16px; }
.p-demo { position: relative; min-height: 340px; display: grid; align-items: center; }
@media (max-width: 960px) { .modes { grid-template-columns: repeat(2, 1fr); } .panel { grid-template-columns: 1fr; } }

.single-demo { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.form { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 12px; padding: 16px; display: grid; gap: 12px; align-content: start; font-size: 12px; color: var(--night-muted); }
.form label { display: grid; gap: 6px; }
.field { min-height: 36px; border-radius: 8px; background: #140a26; border: 1px solid var(--night-line); padding: 9px 10px; color: var(--night-fg); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.field-c i { width: 18px; height: 18px; border-radius: 4px; background: #789cf8; }
.field-c em { font: normal 12px var(--mono); }
.gen { justify-self: start; align-self: start; background: var(--night-fg); color: var(--ink); font-weight: 600; font-size: 13px; padding: 9px 14px; border-radius: 999px; }
.mini-banner { position: relative; min-height: 100%; border-radius: 10px; overflow: hidden; background: #789cf8; padding: 10%; display: flex; flex-direction: column; color: #331565; }
.mb-head { font: 700 clamp(18px, 2vw, 26px)/1 var(--display); letter-spacing: -0.03em; position: relative; z-index: 1; }
.mb-price { font: 600 clamp(26px, 3vw, 40px)/1 var(--display); margin-top: auto; position: relative; z-index: 1; }
.mb-cta { align-self: flex-start; margin-top: 10px; background: #da6ddd; color: #331565; font-weight: 600; font-size: 12px; padding: 8px 12px; border-radius: 999px; position: relative; z-index: 1; }
.mb-dot { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: #c5eb5b; right: -18%; top: -14%; }

.batch-demo { gap: 14px; align-content: center; }
.csv { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 10px; font: 12px/1 var(--mono); overflow: hidden; }
.csv-h, .csv-r { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 10px; padding: 9px 12px; }
.csv-h { color: var(--night-muted); border-bottom: 1px solid var(--night-line); }
.csv-r { border-bottom: 1px solid #202025; }
.csv-r i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.report { font: 12.5px/1 var(--mono); color: var(--night-muted); }
.report b { color: #c5eb5b; font-weight: 500; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.thumb { aspect-ratio: 1; border-radius: 6px; position: relative; overflow: hidden; }
.thumb::before { content: ""; position: absolute; left: 12%; top: 14%; width: 60%; height: 10%; border-radius: 3px; background: #331565; }
.thumb::after { content: ""; position: absolute; width: 56%; aspect-ratio: 1; right: -16%; bottom: -16%; border-radius: 50%; background: var(--acc, #da6ddd); }
.zip { justify-self: start; font: 500 13px/1 var(--body); background: var(--night-fg); color: var(--ink); padding: 10px 14px; border-radius: 999px; }

.api-demo { gap: 14px; }
.code { margin: 0; background: #140a26; border: 1px solid var(--night-line); border-radius: 12px; padding: 16px 18px; font: 12.5px/1.65 var(--mono); color: #d4d4d8; white-space: pre-wrap; word-break: break-word; min-height: 190px; }
.c-k { color: #da6ddd; } .c-s { color: #8fb4ff; } .c-n { color: #ff8a86; }
.api-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.api-card { border-radius: 8px; overflow: hidden; background: var(--night-3); border: 1px solid var(--night-line); font: 10.5px/1.2 var(--mono); color: var(--night-muted); }
.api-art { height: 150px; display: grid; place-items: center; padding: 10px; background: #140a26; }
.api-art > div { position: relative; overflow: hidden; height: 100%; max-width: 100%; border-radius: 4px; border: 2.5px solid #0f0620; }
.api-art > div::after { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; right: -15%; bottom: -20%; background: #da6ddd; }
.api-card p { padding: 7px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.live-demo { gap: 16px; }
.browser { background: #fafaf8; border-radius: 12px; overflow: hidden; color: var(--ink); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ececea; }
.b-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4cf; }
.b-url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 6px; padding: 6px 10px; font: 11.5px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.b-url svg { width: 12px; height: 12px; flex: none; color: #2a9d8f; }
.b-page { padding: 18px; display: grid; gap: 14px; }
.b-lines { display: grid; gap: 7px; }
.b-lines i { height: 8px; border-radius: 4px; background: #e5e5e1; }
.b-lines i:nth-child(2) { width: 80%; } .b-lines i:nth-child(3) { width: 60%; }
.live-banner { aspect-ratio: 1200 / 628; border-radius: 8px; background: #c5eb5b; color: #331565; padding: 5%; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.live-banner p { font: 700 clamp(18px, 2.2vw, 30px)/1 var(--display); letter-spacing: -0.03em; max-width: 70%; position: relative; }
.live-banner span { align-self: flex-start; background: #da6ddd; color: #331565; font-weight: 600; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; position: relative; }
.live-banner::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; right: -8%; bottom: -30%; background: #789cf8; }
.push { display: flex; align-items: center; gap: 14px; }
.push-btn { background: var(--red); color: #331565; font-weight: 600; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; }
.same { font: 500 13px/1 var(--mono); color: #c5eb5b; opacity: 0; }

/* Who ------------------------------------------------------------------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s; }
.who-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.who-ill { width: 100%; aspect-ratio: 1200 / 700; border-radius: 12px; }
.who-tag { font: 500 12.5px/1 var(--mono); letter-spacing: .06em; color: var(--red); margin-top: 8px; }
.who-card h3 { font-size: 22px; }
.who-card p:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr; } }

/* Cases ----------------------------------------------------------------- */
.cases { background: var(--paper-2); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--paper); border-radius: var(--r); padding: 14px 14px 24px; display: flex; flex-direction: column; gap: 8px; }
.case h3 { font-size: 20px; }
.case p:last-child { color: var(--muted); font-size: 14.5px; }
.case-mode { font: 500 12px/1 var(--mono); color: var(--muted); margin-top: 10px; }
.case-art { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; }
@media (max-width: 960px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

/* Versus ---------------------------------------------------------------- */
.vs { border-top: 1px solid var(--ink); }
.vs-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.vs-row > span:first-child { font: 600 18px/1.3 var(--display); letter-spacing: -0.02em; }
.vs-row > span:nth-child(2) { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(218 109 221 / .6); }
.vs-row > span:nth-child(3) { font-weight: 500; }
.vs-head { padding: 12px 0; }
.vs-head > span { font: 500 12px/1 var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; text-decoration: none !important; }
@media (max-width: 700px) { .vs-row { grid-template-columns: 1fr; gap: 4px; } .vs-head { display: none; } }

/* Reviews --------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; border: 1px dashed #c9c9c3; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.review blockquote { margin: 0; font: 500 19px/1.4 var(--display); letter-spacing: -0.015em; color: var(--ink-2); }
.review figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; font-size: 13.5px; color: var(--muted); margin-top: auto; }
.review figcaption b { color: var(--ink); font-weight: 500; }
.av { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--c); }
.ph { position: absolute; top: -11px; left: 20px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 5px 8px; border-radius: 5px; }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }

/* Developers ------------------------------------------------------------ */
.dev-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dev .ticks code { color: var(--night-fg); }
.code-card { background: #140a26; border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; }
.code-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--night-line); font: 500 12px/1 var(--mono); color: var(--night-muted); }
.copy { font: inherit; background: var(--night-3); color: var(--night-fg); border: 1px solid var(--night-line); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.code-card .code { border: 0; border-radius: 0; min-height: 0; }
@media (max-width: 960px) { .dev-grid { grid-template-columns: 1fr; } }

/* Access ---------------------------------------------------------------- */
.access { text-align: center; overflow-x: clip; }
.access-in { display: grid; justify-items: center; gap: 18px; }
.access-mark { width: clamp(90px, 12vw, 140px); height: auto; }
.access-title { font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -0.045em; }
.access .lede { margin-inline: auto; }
.access .btn { margin-top: 18px; }

/* Footer ---------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot-small { margin-left: auto; font-size: 13px; color: var(--muted); }

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

/* Cel / toon layer ----------------------------------------------------------
   Everything illustrated on the page shares the 3D objects' language:
   a bold ink outline, a hard shadow band (never a soft gradient), and a
   sticker-like offset shadow for objects that sit on the page. */
:root { --ink-w: 3px; --band: inset -14px -14px 0 rgb(0 0 0 / .2); --lift: 6px 6px 0 var(--ink); }

.hero-stage svg#burst { position: relative; z-index: 1; }
.access-3d { position: relative; width: min(460px, 84vw); aspect-ratio: 1; }

.step-ill, .ai-ill, .who-ill, .case-art, .mini-banner, .cbanner, .browser, .csv { border: var(--ink-w) solid var(--ink); }
.step-ill, .ai-ill, .case-art, .who-ill { box-shadow: var(--lift); }
.cbanner { box-shadow: 12px 12px 0 var(--ink); }
.cbanner-sm { box-shadow: 8px 8px 0 var(--ink); }
.dark .mini-banner, .dark .browser, .dark .csv { border-color: #0f0620; }
  border: 2.5px solid var(--ink); box-shadow: var(--band);
}
.cb-s1 { box-shadow: inset -30px -30px 0 rgb(0 0 0 / .18), inset 14px 14px 0 rgb(255 255 255 / .28); border-width: 3px; }
.cb-s2 { box-shadow: inset -10px -10px 0 rgb(0 0 0 / .2); border-width: 3px; }
.cb-cta, .mb-cta, .live-banner span, .board-cta, .btn-run { box-shadow: 3px 3px 0 var(--ink); border: 2px solid var(--ink); }
.cb-tag { border: 2px solid var(--ink); }
.review { border: 2px dashed var(--ink); }
.step, .who-card, .case, .ai-card { border: 2px solid var(--ink); }
.who-card:hover { box-shadow: 8px 8px 0 var(--ink); transform: translate(-3px, -3px); }
.btn-run:hover { box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-run { border-color: var(--ink); }
.dark .btn-run { box-shadow: 3px 3px 0 #0f0620; }

.hero-title .w { white-space: nowrap; }
.hero-title .w > div { padding-bottom: .16em; margin-bottom: -.16em; }

/* Cards in a row share their rows (art, label, title, copy), so titles and
   copy line up across a row however many lines each title takes. */
.case-grid, .who-grid { grid-auto-rows: auto; }
.case { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 8px; align-content: start; }
.who-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 12px; align-content: start; }
.case h3, .who-card h3 { line-height: 1.25; align-self: start; }
.case-mode { align-self: end; }
/* 8. two white sections in a row share one gap, not two */
.versus + .reviews { padding-top: 0; }
/* 4. no cursor parked on the logo when the recording is not playing */
.rec.is-still .cursor { display: none; }

/* Log in and the request form ---------------------------------------------- */
.nav-login { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 8px 4px; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .nav-login { margin-left: auto; } .nav-cta { margin-left: 0; } }
.access-form { width: min(640px, 100%); display: grid; gap: 14px; margin-top: 18px; text-align: left; }
.af-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.af-field { display: grid; gap: 8px; font: 500 13px/1 var(--mono); color: var(--ink-2); letter-spacing: .02em; }
.af-field em { font-style: normal; color: var(--muted); }
.af-field input { font: 400 17px/1.2 var(--body); color: var(--ink); background: #fff; border: var(--ink-w) solid var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: 5px 5px 0 var(--ink); outline: none; width: 100%; }
.af-field input:focus-visible { box-shadow: 5px 5px 0 var(--blue); border-color: var(--blue); }
.af-field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 5px 5px 0 var(--red); }
.af-submit { height: 58px; margin-top: 0 !important; }
.af-submit[disabled] { opacity: .6; cursor: progress; }
.af-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-msg { min-height: 1.4em; font-size: 15px; color: var(--muted); }
.af-msg.is-error { color: var(--red); }
.af-msg.is-ok { color: var(--ink); font-weight: 500; }
.af-login { font-size: 14.5px; color: var(--muted); }
.af-login a { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .af-row { grid-template-columns: 1fr; } .af-submit { width: 100%; justify-content: center; } }

/* Rendered art ---------------------------------------------------------------
   Every illustration is a cel-shaded 3D render (site/art), sitting on a
   tinted panel in the ink-outlined frame. It floats, slowly. */
.art { background: var(--tint, var(--paper-2)); position: relative; overflow: hidden; display: grid; place-items: center; }
.art img { width: 100%; height: 100%; object-fit: contain; display: block; transform-origin: 50% 60%; animation: art-float 7s ease-in-out infinite; }
.art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 20% 0%, rgb(255 255 255 / .55), transparent 55%); }
.step:nth-child(3) .art img, .who-card:nth-child(2) .art img, .case:nth-child(even) .art img, .ai-card:nth-child(even) .art img { animation-delay: -3.5s; }
@keyframes art-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2.5%) rotate(-0.6deg); } }
.case-art.art, .ai-ill.art { aspect-ratio: 16 / 10; }
.ai-ill.art { aspect-ratio: 1000 / 700; }
.feat-icon { width: 60px; height: 60px; padding: 4px; margin-bottom: 16px; border-radius: 16px; background: #f4f4f5; border: 2.5px solid #0f0620; box-shadow: 4px 4px 0 #0f0620; }
.mode { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.mode-icon { grid-row: span 2; width: 46px; height: 46px; padding: 3px; border-radius: 12px; background: #f4f4f5; border: 2px solid #0f0620; }
.mode b, .mode span { grid-column: 2; }
@media (prefers-reduced-motion: reduce) { .art img { animation: none; } }

/* One brief → a finished banner (AI generation) -------------------------------- */
.gen-sec { background: var(--paper); }
.gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gen-briefs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gen-briefs button {
  font: 500 14px/1 var(--body); color: var(--ink); background: #fff; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.gen-briefs button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.gen-briefs button[aria-checked="true"] { background: var(--ink); color: #fff; }
.gen-guards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 560px; }
.gen-guards li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; opacity: .45; transition: opacity .4s; }
.gen-guards li.is-done { opacity: 1; }
.gen-guards i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; position: relative; transition: background .3s; }
.gen-guards li.is-done i { background: var(--red); }
.gen-guards li.is-done i::after { content: ""; position: absolute; left: 8px; top: 5px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gen-guards b { display: block; font: 600 16px/1.3 var(--display); letter-spacing: -0.01em; }
.gen-guards span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.gen-stage { display: grid; gap: 14px; justify-items: center; }
.gen-brief {
  width: 100%; max-width: 520px; display: flex; align-items: center; gap: 10px; min-height: 52px;
  background: #fff; border: var(--ink-w) solid var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--ink);
  font: 400 15px/1.35 var(--body);
}
.gen-brief-label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 5px 8px; border-radius: 6px; background: var(--paper-2); flex: none; }
.gen-caret { width: 2px; height: 1.1em; background: var(--ink); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.gen-banner {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; overflow: hidden; border-radius: 16px;
  border: var(--ink-w) solid var(--ink); box-shadow: 12px 12px 0 var(--ink); background: var(--blue); transition: background-color .6s;
}
.gen-img { position: absolute; right: -4%; bottom: -2%; width: 78%; aspect-ratio: 1000 / 700; }
.gen-img img { width: 100%; height: 100%; object-fit: contain; }
.gen-head { position: absolute; left: 8%; top: 9%; right: 8%; font: 700 clamp(28px, 3.6vw, 48px)/.98 var(--display); letter-spacing: -0.04em; color: var(--ink); min-height: 1em; }
.gen-sub { position: absolute; left: 8%; top: 38%; font-size: clamp(14px, 1.3vw, 18px); color: var(--ink); font-weight: 500; }
.gen-cta { position: absolute; left: 8%; bottom: 9%; font: 600 clamp(13px, 1.2vw, 16px)/1 var(--body); padding: 1em 1.4em; border-radius: 999px; background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.gen-cta:empty { display: none; }
.gen-logo { position: absolute; right: 6%; top: 7%; width: 22px; height: 26px; }
.gen-tag { position: absolute; font: 500 11px/1 var(--mono); letter-spacing: .06em; padding: 6px 8px; border-radius: 6px; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; }
.gen-tag::before { content: "✦ "; color: var(--yellow); }
.gen-tag-img { right: 8%; bottom: 46%; }
.gen-tag-txt { left: 8%; top: 31%; }
.gen-sizes { display: flex; align-items: flex-end; gap: 10px; width: 100%; max-width: 520px; }
.gen-sizes em { font: 500 12px/1.3 var(--mono); font-style: normal; color: var(--muted); margin-left: 6px; align-self: center; }
.gs { position: relative; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--blue); box-shadow: 3px 3px 0 var(--ink); transition: background-color .6s; }
.gs i { position: absolute; left: 12%; top: 14%; width: 60%; height: 12%; border-radius: 3px; background: var(--ink); }
.gs b { position: absolute; right: -14%; bottom: -14%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.gs-story { width: 44px; aspect-ratio: 9 / 16; }
.gs-land { width: 110px; aspect-ratio: 1200 / 628; }
.gs-sq { width: 62px; aspect-ratio: 1; }
@media (max-width: 960px) { .gen-grid { grid-template-columns: 1fr; } }
