/* Cuemark marketing site. Colours follow the app's Studio dark theme and cue
   palette (docs/design/tokens.json); fonts are the app's own, subset to WOFF2. */

@font-face { font-family: "Anybody"; src: url("../fonts/anybody.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("../fonts/readex-latin.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0000-024F, U+2000-20CF; }
@font-face { font-family: "Readex Pro"; src: url("../fonts/readex-arabic.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0b0e;
  --bg-2: #0f1115;
  --surface: #15181e;
  --surface-2: #1b1f27;
  --line: #242933;
  --line-strong: #3a414f;
  --ink: #eef0f3;
  --ink-2: #b9bec9;
  --ink-3: #8c93a1;
  --amber: #f0a21a;
  --amber-hi: #ffc940;
  --pause: #9a8cf0;
  --breathe: #4cc38a;
  --slow: #4f9fe3;
  --fast: #ff8a3d;
  --energy: #e3568f;
  --rec: #ff4d4d;
  --radius: 16px;
  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;
  --pencil: "Caveat", "Segoe Print", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--amber); color: #000; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--amber); color: #000; box-shadow: 0 8px 30px -8px rgba(240, 162, 26, .55); }
.btn-primary:hover { background: var(--amber-hi); box-shadow: 0 10px 40px -6px rgba(240, 162, 26, .7); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--ink-3); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 14, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; font: 800 23px/1 var(--display); font-stretch: 125%; text-decoration: none; letter-spacing: -.01em; }
.brand .mk { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pause); margin-left: 3px; align-self: flex-end; margin-bottom: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .btn { margin-left: 8px; color: #000; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: 500 14px var(--body); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 40px; isolation: isolate; overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 18% 22%, rgba(240,162,26,.16), transparent 70%),
    radial-gradient(520px 360px at 82% 12%, rgba(154,140,240,.16), transparent 70%),
    radial-gradient(700px 420px at 60% 70%, rgba(227,86,143,.08), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(0, 30px, 0) scale(1.06); filter: hue-rotate(-12deg); } }
.hero-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
.hero-copy { max-width: 860px; }
.hero h1 { font-size: clamp(44px, 8.4vw, 104px); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; margin: 18px 0 22px; }
.hero h1 .only { position: relative; white-space: nowrap; color: var(--amber); }
.hero h1 .only::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em; background: var(--amber); border-radius: 4px; transform-origin: left; animation: swipe .9s .5s var(--ease) both; }
.hero h1 .ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(238,240,243,.55); }
@keyframes swipe { from { transform: scaleX(0); } }
.hero .lead { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font: 500 12px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.03); display: inline-flex; align-items: center; gap: 8px; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--breathe); display: inline-block; }

/* Waitlist form */
.wl { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.wl input[type=email] { flex: 1 1 240px; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 12px; padding: 14px 16px; font: 400 16px var(--body); transition: border-color .2s, box-shadow .2s; }
.wl input[type=email]::placeholder { color: var(--ink-3); }
.wl input[type=email]:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240,162,26,.18); }
.wl .hp { position: absolute; left: -9999px; }
.wl-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.wl-note a { color: var(--ink-2); }
.wl-status { font-size: 15px; margin-top: 12px; min-height: 1.4em; }
.wl-status.ok { color: var(--breathe); }
.wl-status.err { color: var(--rec); }
.wl-uses { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 4px 0 0; width: 100%; }
.wl-uses legend { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.wl-uses label { cursor: pointer; }
.wl-uses input { position: absolute; opacity: 0; pointer-events: none; }
.wl-uses span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-2); transition: all .2s; }
.wl-uses input:checked + span { background: rgba(240,162,26,.14); border-color: var(--amber); color: var(--ink); }
.wl-uses input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

/* The wipe demo: one scene, the prompter layer clipped to the left of the handle */
.stage { position: relative; margin-top: 8px; }
.stage-glow { position: absolute; inset: 8% 6% -4%; background: radial-gradient(closest-side, rgba(240,162,26,.18), transparent); filter: blur(40px); z-index: -1; }
.wipe { --x: 52%; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: #07080a; box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); user-select: none; touch-action: pan-y; }
.wipe .chrome { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #101217; font: 500 11px var(--mono); color: var(--ink-3); }
.wipe .chrome b { width: 10px; height: 10px; border-radius: 50%; background: #2a2f39; display: inline-block; }
.wipe .chrome .title { margin-left: 10px; }
.wipe .chrome .rec { margin-left: auto; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.wipe .chrome .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.scene { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #15171d, #0d0f13); overflow: hidden; }
.slide { position: absolute; inset: 7% 6% 7% 6%; display: flex; flex-direction: column; justify-content: center; }
.slide .kicker { font: 500 clamp(8px, 1.1vw, 13px) var(--mono); letter-spacing: .2em; color: var(--ink-3); }
.slide h3 { font-size: clamp(18px, 3.6vw, 44px); font-weight: 800; margin: 2% 0 5%; font-stretch: 105%; }
.slide .stats { display: flex; gap: 10%; }
.slide .stat b { display: block; font: 700 clamp(26px, 5.6vw, 70px)/1 var(--mono); letter-spacing: -.04em; }
.slide .stat b.amber { color: var(--amber); }
.slide .stat span { font-size: clamp(9px, 1.2vw, 14px); color: var(--ink-2); }
.cam { position: absolute; right: 3%; bottom: 5%; width: 21%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); background: radial-gradient(circle at 50% 40%, #3a3346, #17151d 70%); }
.cam svg { width: 100%; height: 100%; }
.cam .you { position: absolute; left: 6px; bottom: 5px; font: 500 clamp(7px, .9vw, 10px) var(--mono); color: #fff; background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 4px; }
.prompter-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); pointer-events: none; }
.fp { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); width: min(70%, 680px); background: rgba(6,7,9,.86); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6); backdrop-filter: blur(8px); overflow: hidden; }
.fp-bar { display: flex; justify-content: space-between; align-items: center; padding: 1.2% 2.4%; font: 500 clamp(7px, .95vw, 11px) var(--mono); color: var(--ink-3); border-bottom: 1px solid rgba(255,255,255,.06); }
.fp-bar .hid { display: inline-flex; gap: 6px; align-items: center; color: var(--breathe); }
.fp-view { position: relative; height: clamp(70px, 12.5vw, 150px); overflow: hidden; mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent); }
.fp-lines { position: absolute; left: 0; right: 0; top: 0; padding: 0 6%; transition: transform .6s var(--ease); }
.fp-line { height: clamp(26px, 4.2vw, 50px); display: flex; align-items: center; gap: .3em; flex-wrap: nowrap; white-space: nowrap; font: 600 clamp(13px, 2.2vw, 26px)/1 var(--body); color: rgba(238,240,243,.32); transition: color .4s; }
.fp-line.cur { color: rgba(238,240,243,.6); }
.fp-line .w { transition: color .25s, transform .3s var(--spring); display: inline-block; }
.fp-line .w.read { color: var(--ink); }
.fp-line .w.st { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fp-line .w.st.read { color: var(--amber-hi); transform: scale(1.08); }
.fp-line .pd { width: .32em; height: .32em; border-radius: 50%; background: var(--pause); display: inline-block; flex: none; opacity: .5; }
.fp-line .pd.read { opacity: 1; box-shadow: 0 0 0 0 rgba(154,140,240,.7); animation: hold 1s var(--ease); }
@keyframes hold { from { box-shadow: 0 0 0 0 rgba(154,140,240,.8); transform: scale(1.4); } to { box-shadow: 0 0 0 10px rgba(154,140,240,0); transform: scale(1); } }
.fp-reader { position: absolute; left: 2.5%; top: 50%; width: 2.2%; height: 2px; background: var(--amber); }
.wipe-handle { position: absolute; top: 38px; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--amber); box-shadow: 0 0 20px rgba(240,162,26,.8); pointer-events: none; }
.wipe-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: #000; font: 800 16px/40px var(--body); text-align: center; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.wipe-range { position: absolute; inset: 38px 0 0; width: 100%; height: calc(100% - 38px); opacity: 0; cursor: ew-resize; margin: 0; }
.wipe-label { position: absolute; bottom: 4%; font: 600 clamp(9px, 1.1vw, 12px) var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.wipe-label.l { left: 2%; color: var(--amber-hi); }
.wipe-label.r { right: 26%; color: var(--ink-2); }
.wipe-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.wipe-caption strong { color: var(--ink-2); font-weight: 500; }
.wipe:focus-within { outline: 2px solid var(--amber); outline-offset: 4px; }

/* Works with */
.works { padding: 30px 0 10px; }
.works .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; color: var(--ink-3); font: 600 18px var(--display); font-stretch: 110%; }
.works .row span { opacity: .8; }
.works p { text-align: center; font-size: 13px; color: var(--ink-3); margin: 10px 0 0; font-family: var(--mono); }

/* Sections */
section.block { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; margin: 14px 0 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* Three acts */
.act { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; padding: 40px 0; }
@media (min-width: 940px) { .act { grid-template-columns: 5fr 7fr; gap: 64px; } .act.flip > :first-child { order: 2; } }
.act .num { font: 500 13px var(--mono); color: var(--amber); letter-spacing: .14em; }
.act h3 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; font-stretch: 110%; margin: 12px 0 16px; }
.act p { color: var(--ink-2); }
.act ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.act li { display: flex; gap: 12px; color: var(--ink-2); }
.act li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: rgba(240,162,26,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f0a21a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); position: relative; overflow: hidden; }

/* Markup demo */
.markup { font: 500 clamp(18px, 2.2vw, 24px)/2.05 var(--body); color: var(--ink); }
.markup-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .markup-grid { grid-template-columns: 1fr 170px; } }
.markup .m { position: relative; display: inline; transition: color .4s; }
.markup .m.st { background-image: linear-gradient(var(--amber), var(--amber)); background-repeat: no-repeat; background-position: 0 92%; background-size: 0 2px; transition: background-size .42s var(--ease), color .3s; }
.markup .m.sl, .markup .m.en, .markup .m.fa { transition: color .5s; }
.markup .p { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pause); margin: 0 4px; transform: scale(0); transition: transform .4s var(--spring); vertical-align: middle; }
.markup .p.lp { width: 12px; height: 12px; box-shadow: 0 0 0 2px rgba(154,140,240,.35); }
.markup .g { display: inline-block; font: 700 12px var(--mono); vertical-align: super; opacity: 0; transform: translateY(6px) scale(.3); transition: all .45s var(--spring); margin-right: 3px; }
.markup .g.sl { color: var(--slow); } .markup .g.en { color: var(--energy); } .markup .g.br { color: var(--breathe); } .markup .g.fa { color: var(--fast); }
.marked .markup .m.st { background-size: 100% 2px; color: var(--amber-hi); }
.marked .markup .m.sl { color: var(--slow); }
.marked .markup .m.en { color: var(--energy); }
.marked .markup .m.fa { color: var(--fast); }
.marked .markup .p { transform: scale(1); }
.marked .markup .g { opacity: 1; transform: none; }
.notes { display: grid; gap: 14px; align-content: start; font: 500 21px/1.15 var(--pencil); color: var(--ink-2); }
.notes span { opacity: 0; transform: translateX(-8px); transition: all .5s var(--ease); border-left: 2px solid var(--line-strong); padding-left: 10px; }
.marked .notes span { opacity: 1; transform: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .k-st { color: var(--amber-hi); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.legend .k-p { width: 8px; height: 8px; border-radius: 50%; background: var(--pause); }
.demo-ctl { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.demo-ctl .tag { font: 500 12px var(--mono); color: var(--ink-3); margin-left: auto; }

/* Counters on the delivery shot */
.shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.shot img { width: 100%; }
.stats-float { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -40px; padding: 0 16px; position: relative; }
@media (min-width: 640px) { .stats-float { grid-template-columns: repeat(4, 1fr); } }
.sf { background: rgba(21,24,30,.92); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.sf b { display: block; font: 700 26px/1.1 var(--mono); letter-spacing: -.03em; }
.sf span { font-size: 13px; color: var(--ink-3); }
.sf.good b { color: var(--breathe); } .sf.amber b { color: var(--amber-hi); }

/* Cut timeline */
.cut { margin-top: 6px; }
.cut-meta { display: flex; justify-content: space-between; font: 500 13px var(--mono); color: var(--ink-3); margin-bottom: 10px; }
.cut-meta .len b { color: var(--ink); transition: color .3s; }
.wave { display: flex; align-items: center; height: 92px; background: #0b0d11; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; overflow: hidden; }
.wave .seg { display: flex; align-items: center; gap: 2px; height: 100%; flex: none; overflow: hidden; transition: max-width 1s var(--ease), opacity .6s, margin .6s; max-width: 600px; }
.wave .seg i { width: 3px; border-radius: 2px; background: #59606e; flex: none; }
.wave .seg.x { position: relative; background: repeating-linear-gradient(135deg, rgba(255,77,77,.16) 0 6px, transparent 6px 12px); border-left: 1px solid rgba(255,77,77,.5); border-right: 1px solid rgba(255,77,77,.5); margin: 0 2px; }
.wave .seg.x i { background: rgba(255,120,120,.55); }
.wave .seg.x em { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font: 500 10px var(--mono); font-style: normal; color: #fff; background: rgba(0,0,0,.7); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.cutting .wave .seg.x { max-width: 0; opacity: 0; margin: 0; border-width: 0; }
.cut-note { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(240,162,26,.09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile:hover::before { opacity: 1; }
.tile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); margin-bottom: 18px; }
.tile .ico svg { width: 20px; height: 20px; }
.tile h3 { font: 600 19px/1.3 var(--body); margin-bottom: 8px; }
.tile p { color: var(--ink-2); margin: 0; font-size: 16px; }
.tile .tag { position: absolute; top: 20px; right: 20px; font: 500 11px var(--mono); color: var(--amber); border: 1px solid rgba(240,162,26,.4); border-radius: 999px; padding: 4px 8px; }

/* Languages */
.langs { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .langs { grid-template-columns: 5fr 7fr; gap: 64px; } }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.tabs button { background: none; border: 0; color: var(--ink-2); padding: 9px 16px; border-radius: 9px; font: 500 15px var(--body); cursor: pointer; transition: all .2s; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang-card { background: #07080a; border: 1px solid var(--line-strong); border-radius: 18px; padding: clamp(24px, 4vw, 44px); min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.lang-card p { font: 600 clamp(22px, 3vw, 34px)/1.6 var(--body); margin: 0; animation: fadeup .5s var(--ease); }
.lang-card p + p { color: rgba(238,240,243,.4); margin-top: 6px; }
.lang-card .st { color: var(--amber-hi); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang-card .pd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pause); margin: 0 6px; vertical-align: middle; }
.lang-card .en { color: var(--energy); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } }

/* Privacy band */
.privacy-band { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .privacy-band { grid-template-columns: repeat(3, 1fr); } }
.pv { border-top: 2px solid var(--breathe); padding-top: 18px; }
.pv h3 { font: 600 19px/1.3 var(--body); margin-bottom: 6px; }
.pv p { color: var(--ink-2); font-size: 16px; }

/* Versus table */
.vs { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vs th, .vs td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vs tr:last-child td { border-bottom: 0; }
.vs thead th { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.vs thead th.us { color: var(--amber); }
.vs td { color: var(--ink-2); }
.vs td:first-child { color: var(--ink); font-weight: 500; }
.vs .y { color: var(--breathe); font-weight: 600; }
.vs .n { color: var(--ink-3); }
.vs td.us { background: rgba(240,162,26,.05); }

/* Pricing */
.bill { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 36px; }
.bill button { background: none; border: 0; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; font: 500 15px var(--body); cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--ink); color: #000; }
.bill .save { font: 600 11px var(--mono); color: var(--breathe); margin-left: 6px; }
.bill button[aria-pressed="true"] .save { color: #11713f; }
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 940px; margin: 0 auto; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.pro { border-color: rgba(240,162,26,.6); background: linear-gradient(180deg, rgba(240,162,26,.08), var(--surface) 40%); box-shadow: 0 30px 80px -40px rgba(240,162,26,.4); }
.plan .badge { position: absolute; top: -12px; left: 32px; background: var(--amber); color: #000; font: 600 12px var(--mono); padding: 5px 10px; border-radius: 999px; }
.plan h3 { font: 700 24px var(--display); font-stretch: 110%; }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font: 800 52px/1 var(--display); font-stretch: 105%; letter-spacing: -.02em; }
.plan .price span { color: var(--ink-3); }
.plan .sub { color: var(--ink-3); font-size: 14px; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; }
.plan li::before { content: "✓"; color: var(--breathe); font-weight: 700; flex: none; }
.plan.pro li::before { color: var(--amber); }
.founding { max-width: 940px; margin: 20px auto 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed rgba(240,162,26,.55); border-radius: 16px; padding: 18px 22px; background: rgba(240,162,26,.05); }
.founding p { margin: 0; color: var(--ink-2); }
.founding strong { color: var(--ink); }
.fine { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 18px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 600 19px/1.4 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { color: var(--ink-2); padding: 0 0 22px; max-width: 70ch; }
.faq details[open] > div { animation: fadeup .35s var(--ease); }

/* Final CTA */
.cta-final { text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 28px; border: 1px solid var(--line-strong); background:
  radial-gradient(500px 260px at 50% 0%, rgba(240,162,26,.18), transparent 70%),
  radial-gradient(400px 240px at 85% 100%, rgba(154,140,240,.14), transparent 70%), var(--bg-2); position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(34px, 6vw, 72px); font-weight: 800; font-stretch: 115%; margin: 14px auto 18px; max-width: 14ch; }
.cta-final .lead { margin: 0 auto 30px; }
.cta-final .wl { margin: 0 auto; justify-content: center; }
.cta-final .wl-uses { justify-content: center; }
.cta-final .wl-uses legend { width: 100%; text-align: center; }

/* Article pages */
.page-hero { padding: 64px 0 28px; position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -100px 0 auto; height: 600px; z-index: -1; background: radial-gradient(500px 300px at 20% 30%, rgba(240,162,26,.12), transparent 70%), radial-gradient(500px 300px at 85% 10%, rgba(154,140,240,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; font-stretch: 114%; letter-spacing: -.015em; margin: 16px 0 20px; max-width: 18ch; }
.crumbs { font: 500 12px var(--mono); color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.answer { border-left: 3px solid var(--amber); padding: 4px 0 4px 18px; font-size: 19px; color: var(--ink); max-width: 46em; margin: 8px 0 30px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; font-stretch: 108%; margin: 56px 0 16px; }
.prose h3 { font: 600 21px/1.3 var(--body); margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--amber-hi); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.prose .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 16px 0 28px; }
.prose .tbl table { margin: 0; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.prose tr:last-child td { border-bottom: 0; }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 12px; padding: 16px 20px; margin: 24px 0; color: var(--ink-2); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; min-height: 34px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; place-items: center; font: 600 14px var(--mono); color: var(--amber); }
.related { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.related a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.related a:hover { border-color: var(--amber); transform: translateY(-2px); }
.related b { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.related span { font-size: 14px; color: var(--ink-3); }
.updated { font: 500 12px var(--mono); color: var(--ink-3); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 40px; color: var(--ink-3); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid h4 { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-3); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { max-width: 28em; margin-top: 14px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* Reveal on scroll, only when JS runs */
.js .rv { opacity: .4; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Grid children may not grow past their track (the waveform and prompter lines are wide). */
.hero-grid > *, .act > *, .langs > *, .bento > *, .plans > *, .markup-grid > * { min-width: 0; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 60px); font-stretch: 104%; }
  .sec-head h2, .cta-final h2 { font-stretch: 104%; }
  .scene { aspect-ratio: 4 / 3; }
  .slide { inset: 30% 6% 8% 6%; }
  .fp { width: 88%; }
  .cam { width: 28%; }
  .wipe-label { display: none; }
  .wipe .chrome .title { display: none; }
}

/* Wide screens: copy and demo side by side, so the demo is above the fold.
   The headline is sized to its column so "teleprompter" never runs into the demo. */
@media (min-width: 1180px) {
  .wrap { max-width: 1320px; padding: 0 32px; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .hero-copy { max-width: none; container-type: inline-size; }
  .hero h1 { font-size: clamp(48px, 11.2cqi, 96px); font-stretch: 108%; }
}
@media (min-width: 1700px) {
  .wrap { max-width: 1560px; }
  .lead { font-size: 22px; }
}
