/* srtmind.com landing. Page base: tokens, fonts, header, hero, forms, scene shell,
   trust strip, end band, footer, reduced motion. The scenes: scene1.css, scene2.css, scene3.css. Colours only from the tokens below (Light by default, Chocolate under
   prefers-color-scheme: dark; no theme switch). Fonts self-hosted (SIL OFL, fonts/OFL-*.txt). No external source of any kind (CSP 'self'). */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/dm-sans-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/dm-sans-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/dm-sans-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/dm-sans-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-mono-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-mono-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Cyr'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('fonts/noto-sans-cyrillic-400.woff2') format('woff2'); unicode-range: U+0400-04FF, U+0020-0040; }
@font-face { font-family: 'Noto Sans Cyr'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/noto-sans-cyrillic-600.woff2') format('woff2'); unicode-range: U+0400-04FF, U+0020-0040; }

/* ---- tokens: Light (the app's light theme values; the page default) ---- */
:root {
  --bg: #fbf6ee; --panel: #ffffff; --panel-2: #faf6f0; --chip: #f1e8da; --line: #ece3d5; --line-strong: #8f867c;
  --ink: #2b2621; --muted: #6f6457; --accent: #b8401f; --accent-ink: #ffffff; --accent-soft: #fff1ec;
  --tr: #1f7a6f; --tr-soft: #e6f4f0; --video: #1f1a16; --on-video: #fbf6ee;
  --wave-bars: #b98352; --wave: #b07a4f; --cut: #c98314;
  --track1-bg: #fde2d8; --track1-fg: #7c2811; --track2-bg: #d5efe9; --track2-fg: #134b44;
  --ok-bg: #e2f3ee; --ok-fg: #1f6e64; --flag-bg: #fdecc8; --flag-fg: #7a4f00; --danger: #b4321a; --rev-bg: #ece8ff; --rev-fg: #4a3aa8;
  --glass: rgb(255 255 255 / .8); --seg-shadow: rgb(0 0 0 / .12); --film-edge: rgb(255 255 255 / .06); --mask: #000;
  /* landing-only tokens, each with a Chocolate value below */
  --stage-bg: #f1e6d5; --stage-elevated: #ffffff; --stage-glow: #fff1ec;
  --win-shadow: 0 24px 60px rgb(60 40 20 / .14); --card-shadow: 0 10px 28px rgb(60 40 20 / .12);
  /* on the dark picture (the same in both themes): subtitle white, translation yellow (app default), generic social-app shapes, phone-safe frame */
  --sub: #ffffff; --sub-tr: #ffde59; --sub-edge: rgb(0 0 0 / .85); --social: rgb(255 255 255 / .34); --safe: rgb(255 255 255 / .82); --collide: #ff453a;
  --bokeh-1: rgb(224 168 74 / .22); --bokeh-2: rgb(111 208 194 / .14); --film: #14110f;
  --font-ui: 'DM Sans', 'Noto Sans Cyr', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --radius-pill: 999px; --radius-card: 22px; --radius-box: 16px;
  /* motion: the app's own curves; one loop per scene */
  --ease-tour: cubic-bezier(.65,0,.35,1); --ease-out: cubic-bezier(.2,.8,.2,1); --ease-spring: cubic-bezier(.34,1.56,.64,1); --ease-arc: cubic-bezier(.3,.7,.2,1);
  --loop-s1: 7s; --loop-s2: 9s; --loop-s3: 8.5s;
  /* the page column: 1168 px up to laptops, then 82 % of a wide screen (max 1640 px), so a 2560 px monitor is not two empty margins */
  --page-w: max(1168px, min(1640px, 82vw));
  color-scheme: light;
}
/* ---- tokens: Chocolate (the app's default theme) when the system is dark ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1815; --panel: #24201c; --panel-2: #2b2621; --chip: #332c25; --line: #3a332c; --line-strong: #7e756b;
    --ink: #f3ece2; --muted: #b3a799; --accent: #f07a59; --accent-ink: #1b1815; --accent-soft: #3a2219;
    --tr: #6fd0c2; --tr-soft: #1d3531; --video: #0f0d0b; --on-video: #f3ece2;
    --wave-bars: #96785c; --wave: #a98b6d; --cut: #e0a84a;
    --track1-bg: #4a2a20; --track1-fg: #ffcfbf; --track2-bg: #1f3a36; --track2-fg: #c3f0e8;
    --ok-bg: #1d3531; --ok-fg: #8ee3d6; --flag-bg: #3d3016; --flag-fg: #f5d38a; --danger: #ff8a70; --rev-bg: #2c2748; --rev-fg: #cfc6ff;
    --glass: rgb(36 32 28 / .8); --seg-shadow: rgb(0 0 0 / .4);
    --stage-bg: #151210; --stage-elevated: #24201c; --stage-glow: #2a1d17;
    --win-shadow: 0 24px 60px rgb(0 0 0 / .45); --card-shadow: 0 10px 28px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
/* the phone screen and the editing-software timeline are always drawn in the app's default Chocolate theme (a dark device screen on either page theme) */
.choc {
  --panel: #24201c; --panel-2: #2b2621; --chip: #332c25; --line: #3a332c; --line-strong: #7e756b;
  --ink: #f3ece2; --muted: #b3a799; --accent: #f07a59; --accent-ink: #1b1815; --accent-soft: #3a2219;
  --tr: #6fd0c2; --tr-soft: #1d3531; --video: #0f0d0b; --wave-bars: #96785c; --cut: #e0a84a;
  --track1-bg: #4a2a20; --track1-fg: #ffcfbf; --track2-bg: #1f3a36; --track2-fg: #c3f0e8;
  --ok-bg: #1d3531; --ok-fg: #8ee3d6; --danger: #ff8a70; --glass: rgb(36 32 28 / .8); --scr: #1b1815;
  color: var(--ink);
}

/* ---- page ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font-ui); overflow-x: hidden; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.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; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.defs .f { fill: currentColor; stroke: none; }
.num { font-family: var(--font-ui); font-weight: 500; font-variant-numeric: tabular-nums; }   /* the small digits of real components: the UI face, even-width digits */
[lang="uk"] { font-family: 'Noto Sans Cyr', var(--font-ui); }   /* Cyrillic, its spaces and punctuation in one face */

/* the beta switch: <html data-beta="open|live"> shows one of the two pills (set once at publish time; each pill as wide as its words) */
html:not([data-beta="live"]) .b-live, html[data-beta="live"] .b-open { display: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 30px; padding: 0 16px; margin: 0; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); font: 600 13px/1 var(--font-ui); letter-spacing: .01em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease-tour) 3; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* wordmark (as in the app): SRT + Mind in a keycap outline, not clickable */
.logo { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; user-select: none; }
.logo-srt { color: var(--ink); }
.logo-mind { margin-left: .06em; padding: 0 .2em .02em; border-radius: .28em; color: var(--accent);
  border: .05em solid color-mix(in srgb, var(--accent) 45%, transparent); border-bottom-width: .14em; }

/* ---- header + hero (still: only the live pill's dot moves) ---- */
.top { display: flex; align-items: center; justify-content: space-between; max-width: var(--page-w); margin: 0 auto; padding: 4px 16px; min-height: 56px; }
.signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 500; }
.signin:hover { color: var(--ink); text-decoration: underline; }
.hero { padding: 0 16px; }
.hero-body { max-width: 940px; margin: 0 auto; padding-top: clamp(16px, 4vw, 56px); text-align: center; }
h1 { margin: 20px auto 12px; max-width: 900px; font-weight: 700; font-size: clamp(34px, 6.4vw, 76px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.sub { margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }

/* ---- the form (hero + end band; landing.js) ---- */
.wl { max-width: 520px; margin: 0 auto; text-align: left; }
.wl label { display: block; margin: 0 0 6px; font-weight: 500; font-size: 14px; }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl input { flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--panel); color: var(--ink);
  font: 500 16px var(--font-ui); }
.wl input::placeholder { color: var(--muted); opacity: 1; }
.wl button { flex: 1 0 auto; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font: 600 16px var(--font-ui); cursor: pointer; }
.wl button:hover { filter: brightness(1.06); }
.wl :disabled { cursor: not-allowed; opacity: .6; }
.wl-msg { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; }
.wl-msg:empty { min-height: 0; }
.wl-msg.bad { color: var(--accent); }
.wl-note { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.wl-note a { display: inline-block; padding: 12px 0; margin: -12px 0; }   /* a 44 px tall touch target without moving the line */
.wl-done { max-width: 520px; margin: 0 auto; padding: 14px 18px; border-radius: 16px; background: var(--ok-bg); color: var(--ok-fg); font-weight: 600; text-align: center; }
@media (min-width: 560px) { .wl button { flex-grow: 0; } }

/* ---- shared UI parts drawn in the scenes (sizes in em: a stage scales as one picture) ---- */
.btn { display: inline-flex; align-items: center; gap: .4em; height: 2.2em; padding: 0 .85em; border-radius: var(--radius-pill); background: var(--panel); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .82em; white-space: nowrap; }
.btn.cta { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.btn .i { font-size: 1.15em; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: var(--radius-pill); font-weight: 700; font-size: .72em; white-space: nowrap; }
.chip .i { stroke-width: 2.4; }
.c-ok { background: var(--ok-bg); color: var(--ok-fg); }
.c-flag { background: var(--flag-bg); color: var(--flag-fg); }
.c-rev { background: var(--rev-bg); color: var(--rev-fg); }
.badge { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--chip); color: var(--ink); font-weight: 600; font-size: .78em; }
.badge.on { background: var(--accent); color: var(--accent-ink); }
.sw { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; font-size: .8em; white-space: nowrap; }
.sw::before { content: ""; width: 2.1em; height: 1.25em; border-radius: var(--radius-pill); background: var(--accent);
  background-image: radial-gradient(circle at calc(100% - .62em) 50%, var(--accent-ink) .42em, transparent .45em); }
.seg { display: inline-flex; padding: .18em; border-radius: var(--radius-pill); background: var(--chip); font-weight: 500; font-size: .78em; }
.seg > span { position: relative; z-index: 1; padding: .3em .8em; border-radius: var(--radius-pill); color: var(--muted); }
.seg > .on { color: var(--ink); background: var(--panel); box-shadow: 0 1px 3px var(--seg-shadow); }
/* a subtitle list and its cards (app: list card radius 22, card 16, selected 18 with a 2 px coral ring) */
.list { padding: .8em; border-radius: 1.4em; background: var(--panel); box-shadow: var(--card-shadow); }
.card { padding: .75em .8em; border-radius: 1em; background: var(--panel-2); }
.card.sel { border-radius: 1.15em; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.card + .card { margin-top: .6em; }
.card-h { display: flex; align-items: center; gap: .55em; margin-bottom: .5em; }
.muted { color: var(--muted); }
.card-h .num { font-size: .72em; }
.tbox { padding: .5em .75em; border-radius: .75em; background: var(--panel); line-height: 1.45; box-shadow: inset 0 0 0 1px var(--line); }
/* round icon buttons (phone film sides, video bar) */
.rb { position: relative; display: inline-grid; place-items: center; flex: none; width: 2.75em; height: 2.75em; border-radius: 50%; background: var(--chip); color: var(--ink); }
.rb .i { width: 1.25em; height: 1.25em; }
.rb.ib { width: 2em; height: 2em; background: none; color: var(--muted); }
.tap { position: absolute; width: 3em; height: 3em; margin: -1.5em 0 0 -1.5em; border-radius: 50%; box-shadow: 0 0 0 .2em var(--accent); opacity: 0; pointer-events: none; }
/* the picture: a warm cinema frame with two soft out-of-focus lights (no photo) */
.film { position: relative; overflow: hidden; border-radius: var(--radius-card); background-color: var(--film); box-shadow: inset 0 0 0 1px var(--film-edge);
  background-image: radial-gradient(circle at 24% 30%, var(--bokeh-1), transparent 34%), radial-gradient(circle at 78% 62%, var(--bokeh-2), transparent 30%),
    radial-gradient(ellipse at 50% 120%, var(--film-edge), transparent 60%); }
.subt { position: absolute; left: 0; right: 0; bottom: 12%; margin: 0; color: var(--sub); text-align: center; font-weight: 600; line-height: 1.22;
  text-shadow: 0 0 .12em var(--sub-edge), 0 .06em .14em var(--sub-edge); }
.subt > span { display: block; }

/* ---- the three scenes: a slogan, one Pause per scene, a stage ---- */
.scene { max-width: var(--page-w); margin: 0 auto; padding: clamp(56px, 9vw, 112px) 16px 0; }
.scene-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 clamp(20px, 3vw, 32px); }
.scene-tx { min-width: 0; }
.scene-sub { margin: .55em 0 0; max-width: 34em; color: var(--muted); font-size: clamp(16px, 1.9vw, 20px); line-height: 1.4; letter-spacing: -.005em; text-wrap: balance; }
.scene h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.pp { display: inline-flex; flex: none; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); font: 500 14px var(--font-ui); cursor: pointer; }   /* a quiet media control, not a product button */
.pp:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, transparent); }
.pp .i { width: 14px; height: 14px; }
.pp .i-pl, .pp[aria-pressed="true"] .i-pa { display: none; }
.pp[aria-pressed="true"] .i-pl { display: block; }
@media (max-width: 559px) {   /* phones: Pause is an icon (its words stay in the accessible name), so the slogan keeps the row */
  .scene-head { align-items: flex-start; }
  .pp { width: 44px; padding: 0; justify-content: center; }
  .pp .pp-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.stage { position: relative; overflow: hidden; border-radius: 28px; background: var(--stage-bg);
  background-image: radial-gradient(ellipse at 30% 0%, var(--stage-glow), transparent 60%); container-type: inline-size; }
/* play only while seen (landing.js adds .is-paused off screen, in a hidden tab, or after Pause) */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---- trust strip, end band, footer ---- */
.trust { margin: 18px auto 0; color: var(--muted); font-size: 14px; font-weight: 500; text-align: center; text-wrap: balance; }
.end { max-width: 960px; margin: clamp(72px, 10vw, 128px) auto 0; padding: 48px 20px 44px; border-radius: 28px; text-align: center;   /* the fourth stage: it rests on the closing wave */
  background: var(--stage-bg); background-image: radial-gradient(ellipse at 50% 0%, var(--stage-glow), transparent 65%); box-shadow: var(--win-shadow); }
.end h2 { margin: 18px 0 26px; font-weight: 700; font-size: clamp(28px, 4.6vw, 48px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.endwrap { padding: 0 16px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; max-width: var(--page-w); margin: 48px auto 0; padding: 20px 16px 32px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .logo { font-size: 14px; }
.foot p { margin: 0; }
.foot a { display: inline-block; padding: 12px 4px; color: var(--muted); }

/* ---- wide monitors: the hero, the form, the chrome, the slogans and the closing band grow with the column (the scenes scale to 25 px em).
   This block comes after every base rule it overrides (same specificity, so the later rule wins) ---- */
@media (min-width: 1700px) {
  .sub { font-size: clamp(20px, 1.1vw, 26px); }
  .scene h2 { font-size: clamp(40px, 2.4vw, 56px); }
  .scene-sub { max-width: 40em; font-size: clamp(20px, 1.1vw, 25px); }
  h1 { font-size: clamp(76px, 4.3vw, 112px); max-width: 1180px; }
  .hero-body { max-width: 1240px; }
  .wl { max-width: 620px; }
  .wl input, .wl button { min-height: 56px; font-size: 18px; }
  .wl label, .wl-note { font-size: 16px; }
  .pill { height: 34px; padding: 0 18px; font-size: 15px; }
  .logo { font-size: 26px; }
  .signin { font-size: 18px; }
  .pp { min-height: 50px; padding: 0 20px; font-size: 16px; }
  .pp .i { width: 16px; height: 16px; }
  .trust { font-size: 17px; }
  .end { max-width: 1040px; padding: 64px 40px 68px; }
  .end h2 { font-size: clamp(56px, 3.2vw, 80px); }
}

/* ---- reduced motion: every scene shows its still end state (the base CSS); nothing moves, so no Pause buttons ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pp { display: none; }
}

/* ---- the timeline drawing (hero + scene 1): one "world" in seconds; --s = the width of one second, set per layout ---- */
@property --s { syntax: '<length>'; inherits: true; initial-value: 0px; }
.tl-world { position: relative; }
.wave { position: absolute; left: 0; width: 100%; overflow: visible; }
.wv { fill: none; stroke: var(--wave-bars); stroke-width: var(--wvw, 3px); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tb { position: absolute; display: flex; align-items: center; height: 2.5em; padding: 0 .9em; border-radius: var(--radius-pill); background: var(--track1-bg); color: var(--track1-fg);
  box-shadow: inset 0 0 0 1px var(--accent); white-space: nowrap; overflow: hidden; }
.tb b, .tb-lbl b { font-weight: 600; font-size: .86em; }
.tb-sel { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.dia { position: absolute; width: .95em; height: .95em; margin-left: -.475em; border: 2px solid var(--accent); border-radius: 3px; background: var(--panel); transform: rotate(45deg); }
.cut { position: absolute; top: 1.2em; bottom: 0; width: 0; border-left: 2px dashed var(--cut); }
.cut::before { content: ""; position: absolute; top: -.1em; left: calc(-.42em - 1px); border: .42em solid transparent; border-top: .55em solid var(--cut); border-bottom: 0; }
.ph { position: absolute; top: .35em; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); }
.ph::before { content: ""; position: absolute; top: -.35em; left: calc(-.45em + 1px); width: .9em; height: .9em; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); }

