@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/s/dd8a4575be98/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/s/52de70091213/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/s/f17f51948d10/plex-mono-500.woff2) format("woff2"); }

/* Tokens = the Coco editor (coco/web/app/web/css/app.css). Paper is the main theme. */
:root {
  --bg: #F4F2EE; --panel: #FFFFFF; --panel2: #F0EEE9; --card: #ECE9E3; --lane: #F7F5F1;
  --line: #DDD9D1; --line2: #C9C4BA;
  --text: #17181B; --muted: #596070; --grey: #80858F;
  --amber: #FFB224; --amber-ink: #1A1205; --amber-text: #8F5400; --amber-line: #C98500;
  --red-bg: #F5DDD7; --red-tx: #B4432F;
  --amb-bg: #FAE6C3; --amb-tx: #8F5400;
  --grn-bg: #DCEBDD; --grn-tx: #2E7A46;
  --blu-bg: #DCE5F4; --blu-tx: #2B62B8;
  --code-bg: #FBFAF7; --phone-ring: rgba(23,24,27,.18);
  --win-shadow: 0 1px 2px rgba(23,24,27,.05), 0 24px 60px -24px rgba(23,24,27,.22);
  --tile-shadow: 0 6px 16px rgba(23,24,27,.16), 0 1px 3px rgba(23,24,27,.08);
  --tab-shadow: 0 1px 2px rgba(23,24,27,.08), 0 4px 14px rgba(23,24,27,.07);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* The editing-suite look of the sign-in page (coco/web/app/web/css/app.css .signin-page). */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --dots: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.5px) 0 0 / 22px 22px;
  --ink-dots: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px;
  --stage: #111216; --stage-line: rgba(255,255,255,.08);
  --glow: 0 18px 40px -14px rgba(201,133,0,.55); --glow-hi: 0 26px 50px -16px rgba(201,133,0,.7);
  --leak: radial-gradient(44% 56% at 72% 50%, rgba(255,178,36,.36), transparent 72%), radial-gradient(26% 32% at 100% 0%, rgba(255,110,50,.5), transparent 70%), linear-gradient(118deg, transparent 52%, rgba(255,150,60,.1) 62%, transparent 74%), radial-gradient(36% 42% at 0% 100%, rgba(70,150,170,.22), transparent 72%);
  --ease: cubic-bezier(.2,.75,.15,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1013; --panel: #17191E; --panel2: #1E2128; --card: #16181D; --lane: #14161A;
    --line: #2A2E37; --line2: #383D48;
    --text: #ECEEF2; --muted: #A1A8B5; --grey: #838A97;
    --amber-text: #FFB224; --amber-line: #FFB224;
    --red-bg: rgba(255,120,100,.13); --red-tx: #FF9C8A;
    --amb-bg: rgba(255,178,36,.13); --amb-tx: #FFC35A;
    --grn-bg: rgba(91,212,154,.12); --grn-tx: #6FD6A3;
    --blu-bg: rgba(125,189,255,.13); --blu-tx: #8FC4FF;
    --code-bg: #121418; --phone-ring: #383D48;
    --win-shadow: 0 1px 2px rgba(0,0,0,.4), 0 30px 70px -24px rgba(0,0,0,.7);
    --tile-shadow: 0 10px 22px rgba(0,0,0,.55), 0 2px 5px rgba(0,0,0,.4);
    --tab-shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
    --stage: #0A0B0E; --stage-line: rgba(255,255,255,.09);
    --glow: 0 18px 40px -14px rgba(255,178,36,.6); --glow-hi: 0 26px 50px -16px rgba(255,178,36,.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; font-optical-sizing: auto; overflow-x: hidden; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-feature-settings: normal; }
svg.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--grain); opacity: .06; pointer-events: none; }
::selection { background: var(--amber); color: var(--amber-ink); }

/* ---------- nav ---------- */
.nav { max-width: 1128px; margin: 0 auto; display: flex; align-items: center; gap: 12px 28px; padding: 16px clamp(16px, 3vw, 24px); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--amber); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1.5px 0 rgba(143,84,0,.3), 0 4px 12px -4px rgba(201,133,0,.6); rotate: -4deg; }
.brand-mark svg { width: 12px; height: 12px; }
.nav .links { display: flex; gap: 26px; margin: 0 auto; font-size: 14px; }
.nav .links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav .links a:hover { color: var(--text); }
.nav .btn { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
@media (max-width: 640px) { .nav .links { display: none; } .nav .btn { margin-left: auto; } }
/* Sticky only where there is room; anchors land below it. */
@media (min-width: 640px) {
  .nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--bg) 84%, transparent); clip-path: inset(0 -100vmax); }
  .sec { scroll-margin-top: 72px; }
}

/* ---------- frame: hairlines down the sides, + where rules cross ---------- */
.frame { position: relative; max-width: 1128px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 1160px) { .frame { margin: 0 8px; } }
.rule { position: relative; height: 1px; background: var(--line); }
.rule::before, .rule::after { content: ""; position: absolute; top: -5px; width: 11px; height: 11px;
  background: linear-gradient(var(--grey), var(--grey)) center / 11px 1px no-repeat, linear-gradient(var(--grey), var(--grey)) center / 1px 11px no-repeat; }
.rule::before { left: -6px; } .rule::after { right: -6px; }
.sec { padding: clamp(80px, 10vw, 136px) clamp(16px, 5vw, 64px); text-align: center; }

/* ---------- type ---------- */
.h2 { margin: 0 auto; max-width: 21em; font-size: clamp(30px, 3.7vw, 46px); font-weight: 640; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.h2 .l1, .h2 .l2 { display: block; }
.h2 .l2 { color: var(--grey); margin-top: .06em; }
.lede { margin: 22px auto 0; max-width: 56ch; font-size: 17.5px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.lede code, .cap code { font-size: .84em; color: var(--text); background: var(--panel2); padding: 1px 4px; border-radius: 5px; }
.proof { display: inline-flex; gap: 10px; align-items: baseline; margin-top: 22px; max-width: 64ch; font-size: 13.5px; line-height: 1.5; color: var(--grey); text-align: left; }
.proof::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 22%, transparent); transform: translateY(-1px); }
.proof b { color: var(--text); font-weight: 600; }
.proof code { font-size: 12px; color: var(--text); overflow-wrap: anywhere; }
.try { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; padding: 8px 14px 8px 16px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel); font-size: 14px; font-weight: 550; text-decoration: none; letter-spacing: -0.005em; box-shadow: 0 1px 2px rgba(23,24,27,.06); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.try svg.ic { width: 14px; height: 14px; color: var(--amber-text); transition: transform .25s var(--ease); }
.try:hover { border-color: var(--amber-line); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(201,133,0,.55); }
.try:hover svg.ic { transform: translateX(3px); }
.after { display: flex; flex-direction: column; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line2); transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.08); }
.btn:hover { transform: translateY(-1px); }
.btn svg.ic { width: 16px; height: 16px; }
.btn .dot { opacity: .5; }
/* The sign-in CTA: amber, 56 px, soft glow, one shine on load. */
.hero .btn, .final .btn { height: 56px; padding: 0 24px; border-radius: 15px; font-size: 16.5px; }
.hero .btn:not(.primary) { box-shadow: 0 1px 2px rgba(23,24,27,.06); }
.hero .btn:not(.primary):hover { border-color: var(--amber-line); }
.hero .btn.primary, .final .btn.primary { position: relative; overflow: hidden; border: 0; background: var(--amber); color: var(--amber-ink); font-weight: 680; letter-spacing: -0.015em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(143,84,0,.28), 0 1px 2px rgba(26,18,5,.22), var(--glow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s; }
.hero .btn.primary::after, .final .btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-110%); pointer-events: none; }
.hero .btn.primary:hover, .final .btn.primary:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(143,84,0,.28), 0 2px 4px rgba(26,18,5,.2), var(--glow-hi); }
.hero .btn.primary:hover::after, .final .btn.primary:hover::after { transform: translateX(110%); transition: transform .9s var(--ease); }
.hero .btn.primary .dot, .final .btn.primary .dot { opacity: .45; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 64px) 0; text-align: center;
  background: radial-gradient(52% 30% at 50% 68%, rgba(255,178,36,.13), transparent 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-dots); -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%); opacity: .55; pointer-events: none; }
.hero h1 { margin: 0 auto; max-width: 17em; font-size: clamp(34px, 4.6vw, 58px); font-weight: 680; line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
/* The tool is the sign-in page's tilted amber pill; each word carries its own pill, so the pill fits the word on screen. */
.rot { display: inline-grid; justify-items: start; text-align: left; color: var(--amber-ink); margin-left: .02em; }
.rot > span { grid-area: 1 / 1; white-space: nowrap; padding: 0 .13em .05em; border-radius: .14em; background: var(--amber); rotate: -1.5deg;
  box-shadow: 0 .06em 0 rgba(143,84,0,.35), 0 .35em .7em -.35em rgba(201,133,0,.6); }
.hero .lede { margin-top: 24px; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero .cta-row { margin-top: clamp(28px, 3vw, 40px); }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--grey); text-wrap: balance; }
/* Negative delays keep the first word visible at t=0, so a still capture never shows an empty slot. */
@media (prefers-reduced-motion: no-preference) {
  .rot > span { animation: rot 10s cubic-bezier(.3,.7,.2,1) infinite both; }
  .rot > span:nth-child(2) { animation-delay: -7.5s; }
  .rot > span:nth-child(3) { animation-delay: -5s; }
  .rot > span:nth-child(4) { animation-delay: -2.5s; }
}
@media (prefers-reduced-motion: reduce) { .rot > span + span { visibility: hidden; } }
/* The film sits in a viewer: crop marks drawn 14 px outside it, in the same grid cell, so they track its size. */
.film-sec { display: grid; grid-template-columns: minmax(0, 1000px); justify-content: center; padding: clamp(48px, 6.5vw, 76px) clamp(16px, 5vw, 64px) 0; }
.film-sec::before { content: ""; grid-area: 1 / 1; margin: -14px; pointer-events: none; --c: var(--grey);
  background: linear-gradient(var(--c), var(--c)) left top / 18px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1.5px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 18px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1.5px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 18px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 18px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 18px no-repeat; opacity: .7; }
.film { grid-area: 1 / 1; position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0E0F12; isolation: isolate;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 7px color-mix(in srgb, var(--panel) 70%, transparent), 0 0 0 8px var(--line), var(--win-shadow), 0 40px 120px -50px rgba(255,160,40,.55); }
.film::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.film-prog { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #FF8A3D, var(--amber)); box-shadow: 0 0 12px 1px rgba(255,178,36,.75); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
/* The film is dark in both themes, so the control is a light disc; the 44 px box is the hit area around a smaller disc. */
.film-btn { position: absolute; z-index: 3; right: 8px; bottom: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #17181B; cursor: pointer; transition: opacity .25s; }
.film-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(244,242,238,.9); box-shadow: 0 0 0 1px rgba(23,24,27,.08), 0 4px 14px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s ease, background .2s; }
.film-btn svg { position: relative; width: 13px; height: 13px; fill: currentColor; }
.film-btn .i-pause, [data-playing] > .film-btn .i-play { display: none; }
[data-playing] > .film-btn .i-pause { display: block; }
.film-btn:hover::before { background: #FFFFFF; transform: scale(1.06); }
.film-btn:focus-visible { outline: none; }
.film-btn:focus-visible::before { box-shadow: 0 0 0 2px #0E0F12, 0 0 0 4px var(--amber); }
[data-playing] > .film-btn { opacity: .78; }
.film:hover .film-btn, .screen:hover .film-btn, .film-btn:focus-visible { opacity: 1; }
@media (max-width: 639.98px) {
  .film-sec { padding-top: 40px; }
  .film-sec::before { margin: -9px; }
  .film { border-radius: 12px; box-shadow: 0 0 0 1px var(--line), var(--win-shadow), 0 30px 80px -40px rgba(255,160,40,.5); }
  .film-btn { right: 2px; bottom: 2px; }
  .film-btn::before { inset: 8px; }
  .film-btn svg { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .film-btn, .film-btn::before { transition: none; } .film-btn:hover::before { transform: none; } }
/* Call strip: the share card (templates/og.html) as live HTML. The call card and the phone stay dark in both themes. */
/* The strip is the sign-in viewer: a dark stage with a dot grid, crop marks, grain and an amber light leak, in both themes. */
.hero .strip { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 24px); max-width: 860px; margin: clamp(40px, 4.5vw, 56px) auto 0; padding: 24px clamp(20px, 3.4vw, 40px); border-radius: 26px; text-align: left; color: #ECEEF2; --c: rgba(255,255,255,.3);
  background: linear-gradient(var(--c), var(--c)) left 16px top 16px / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left 16px top 16px / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right 16px top 16px / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right 16px top 16px / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left 16px bottom 16px / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left 16px bottom 16px / 1.5px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right 16px bottom 16px / 16px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right 16px bottom 16px / 1.5px 16px no-repeat,
    var(--dots), var(--stage);
  box-shadow: inset 0 0 0 1px var(--stage-line), 0 30px 80px -40px rgba(0,0,0,.6); }
.hero .strip::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--leak); pointer-events: none; }
.hero .strip::after { content: ""; position: absolute; inset: -40px; z-index: 3; background: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.hero .call { position: relative; z-index: 2; flex: 0 1 410px; min-width: 0; border-radius: 16px; background: rgba(18,20,24,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #ECEEF2; font-family: var(--mono); font-feature-settings: normal;
  box-shadow: 0 0 0 1px #2A2E37, inset 0 1px 0 rgba(255,255,255,.06), 0 40px 70px -24px rgba(0,0,0,.85); }
.call .hd { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #2A2E37; font-size: clamp(13px, min(1.1vw, 1.75vh), 15px); font-weight: 500; }
.call .verb { padding: 1px 7px; border-radius: 5px; background: var(--amber); color: var(--amber-ink); font-size: .84em; font-weight: 600; letter-spacing: .03em; }
.call .body { display: block; padding: 15px 18px 18px; font-size: clamp(13px, min(1.1vw, 1.75vh), 15px); font-weight: 500; line-height: 1.65; color: #838A97; }
/* Each line wraps with a hanging indent, so a narrow card breaks a line instead of cutting it. */
.call .l { display: block; padding-left: calc(var(--i, 0) * 2ch + 2ch); text-indent: -2ch; }
.call .i1 { --i: 1; } .call .i2 { --i: 2; }
.call .k { color: #A1A8B5; } .call .s { color: #ECEEF2; } .call .v { color: #FFC35A; }
/* "a_lab01"} is one text node so the copy reads as JSON; the gradient keeps its closing brace grey. */
.call .vb { white-space: nowrap; color: transparent; background: linear-gradient(90deg, #FFC35A calc(100% - 1ch), #838A97 0); -webkit-background-clip: text; background-clip: text; }
.call .th { width: 28px; height: 38px; margin: -10px 0 -8px 12px; object-fit: cover; border-radius: 5px; vertical-align: middle; box-shadow: 0 0 0 2px var(--amber); text-indent: 0; }
.hero .arrow { position: relative; z-index: 2; flex: 0 0 auto; display: grid; place-items: center; width: clamp(44px, 5vw, 64px); height: 24px; color: var(--amber); filter: drop-shadow(0 0 6px rgba(255,178,36,.7)); }
.arrow svg { display: block; width: 100%; height: auto; overflow: visible; }
.arrow path { stroke: currentColor; stroke-width: 3.5px; vector-effect: non-scaling-stroke; }
/* The frame's height follows the space left under the H1 and the stage padding, so the whole hero fits the first screen. */
.hero .phone { position: relative; z-index: 2; flex: 0 0 auto; width: clamp(176px, calc((100vh - 362px - 9vw) * 9 / 16 + 14px), 228px); padding: 6px; border-radius: 36px; background: #0B0C0F;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1px #2A2E37, 0 50px 90px -30px rgba(0,0,0,.9), 0 0 110px -10px rgba(255,178,36,.32); }
.phone .screen { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000; isolation: isolate; }
.phone .screen::before { content: ""; position: absolute; z-index: 1; top: 8px; left: 50%; width: 30%; height: 17px; border-radius: 99px; background: #0B0C0F; transform: translateX(-50%); pointer-events: none; }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.phone .film-btn { right: 10px; bottom: 10px; z-index: 3; }
/* Entrances avoid transforms on .call and .phone: the spec 13 checks measure their boxes right after load. */
@media (prefers-reduced-motion: no-preference) {
  .hero .cta-row, .hero .fine { animation: rise .8s var(--ease) both; }
  .hero .cta-row { animation-delay: .1s; }
  .hero .fine { animation-delay: .18s; }
  .hero .btn.primary::after { animation: shine 1.1s var(--ease) 1.9s 1 both; }
  .hero .btn.primary:hover::after { animation: none; }
  .hero .strip::before { animation: drift 16s ease-in-out infinite alternate; }
  .hero .strip::after { animation: grain .9s steps(1) infinite; }
  .hero .call { animation: appear .8s ease-out .45s both; }
  .call .l { animation: type .35s ease-out both; }
  .call .l:nth-child(1) { animation-delay: .7s; } .call .l:nth-child(2) { animation-delay: .77s; } .call .l:nth-child(3) { animation-delay: .84s; }
  .call .l:nth-child(4) { animation-delay: .91s; } .call .l:nth-child(5) { animation-delay: .98s; } .call .l:nth-child(6) { animation-delay: 1.05s; } .call .l:nth-child(7) { animation-delay: 1.12s; }
  .call .v:not(.vb) { border-radius: 4px; animation: flash 1.2s ease-out 1.35s both; }
  .call .th { animation: ring 1.4s ease-out 1.4s both; }
  /* An amber scan line wipes a curtain off the frame, as if the call just rendered it; the poster under it still paints first. */
  .phone .screen::after { content: ""; position: absolute; z-index: 2; inset: 0; background: #08090B; border-top: 2px solid var(--amber); box-shadow: 0 -2px 18px 3px rgba(255,178,36,.65); pointer-events: none; animation: wipe 1.15s cubic-bezier(.6,0,.3,1) 1.2s both; }
  .arrow path.shaft { stroke-dasharray: 6 7; animation: flow .9s linear infinite; }
  .arrow svg { animation: nudge 2.4s cubic-bezier(.45,0,.25,1) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shine { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes drift { from { transform: translate3d(-2%, 1%, 0) scale(1); } to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-14px, 9px); } 50% { transform: translate(11px, -16px); } 75% { transform: translate(-7px, -5px); } }
@keyframes type { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { background: transparent; } 25% { background: rgba(255,178,36,.3); } 100% { background: transparent; } }
@keyframes ring { 0% { box-shadow: 0 0 0 2px var(--amber); } 30% { box-shadow: 0 0 0 2px var(--amber), 0 0 0 7px rgba(255,178,36,.35); } 100% { box-shadow: 0 0 0 2px var(--amber), 0 0 0 12px rgba(255,178,36,0); } }
@keyframes wipe { 0% { transform: translateY(0); } 99.9% { transform: translateY(100%); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -13; } }
@media (min-width: 640px) {
  .hero { padding-top: clamp(48px, min(9vw, 8vh), 112px); }
  .hero .cta-row { margin-top: clamp(20px, min(3vw, 3.5vh), 40px); }
  .hero .fine { margin-top: 14px; }
  .hero .strip { margin-top: clamp(24px, min(4.5vw, 4vh), 56px); }
}
@media (max-width: 759.98px) {
  .hero .strip { flex-direction: column; gap: 14px; padding: 18px 12px 22px; border-radius: 22px; }
  .hero .call { flex: none; width: 100%; max-width: 440px; }
  .call .hd { padding: 11px 14px; }
  .call .body { padding: 12px 14px 16px; }
  .hero .arrow { width: 24px; height: 48px; }
  .arrow svg { width: 48px; flex: none; rotate: 90deg; }
  .hero .phone { width: 220px; }
}
@media (max-width: 639.98px) {
  .call .hd, .call .body { font-size: clamp(11px, 3.4vw, 13px); }
  .phone .film-btn { right: 4px; bottom: 4px; }
}
@keyframes rot {
  0%, 21% { opacity: 1; transform: none; filter: none; }
  25% { opacity: 0; transform: translateY(-.4em); filter: blur(3px); }
  96% { opacity: 0; transform: translateY(.4em); filter: blur(3px); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* ---------- demo window ---------- */
.demo { padding: clamp(56px, 7vw, 88px) clamp(12px, 4vw, 48px) clamp(80px, 9vw, 120px); }
.tabs { display: flex; width: max-content; max-width: 100%; margin: 0 auto; padding: 4px; gap: 2px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent); }
.tabs button { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; cursor: pointer; padding: 10px 19px 10px 15px; border-radius: 99px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.tabs button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line2); transition: background .2s, box-shadow .2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: var(--tab-shadow); }
.tabs button[aria-selected="true"]::before { background: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 25%, transparent), 0 0 8px rgba(255,178,36,.8); }
.tabs button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (max-width: 680px) {
  .tabs { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 0 0 auto; scroll-snap-align: center; padding: 10px 16px; }
}
/* The fade is the scroll cue; site.js sets data-end once the row is scrolled to its end or fits. */
[data-scroll-x]:not([data-end]) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.win { max-width: 1000px; margin: 28px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--win-shadow), 0 50px 120px -60px rgba(255,160,40,.35); overflow: hidden; text-align: left; }
.win .bar { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--panel), var(--panel2)); }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
.win .bar span { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 7px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--grey); white-space: nowrap; }
.panel { padding: clamp(16px, 3vw, 30px); min-height: 548px; display: flex; flex-direction: column; justify-content: center; }
.panel > * { width: 100%; }
.win .panel { background: radial-gradient(color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px; }
@media (max-width: 760px) { .panel { min-height: 0; } }
.panel[hidden] { display: none; }
.caps { max-width: 62ch; margin: 22px auto 0; min-height: 3.2em; text-align: center; }
.cap { font-size: 15.5px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.cap[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .win.switched .panel:not([hidden]) { animation: fade .35s ease both; } }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* video frames (shared) */
.fr { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: #000; container-type: inline-size; box-shadow: var(--tile-shadow); }
.fr img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr .sh { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0) 24%, rgba(0,0,0,0) 50%, rgba(0,0,0,.66)); }
.fr .wm { position: absolute; left: 50%; top: 5%; width: 56%; transform: translateX(-50%); }
.fr .t { position: absolute; left: 8%; right: 8%; bottom: 8%; color: #fff; font-weight: 800; font-size: 12.5cqw; line-height: 1.02; text-transform: uppercase; letter-spacing: -0.01em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* tab 1: editor */
.ed { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start; }
.ed .pv { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ed .pv .fr { width: 100%; border-radius: 12px; box-shadow: var(--tile-shadow), 0 0 0 4px #0B0C0F; }
.badge { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 7px; }
.tl { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.tl-ruler { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
.tl-ruler div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--grey); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.tracks { position: relative; display: flex; flex-direction: column; gap: 8px; }
.lane { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; align-items: center; }
.lane > code { font-size: 11px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk { height: 30px; position: relative; background: var(--lane); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.blk { position: absolute; top: 0; bottom: 0; border-radius: 6px; display: flex; align-items: center; gap: 6px; padding: 0 8px; overflow: hidden; font-family: var(--mono); font-size: 11px; white-space: nowrap; color: var(--muted); }
.blk.fixb { background: color-mix(in srgb, var(--muted) 16%, var(--lane)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 28%, transparent); }
.blk.varb { background: color-mix(in srgb, var(--amber) 14%, var(--lane)); outline: 1.5px dashed var(--amber-line); outline-offset: -1.5px; font-weight: 600; color: var(--amber-text); }
.blk .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.blk img { height: 20px; width: 12px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.blk img.wmk { width: auto; height: 22px; margin: 0 -4px; filter: brightness(0); opacity: .5; }
@media (prefers-color-scheme: dark) { .blk img.wmk { filter: none; opacity: .8; } }
.blk svg.wf { height: 14px; flex: 1; min-width: 0; }
.blk svg.wf path { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; opacity: .8; }
.blk .lock { width: 11px; height: 11px; opacity: .7; }
.playhead { position: absolute; top: -4px; bottom: -2px; width: 2px; background: var(--amber); box-shadow: 0 0 10px rgba(255,178,36,.75); left: calc(88px + (100% - 88px) * .56); z-index: 2; pointer-events: none; border-radius: 1px; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 9px; background: var(--amber); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 11px; color: var(--grey); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.key span { display: inline-flex; align-items: center; gap: 7px; }
.key i { width: 16px; height: 10px; border-radius: 2px; display: inline-block; }
.key i.f { background: color-mix(in srgb, var(--muted) 16%, var(--lane)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 28%, transparent); }
.key i.v { outline: 1.5px dashed var(--amber-line); outline-offset: -1.5px; background: color-mix(in srgb, var(--amber) 14%, var(--lane)); }
@media (max-width: 640px) {
  .ed { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ed .pv { flex-direction: row; align-items: flex-end; }
  .ed .pv .fr { width: 110px; }
  .tl-ruler, .lane { grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
  .playhead { left: calc(70px + (100% - 70px) * .56); }
}

/* tab 2: data */
.data { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.15fr); gap: 0 8px; align-items: center; }
.data .arr { display: grid; place-items: center; color: var(--grey); }
.sheet { overflow: hidden; background: var(--panel2); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.sheet th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; padding: 10px 10px 8px; color: var(--grey); }
.sheet th:first-child, .sheet td:first-child { width: 30px; padding-right: 0; color: var(--grey); font-family: var(--mono); font-size: 11px; }
.sheet th:nth-child(2) { width: 42%; }
.sheet td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .ph-cell { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); min-width: 0; }
.sheet .ph-cell span { overflow: hidden; text-overflow: ellipsis; }
.sheet td img { width: 18px; height: 28px; object-fit: cover; border-radius: 3px; flex: 0 0 auto; }
.sheet tr.more td { color: var(--grey); font-family: var(--mono); font-size: 11px; }
.sheet tr.on td { background: color-mix(in srgb, var(--text) 6%, transparent); }
.sheet tr.on td:first-child { box-shadow: inset 2px 0 0 var(--amber); color: var(--text); }
.req { border-radius: 14px; overflow: hidden; background: #121418; box-shadow: 0 0 0 1px #2A2E37, inset 0 1px 0 rgba(255,255,255,.05), 0 24px 50px -24px rgba(0,0,0,.55); }
.req .hd { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #2A2E37; font-family: var(--mono); font-size: 11.5px; color: #838A97; }
.req .hd b, .code-card .hd b { padding: 1px 7px; border-radius: 5px; background: var(--amber); color: var(--amber-ink); font-size: .9em; font-weight: 600; letter-spacing: .03em; }
.req .hd .st { margin-left: auto; }
pre.code { margin: 0; padding: 14px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; color: var(--muted); }
pre.code > span.l { display: block; padding: 0 16px; white-space: pre; }
.c-k { color: var(--muted); } .c-s { color: var(--text); } .c-m { color: var(--grey); }
.req pre.code, .code-card pre.code { color: #838A97; }
.req .c-k, .code-card .c-k { color: #A1A8B5; } .req .c-s, .code-card .c-s { color: #FFC35A; } .req .c-m, .code-card .c-m { color: #6FD6A3; }
.st { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 99px; white-space: nowrap; color: var(--text); background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.req .st, .code-card .st { color: #6FD6A3; background: rgba(91,212,154,.12); box-shadow: inset 0 0 0 1px rgba(91,212,154,.25); }
@media (max-width: 760px) {
  .data { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .data .arr { transform: rotate(90deg); }
  pre.code { font-size: 11.5px; } pre.code > span.l { padding: 0 12px; }
}

/* tab 3: videos */
.panel .strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.fr.count { box-shadow: 0 0 0 1.5px var(--amber), var(--tile-shadow), 0 10px 30px -8px rgba(255,178,36,.5); }
.fr.count .sh { background: rgba(8,9,12,.74); }
.fr.count .n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--amber); font-weight: 700; font-size: 21cqw; letter-spacing: -0.04em; line-height: 1; }
.fr.count .n small { font-family: var(--mono); font-size: 9cqw; font-weight: 500; color: #fff; letter-spacing: .04em; margin-top: 7px; opacity: .8; }
.log { margin-top: 22px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.log .hd { padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--grey); display: flex; gap: 10px; }
.log .hd b { color: var(--text); font-weight: 600; }
.lr { display: grid; grid-template-columns: 14px 150px 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lr + .lr { border-top: 1px solid var(--line); }
.lr .d { width: 8px; height: 8px; border-radius: 50%; background: var(--grn-tx); }
.lr .d.o { position: relative; background: var(--amber); }
.lr .d.o::after, .dt.o::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--amber); opacity: 0; }
.lr .e { color: var(--text); }
.lr .h { font-family: var(--sans); font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr .f { color: var(--grey); }
@media (max-width: 760px) {
  .panel .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel .strip .fr:nth-child(4), .panel .strip .fr:nth-child(5), .panel .strip .fr:nth-child(6) { display: none; }
  .lr { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; }
  .lr .i, .lr .h { display: none; }
}

/* tab 4: agent chat */
.chat { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.me { align-self: flex-end; max-width: 82%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bub { background: var(--panel2); border-radius: 18px; padding: 10px 16px; font-size: 15px; line-height: 1.45; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.att { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; background: var(--panel); }
.att svg.ic { width: 13px; height: 13px; }
.used { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--grey); }
.used svg.ic { width: 13px; height: 13px; }
.used .x { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.chat .call { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.chat .call b { font-weight: 600; }
.chat .call .mono { font-size: 13px; color: var(--muted); }
.chat .call svg.ic { margin-left: auto; width: 15px; height: 15px; color: var(--grey); }
.outs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 440px; }
.outs figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.outs figcaption { font-family: var(--mono); font-size: 10.5px; color: var(--grey); }
.bot { font-size: 15px; line-height: 1.5; }
.reply { display: flex; align-items: center; margin-top: 6px; padding: 12px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px -10px rgba(0,0,0,.18); color: var(--grey); font-size: 14.5px; }
.reply svg.ic { margin-left: auto; width: 16px; height: 16px; }

/* ---------- manifesto ---------- */
.man { position: relative; isolation: isolate; padding: clamp(88px, 11vw, 150px) clamp(16px, 5vw, 64px); text-align: center; }
.man::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 50%, rgba(255,178,36,.1), transparent 70%), var(--ink-dots); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%); opacity: .7; pointer-events: none; }
.man p { margin: 0 auto; max-width: 21em; font-size: clamp(25px, 3.4vw, 42px); font-weight: 620; line-height: 1.28; letter-spacing: -0.038em; text-wrap: balance; }
.man p + p { margin-top: .75em; }
/* Each chip is a tilted pill like the sign-in "Coco", alternating its lean down the column. */
.chip { display: inline-flex; align-items: center; gap: .2em; padding: .02em .34em .05em .26em; border-radius: .3em; font-weight: 680; white-space: nowrap; rotate: -1.5deg; box-shadow: 0 .05em 0 color-mix(in srgb, currentColor 30%, transparent), 0 .3em .7em -.4em color-mix(in srgb, currentColor 60%, transparent); }
.man p:nth-child(even) .chip { rotate: 1.2deg; }
.chip svg { width: .74em; height: .74em; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transform: translateY(.02em); }
.chip.red { background: var(--red-bg); color: var(--red-tx); }
.chip.amb { background: var(--amber); color: var(--amber-ink); }
.chip.grn { background: var(--grn-bg); color: var(--grn-tx); }
.chip.blu { background: var(--blu-bg); color: var(--blu-tx); }

/* ---------- template section ---------- */
/* Three finished videos fanned like prints off the same template, on an amber light pool. */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 22px); max-width: 640px; margin: 52px auto 0; padding: 14px 0 20px;
  background: radial-gradient(closest-side, rgba(255,178,36,.22), transparent) 50% 60% / 130% 100% no-repeat; }
.trio .fr { border-radius: 14px; box-shadow: var(--tile-shadow), 0 0 0 4px #0B0C0F, 0 30px 50px -24px rgba(23,24,27,.5); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.trio .fr:nth-child(1) { rotate: -3.5deg; translate: 6px 14px; }
.trio .fr:nth-child(2) { z-index: 1; }
.trio .fr:nth-child(3) { rotate: 3.5deg; translate: -6px 14px; }
.trio:hover .fr:nth-child(1), .trio:hover .fr:nth-child(3) { rotate: 0deg; translate: 0 6px; }
.trio .fr .t { outline: 1.5px dashed var(--amber); outline-offset: 4px; border-radius: 2px; }
.vtag { position: absolute; left: 7%; top: 22%; font-family: var(--mono); font-size: max(9px, 6.4cqw); font-weight: 600; color: var(--amber-ink); background: var(--amber); border-radius: 4px; padding: 1px 5px; }
.trio-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.trio-key > span { display: inline-flex; align-items: center; gap: 8px; }
.trio-key i { width: 16px; height: 10px; border-radius: 2px; display: inline-block; }
.trio-key i.f { background: color-mix(in srgb, var(--muted) 16%, var(--lane)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 28%, transparent); }
.trio-key i.v { outline: 1.5px dashed var(--amber-line); outline-offset: -1.5px; background: color-mix(in srgb, var(--amber) 14%, var(--lane)); }
.trio-key code { font-size: 12px; color: var(--text); }

/* ---------- volume board ---------- */
.board { max-width: 820px; margin: 52px auto 0; text-align: left; background: var(--panel); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--win-shadow), 0 50px 110px -60px rgba(255,160,40,.4); overflow: hidden; }
.board .hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; border-bottom: 1px solid #2A2E37; font-family: var(--mono); font-size: 12.5px; color: #ECEEF2; background: var(--dots), #121418; }
.board .hd b { padding: 1px 7px; border-radius: 5px; background: var(--amber); color: var(--amber-ink); font-size: .9em; font-weight: 600; letter-spacing: .03em; }
.board .hd > span:not(.cnt) { color: var(--amber); }
.board .hd .cnt { color: #A1A8B5; }
.board .hd .dt.q { background: #4A4F5A; }
.board .hd .cnt { margin-left: auto; display: flex; gap: 14px; }
.board .hd .cnt span { display: inline-flex; align-items: center; gap: 6px; }
.rr { display: grid; grid-template-columns: 30px 24px minmax(0, 1fr) 92px minmax(60px, 120px) 84px; gap: 12px; align-items: center; padding: 9px 16px; font-size: 14px; }
.rr + .rr { border-top: 1px solid var(--line); }
.rr .i { font-family: var(--mono); font-size: 11px; color: var(--grey); }
.rr img { width: 22px; height: 34px; border-radius: 3px; object-fit: cover; }
.rr .h { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr .st { text-align: center; color: var(--amb-tx); background: var(--amb-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amber) 30%, transparent); }
.board .hd + .rr .st { color: var(--grn-tx); background: var(--grn-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--grn-tx) 25%, transparent); }
.rr .st.q { color: var(--grey); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.rr img { box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.dt { position: relative; width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--grn-tx); }
.dt.o { background: var(--amber); }
.dt.q { background: var(--line2); }
.bar { height: 5px; border-radius: 3px; background: var(--panel2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #FF9A3D, var(--amber)); background-size: 200% 100%; box-shadow: 0 0 8px rgba(255,178,36,.6); }
.bar.done i { background: var(--grn-tx); box-shadow: none; }
.hook { font-family: var(--mono); font-size: 11px; color: var(--grey); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.hook.on { color: var(--grn-tx); }
.hook svg.ic { width: 13px; height: 13px; }
.rr.more { font-family: var(--mono); font-size: 11.5px; color: var(--grey); grid-template-columns: minmax(0, 1fr); text-align: center; }
@media (max-width: 560px) {
  .rr { grid-template-columns: 24px 22px minmax(0, 1fr) 84px; gap: 8px; padding: 9px 12px; }
  .rr .bar { grid-column: 3 / 4; grid-row: 2; }
  .rr .hook { grid-column: 4 / 5; grid-row: 2; justify-content: center; }
  .rr.more { grid-template-columns: minmax(0, 1fr); }
  .board .hd .cnt { margin-left: 0; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 56px auto 0; text-align: left; }
.card { position: relative; isolation: isolate; background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 55%, var(--card)), var(--card) 46%); border-radius: 26px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 22px; min-width: 0; overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), inset 0 1px 0 color-mix(in srgb, var(--panel) 80%, transparent), 0 1px 2px rgba(23,24,27,.04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amber-line) 45%, transparent), 0 24px 50px -30px rgba(201,133,0,.45); }
.card.cap-c { grid-column: 1 / 4; grid-row: 1 / 3; }
.card.list-c { grid-column: 4 / 7; }
.card.err-c { grid-column: 4 / 7; }
.card.flow-c { grid-column: 1 / 4; }
.card.mcp-c { grid-column: 4 / 7; }
.card .ld { font-size: 18.5px; line-height: 1.38; font-weight: 500; letter-spacing: -0.017em; color: var(--grey); text-wrap: pretty; }
.card .ld b { color: var(--text); font-weight: 600; }
.card .ld code { font-size: .74em; color: var(--text); background: var(--panel); padding: 1px 5px; border-radius: 4px; white-space: nowrap; letter-spacing: 0; }
.card .demo-area { margin-top: auto; }
@media (max-width: 860px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card.cap-c, .card.list-c, .card.err-c, .card.flow-c, .card.mcp-c { grid-column: auto; grid-row: auto; }
  .card.cap-c { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* captions demo */
/* The captions card carries a small sign-in viewer: dark stage, dot grid, light leak, crop marks. */
.capdemo { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: center; padding: 30px 16px; border-radius: 20px; --c: rgba(255,255,255,.3);
  background: linear-gradient(var(--c), var(--c)) left 14px top 14px / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left 14px top 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right 14px top 14px / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right 14px top 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) left 14px bottom 14px / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) left 14px bottom 14px / 1.5px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right 14px bottom 14px / 14px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) right 14px bottom 14px / 1.5px 14px no-repeat,
    var(--dots), var(--stage);
  box-shadow: inset 0 0 0 1px var(--stage-line); }
.capdemo::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--leak); pointer-events: none; }
.capdemo .fr { width: min(220px, 64%); border-radius: 18px; box-shadow: 0 0 0 5px #0B0C0F, 0 0 0 6px #2A2E37, 0 40px 70px -26px rgba(0,0,0,.9), 0 0 90px -10px rgba(255,178,36,.35); }
.cw { position: absolute; left: 7%; right: 7%; bottom: 13%; display: flex; flex-wrap: wrap; justify-content: center; gap: .12em .2em; color: #fff; font-weight: 800; font-size: 11cqw; line-height: 1.12; text-transform: uppercase; letter-spacing: -0.01em; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
.cw span { padding: 0 .12em; border-radius: .14em; }
.cw span.lit { background: var(--amber); color: var(--amber-ink); text-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .cw span { animation: lit 3.6s steps(1, end) infinite; animation-delay: calc(var(--i) * .6s - 3.6s); }
  .cw span.lit { background: transparent; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55); }
}
@keyframes lit { 0% { background: var(--amber); color: var(--amber-ink); text-shadow: none; } 16.66%, 100% { background: transparent; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55); } }
.wave { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--grey); }
.wave svg { width: 120px; height: 16px; }
.wave svg path { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; }

/* list demo */
.ldemo { background: var(--panel); border-radius: 16px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.ldemo .row { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ldemo input[type=range] { flex: 1; min-width: 0; accent-color: var(--amber); }
.ldemo .thumbs { display: flex; gap: 5px; margin-top: 14px; height: 50px; }
.ldemo .thumbs img { width: 28px; height: 50px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ldemo .thumbs .intro { width: 28px; height: 50px; border-radius: 4px; background: #0B0C0F; display: grid; place-items: center; }
.ldemo .thumbs .intro img { width: 22px; height: auto; box-shadow: none; border-radius: 0; }
.ldemo .out { display: flex; gap: 18px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.ldemo .out b { color: var(--text); font-weight: 600; }

/* error demo */
.edemo { background: var(--panel); border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.edemo .top { display: flex; align-items: center; gap: 8px; color: var(--red-tx); font-weight: 600; }
.edemo { box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--red-tx); }
.edemo .top svg.ic { width: 15px; height: 15px; }
.edemo .kv { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 10px; margin-top: 6px; }
.edemo .kv span:nth-child(odd) { color: var(--grey); }
.edemo .kv span:nth-child(even) { color: var(--text); overflow-wrap: anywhere; }

/* flow demo */
.fdemo { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1.3fr) 14px minmax(0, 1.15fr); align-items: center; gap: 4px; }
.node { background: var(--panel); border-radius: 14px; padding: 11px 10px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.node.on { box-shadow: inset 0 0 0 1.5px var(--amber-line), 0 10px 24px -10px rgba(201,133,0,.55); }
.node.on .nt svg.ic { color: var(--amber-text); }
.node .nt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.node .nt svg.ic { width: 14px; height: 14px; color: var(--muted); }
.node .ns { margin-top: 4px; font-family: var(--mono); font-size: 10px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link { height: 1.5px; background: repeating-linear-gradient(90deg, var(--amber-line) 0 4px, transparent 4px 7px); position: relative; }
.link::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--amber-line); border-right: 0; }

/* mcp demo */
.mdemo { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 9px; background: var(--panel); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tool.on { color: var(--amber-ink); background: var(--amber); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 18px -8px rgba(201,133,0,.7); font-weight: 600; rotate: -1.5deg; }
.mcp-line { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--grey); }

/* ---------- price ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 820px; margin: 48px auto 0; }
.plan { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 6px; text-align: left; box-shadow: 0 1px 2px rgba(23,24,27,.04); }
/* The recommended plan is the dark viewer card in both themes, so the eye lands on it first. */
.plan.rec { border: 0; color: #ECEEF2; background: var(--dots), var(--stage); box-shadow: inset 0 0 0 1.5px rgba(255,178,36,.55), 0 30px 70px -30px rgba(0,0,0,.6), 0 40px 90px -40px rgba(255,160,40,.55); }
.plan.rec::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(50% 40% at 85% 0%, rgba(255,178,36,.38), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(70,150,170,.2), transparent 72%); pointer-events: none; }
.plan.rec .pn, .plan.rec .pa { color: #A1A8B5; }
.plan.rec .pp b, .plan.rec .pm { color: #FFFFFF; }
.plan.rec .pp span, .plan.rec .pr { color: #838A97; }
.plan .pn { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .pick { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--amber); color: var(--amber-ink); border-radius: 5px; padding: 2px 8px; rotate: -2deg; box-shadow: 0 6px 14px -6px rgba(255,178,36,.8); }
.plan .pp { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 12px; }
.plan .pp b { font-size: 50px; font-weight: 680; letter-spacing: -0.05em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.plan .pp span { font-size: 14px; color: var(--grey); }
.plan .pm { font-size: 16px; color: var(--text); }
.plan .pm b { font-weight: 600; }
.plan .pa { font-size: 14px; color: var(--muted); }
.plan .pr { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.plan .pbtn { margin-top: auto; display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 12px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--text); background: var(--panel2); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.plan .pr { margin-bottom: 18px; }
.plan .pbtn:hover { transform: translateY(-1px); border-color: var(--amber-line); }
.plan .pbtn.primary { background: var(--amber); color: var(--amber-ink); border: 0; font-weight: 680; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(143,84,0,.28), 0 18px 36px -14px rgba(255,178,36,.7); }
.plan .pbtn.primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(143,84,0,.28), 0 24px 44px -14px rgba(255,178,36,.85); }
.plans-all { max-width: 620px; margin: 22px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.avail { max-width: 620px; margin: 26px auto 0; font-size: 15px; font-weight: 500; color: var(--text); }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { min-height: 110px; } }

/* ---------- developers ---------- */
.code-card { position: relative; isolation: isolate; max-width: 760px; margin: 48px auto 0; text-align: left; background: var(--dots), #121418; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px #2A2E37, inset 0 1px 0 rgba(255,255,255,.06), var(--win-shadow), 0 50px 110px -50px rgba(255,160,40,.45); }
.code-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 100% 0%, rgba(255,178,36,.16), transparent 70%); pointer-events: none; }
.code-card .hd { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #2A2E37; font-family: var(--mono); font-size: 12px; color: #838A97; background: rgba(255,255,255,.02); }
.code-card .hd .st { margin-left: auto; }
.code-card pre.code { padding: 16px 0; font-size: 13px; }
.code-card pre.code > span.l { padding: 0 20px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 44px auto 0; text-align: left; border-top: 1px solid var(--line); }
.faq details { position: relative; border-bottom: 1px solid var(--line); }
.faq details::before { content: ""; position: absolute; left: -18px; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 10px rgba(255,178,36,.6); opacity: 0; transition: opacity .25s; }
.faq details[open]::before { opacity: 1; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 2px; font-size: 18px; font-weight: 550; letter-spacing: -0.018em; line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary .pm svg.ic { width: 15px; height: 15px; }
.faq summary:hover .pm { color: var(--text); box-shadow: inset 0 0 0 1px var(--amber-line); }
.faq details[open] summary .pm { transform: rotate(45deg); color: var(--amber-ink); background: var(--amber); box-shadow: 0 6px 14px -6px rgba(201,133,0,.7); }
.faq details p { padding: 0 44px 22px 2px; font-size: 16px; line-height: 1.65; max-width: 66ch; color: var(--muted); }

/* ---------- final + footer ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 64% at 50% 100%, rgba(255,178,36,.22), transparent 72%), var(--ink-dots);
  -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); pointer-events: none; }
.final .h2 { font-size: clamp(30px, 4.4vw, 56px); }
.final .cta-row { margin-top: 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; padding: 48px clamp(16px, 5vw, 64px) 28px; }
.foot .fh { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--grey); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.foot ul a { color: var(--muted); text-decoration: none; transition: color .2s; }
.foot ul a:hover { color: var(--amber-text); }
.stamp { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: var(--grey); padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > .fb { grid-column: 1 / -1; } }

/* ---------- privacy, terms, 404 ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 48px); }
.legal h1 { margin: 0; font-size: clamp(32px, 4.2vw, 46px); font-weight: 580; line-height: 1.08; letter-spacing: -0.035em; }
.legal .updated { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.legal .note { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--panel2); font-size: 14.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.legal h2 { margin: 40px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal b { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); }
.lost { text-align: center; padding: clamp(96px, 14vw, 180px) clamp(16px, 5vw, 64px); }
.lost .h2 { margin-bottom: 30px; }

/* ---------- phone (below 640 px): spec section 11 ---------- */
@media (max-width: 639.98px) {
  .frame { margin: 0; border-left: 0; border-right: 0; }
  .rule::before, .rule::after { display: none; }

  .nav .brand, .foot .brand { min-height: 40px; }
  .nav .btn { height: 40px; }

  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(26px, 6vw + 7px, 34px); line-height: 1.08; }

  .sec { text-align: left; padding-left: max(16px, 5vw); padding-right: max(16px, 5vw); }
  .sec.final { text-align: center; }
  .h2 { margin: 0; font-size: clamp(21px, 5.2vw + 4px, 27px); line-height: 1.12; text-wrap: pretty; }
  .h2 .l2 { font-size: .8em; line-height: 1.2; margin-top: .3em; }
  .final .h2 { margin: 0 auto; font-size: clamp(21px, 5.2vw + 4px, 27px); text-wrap: balance; }
  .lede { margin-left: 0; text-wrap: pretty; }
  .after { align-items: flex-start; }
  .proof { font-size: 15px; }
  .proof code { font-size: 13px; }
  .try { min-height: 40px; }

  .caps { text-align: left; }
  .cap { text-wrap: pretty; }

  .man { text-align: left; padding-left: max(16px, 5vw); padding-right: max(16px, 5vw); }
  .man p { margin: 0; font-size: clamp(21px, 4.4vw + 6px, 25px); text-wrap: pretty; }

  .trio { margin-top: 36px; }
  .trio-key { justify-content: flex-start; }
  .board, .bento, .plans, .code-card, .faq { margin-top: 36px; }

  .tl-ruler div { position: relative; display: block; height: 1.6em; }
  .tl-ruler div span { position: absolute; top: 0; }
  .tl-ruler div span:nth-child(2), .tl-ruler div span:nth-child(4), .tl-ruler div span:nth-child(6) { display: none; }
  .tl-ruler div span:nth-child(1) { left: 0; }
  .tl-ruler div span:nth-child(3) { left: 40%; }
  .tl-ruler div span:nth-child(5) { left: 80%; }
  .blk { padding: 0 7px; gap: 5px; }
  .blk img:not(.wmk) { display: none; }

  .card .ld code { white-space: normal; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .fdemo { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .fdemo .link { align-self: center; width: 1.5px; height: 18px; margin: 3px 0 4px; background: repeating-linear-gradient(180deg, var(--amber-line) 0 4px, transparent 4px 7px); }
  .fdemo .link::after { right: auto; top: auto; left: -3px; bottom: -1px; border: 3.75px solid transparent; border-top: 5px solid var(--amber-line); border-bottom: 0; }
  .node { padding: 11px 14px; }

  .plans-all { font-size: 15px; margin-left: 0; }
  .avail { margin-left: 0; }

  .faq summary { padding: 18px 2px; font-size: 17px; }
  .faq details::before { left: -10px; }
  .hero .btn { height: 52px; }
  .capdemo { padding: 24px 12px; }
  .faq details p { padding-right: 8px; }

  .foot ul { gap: 0; }
  .foot ul a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Ambient motion: things that are "live" in the demos breathe; nothing moves with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .dt.o::after, .lr .d.o::after { animation: ping 2.4s ease-out infinite; }
  .proof::before { animation: glowdot 2.8s ease-in-out infinite; }
  .rr:not(.more) .bar:not(.done) i { animation: sheen 1.6s linear infinite; }
  .fdemo .link { background-size: 14px 100%; animation: march .8s linear infinite; }
  .capdemo::before, .plan.rec::before { animation: drift 16s ease-in-out infinite alternate; }
}
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes glowdot { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 22%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 10%, transparent); } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes march { to { background-position: 14px 0; } }
@media (max-width: 639.98px) and (prefers-reduced-motion: no-preference) {
  .fdemo .link { background-size: 100% 14px; animation-name: march-y; }
}
@keyframes march-y { to { background-position: 0 14px; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .tabs button, .faq summary .pm, .try, .try svg.ic, .card, .trio .fr, .plan .pbtn, .faq details::before, .hero .btn.primary::after, .final .btn.primary::after { transition: none; }
  .btn:hover, .hero .btn.primary:hover, .final .btn.primary:hover, .try:hover, .card:hover, .plan .pbtn:hover { transform: none; }
  .try:hover svg.ic { transform: none; }
  .hero .btn.primary:hover::after, .final .btn.primary:hover::after { transform: translateX(-110%); }
  .trio:hover .fr:nth-child(1) { rotate: -3.5deg; translate: 6px 14px; }
  .trio:hover .fr:nth-child(3) { rotate: 3.5deg; translate: -6px 14px; }
}

/* ---------- comparison pages (/alternatives/*) ---------- */
.alt-hero { padding-bottom: clamp(64px, 8vw, 104px); }
.alt-hero h1 { max-width: 18em; }
.alt-hero h1 .l1, .alt-hero h1 .l2 { display: block; }
.alt-hero h1 .l2 { max-width: 30em; margin: .5em auto 0; font-size: .5em; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; color: var(--grey); }
.cmp-wrap { max-width: 820px; margin: 44px auto 0; overflow-x: auto; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), var(--win-shadow); }
.cmp { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.45; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; font-weight: 550; color: var(--grey); background: var(--panel2); }
.cmp tbody th { font-weight: 600; color: var(--text); }
.cmp td { color: var(--muted); }
.facts-t thead th:nth-child(2) { color: var(--amber-text); }
.facts-t tbody th { width: 30%; }
.price-t tbody th { font-size: 17px; vertical-align: middle; }
.price-t td b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 680; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
.price-t td span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.price-t tr.us th, .price-t tr.us td { background: color-mix(in srgb, var(--amber) 10%, transparent); }
.price-t tr.us th { box-shadow: inset 3px 0 0 var(--amber); }
.cmp-note { max-width: 66ch; margin: 22px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.cmp-src { max-width: 66ch; margin: 10px auto 0; font-size: 13px; line-height: 1.55; color: var(--grey); }
.cmp-src a { color: var(--muted); text-underline-offset: 2px; }
.cmp-src a:hover { color: var(--amber-text); }
.err-card { max-width: 620px; }
.code-card .st.bad { color: #FF9C8A; background: rgba(255,120,100,.13); box-shadow: inset 0 0 0 1px rgba(255,120,100,.28); }
.strong-list { list-style: none; max-width: 820px; margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
.strong-list li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.strong-list svg.ic { margin-top: 2px; color: var(--grn-tx); }
.alt-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 760px; margin: 44px auto 0; }
.alt-more .fh { width: 100%; font-size: 13px; font-weight: 500; color: var(--grey); }
.alt-more .try { margin-top: 0; }
@media (max-width: 639.98px) {
  .alt-hero h1 .l2 { margin-left: 0; font-size: .62em; }
  .alt-hero .cta-row { justify-content: flex-start; }
  .alt-hero { text-align: left; }
  .cmp-wrap, .strong-list { margin-top: 32px; }
  .cmp { font-size: 13.5px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .price-t tbody th { font-size: 15px; }
  .price-t td b { font-size: 24px; }
  .price-t td span { font-size: 11px; }
  .cmp-note, .cmp-src { margin-left: 0; }
  .strong-list { grid-template-columns: minmax(0, 1fr); }
  .alt-more { justify-content: flex-start; }
}

/* n8n workflow page */
.wf-sample { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 880px; margin: 44px auto 0; text-align: left; }
.wf-fig { margin: 0; }
.wf-film { aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), var(--win-shadow), 0 30px 80px -40px rgba(255,160,40,.5); }
.wf-film .film-btn { opacity: 1; }
.wf-list { grid-template-columns: minmax(0, 1fr); margin: 0; }
.wf-cap { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }
.wf-steps { counter-reset: wf; list-style: none; max-width: 720px; margin: 44px auto 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.wf-steps li { counter-increment: wf; position: relative; padding: 16px 18px 16px 62px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.wf-steps li::before { content: counter(wf); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 680; }
.wf-steps code, .wf-nodes code, .wf-limits code, .faq code { font-family: var(--mono); font-size: .86em; color: var(--text); background: var(--panel2); padding: 1px 5px; border-radius: 5px; }
.wf-after { margin-top: 26px; }
.wf-nodes tbody th { width: 34%; }
.wf-limits svg.ic { color: var(--amber-text); }
.wf-copy[data-state="done"] { border-color: var(--amber-line); }
@media (max-width: 639.98px) {
  .wf-sample { grid-template-columns: minmax(0, 1fr); justify-items: center; margin-top: 32px; }
  .wf-fig { width: min(260px, 100%); }
  .wf-steps { margin-top: 32px; }
  .wf-steps li { padding: 14px 14px 14px 54px; font-size: 15px; }
  .wf-steps li::before { left: 12px; }
  .alt-hero .after { align-items: flex-start; }
}
.wf-link { color: var(--amber-text); font-weight: 550; text-underline-offset: 3px; white-space: nowrap; }
.wf-link:hover { color: var(--text); }
