/* uploadly.io v2 — calm near-black, Switzer + IBM Plex Mono, upload-blue only as an accent. */

@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/IBMPlexMono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/IBMPlexMono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* metric-matched fallbacks, so the swap does not move the layout */
@font-face { font-family: 'Switzer Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 98%; ascent-override: 96%; descent-override: 24%; }

:root {
  --bg: #08090C;
  --bg-2: #0C0E12;
  /* v6 hierarchy pass (Robin 10-27 21:30 "everything looks the same"): every level one clear step apart, cards lifted off
     the page. Levels on the dark page: H1 #fff → H1 line 2 / h2 2nd half --tx-mute → lede --tx-sub → body --tx-2 →
     trust row --tx-4 → small print --tx-3. Measured in NOTES_v4.md (tools/contrast.mjs). */
  --card: #16191F;
  --card-2: #1A1D24;
  --card-3: #20242C;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);
  --line-3: rgba(255, 255, 255, .22);
  --tx: #FFFFFF;
  --tx-sub: #CDD1D8;
  --tx-2: #B9BEC7;
  --tx-4: #A9AFB9;
  --tx-mute: #9BA1AD;
  --tx-3: #8D939E;
  --blue: #2D5BFF;
  --sky: #5B84FF;
  --deep: #1238D6;
  --live: #2EE58C;
  /* Frontier's own accent (~/Desktop/Frontier/studio/css --accent; hover #FFC24D, press #F09A00): wherever Frontier is
     shown. Text in it on the dark page is 9.8:1+; on a yellow fill the text is --frontier-ink. */
  --frontier: #FFB224;
  --frontier-ink: #1A1104;
  --fr-tint: rgba(255, 178, 36, .12);
  --fr-ring: rgba(255, 178, 36, .38);
  --attention: #FFC83D;
  --f: 'Switzer', 'Switzer Fallback', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-tick: cubic-bezier(.3, 1.35, .6, 1);
  --w: 1120px;
  --g: 24px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.55 var(--f);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
h1, h2, h3, b, strong { font-weight: 600; }
h1, h2, h3 { color: #fff; }   /* Switzer ships 400/500/600 only: nothing may ask for 700 */
ol, ul { list-style: none; }
code, time, output { font-family: var(--mono); }
::selection { background: rgba(45, 91, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i .fill, .fr, .cur-a { fill: currentColor; stroke: none; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.mute { color: var(--tx-3); }

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.h-hero { font-weight: 600; font-size: clamp(40px, 6.1vw, 80px); line-height: 1.02; letter-spacing: -.042em; }
.h-hero .ln { display: block; text-wrap: balance; }
.h-hero .ln-2 { color: var(--tx-mute); }
.h-sec { font-weight: 600; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.05; letter-spacing: -.036em; max-width: 20em; }
.h-sec .mute { color: var(--tx-mute); }
.h-sec-c { margin-left: auto; margin-right: auto; text-align: center; }
.ovl { font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 18px; }
h3 { font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.012em; }

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .i { width: 16px; height: 16px; stroke-width: 2; }
.btn-white { background: #fff; color: #0A0B0E; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 24px -10px rgba(255,255,255,.35); }
.btn-white:hover { background: #E9ECF2; }
.btn-white:active { transform: translateY(1px); }
.btn-white .b-i { transition: transform .25s var(--ease); }
.btn-white:hover .b-i { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }
.btn .spin { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(10,11,14,.2); border-top-color: #0A0B0E; opacity: 0; }
.btn.is-busy .b-t, .btn.is-busy .b-i { opacity: 0; }
.btn.is-busy .spin { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.txt-link { display: inline-flex; align-items: center; gap: 4px; color: var(--tx-2); font-weight: 500; font-size: 15px; height: 48px; padding: 0 6px; transition: color .2s; }
.txt-link .i { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.txt-link:hover { color: #fff; }
.txt-link:hover .i { transform: translateX(2px); }

/* ── nav: one centred pill ────────────────────────────────────────────────────────────────────────────────── */
.nav { position: fixed; z-index: 50; top: 16px; left: 0; right: 0; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 7px 0 18px; border-radius: 999px;
  background: rgba(16, 18, 23, .66); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -16px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  transition: background .3s;
}
.nav.is-scrolled .nav-pill { background: rgba(14, 16, 20, .84); }
.brand { display: flex; align-items: center; padding: 6px 10px 6px 0; margin-right: 6px; border-right: 1px solid var(--line-2); }
.brand img { width: 118px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--tx-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { margin-left: 6px; height: 38px; transition: background .3s, color .3s, box-shadow .3s; }
.nav.is-quiet .nav-cta { background: rgba(255,255,255,.04); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-3); }
.nav.is-quiet .nav-cta:hover { background: rgba(255,255,255,.09); }
/* Sign in (the client dashboard, served by the worker at /login): right of FAQ, set off by a hairline, the same grey as
   the other links, so the white button stays the only white thing in the bar */
.nav-links .nav-sign { position: relative; margin-left: 9px; }
.nav-links .nav-sign::before { content: ''; position: absolute; left: -6px; top: 9px; bottom: 9px; width: 1px; background: var(--line-2); }
.nav-menu { display: none; width: 38px; height: 38px; border-radius: 999px; align-items: center; justify-content: center; color: var(--tx); }
.nav-menu:hover { background: rgba(255,255,255,.06); }

/* ── entrance (hero) ──────────────────────────────────────────────────────────────────────────────────────── */
.js .enter { opacity: 0; transform: translateY(14px); filter: blur(6px); animation: enter 1s var(--ease) forwards; animation-delay: calc(var(--e) * 90ms + 120ms); }
@keyframes enter { to { opacity: 1; transform: none; filter: none; } }

/* ── hero ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; min-height: 900px; padding: 176px var(--g) 0; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(91, 132, 255, .09), transparent 70%),
    radial-gradient(48% 26% at 50% 82%, rgba(45, 91, 255, .07), transparent 75%),
    var(--bg);
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-scrim {
  position: absolute; z-index: 60; left: 50%; top: 56px; width: min(1040px, 100%); height: 560px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(8, 9, 12, .95) 0%, rgba(8, 9, 12, .9) 42%, rgba(8, 9, 12, .56) 66%, transparent 100%);
}
/* v7 (Robin 10-27 "too many things in the hero, I don't know what to focus on"): one focus. A quiet eyebrow, the H1, one
   sub, the form, one small-print line. The eye goes H1 → form; the ring behind is background (squint: shots/v7/squint-*).
   v8: no grid behind the nav, no orbit line, one small dim card at rest, the nav button an outline while the form shows. */
.hero-in { position: relative; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

/* the positioning line as a quiet eyebrow: the overline's mono caps, hairlines either side, no box */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); transition: color .2s; }
.eyebrow::before, .eyebrow::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3)); }
.eyebrow::before { margin-right: 6px; }
.eyebrow::after { margin-left: 4px; transform: scaleX(-1); }
.eyebrow .i { width: 13px; height: 13px; stroke-width: 2; transition: transform .25s var(--ease); }
.eyebrow:hover { color: #fff; }
.eyebrow:hover .i { transform: translateX(2px); }
.lede { margin-top: 24px; max-width: 36em; font-size: 18.5px; line-height: 1.55; color: var(--tx-sub); letter-spacing: -.005em; }
.lede > span { display: block; text-wrap: balance; }   /* two sentences, one line each (the first takes two on a phone) */
.hero-cta { position: relative; margin-top: 40px; display: flex; align-items: flex-start; justify-content: center; }

/* waitlist form: one pill */
.wl { position: relative; width: 440px; max-width: 100%; text-align: left; }
.wl-form {
  position: relative; display: flex; align-items: center; height: 56px; padding: 4px; border-radius: 999px;
  background: rgba(20, 23, 29, .9); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0,0,0,.9);
  transition: box-shadow .2s;
}
.wl-form:focus-within { box-shadow: inset 0 0 0 1px rgba(91,132,255,.7), 0 0 0 4px rgba(45,91,255,.18), 0 20px 50px -20px rgba(0,0,0,.9); }
.wl-form input[type=email] { flex: 1; min-width: 0; height: 48px; padding: 0 8px 0 20px; background: none; border: 0; outline: none; font-size: 15.5px; color: #fff; }
.wl-form input::placeholder { color: #80868F; }
.wl-form input[aria-invalid=true] { color: #FFB4B5; }
.wl-form .btn { height: 48px; padding: 0 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-err { min-height: 0; font-size: 13.5px; color: #FF8A8C; padding: 0 20px; }
.wl-err:not(:empty) { margin-top: 8px; }

/* one quiet line under the form: the $1 week and the two promises, small print, a step under the sub */
.hero-fine { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 13.5px; line-height: 1.4; color: var(--tx-3); }
.hero-fine li + li::before { content: '\00B7'; margin: 0 9px; color: #5D636F; }
.hero-fine b { font-weight: 500; color: var(--tx-2); }
.trust { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--tx-4); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .i { width: 15px; height: 15px; color: var(--sky); stroke-width: 2.2; }

/* pausing the background ring (WCAG 2.2.2): keyboard only, it appears at the hero's foot when it gets focus */
.halo-pause { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font: 400 12.5px/1 var(--f); color: var(--tx-2); background: rgba(17, 19, 25, .94); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.halo-pause:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); box-shadow: none; }
html:not(.js) .halo-pause, .halo-pause[hidden] { display: none; }

/* the 3D halo, background only: cards are placed by JS (2D projection of a tilted ring + a per-card perspective turn).
   v8: at rest only the front card shows, ~200 px and at .35 (it may never outshine the form); the neighbours show only while
   the ring steps, soft and fading at the sides. No orbit line. */
.halo { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.js .halo { opacity: 0; }
.js .halo.is-ready { opacity: 1; transition: opacity 1.4s var(--ease) .8s; }   /* fades in after the form has arrived (done at 2.2 s) */
.shot .halo { opacity: 1; transition: none; }
.halo-cards { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hc-zone { position: absolute; left: 0; right: 0; visibility: hidden; pointer-events: none; }
.hc {
  position: absolute; left: 0; top: 0; width: var(--cw, 260px); margin: 0; transform-origin: 50% calc(var(--cw, 260px) * .28125);
  backface-visibility: hidden; opacity: 0; will-change: transform, opacity;
}
.hc-t { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #151820; opacity: .35; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -24px rgba(0,0,0,.9); }
.hc-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-t .hc-b { opacity: 0; will-change: opacity; }
.hc-t::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); pointer-events: none; }
/* the one calm moment, on the front card only: ONE chip, "Uploaded by Maria · ✓ Live", fades in whole while its tick draws
   (.hc-st is the front-only wrapper JS fades by depth; the pill inside shows only in the Live state, so it is never half-empty) */
.hc-st { display: flex; justify-content: center; height: 30px; margin-top: 12px; opacity: 0; will-change: opacity; }
.hc-pill {
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px;
  background: rgba(17, 19, 25, .92); box-shadow: inset 0 0 0 1px rgba(200, 214, 255, .13);
  font-size: 12.5px; font-weight: 500; color: var(--tx-2); white-space: nowrap; opacity: 0; transition: opacity .45s var(--ease);
}
.hc[data-s=lv] .hc-pill { opacity: 1; }
.hc-pill .sep { width: 3px; height: 3px; border-radius: 50%; background: #5D636F; flex: none; }
.a-lv { display: inline-flex; align-items: center; gap: 5px; color: var(--live); font-weight: 600; }
.a-lv .tick { width: 15px; height: 15px; }

/* a sample channel's avatar: like YouTube's no-photo avatar, one white capital on a saturated solid disc */
.mono {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  font: 500 14px/1 var(--f); font-style: normal; letter-spacing: 0; color: #fff; background: hsl(var(--h, 220) 60% 42%);
}

/* named, multiplayer-style cursor */
.cur { position: absolute; display: flex; align-items: flex-start; width: max-content; pointer-events: none; z-index: 3; }
.cur-a { width: 18px; height: 20px; max-width: none; flex: none; color: var(--blue); filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); transition: transform .12s; }
.cur-a path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; paint-order: stroke; }
.cur-n { margin: 15px 0 0 -4px; padding: 3px 8px 4px; border-radius: 6px 999px 999px 999px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 16px -6px rgba(45,91,255,.8); white-space: nowrap; }

/* the status tick, drawn with the u-tick stroke */
.tick { display: inline-block; width: 17px; height: 17px; flex: none; color: var(--live); vertical-align: -3px; }
.tick svg { width: 100%; height: 100%; overflow: visible; }
.tick .m { fill: none; stroke: #fff; stroke-width: 4.4; stroke-linecap: butt; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tick.is-on .m { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease-tick); }
.tick.is-static .m { transition: none; }

/* ── product panel ────────────────────────────────────────────────────────────────────────────────────────── */
.panel-sec { position: relative; padding-bottom: 40px; }
.panel {
  position: relative; border-radius: 22px; background: linear-gradient(180deg, #171A20, #121419);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.08), 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 6px rgba(255,255,255,.025);
  overflow: hidden;
}
.pn-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.pn-ch { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pn-stack { display: flex; flex: none; padding-left: 8px; }
.pn-stack > * { width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; object-fit: cover; font-size: 13px; box-shadow: 0 0 0 2px #171A20; }
.pn-more { display: inline-flex; align-items: center; justify-content: center; flex: none; font: 500 11px/1 var(--mono); font-style: normal; color: var(--tx-2); background: #1E222A; }
.pn-ch b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; }
.pn-ch small { display: block; font-size: 12.5px; color: var(--tx-3); }
.seg-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.seg-tabs button { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--tx-2); transition: color .2s, background .2s; }
.seg-tabs button[aria-selected=true] { background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.seg-tabs button:hover { color: #fff; }
.pn-meta { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 12.5px; color: var(--tx-3); min-width: 0; }
.pn-wk { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .02em; color: var(--tx-2); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

.qt-head, .qr { display: grid; grid-template-columns: minmax(0, 1fr) 112px 120px 214px; align-items: center; gap: 16px; }
.qt-head { padding: 12px 22px 10px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); border-bottom: 1px solid var(--line); }
.qt-head .r, .qn { text-align: right; }
.qt { padding: 6px 8px 8px; }
.qr { position: relative; padding: 9px 14px; border-radius: 12px; transition: background .25s; }
.qr + .qr::before { content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--line); }
.qr:hover { background: rgba(255,255,255,.025); }
.qr-on { background: rgba(45, 91, 255, .07); box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .22); }
.qr-on::before, .qr-on + .qr::before { display: none; }
.qr-on:hover { background: rgba(45, 91, 255, .09); }
.qv { display: flex; align-items: center; gap: 14px; min-width: 0; }
.qth { width: 96px; height: 54px; flex: none; border-radius: 7px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.08); background: #1A1D24; }
.qtx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qtt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: #E9EBF0; letter-spacing: -.005em; }
.qch { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qch .mono { width: 16px; height: 16px; font-size: 9px; font-weight: 600; }
.qch > span { white-space: nowrap; }
.qcn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.qvw, .qvia { flex: none; margin-left: -2px; }
.qvia b { font-weight: 500; }
.qvia .v-api { color: #B4C6FF; }
.qvia .v-fr { color: var(--frontier); }
.qvw { color: #979DA8; }
.qd { font: 400 13px/1 var(--mono); color: var(--tx-2); white-space: nowrap; }
.qd b { font-weight: 500; color: var(--tx); margin-right: 3px; }
.qd small { display: block; margin-top: 5px; font: 400 11.5px/1 var(--f); color: var(--tx-3); }
.qu { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx-2); white-space: nowrap; }
.qu-0 { color: #979DA8; font-size: 13px; }
.av { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font: 600 11px/1 var(--f); font-style: normal; color: #fff; }
.av-m { background: linear-gradient(160deg, #5B84FF, #2D5BFF); }
.av-j { background: linear-gradient(160deg, #8A93A8, #5B6683); }
.av-k { background: linear-gradient(160deg, #6E8FB0, #3F5C7C); }
.qs { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.qs .i { width: 16px; height: 16px; }
.st-live { color: var(--live); }
.st-sched { color: var(--tx-2); }
.st-sched .i { color: var(--tx-3); }
.st-queue { color: var(--tx-3); }
.st-up { color: #C3D1FF; position: relative; }
.st-up .bar { position: relative; width: 64px; height: 4px; border-radius: 4px; background: rgba(91,132,255,.18); overflow: hidden; margin-left: 2px; }
.st-up .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 62%); border-radius: inherit; background: linear-gradient(90deg, #2D5BFF, #6F93FF); transition: width .25s linear; }
.ring { width: 16px; height: 16px; display: inline-block; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(91,132,255,.25); stroke-width: 2.4; }
.ring .ring-v { stroke: var(--sky); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p-n, 62)); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.qn { font: 500 13px/1 var(--mono); color: var(--tx); }
.qn-0 { color: #6F7581; }
.cur-row { right: 22px; top: 40px; }
.js .panel .cur-row { opacity: 0; transform: translate(40px, 30px); transition: opacity .5s var(--ease) .6s, transform 1.2s var(--ease) .6s; }
.js .panel.in .cur-row { opacity: 1; transform: none; }

.clog li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 150px; align-items: center; gap: 20px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.clog time { font-size: 13px; color: var(--tx-2); }
.cl-v { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cl-c { display: flex; gap: 14px; font-size: 13px; color: var(--tx-2); white-space: nowrap; }
.cl-c span { display: inline-flex; align-items: center; gap: 8px; }
.cl-by { font-size: 13px; color: var(--tx-3); text-align: right; white-space: nowrap; }
.pv[hidden] { display: none; }

.pn-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.012); }
.pn-proof { display: inline-flex; align-items: center; gap: 11px; font-size: 12.5px; color: var(--tx-2); }
.pn-proof code { font-size: 12px; }
.pn-note { font-size: 12.5px; color: var(--tx-3); text-align: right; }

/* ── sections ─────────────────────────────────────────────────────────────────────────────────────────────── */
.sec { padding: 120px 0 0; }
.sec-head { margin-bottom: 48px; }
.sec-head-c { text-align: center; }
.sec-sub { margin-top: 18px; max-width: 40em; font-size: 17px; color: var(--tx-2); }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* two ways in: the API card (code) and the Frontier card (workflow) */
.sec-sub-c { margin-left: auto; margin-right: auto; text-align: center; }
.ways-grid { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.wc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); padding: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.07); }
.wc-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 14px 12px 18px; }
.wc-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.wc-ic-api { background: rgba(45, 91, 255, .16); box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .42); color: #C3D1FF; font: 500 12px/1 var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.wc-ic-fr { background: var(--fr-tint); box-shadow: inset 0 0 0 1px var(--fr-ring); }
.wc-ic-api { font-size: 15px; }
.wc-ic-fr .fr { width: 16px; height: 16px; color: var(--frontier); margin-left: 2px; }
.wc-t h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.wc-t p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--tx-2); }
.wc-h .tag { margin-top: 2px; }
.wc-f { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 12px 4px 14px; }
.wc-fn { font-size: 12.5px; line-height: 1.45; color: var(--tx-3); }
.wc-api .wc-fn { text-align: right; max-width: 25em; }
.txt-link-w { height: 36px; padding: 0; color: #fff; font-weight: 600; }
.txt-link-w:hover { color: #C3D1FF; }

.code { flex: 1; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; background: #0A0C0F; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 14px 7px 7px; border-bottom: 1px solid var(--line); }
.code-tabs { display: inline-flex; gap: 2px; }
.code-tabs button { height: 30px; padding: 0 12px; border-radius: 8px; font: 500 12.5px/1 var(--mono); color: var(--tx-3); transition: color .2s, background .2s; }
.code-tabs button:hover { color: #fff; }
.code-tabs button[aria-selected=true] { background: rgba(255,255,255,.07); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.code-act { display: flex; align-items: center; gap: 12px; min-width: 0; }
.code-ep { font-size: 12px; color: var(--tx-2); white-space: nowrap; }
.code-copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 9px; border-radius: 8px; font: 500 12.5px/1 var(--f); color: var(--tx-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, background .2s, box-shadow .2s; }
.code-copy .i { width: 15px; height: 15px; stroke-width: 1.8; }
.code-copy:hover { color: #fff; background: rgba(255,255,255,.06); }
.code-copy.is-done { color: #C3D1FF; box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .45); }
.code-ep b { font-weight: 500; color: #9DB5FF; margin-right: 4px; }
.code-body { display: grid; }
.code-pv { grid-area: 1 / 1; min-width: 0; overflow-x: auto; padding: 16px 18px; outline: none; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
.code-pv[hidden] { display: block; visibility: hidden; }   /* every tab keeps the tallest tab's height: switching never jumps */
.code-pv:focus-visible { box-shadow: inset 0 0 0 2px var(--sky); }
.code pre { margin: 0; font: 400 12.5px/1.75 var(--mono); color: #9AA0AB; white-space: pre; tab-size: 2; }
.c-k { color: #B4C6FF; }
.c-s { color: #EEF0F4; }
.c-m { color: #fff; font-weight: 500; }
.c-p { color: #7C828D; }
.c-x { color: #FFD777; }
.c-u { color: #fff; }
.code pre .c-u { font-weight: 500; }
.code-res { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); overflow-x: auto; scrollbar-width: none; }
.code-res code { font-size: 12.5px; color: #9AA0AB; white-space: nowrap; }
.code-pv.is-clip, .code-res.is-clip { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.res-k { flex: none; padding: 5px 8px; border-radius: 6px; font: 500 11.5px/1 var(--mono); color: #C3D1FF; background: rgba(45, 91, 255, .14); box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .28); }
.code-hooks { padding: 12px 18px 14px; border-top: 1px solid var(--line); }
.hk-h { margin-bottom: 6px; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); }
.code-hooks li { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 13.5px; color: var(--tx-2); }
.hk-ar { color: var(--sky); font-family: var(--mono); }
.code-hooks code { flex: none; min-width: 15.5ch; font-size: 12.5px; color: #fff; }
.code-hooks .tick { width: 16px; height: 16px; }
.js .code-hooks li { opacity: 0; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .code-hooks li.on { opacity: 1; transform: none; }

/* n8n: the HTTP Request node's parameters */
.n8n { font-size: 13px; }
.n8n-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.n8n-ic { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--tx-2); }
.n8n-ic .i { width: 15px; height: 15px; stroke-width: 1.6; }
.n8n-h b { font-size: 13.5px; }
.n8n-h small { font: 400 11.5px/1 var(--mono); color: var(--tx-3); }
.n8n-f { margin: 0; }
.n8n-f > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 12px; padding: 6px 0; }
.n8n-f dt { padding-top: 6px; font-size: 12px; color: var(--tx-3); }
.n8n-f dd { margin: 0; min-width: 0; }
.n8n-v { display: inline-block; max-width: 100%; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line-2); font: 400 12px/1.5 var(--mono); color: #E9EBF0; white-space: nowrap; }
.code pre.n8n-body { display: block; padding: 7px 10px; font-size: 12px; line-height: 1.6; }
.n8n-row { display: flex; gap: 6px; min-width: 0; }
.n8n-m { flex: none; color: #9DB5FF; }
.n8n-hk { flex: none; color: #B4C6FF; }

/* Frontier: one day's run of a real workflow, on a dotted canvas (a node editor), top to bottom */
.wc-fr .art-flow { min-height: 0; padding: 14px 20px 20px; background-color: #0A0C0F; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 16px 16px; background-position: 8px 8px; }
.fl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -6px; }
.fl-cap { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); white-space: nowrap; }
.fl-ch { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; color: var(--tx-2); white-space: nowrap; }
.fl-ch .mono { width: 16px; height: 16px; font-size: 9px; font-weight: 600; }
.fl-col { width: min(100%, 384px); margin: auto; padding-top: 18px; }

/* the API in three steps */
.api-steps { display: grid; grid-template-columns: 236px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.as-h { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.wc-ic-s { width: 30px; height: 30px; border-radius: 9px; font-size: 11.5px; }
.api-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.api-steps li { display: flex; gap: 12px; padding: 2px 18px; border-left: 1px solid var(--line); }
.api-steps li code { padding-top: 2px; font-size: 12px; color: var(--tx-3); }
.api-steps b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; }
.api-steps li span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--tx-2); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); padding: 8px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.07);
}
.bc-wide { grid-column: span 2; }
.art { position: relative; flex: 1; min-height: 260px; border-radius: 12px; background: #0A0C0F; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bc-tx { padding: 18px 16px 14px; }
.bc-tx p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--tx-2); max-width: 34em; }

/* 1 · studio dialog */
.art-studio { padding: 22px 22px 0; background: radial-gradient(80% 60% at 70% 0%, rgba(45,91,255,.08), transparent 70%), #0A0C0F; }
.st-dlg { position: relative; height: 100%; border-radius: 12px 12px 0 0; background: #16181D; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 30px 60px -30px #000; overflow: hidden; }
.st-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.st-h b { font-size: 14.5px; font-weight: 600; }
.st-steps { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--tx-3); }
.st-steps i { width: 14px; height: 1px; background: rgba(255,255,255,.14); }
.st-steps .on, .st-steps .on2 { color: #E6E9EF; }
.st-steps .on2 { color: #B9C9FF; }
.st-b { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; padding: 16px 18px 20px; }
.fld { margin-bottom: 12px; }
.fld label { display: block; font-size: 11px; color: #7C828E; margin-bottom: 5px; }
.inp { min-height: 38px; padding: 9px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 13px; line-height: 1.4; color: #E9EBF0; }
.fld:first-child .inp { box-shadow: inset 0 0 0 1px rgba(91,132,255,.7); }
.inp-t { position: relative; padding-right: 64px; }
.inp-t .cnt { position: absolute; right: 10px; bottom: 7px; font: 400 11px/1 var(--mono); color: var(--tx-3); }
.inp-d { color: var(--tx-2); font-size: 12.5px; line-height: 1.45; }
.inp-d span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-meta { margin: 0; display: grid; gap: 6px; padding: 0 2px; }
.st-meta div { min-width: 0; }
.st-meta dt { font-size: 10.5px; color: var(--tx-3); }
.st-meta dd { margin: 1px 0 0; font-size: 12px; color: #D9DCE2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-meta .lnk { color: #8FB0FF; }
.thumbs { display: flex; gap: 8px; }
.tb { width: 86px; height: 48px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #6E7480; }
.tb img { width: 100%; height: 100%; object-fit: cover; }
.tb-on { box-shadow: 0 0 0 2px #16181D, 0 0 0 3.5px var(--sky); }
.tb-add .i { width: 16px; height: 16px; }
.st-side { display: flex; flex-direction: column; gap: 10px; }
.st-prev { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.st-prev img { width: 100%; height: 100%; object-fit: cover; }
.st-pbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.4); }
.st-pbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--sky); }
.st-vis { padding: 9px 11px; border-radius: 8px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.st-vis .lbl { display: block; font-size: 11px; color: #7C828E; }
.st-vis .val { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 500; }
.st-vis .i { width: 15px; height: 15px; color: #B9C9FF; }
.st-btn { align-self: flex-end; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: #E9ECF2; color: #0A0B0E; font-size: 13px; font-weight: 600; transition: transform .12s, background .2s; }
.st-btn.is-press { transform: scale(.95); background: #fff; }
.cur-studio { right: 22px; bottom: 6px; transition: transform 1.1s var(--ease-io); }

/* 2 · check log */
.art-check { padding: 20px; display: flex; flex-direction: column; }
.ck-h { display: flex; align-items: center; justify-content: space-between; }
.lv { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(46,229,140,.1); color: var(--live); font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(46,229,140,.22); }
.lv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(46,229,140,.18); }
.ck-h code { font-size: 12px; color: var(--tx-3); }
.ck-v { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; }
.ck-v img { width: 80px; height: 45px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.ck-v span { font-size: 13px; line-height: 1.35; font-weight: 500; color: #E2E5EB; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ck-l { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.ck-l li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 13.5px; color: var(--tx-2); }
.ck-l li + li { border-top: 1px solid var(--line); }
.ck-l .tick { width: 17px; height: 17px; }
.ck-p { margin-top: auto; padding-top: 12px; font-size: 11.5px; color: var(--tx-3); }

/* 3 · role */
.art-role { padding: 20px; }
.rl-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rl-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: var(--tx-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.rl-h b { display: block; font-size: 13.5px; font-weight: 600; }
.rl-h small { display: inline-block; margin-top: 3px; font: 500 11px/1 var(--mono); color: #B9C9FF; padding: 4px 7px; border-radius: 5px; background: rgba(45,91,255,.14); }
.rl { padding-top: 6px; }
.rl li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.rl .i { width: 16px; height: 16px; }
.rl .can { color: #E2E5EB; }
.rl .can .i { color: var(--sky); }
.rl .cant { color: var(--tx-3); }
.rl .cant .i { color: #5A606B; }
.rl .can + .cant { margin-top: 6px; padding-top: 13px; border-top: 1px dashed rgba(255,255,255,.08); }

/* 4 · publish window */
.art-win { padding: 20px; display: flex; flex-direction: column; }
.wn-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.wn-h code { font-size: 11.5px; color: var(--tx-3); font-weight: 400; }
.wn-track { position: relative; height: 96px; margin-top: 26px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px calc(100% / 6)); box-shadow: inset 0 0 0 1px var(--line); }
.wn-band { position: absolute; top: 14px; bottom: 14px; left: calc((12 - 6) / 18 * 100%); width: calc(5 / 18 * 100%); border-radius: 8px; background: linear-gradient(180deg, rgba(45,91,255,.26), rgba(45,91,255,.12)); box-shadow: inset 0 0 0 1px rgba(91,132,255,.45); display: flex; align-items: flex-end; padding: 8px; }
.wn-band span { font-size: 11px; color: #C9D6FF; line-height: 1.2; }
.wn-pin { position: absolute; top: -12px; bottom: -6px; left: calc((17 - 6) / 18 * 100%); width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; }
.wn-pin b { position: absolute; top: -14px; left: 8px; font: 500 12px/1 var(--mono); color: #fff; white-space: nowrap; }
.wn-pin small { position: absolute; top: 2px; left: 8px; font-size: 10.5px; color: var(--tx-3); white-space: nowrap; }
.wn-now { position: absolute; top: 50%; left: calc((12 - 6) / 18 * 100%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(45,91,255,.25); opacity: 0; }
.wn-ax { display: flex; justify-content: space-between; margin-top: 8px; font: 400 11px/1 var(--mono); color: var(--tx-3); padding: 0 1px; }
.wn-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.opt { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; color: var(--tx-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.opt i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #5F6570; }
.opt-on { color: #fff; background: rgba(255,255,255,.05); }
.opt-on i { box-shadow: inset 0 0 0 1.5px var(--sky), inset 0 0 0 4px #0A0C0F; background: var(--sky); }

/* 5 · frontier flow */
.art-flow { padding: 22px 20px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
/* a node: its app icon, name + output, and the time it finished. Frontier's nodes are yellow, ours is upload-blue. */
.nd { position: relative; display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 7px 12px 7px 10px; border-radius: 11px; background: #13161C; box-shadow: inset 0 0 0 1px var(--line-2); transition: opacity .45s var(--ease), box-shadow .45s var(--ease); }
.nd-ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.nd-f .nd-ic { background: var(--fr-tint); box-shadow: inset 0 0 0 1px var(--fr-ring); color: var(--frontier); }
.nd-f .nd-ic .fr { width: 12px; height: 12px; margin-left: 2px; }
.nd-f .nd-ic .i { width: 16px; height: 16px; stroke-width: 1.9; }
.nd-u .nd-ic img { width: 28px; height: 28px; }
.nd-l .nd-ic .tick { width: 22px; height: 22px; }
.nd-tx { flex: 1; min-width: 0; }
.nd b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.3; font-weight: 600; }
.nd small { display: block; margin-top: 1px; font-size: 11.5px; line-height: 1.35; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd small.nd-out { color: var(--tx-sub); }
.nd-th { width: 40px; height: 23px; flex: none; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); transition: opacity .4s var(--ease); }
.nd-st { position: relative; display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 11.5px; color: var(--tx-2); }
.nd-st time { font-variant-numeric: tabular-nums; }
.nd-st .i { width: 13px; height: 13px; stroke-width: 2.4; color: var(--frontier); }
.nd-st > * { transition: opacity .35s var(--ease); }
.nd-u { box-shadow: inset 0 0 0 1px rgba(91,132,255,.55), 0 0 0 4px rgba(45,91,255,.08); }
.nd-u .nd-st .i { color: var(--sky); }
.nd-on i { position: relative; display: block; width: 22px; height: 12px; border-radius: 999px; background: var(--blue); }
.nd-on i::after { content: ''; position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.nd-q { display: none; }
.nd-l { box-shadow: inset 0 0 0 1px rgba(46, 229, 140, .3); }
.nd-l b, .nd-l .nd-st { color: var(--live); }
.nd-bar { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--frontier); transform: scaleX(0); transform-origin: left; opacity: 0; }
/* a wire: one node's output port to the next one's input port; the signal fills it top to bottom */
.wire { --wa: var(--frontier); --wb: var(--frontier); --fill: 100%; position: relative; z-index: 1; display: block; width: 2px; height: 18px; margin-left: 23px;
  background: linear-gradient(var(--wa), var(--wb)) no-repeat 0 0 / 100% var(--fill), rgba(255,255,255,.1); transition: background-size .38s var(--ease-io); }
.wire::before, .wire::after { content: ''; position: absolute; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: #0A0C0F; box-shadow: inset 0 0 0 1.5px var(--wa); }
.wire::before { top: -3px; }
.wire::after { bottom: -3px; box-shadow: inset 0 0 0 1.5px var(--wb); transition: box-shadow .2s .3s; }
.wire-fu { --wb: var(--sky); }
.wire-ul { --wa: var(--sky); --wb: var(--live); }
/* the run (site.js arms it): steps wait dimmed, the running one glows with a soft dot, each done one shows its time */
.art-flow.is-armed .nd:not(.is-done):not(.is-run) { opacity: .42; }
.art-flow.is-armed .nd:not(.is-done) .nd-st > *, .art-flow.is-armed .nd:not(.is-done) .nd-th { opacity: 0; }
.art-flow.is-armed .nd-u:not(.is-done) .nd-q { display: inline; }
.art-flow.is-armed .nd-u:not(.is-done) .nd-a { display: none; }
.art-flow.is-armed .nd-f.is-run { box-shadow: inset 0 0 0 1px var(--fr-ring), 0 0 0 4px rgba(255, 178, 36, .07); }
.art-flow.is-armed .nd-u.is-run { box-shadow: inset 0 0 0 1px rgba(91,132,255,.8), 0 0 0 4px rgba(45,91,255,.16); }
.nd.is-run .nd-st::before { content: ''; position: absolute; right: 1px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--frontier); animation: nd-dot 1.1s var(--ease-io) infinite alternate; }
.nd-u.is-run .nd-st::before { background: var(--sky); }
.nd-l.is-run .nd-st::before { background: var(--live); }
@keyframes nd-dot { from { opacity: .25; } to { opacity: 1; } }
.art-flow.is-armed .nd-v.is-run .nd-bar { opacity: 1; transform: none; transition: transform var(--run, 1.4s) cubic-bezier(.4, 0, .6, 1); }
.art-flow.is-armed .nd-v.is-done .nd-bar { transform: none; transition: opacity .4s; }
.art-flow.is-armed .wire:not(.is-lit) { --fill: 0%; }
.art-flow.is-armed .wire:not(.is-lit)::before, .art-flow.is-armed .wire:not(.is-lit)::after { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }

/* how it works */
.how { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 40px; align-items: start; }
.how .h-sec { font-size: clamp(34px, 3.6vw, 50px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 6px; }
.st-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.st-ic { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); color: #E2E5EB; flex: none; }
.st-ic .i { width: 19px; height: 19px; }
.st-ln { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-3), var(--line)); }
.st-top code { font-size: 12px; color: var(--tx-3); }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 8px; font-size: 14.5px; color: var(--tx-2); line-height: 1.55; }

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; max-width: 980px; margin: 0 auto; padding: 8px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-l { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 30px 30px; }
.pr-l > .pr-vol, .pr-l > .pr-list, .pr-l > .pr-fw { align-self: stretch; }
.pr-for { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--tx-2); }
.pr-for .fr { width: 14px; height: 14px; color: var(--frontier); }
.pr-big { display: flex; align-items: flex-start; margin-top: 14px; font-size: 72px; line-height: .9; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pr-big .cur-s { font-size: 40px; margin: 8px 4px 0 0; color: var(--tx-2); letter-spacing: 0; }
.pr-big .per { align-self: flex-end; margin: 0 0 6px 14px; font-size: 14px; line-height: 1.3; font-weight: 400; letter-spacing: 0; color: var(--tx-2); }
.pr-else { margin-top: 16px; font-size: 15px; color: var(--tx-2); }
.pr-else b { color: var(--tx); font-weight: 600; }
.pr-vol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-size: 14.5px; color: #E2E5EB; }
.pv-k { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C3D1FF; background: rgba(45, 91, 255, .14); box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .3); }
.pr-list { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pr-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: #D9DCE2; }
.pr-list .i { width: 17px; height: 17px; color: var(--sky); }
/* the $1 week, at the bottom of the left column (the calculator says what comes after it) */
.pr-fw { margin-top: auto; padding: 18px 18px 17px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-l > .btn { margin-bottom: 28px; }
.pr-fw-h { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.pr-fw-h b { font-weight: 600; color: #fff; }
.pr-fw-b { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: #D9DCE2; }
.pr-fw-t { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--tx-3); }
.calc { padding: 28px 26px; border-radius: 18px; background: #0A0C0F; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.calc-h { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 10px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #D9DCE2; }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tx-2); transition: background .2s, color .2s; }
.stepper button:hover { background: rgba(255,255,255,.08); color: #fff; }
.stepper button:disabled { color: var(--tx-3); opacity: .45; background: none; cursor: default; }
.stepper .i { width: 15px; height: 15px; }
.stepper output, .stepper input { width: 36px; text-align: center; font: 500 15px/1 var(--mono); color: #fff; background: none; border: 0; outline: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; width: 36px; height: 32px; border-radius: 999px; font: 500 14px/1 var(--mono); color: var(--tx-2); transition: background .2s, color .2s; }
.seg input:checked + span { background: #fff; color: #0A0B0E; }
.seg input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.knob { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #2A2E37; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s; flex: none; }
.knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch input:checked + .knob { background: var(--blue); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--sky); outline-offset: 2px; }
.calc-row-ch { flex-wrap: wrap; row-gap: 6px; }
.range { position: relative; flex-basis: 100%; }
.range input { position: relative; z-index: 1; --v: 4.08%; display: block; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range input:focus { outline: none; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) 0 var(--v), rgba(255,255,255,.1) var(--v) 100%); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.55), 0 0 0 4px rgba(45,91,255,.22); transition: box-shadow .2s; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #0A0C0F, 0 0 0 4px var(--sky); }
.range input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
.range input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue); }
.range input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.55), 0 0 0 4px rgba(45,91,255,.22); }
/* the volume tiers marked on the track (where 5 and 10 channels are, moved by videos a day): behind the input, so the
   thumb covers a mark it sits on and the blue fill crosses it */
.range-tk { position: absolute; left: 0; right: 0; top: 0; height: 24px; pointer-events: none; }
.range-tk i { position: absolute; top: 6px; width: 2px; height: 12px; border-radius: 1px; left: calc(10px + (100% - 20px) * var(--f)); transform: translateX(-50%); background: rgba(255,255,255,.34); transition: background .25s, left .25s var(--ease); }
.range-tk i.on { background: #C3D1FF; }
.range-tk i[hidden] { display: none; }
.range-ax { position: relative; height: 14px; font: 400 11px/1 var(--mono); color: var(--tx-3); }
.range-ax span { position: absolute; top: 2px; left: calc(10px + (100% - 20px) * var(--f)); transform: translateX(-50%); }
/* volume tiers: the one that applies lights up; the hint says how far the next one is */
.calc-tier { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #D9DCE2; }
.tier-hint { font-size: 12.5px; color: var(--tx-3); text-align: right; }
.tier-cnt { font-size: 12.5px; color: #C3D1FF; }
.tier-cnt:not(:empty)::before { content: '·'; margin: 0 7px; color: var(--tx-3); }
.tier-hint b { font-weight: 500; color: #C3D1FF; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.tiers li { position: relative; padding: 9px 11px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, box-shadow .25s; }
.tiers b { display: block; font-size: 15px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; color: var(--tx-2); font-variant-numeric: tabular-nums; transition: color .25s; }
.tiers small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.2; color: var(--tx-3); white-space: nowrap; }
.tiers li.is-on { background: rgba(45, 91, 255, .16); box-shadow: inset 0 0 0 1px rgba(91, 132, 255, .6); }
.tiers li.is-on b { color: #fff; }
.tiers li.is-on small { color: #C3D1FF; }
.tiers li.is-on::after { content: ''; position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(91, 132, 255, .22); }
.calc-out { padding: 22px 0 6px; }
.calc-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.calc-kpi p { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.calc-kpi b { display: block; font-size: 21px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.calc-kpi span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--tx-3); }
.calc-kpi s { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--tx-3); letter-spacing: 0; text-decoration-thickness: 1px; }
/* the $1 week, under the total */
.calc-fw { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--tx-2); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.calc-fw b { font-weight: 600; color: #fff; }
.calc-fw [data-calc-then] { color: #fff; font-variant-numeric: tabular-nums; }
.fw-k { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 8px; border-radius: 7px; font: 500 12.5px/1 var(--mono); color: #0A0B0E; background: #fff; }
.calc-free { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; font-size: 14px; color: #E2E5EB; font-weight: 500; }
.calc-free .i { width: 15px; height: 15px; color: var(--sky); stroke-width: 2.2; }
.calc-total { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc-total small { font-size: 16px; color: var(--tx-2); letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.calc-math { margin-top: 8px; font: 400 12.5px/1.4 var(--mono); color: var(--tx-4); }
.calc-math .nw { white-space: nowrap; }
.calc-math .off { color: #C3D1FF; }
.calc-note { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--tx-3); line-height: 1.5; }

/* faq */
.faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.faq-side { max-width: 21em; font-size: 15px; color: var(--tx-2); text-align: right; }
.faq-side a, .qa a, .foot a:not(.btn), .doc a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.faq-side a:hover, .qa a:hover, .foot a:not(.btn):hover, .doc a:not(.btn):hover { text-decoration-color: #fff; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.qa { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; padding: 26px 28px 28px 22px; border-top: 1px solid var(--line); }
.qa:nth-child(-n+2) { border-top: 0; }
.qa:nth-child(even) { border-left: 1px solid var(--line); }
.qa:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qa code { font-size: 12px; color: var(--tx-3); padding-top: 3px; }
.qa h3 { font-size: 16.5px; }
.qa p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--tx-2); }

/* final */
.sec-final { padding-bottom: 110px; }
.final { position: relative; overflow: hidden; isolation: isolate; padding: 72px 24px 60px; border-radius: 26px; text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(45,91,255,.14), transparent 65%), var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.final-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%); }
.final-mark { width: 56px; height: 56px; margin-bottom: 26px; filter: drop-shadow(0 14px 30px rgba(45,91,255,.45)); }
.fin-l { margin: 18px auto 30px; max-width: 30em; font-size: 17px; color: var(--tx-2); }
.wl-fin { width: 460px; }
.trust-fin { margin-top: 22px; font-size: 13.5px; }

/* waitlist: done state */
.wl-done { text-align: left; padding: 18px 20px; border-radius: 20px; background: rgba(20, 23, 29, .92); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -24px rgba(0,0,0,.9); outline: none; }
.wl-pos { display: flex; align-items: center; gap: 16px; }
.wl-num { display: flex; align-items: baseline; font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.wl-num small { font-size: 20px; color: var(--tx-3); margin-right: 2px; letter-spacing: 0; }
.wl-pos p { font-size: 14px; color: var(--tx-2); line-height: 1.45; }
.wl-pos b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.u-em { color: #fff; word-break: break-all; }
.wl-more { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.wl-more > p { font-size: 13.5px; color: var(--tx-2); margin-bottom: 12px; }
.wl-qs { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
.wl-q { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--tx-3); }
.wl-more .switch { font-size: 13.5px; color: var(--tx-2); margin-bottom: 12px; }
.wl-row { display: flex; gap: 8px; }
.wl-row input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.03); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; font-size: 14px; }
.wl-row input:focus { box-shadow: inset 0 0 0 1px rgba(91,132,255,.7); }
.wl-row .btn { height: 42px; }
.wl-saved { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--tx-2); }
.wl-saved b { color: #fff; }
.wl-saved .btn { height: 38px; font-size: 13.5px; }
.wl-links { display: flex; gap: 16px; margin-top: 12px; }
.wl-again { font-size: 12.5px; color: var(--tx-3); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.wl-again:hover { color: #fff; }

.toast-live { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: #171A21; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -10px #000; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast-live.is-on { opacity: 1; transform: translate(-50%, 0); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; background: linear-gradient(180deg, rgba(255,255,255,.012), transparent); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, .6fr); gap: 32px; }
.foot-brand img { width: 128px; height: auto; }
.foot-brand p { margin-top: 16px; max-width: 26em; font-size: 14px; color: var(--tx-2); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col b { font-weight: 600; margin-bottom: 4px; }
.foot .foot-col a { color: var(--tx-2); text-decoration: none; }
.foot .foot-col a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tx-3); }

/* privacy / 404 pages */
.doc-page .nav { position: absolute; }
.doc { padding: 150px 0 100px; }
.doc-in { max-width: 760px; }
.doc .ovl span { color: var(--tx-2); margin-right: 10px; text-transform: none; letter-spacing: .02em; }
.doc .h-l { font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.doc-date { margin-top: 14px; color: var(--tx-3); font-size: 14px; }
.doc h2 { margin-top: 44px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.doc p, .doc li { margin-top: 12px; color: var(--tx-2); font-size: 16px; line-height: 1.65; }
.doc ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.doc .body-l { margin-top: 16px; font-size: 18px; color: var(--tx-2); }
.doc-back { margin-top: 32px; }
.btn-primary { background: #fff; color: #0A0B0E; }

/* ── responsive ───────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .br-d { display: none; }
  .qt-head, .qr { grid-template-columns: minmax(0, 1fr) 100px 100px 196px; gap: 12px; }
  .how { grid-template-columns: 1fr; gap: 28px; }
  .br-d { display: none; }
  .clog li { grid-template-columns: 90px minmax(0, 1fr) auto; }
  .cl-by { display: none; }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-wide { grid-column: span 2; }
  .ways-grid { grid-template-columns: 1fr; }
  .api-steps { grid-template-columns: 1fr; gap: 16px; }
  .api-steps li:first-child { padding-left: 0; border-left: 0; }
  .qt-head { display: none; }
  .qr { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: 'th t t' 'th m s'; row-gap: 8px; padding: 12px 14px; }
  .qv { display: contents; }
  .qth { grid-area: th; }
  .qtx { grid-area: t; }
  .qd { grid-area: m; }
  .qd small { display: inline; margin-left: 6px; }
  .qu { display: none; }
  .qs { grid-area: s; justify-self: end; }
  .st-up .bar { display: none; }
  .cur-row { right: 150px; top: auto; bottom: -4px; }
  .pn-top { grid-template-columns: 1fr auto; }
  .pn-meta { grid-column: 1 / -1; justify-content: space-between; order: 3; }
  .price { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .qa:nth-child(2) { border-top: 1px solid var(--line); }
  .qa:nth-child(even) { border-left: 0; }
  .clog li { grid-template-columns: 1fr; gap: 10px; }
  .clog time { order: -1; }
}
@media (max-width: 880px) {
  .nav { top: 10px; padding: 0 12px; }
  .nav-pill { width: 100%; max-width: 520px; padding: 0 6px 0 16px; justify-content: space-between; }
  .brand { border-right: 0; margin-right: auto; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 20px; background: rgba(16, 18, 23, .97); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px #000; }
  .nav.is-menu .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 15px; border-radius: 12px; }
  .nav-links .nav-sign { margin: 7px 0 0; }
  .nav-links .nav-sign::before { left: 14px; right: 14px; top: -4px; bottom: auto; width: auto; height: 1px; }
  .nav-menu { display: inline-flex; }
  .nav-cta { height: 36px; padding: 0 14px; font-size: 13.5px; }
}
@media (min-width: 641px) and (max-height: 900px) {
  .hero { padding-top: 156px; }
  .h-hero { font-size: clamp(40px, min(5.4vw, 8.6vh), 72px); }
  .eyebrow { margin-bottom: 26px; }
  .lede { margin-top: 22px; }
  .hero-cta { margin-top: 36px; }
  .hero-fine { margin-top: 16px; }
}
@media (min-width: 641px) and (min-height: 760px) and (max-height: 780px) {   /* 1366×768 (below 760 px high the card goes under the fold, so the text keeps the roomier spacing) */
  .hero { padding-top: 122px; }
  .eyebrow { margin-bottom: 22px; }
  .h-hero { font-size: clamp(40px, min(5.4vw, 8vh), 72px); }
  .lede { margin-top: 18px; }
  .hero-cta { margin-top: 30px; }
  .hero-fine { margin-top: 14px; }
}
@media (max-width: 640px) {
  :root { --g: 16px; }
  .hero { min-height: 0; padding: 116px 16px 0; }
  .eyebrow { margin-bottom: 22px; font-size: 11px; }
  .eyebrow::before, .eyebrow::after { width: 22px; }
  .h-hero { font-size: min(8.7vw, 44px); letter-spacing: -.04em; }
  .lede { font-size: 16px; margin-top: 16px; }
  .hero-cta { width: 100%; margin-top: 28px; }
  .hero-fine { margin-top: 14px; font-size: 13px; }
  .hero-fine li + li::before { margin: 0 7px; }
  .wl { width: 100%; }
  .wl-form .btn { padding: 0 18px; }
  .wl-form input[type=email] { padding-left: 18px; }
  .wl-fin .wl-form, .wl-fin .wl-form:focus-within { height: auto; flex-direction: column; padding: 0; border-radius: 0; background: none; box-shadow: none; gap: 10px; }
  .wl-fin .wl-form input[type=email] { width: 100%; flex: none; height: 52px; padding: 0 20px; border-radius: 999px; background: rgba(20,23,29,.92); box-shadow: inset 0 0 0 1px var(--line-2); }
  .wl-fin .wl-form input[type=email]:focus { box-shadow: inset 0 0 0 1px rgba(91,132,255,.7), 0 0 0 4px rgba(45,91,255,.18); }
  .wl-fin .wl-form .btn { width: 100%; height: 52px; }
  .trust { margin-top: 14px; gap: 6px 16px; font-size: 13.5px; }
  .hero-scrim { top: 80px; height: 640px; width: 140%; background: radial-gradient(50% 50% at 50% 50%, rgba(8,9,12,.96) 0%, rgba(8,9,12,.9) 50%, rgba(8,9,12,.55) 72%, transparent 100%); }
  .panel-sec { margin-top: -20px; }
  .panel { border-radius: 18px; }
  .pn-top { padding: 12px; gap: 12px; }
  .pn-wk { display: none; }
  .pn-meta { justify-content: flex-start; }
  .qt { padding: 4px; }
  .qr { grid-template-columns: 84px minmax(0, 1fr) auto; padding: 12px 10px; column-gap: 12px; row-gap: 6px; }
  .qth { width: 84px; height: 47px; align-self: start; }
  .qtt { font-size: 14px; line-height: 1.3; }
  .qd { font-size: 12px; }
  .qd small { display: block; margin: 4px 0 0; }
  .qs { font-size: 12.5px; gap: 7px; }
  .qs .i, .qs .tick, .ring { width: 15px; height: 15px; }
  .cur-row { right: 84px; bottom: -8px; }   /* the arrow rests by the upload ring, clear of the time */
  .wc-h { grid-template-columns: auto minmax(0, 1fr); padding: 10px 8px 16px; gap: 12px; }
  .wc-h .tag { display: none; }
  .wc-t h3 { font-size: 19px; }
  .wc-t p { font-size: 14.5px; }
  .code-top { padding-right: 10px; }
  .code-ep { display: none; }
  .code-pv { padding: 14px; }
  .code pre { font-size: 11.5px; }
  .code-pv[hidden] { display: none; }   /* phones: no reserved height for the tallest tab (n8n stacks its fields here) */
  .pn-stack { display: none; }
  .code-res, .code-hooks { padding-left: 14px; padding-right: 14px; }
  .code-hooks code { min-width: 15.5ch; font-size: 12px; }
  .qvw { display: none; }   /* phones: our channel's name and where the video came from fit; the views would cut the name */
  .hk-d { font-size: 13px; }
  .n8n-f > div { grid-template-columns: 1fr; gap: 4px; }
  .n8n-f dt { padding-top: 0; }
  .wc-f { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 8px 6px; }
  .wc-api .wc-fn { text-align: left; }
  .wc-fr .art-flow { padding: 16px 14px 18px; }
  .api-steps { padding: 18px 16px; }
  .api-steps ol { grid-template-columns: 1fr; gap: 14px; }
  .api-steps li { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .api-steps li:first-child { padding-top: 14px; }
  .calc-kpi { gap: 6px; }
  .calc-kpi p { padding: 10px 10px 11px; }
  .calc-kpi b { font-size: 17px; }
  .calc-kpi span { font-size: 12px; }
  .tier-top { flex-wrap: wrap; row-gap: 2px; }
  .tiers li { padding: 8px 9px 9px; }
  .tiers b { font-size: 14px; }
  .tiers small { font-size: 11.5px; }
  .calc-fw { font-size: 13.5px; padding: 9px 10px; }
  .pn-foot { flex-direction: column; align-items: flex-start; padding: 14px; }
  .pn-proof code { font-size: 11px; }
  .pn-note { text-align: left; }
  .sec { padding-top: 88px; }
  .sec-head { margin-bottom: 32px; }
  .h-sec { font-size: clamp(31px, 9vw, 40px); }
  .bento { grid-template-columns: 1fr; }
  .bc-wide { grid-column: auto; }
  .art { min-height: 0; }
  .art-studio { padding: 14px 14px 0; }
  .st-b { grid-template-columns: 1fr; padding: 14px 14px 36px; }   /* room for Maria's name pill under Schedule */
  .st-side { display: grid; grid-template-columns: 1fr; }
  .st-prev { display: none; }
  .st-btn { justify-self: end; }
  .st-steps span:not(.on):not(.on2), .st-steps i { display: none; }
  .fld-d { display: none; }
  .cur-studio { right: 132px; bottom: 30px; }   /* rests left of Schedule, clear of its label and of the box edge */
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .price { padding: 6px; border-radius: 20px; }
  .pr-l { padding: 24px 18px 20px; }
  .pr-big { font-size: 72px; }
  .calc { padding: 20px 18px; }
  .faq-head { flex-direction: column; align-items: flex-start; }
  .faq-side { text-align: left; }
  .qa { grid-template-columns: 1fr; padding: 22px 18px; }
  .final { padding: 52px 16px 40px; border-radius: 20px; }
  .wl-fin { width: 100%; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .wl-row { flex-direction: column; }
  .wl-row input { height: 48px; }
  .clog li { padding: 14px; }
  .cl-c { flex-wrap: wrap; gap: 8px 14px; }
}

@media (max-width: 400px) {
  .wl-form .b-i { display: none; }
}
@media (max-width: 640px) and (max-height: 760px) {   /* 360×740 */
  .hero { padding-top: 96px; }
  .eyebrow { margin-bottom: 18px; }
  .lede { margin-top: 12px; }
  .hero-cta { margin-top: 22px; }
  .hero-fine { margin-top: 12px; }
}
@media (max-width: 359px) {
  .wl-form, .wl-form:focus-within { height: auto; flex-direction: column; padding: 0; border-radius: 0; background: none; box-shadow: none; gap: 10px; }
  .wl-form input[type=email] { width: 100%; flex: none; height: 52px; padding: 0 20px; border-radius: 999px; background: rgba(20,23,29,.92); box-shadow: inset 0 0 0 1px var(--line-2); }
  .wl-form .btn { width: 100%; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .enter, .js [data-reveal] { animation: none; opacity: 1; transform: none; filter: none; transition: none; }
  .hc-pill, .js .halo.is-ready, .js .panel .cur-row { transition: none; }
  .art-flow .nd, .art-flow .wire, .art-flow .wire::after, .nd-st > *, .nd-th { transition: none; }
  .nd.is-run .nd-st::before { animation: none; }
  .js .code-hooks li { transition: none; }
}
.shot .enter, .shot [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
