/* TranscribeLab website, v3 (owner 2026-09-29: "2D websites are the past", "nobody wants to read
   text poured over orange", typography too heavy).
   - Light, airy canvas with depth: ambient light blooms, a faint lab grid, a floor plane.
   - The product is shown in 3D: tilted windows, cards floating at different depths, soft
     contact shadows, a gentle tilt that follows the pointer.
   - Type: Plus Jakarta Sans 700 for headings (not 800), Inter for reading, JetBrains Mono only for
     data (time stamps, timers, sizes). Dark text on light surfaces; orange is for action and light. */

:root {
  --canvas: #fafafa;
  --surface: #ffffff;
  --ink: #0f172a;
  --text: #1e293b;
  --body: #475569;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --tile: #f8fafc;
  --slate-300: #cbd5e1;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --orange: #ea580c;
  --orange-deep: #c2410c;
  --orange-bright: #f97316;
  --orange-soft: #fb923c;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --green: #059669;
  --green-dot: #34d399;
  --green-50: #ecfdf5;
  --green-200: #a7f3d0;
  --sky: #0284c7;
  --sky-50: #f0f9ff;
  --sky-200: #bae6fd;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 28px -14px rgba(15, 23, 42, 0.18);
  --shadow-3d: 0 2px 4px rgba(15, 23, 42, 0.06), 0 24px 40px -18px rgba(15, 23, 42, 0.32), 0 60px 90px -40px rgba(15, 23, 42, 0.35);
  --shadow-float: 0 2px 6px rgba(15, 23, 42, 0.08), 0 28px 50px -20px rgba(15, 23, 42, 0.42);

  --container: 1280px;
  --gutter: 48px;
  --slide-ms: 7000ms;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.container { position: relative; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons: tactile, lit from above ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r); text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; font: 700 16px/24px var(--font-display); padding: 12px 22px;
  background: linear-gradient(180deg, var(--orange-bright) 0%, var(--orange) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 0 var(--orange-deep), 0 12px 24px -10px rgba(234, 88, 12, 0.65);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--orange-soft) 0%, var(--orange-bright) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 0 var(--orange-deep), 0 16px 30px -10px rgba(234, 88, 12, 0.7); }
.btn-secondary {
  color: var(--slate-700); background: var(--surface); font: 600 15px/22px var(--font-body); padding: 12px 20px;
  border: 1px solid var(--line); box-shadow: inset 0 -1px 0 var(--line-soft), 0 1px 2px rgba(15, 23, 42, 0.06);
}
.btn-secondary:hover { border-color: var(--slate-300); color: var(--ink); }
.btn-sm { font: 600 14px/20px var(--font-body); padding: 9px 16px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- header: a floating glass bar ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-pill {
  pointer-events: auto; height: 60px; display: flex; align-items: center; gap: 36px; padding: 0 10px 0 16px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px -20px rgba(15, 23, 42, 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff;
  font: 800 13px/1 var(--font-display); letter-spacing: -0.02em;
  background: linear-gradient(160deg, var(--orange-soft), var(--orange) 55%, var(--orange-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 12px -6px rgba(234, 88, 12, 0.7);
}
.brand-mark.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }
.brand-mark.xs { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; }
.brand-name { font: 700 19px/1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.nav { display: flex; gap: 26px; }
.nav a, .link-quiet { text-decoration: none; font: 500 14.5px/20px var(--font-body); color: var(--body); transition: color .15s ease; }
.nav a:hover, .link-quiet:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 98px 0 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bloom { position: absolute; border-radius: 50%; filter: blur(20px); }
.bloom-a { width: 820px; height: 820px; top: -360px; right: -220px; background: radial-gradient(circle, rgba(251, 146, 60, 0.30), rgba(251, 146, 60, 0) 62%); }
.bloom-b { width: 760px; height: 760px; top: 420px; left: -360px; background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0) 62%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 25%, transparent 72%);
}
.hero-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font: 500 14px/20px var(--font-body); color: var(--slate-700);
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dot); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.hero h1 {
  margin-top: 0; max-width: 21ch; text-wrap: balance;
  font: 700 54px/1.04 var(--font-display); letter-spacing: -0.034em; color: var(--ink);
}
.hero h1 .soft { color: var(--muted); }
.lead { margin-top: 14px; max-width: 60ch; font-size: 17px; line-height: 27px; color: var(--body); }
.hero-cta { display: grid; gap: 16px; justify-items: start; padding-bottom: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* "Add to Chrome" on a phone or tablet (live sweep 2026-10-15 P3-17): the Chrome Web Store installs add-ons only on a
   computer, so a touch-only device (no hover, coarse pointer) also reads where to install it. Hidden everywhere else.
   Gate: scripts/invariants/site-sweep.mjs W9. */
.phone-note, .steps p.phone-note { display: none; flex-basis: 100%; margin: 0; font: 500 13px/18px var(--font-body); color: var(--muted); }
.steps p.phone-note { margin-top: 6px; }
@media (hover: none) and (pointer: coarse) { .phone-note, .steps p.phone-note { display: block; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 22px; color: var(--body); }
.checks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--green); background: var(--green-50); stroke-width: 2.6; }

/* The home hero with its four proof points (owner order 2026-10-10: "emphasise this in the header ... remake this upper
   section only"; content rules: rule 10 of scripts/invariants/home.mjs). Desktop: the title and the paragraph on the
   left, the pill and the button under them, the proof cards 2 x 2 on the right. Only .hero-home changes; the other
   pages' heroes keep the rules above. */
.hero-home .hero-top {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "copy proof" "cta proof";
  column-gap: 56px; row-gap: 26px; align-items: start;
}
.hero-home .hero-copy { grid-area: copy; }
.hero-home .hero-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding-bottom: 0; }
@media (min-width: 768px) { .hero-home .hero-cta .cta-row { order: -1; } } /* desktop: the button first, then the pill */
/* The small label above the owner's headline (owner decision 2026-10-11, final wording 2026-10-12: his earlier words
   above "2 hours of typing? TranscribeLab does it in 1 minute."; texts from shared/headline.js, rule 11 of
   scripts/invariants/home.mjs). The same
   look as the slides' .slide-kicker, so no new style enters the page. */
.hero-label { margin: 0 0 14px; max-width: 52ch; text-wrap: balance; font: 600 14px/20px var(--font-body); color: var(--orange-deep); }
.hero-home h1 { max-width: 18ch; font-size: 46px; line-height: 1.06; }
.hero-home h1 .soft { display: block; margin-top: 6px; }
.hero-home .lead { margin-top: 18px; max-width: 52ch; }
.hero-proof { grid-area: proof; align-self: center; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp {
  display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.hp-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 9px; border: 1px solid var(--sky-200); background: var(--sky-50); color: var(--sky); }
.hp-ic .ic { width: 18px; height: 18px; stroke-width: 2; }
.hp[data-proof="plan"] .hp-ic { border-color: var(--green-200); background: var(--green-50); color: var(--green); }
.hp[data-proof="no-bot"] .hp-ic { border-color: var(--line); background: var(--tile); color: var(--slate-700); }
.hp-vs .hp-ic { border-color: var(--orange-200); background: var(--orange-100); color: var(--orange-deep); }
.hp-k { font: 700 17px/22px var(--font-display); letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.hp-k b { font: 800 30px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.hp-pre { display: block; margin-bottom: 4px; font: 600 11.5px/16px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hp-t { font-size: 14px; line-height: 20px; color: var(--body); }
.hp-vs { border-color: var(--orange-200); background: var(--orange-50); }
.hp-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--orange-deep); text-decoration: none; white-space: nowrap; }
.hp-link:hover { text-decoration: underline; }
.hp-link .ic { width: 15px; height: 15px; stroke-width: 2.2; }
[dir="rtl"] .hp-link .ic { transform: scaleX(-1); }
:lang(ja) .hero-home h1 { word-break: auto-phrase; } /* Japanese: break between phrases, not inside a word */
/* The "hours transcribed" counter, its own row above the hero's title block (owner 2026-10-22; the same evening: "make it a
   nice flip clock, with rotating minutes; now it looks dead"; /assets/js/hours-counter.js; gate:
   scripts/invariants/hours-counter.mjs). A split-flap clock: dark ink cards with white Plus Jakarta Sans digits, each card a
   top and a bottom half with a hinge line; the brand orange only for the small live dot. Stitch had no screen for it
   (project "TranscribeLab — add-on + web": the generation timed out twice that day), so it is built in the site's own
   tokens. One line that never wraps, invisible, its place kept (min-height), until the server's number arrives, so
   nothing below it moves. */
.hours-count {
  --flip-w: 28px; --flip-h: 40px; --flip-font: 26px; --flip-r: 6px; --flip-gap: 2px; --flip-group: 6px; --flip-half: 230ms;
  display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 12px; min-height: 58px; max-width: 100%; margin: 0 0 16px;
  padding: 7px 16px 7px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); box-shadow: var(--shadow-sm), 0 10px 24px -16px rgba(15, 23, 42, 0.35);
  font: 600 14px/20px var(--font-body); color: var(--slate-700); white-space: nowrap;
  visibility: hidden;
}
.hours-count.is-ready { visibility: visible; }
.hours-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.16); animation: hours-live 2.4s ease-in-out infinite; }
.hours-text { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.hours-clock { display: inline-flex; flex: none; align-items: center; gap: 6px; } /* owner 2026-10-22: even, tight gaps */
.flip-num { display: inline-flex; direction: ltr; gap: var(--flip-gap); } /* digits run left to right in Arabic too; the units follow the page */
.flip-set { display: inline-flex; gap: var(--flip-gap); }
.flip-set + .flip-set { margin-left: calc(var(--flip-group) - var(--flip-gap)); } /* the thousands separator: a thin gap */
.flip-unit { font: 600 12px/16px var(--font-body); color: var(--muted); }
.flip-unit + .flip-num { margin-inline-start: 2px; }
.hours-word { font: 600 14px/20px var(--font-body); color: var(--slate-700); }
.flip {
  position: relative; flex: none; width: var(--flip-w); height: var(--flip-h); border-radius: var(--flip-r);
  perspective: calc(var(--flip-h) * 4); background: var(--ink);
  font: 700 var(--flip-font)/var(--flip-h) var(--font-display); color: #fff; text-align: center; /* the brand's own digits; every card is one width */
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.4), 0 6px 12px -6px rgba(15, 23, 42, 0.55);
}
.flip-half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; }
.flip-top { top: 0; border-radius: var(--flip-r) var(--flip-r) 0 0; background: linear-gradient(#1f2a3d, #172133); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.flip-bottom { bottom: 0; border-radius: 0 0 var(--flip-r) var(--flip-r); background: linear-gradient(#131c2d, var(--ink)); }
.flip-digit { display: block; height: var(--flip-h); }
.flip-bottom .flip-digit { margin-top: calc(var(--flip-h) / -2); }
/* the hinge: a dark line across the middle with a faint light edge under it */
.flip::after {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: calc(50% - 1px); height: 1px;
  background: rgba(2, 6, 23, 0.95); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* The moving pieces of one change (built by the script): invisible unless their animation runs, so a card without
   animation (reduced motion) simply shows its new digit. */
.flip-fold-top, .flip-cover, .flip-fold-bottom { visibility: hidden; backface-visibility: hidden; }
.flip-cover { z-index: 1; animation: flip-cover calc(var(--flip-half) * 2) linear; }
.flip-fold-top { z-index: 2; transform-origin: 50% 100%; animation: flip-fold-top var(--flip-half) ease-in both; }
.flip-fold-bottom { z-index: 2; transform-origin: 50% 0; animation: flip-fold-bottom var(--flip-half) ease-out var(--flip-half) both; }
.hours-clock.is-rolling { --flip-half: 34ms; } /* the fast roll on load */
@keyframes flip-cover { from, to { visibility: visible; } }
@keyframes flip-fold-top { from { visibility: visible; transform: rotateX(0deg); filter: brightness(1); } to { visibility: visible; transform: rotateX(-90deg); filter: brightness(0.55); } }
@keyframes flip-fold-bottom { from { visibility: visible; transform: rotateX(90deg); filter: brightness(1.5); } to { visibility: visible; transform: rotateX(0deg); filter: brightness(1); } }
@keyframes hours-live { 0%, 100% { box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.16); } 50% { box-shadow: 0 0 0 7px rgba(234, 88, 12, 0.04); } }
@media (max-width: 767.98px) {
  /* The phone hero lines its pieces up by `order` (block below): the counter's row comes first, above the label. */
  .hero-home .hours-row { order: 1; }
  .hero-home .hours-count { margin-bottom: 12px; }
  /* Phones: the cards grow with the screen (19 px wide at 360 px, 24 px at most), so the longest language still fits
     on one line; the reserved height follows the card height. */
  .hours-count {
    --flip-w: clamp(19px, 5.2vw, 24px); --flip-h: calc(var(--flip-w) * 1.4); --flip-font: calc(var(--flip-w) * 0.92);
    --flip-r: 5px; --flip-gap: 2px; --flip-group: 5px;
    gap: 8px; min-height: calc(var(--flip-h) + 12px); padding: 5px 10px 5px 9px; border-radius: 12px; font-size: 13px;
  }
  .hours-text { gap: 6px; }
  .hours-clock { gap: 3px; }
  .flip-unit { font-size: 11px; line-height: 14px; }
  .flip-unit + .flip-num { margin-inline-start: 4px; }
  .hours-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 18px; } /* never past the edge */
}
@media (max-width: 380px) {
  .hours-count { gap: 7px; padding: 5px 8px 5px 7px; }
  .hours-text { gap: 5px; }
  .hours-word { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hours-dot, .flip-fold-top, .flip-cover, .flip-fold-bottom { animation: none; } }

/* ---------- showcase ---------- */
.showcase { margin-top: 26px; }
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 12px; }
.tabs {
  display: inline-flex; gap: 4px; padding: 6px; border-radius: 18px; max-width: 100%;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(15, 23, 42, 0.28);
}
.tab {
  position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px 13px; border-radius: 13px;
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font: 600 14.5px/20px var(--font-body); color: var(--muted); transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.tab .ic { width: 19px; height: 19px; color: var(--faint); transition: color .2s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px -10px rgba(15, 23, 42, 0.3); }
.tab[aria-selected="true"] .ic { color: var(--orange); }
.tab .bar { position: absolute; left: 16px; bottom: 5px; height: 2px; width: 0; border-radius: 2px; background: var(--orange); }
.tab[aria-selected="true"] .bar { animation: tabfill var(--slide-ms) linear forwards; }
.showcase.is-paused .tab[aria-selected="true"] .bar { animation-play-state: paused; }
.showcase.is-still .tab .bar { display: none; }
@keyframes tabfill { to { width: calc(100% - 32px); } }

.stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden; touch-action: pan-y; perspective: 1200px;
  background:
    radial-gradient(ellipse 60% 70% at 72% 42%, rgba(255, 237, 213, 0.9), rgba(255, 237, 213, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(15, 23, 42, 0.04), 0 50px 90px -50px rgba(15, 23, 42, 0.45);
}
.stage-floor {
  position: absolute; left: -20%; right: -20%; bottom: -40px; height: 360px; pointer-events: none;
  background-image: linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotateX(74deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 60% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 90% at 60% 100%, #000 10%, transparent 70%);
}
.slides { position: relative; z-index: 1; display: grid; }
.slide {
  grid-area: 1 / 1; min-width: 0; min-height: 492px;
  display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 28px; align-items: center;
  padding: 22px 76px 22px 72px;
  opacity: 0; visibility: hidden; transform: translateX(36px);
  transition: opacity .45s ease, transform .7s cubic-bezier(.2, .75, .2, 1), visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .08s, transform .7s cubic-bezier(.2, .75, .2, 1), visibility 0s; }
.slide.from-left { transform: translateX(-36px); }
.slide-kicker { font: 600 14px/20px var(--font-body); color: var(--orange-deep); }
.slide-copy h2 { margin-top: 10px; font: 700 34px/1.14 var(--font-display); letter-spacing: -0.026em; color: var(--ink); text-wrap: balance; }
.slide-copy > p:not(.slide-kicker) { margin-top: 14px; max-width: 42ch; font-size: 16.5px; line-height: 27px; color: var(--body); }
.slide-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.slide-points li { display: flex; gap: 12px; align-items: flex-start; font: 500 15.5px/24px var(--font-body); color: var(--text); }
.slide-points .ic { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; stroke-width: 2.8; color: var(--orange-deep); background: var(--orange-100); }

.arrow {
  position: absolute; top: 50%; z-index: 6; width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center; border-radius: 999px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 #fff, 0 12px 24px -12px rgba(15, 23, 42, 0.4);
  transition: transform .15s ease, background-color .15s ease;
}
.arrow:hover { transform: scale(1.06); background: #fff; }
.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }
.arrow .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.dots-row { display: none; justify-content: center; gap: 8px; margin-top: 16px; }
.dots-row i { width: 8px; height: 8px; border-radius: 999px; background: var(--slate-300); transition: width .2s ease, background-color .2s ease; }
.dots-row i.on { width: 24px; background: var(--orange); }

/* ---------- 3D product scenes ---------- */
.art { position: relative; width: 620px; height: 440px; justify-self: end; perspective: 1500px; perspective-origin: 35% 45%; }
.glow {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 440px; margin: -220px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.28), rgba(249, 115, 22, 0) 65%); filter: blur(12px); pointer-events: none;
}
.rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(9deg + var(--tilt-x))) rotateY(calc(-17deg + var(--tilt-y))) rotateZ(1deg);
  transition: transform .6s cubic-bezier(.2, .75, .2, 1);
}
.z0 { transform: translateZ(0); }
.z1 { transform: translateZ(80px); }
.z2 { transform: translateZ(140px); }

.window { position: absolute; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-3d); border: 1px solid rgba(226, 232, 240, 0.9); }
.window::after, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 32%);
}
.window-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: var(--tile); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); }
.url {
  flex: 1; min-width: 0; height: 22px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line);
  font: 500 11px/20px var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-float); border: 1px solid rgba(226, 232, 240, 0.9); padding: 14px 16px; }
.line { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; line-height: 18px; color: var(--text); }
.line + .line { margin-top: 9px; }
.line .t { font: 500 10.5px/18px var(--font-mono); color: var(--faint); flex: none; }
.who { font: 700 12.5px/18px var(--font-body); flex: none; }
.who-a { color: var(--orange-deep); }
.who-b { color: var(--sky); }
.who-c { color: var(--green); }
.who-d { color: var(--slate-700); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 600 10.5px/16px var(--font-mono); border: 1px solid transparent; white-space: nowrap; }
.pill-green { background: var(--green-50); border-color: var(--green-200); color: var(--green); }
.pill-orange { background: var(--orange-50); border-color: var(--orange-200); color: var(--orange-deep); }
.pill-sky { background: var(--sky-50); border-color: var(--sky-200); color: var(--sky); }
.pill-slate { background: var(--line-soft); border-color: var(--line); color: var(--slate-700); }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--slate-700); font: 600 11.5px/1 var(--font-body); white-space: nowrap;
}
.mini-btn .ic { width: 14px; height: 14px; }
.mini-btn.primary {
  color: #fff; border-color: transparent; background: linear-gradient(180deg, var(--orange-bright), var(--orange));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 12px -6px rgba(234, 88, 12, 0.7);
  transition: transform .12s ease, filter .12s ease;
}
.mini-btn.primary.is-pressed { transform: scale(.95); filter: brightness(.92); }
.tick { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 18px; color: var(--text); }
.tick + .tick { margin-top: 7px; }
.tick .ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.4; margin-top: 1px; }

/* 1. calls */
.platforms { position: absolute; top: 0; left: 22px; display: flex; gap: 6px; }
.platforms span {
  padding: 6px 13px; border-radius: 999px; font: 600 12px/16px var(--font-body); color: var(--slate-700);
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.35);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.platforms span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.call { top: 44px; left: 0; width: 548px; }
.call-body { display: grid; grid-template-columns: 2.25fr 1fr; gap: 6px; padding: 6px; height: 268px; background: #1f2937; }
.call-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; min-height: 0; }
.tile { position: relative; overflow: hidden; border-radius: 8px; background: #334155; min-height: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: 8px; border: 2px solid transparent; transition: border-color .25s ease; pointer-events: none; }
.tile.speaking::after { border-color: var(--green-dot); }
.tile-name {
  position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px; border-radius: 5px; background: rgba(15, 23, 42, 0.6); color: #fff; font: 600 10.5px/16px var(--font-body);
  backdrop-filter: blur(4px);
}
.tile-name .ic { width: 12px; height: 12px; stroke-width: 2; opacity: .85; }
.tile-main .tile-name { font-size: 12px; padding: 3px 9px; left: 10px; bottom: 10px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 2.5px; border-radius: 2px; background: var(--green-dot); height: 4px; }
.tile.speaking .eq i { animation: eq .9s ease-in-out infinite; }
.tile.speaking .eq i:nth-child(2) { animation-delay: .15s; }
.tile.speaking .eq i:nth-child(3) { animation-delay: .3s; }
.tile:not(.speaking) .eq { opacity: .4; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 11px; } }
.call-controls { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; background: #111827; }
.ctl { display: inline-flex; align-items: center; gap: 4px; height: 30px; min-width: 30px; padding: 0 8px; border-radius: 8px; background: #1f2937; color: #cbd5e1; font: 600 11px/1 var(--font-body); }
.ctl .ic { width: 16px; height: 16px; }
.ctl em { font-style: normal; }
.ctl-leave { background: #374151; color: #fff; padding: 0 12px; }
.tl-panel { position: absolute; right: 2px; bottom: -8px; width: 300px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid rgba(226, 232, 240, 0.9); }
.tl-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font: 700 13px/1 var(--font-display); color: var(--ink); }
.rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--orange-50); border: 1px solid var(--orange-200); color: var(--orange-deep); font: 600 11px/1 var(--font-mono); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.tl-lines { padding: 12px 14px; height: 156px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px); mask-image: linear-gradient(to bottom, transparent 0, #000 34px); }
.tl-lines .line { flex: none; }
.tl-lines .line.enter { animation: lineIn .45s ease both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing::after { content: ""; display: inline-block; width: 6px; height: 12px; margin-left: 2px; vertical-align: -1px; background: var(--orange); animation: pulse 1s steps(1) infinite; }
.tl-foot { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line-soft); }
.mini-btn.stop i { width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }

/* 2. YouTube: a faithful YouTube watch page (its own fonts and red, so people recognise it at
   once; the no-red rule is for our own interface), with the TranscribeLab panel where the add-on
   really puts it: at the top of the right-hand column of YouTube. */
.ytw { top: 22px; left: -8px; width: 628px; font-family: Roboto, Arial, sans-serif; }
.yt-mast { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-bottom: 1px solid #f2f2f2; background: #fff; }
.yt-burger { display: grid; gap: 3px; width: 16px; }
.yt-burger i { height: 2px; border-radius: 1px; background: #0f0f0f; }
.yt-logo { display: inline-flex; align-items: center; gap: 3px; }
.yt-logo-mark { position: relative; width: 22px; height: 15px; border-radius: 4px; background: #ff0033; }
.yt-logo-mark::after { content: ""; position: absolute; left: 8.5px; top: 4px; border-left: 6px solid #fff; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.yt-logo b { font: 700 15px/1 Arial, sans-serif; letter-spacing: -0.7px; color: #0f0f0f; }
.yt-logo sup { align-self: flex-start; margin-top: 7px; font: 400 7px/1 Arial, sans-serif; color: #606060; }
.yt-search { flex: 1; display: flex; align-items: center; height: 28px; margin-left: 16px; border: 1px solid #d3d3d3; border-radius: 999px; overflow: hidden; }
.yt-search span { flex: 1; padding: 0 12px; font-size: 12px; color: #888; }
.yt-search i { display: grid; place-items: center; width: 46px; height: 100%; background: #f8f8f8; border-left: 1px solid #d3d3d3; color: #0f0f0f; }
.yt-search .ic, .yt-round .ic { width: 15px; height: 15px; }
.yt-round { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f2f2f2; color: #0f0f0f; }
.yt-mast-right { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.yt-bell { position: relative; display: grid; color: #0f0f0f; }
.yt-bell .ic { width: 18px; height: 18px; }
.yt-bell em { position: absolute; top: -5px; right: -10px; padding: 0 3px; border-radius: 8px; background: #ff0033; color: #fff; font: 700 8px/12px Arial, sans-serif; font-style: normal; }
.yt-me { width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: #fff; font: 700 11px/24px Arial, sans-serif; text-align: center; }
.yt-page { display: grid; grid-template-columns: 378px minmax(0, 1fr); gap: 14px; padding: 10px 12px 12px; background: #fff; }
.yt-player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.yt-player img { width: 100%; height: 100%; object-fit: cover; }
.yt-cc {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); max-width: 90%; width: max-content;
  padding: 3px 8px; border-radius: 3px; background: rgba(8, 8, 8, 0.75); color: #fff; font: 400 12.5px/17px Roboto, Arial, sans-serif; text-align: center;
}
.yt-chrome { position: absolute; inset: auto 0 0 0; padding: 24px 10px 7px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); color: #fff; }
.yt-bar { position: relative; height: 3px; background: rgba(255, 255, 255, 0.3); }
.yt-buffer { position: absolute; left: 0; top: 0; bottom: 0; width: 58%; background: rgba(255, 255, 255, 0.45); }
.yt-played { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; background: #ff0033; transition: width .9s linear; }
.yt-played::after { content: ""; position: absolute; right: -5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: #ff0033; }
.yt-ctrls { display: flex; align-items: center; gap: 11px; margin-top: 8px; }
.yt-ctrls .ic { width: 15px; height: 15px; color: #fff; }
.yt-play-ic { width: 10px; height: 12px; border-left: 3.5px solid #fff; border-right: 3.5px solid #fff; }
.yt-time { font: 400 11px/1 Roboto, Arial, sans-serif; }
.yt-chap { font: 400 11px/1 Roboto, Arial, sans-serif; color: rgba(255, 255, 255, 0.85); }
.yt-chap::before { content: "\2022\00a0"; }
.yt-ctrls-right { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.yt-cc-btn { position: relative; padding: 1px 3px; border: 1.5px solid #fff; border-radius: 2px; font: 700 8.5px/1.2 Arial, sans-serif; }
.yt-cc-btn::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: -5px; height: 2px; background: #ff0033; }
.yt-h1 { margin-top: 10px; font: 700 14px/19px Roboto, Arial, sans-serif; color: #0f0f0f; }
.yt-owner { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.yt-ava { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-50); color: var(--sky); font: 700 10px/1 Arial, sans-serif; }
.yt-chn { display: grid; }
.yt-chn b { font: 700 12px/15px Roboto, Arial, sans-serif; color: #0f0f0f; }
.yt-chn span { font: 400 10.5px/13px Roboto, Arial, sans-serif; color: #606060; }
.yt-subscribe { margin-left: 4px; padding: 7px 12px; border-radius: 999px; background: #0f0f0f; color: #fff; font: 700 11.5px/1 Roboto, Arial, sans-serif; }
.yt-like { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #f2f2f2; color: #0f0f0f; font: 700 11.5px/1 Roboto, Arial, sans-serif; }
.yt-like .ic { width: 14px; height: 14px; }
.yt-like i { width: 1px; height: 14px; background: #ccc; }
.yt-secondary { display: grid; gap: 8px; align-content: start; }
.yt-slot { height: 190px; border-radius: 12px; background: #f2f2f2; }
.yt-rec { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.yt-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #e5e5e5; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb em { position: absolute; right: 3px; bottom: 3px; padding: 1px 3px; border-radius: 3px; background: rgba(0, 0, 0, 0.8); color: #fff; font: 500 9px/12px Roboto, Arial, sans-serif; font-style: normal; }
.yt-rec-t { display: grid; align-content: start; }
.yt-rec-t b { font: 600 11px/14px Roboto, Arial, sans-serif; color: #0f0f0f; }
.yt-rec-t span { font: 400 10px/13px Roboto, Arial, sans-serif; color: #606060; }
.tl-yt {
  left: 384px; top: 104px; width: 244px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px;
  border: 1.5px solid var(--orange-200); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), var(--shadow-float);
}
.tl-yt-head { display: flex; align-items: center; gap: 7px; font: 700 12.5px/1 var(--font-display); color: var(--ink); }
.tl-yt-head .pill { margin-left: auto; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--line-soft); }
.seg b { padding: 5px 10px; border-radius: 7px; text-align: center; font: 600 11px/14px var(--font-body); color: var(--muted); }
.seg b.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-wide { display: flex; }
.seg-wide b { flex: 1; }
.yt-lines .line { padding: 4px 6px; margin: 0 -6px; border-radius: 6px; font-size: 12px; line-height: 17px; transition: background-color .3s ease; }
.yt-lines .line + .line { margin-top: 1px; }
.yt-lines .line.now { background: var(--orange-50); box-shadow: inset 2px 0 0 var(--orange); }
.yt-lines .line.now .t { color: var(--orange-deep); }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 32px; padding: 0 4px 0 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--tile); font-size: 11.5px; color: var(--faint); }
.ask i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; }
.ask .ic { width: 13px; height: 13px; }
.takeaways { left: -44px; bottom: -12px; width: 250px; padding: 12px 14px; }
.takeaways-title { display: flex; align-items: center; gap: 6px; font: 700 13px/18px var(--font-display); color: var(--ink); }
.takeaways-title .ic { width: 16px; height: 16px; color: var(--orange); }
.takeaways ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 6px; }
.takeaways li { counter-increment: k; display: flex; gap: 8px; font-size: 12.5px; line-height: 18px; color: var(--text); }
.takeaways li::before { content: counter(k); display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 6px; background: var(--orange-100); color: var(--orange-deep); font: 700 10.5px/1 var(--font-mono); }

/* 3. files */
.files { top: 6px; left: 0; width: 470px; }
.files-body { padding: 16px; display: grid; gap: 10px; }
.drop {
  display: grid; justify-items: center; gap: 4px; padding: 22px 12px; border-radius: 12px; text-align: center;
  border: 1.5px dashed var(--slate-300); background: var(--tile); transition: border-color .25s ease, background-color .25s ease;
}
.drop .ic { width: 28px; height: 28px; color: var(--orange); }
.drop b { font: 700 13.5px/18px var(--font-display); color: var(--ink); }
.drop span { font-size: 12px; color: var(--muted); }
.drop.is-hot { border-color: var(--orange-bright); background: var(--orange-50); }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.file-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--green-50); color: var(--green); flex: none; }
.file-row.busy .file-ic { background: var(--orange-50); color: var(--orange-deep); }
.file-ic .ic { width: 18px; height: 18px; }
.file-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.file-meta b { font: 600 12.5px/16px var(--font-mono); color: var(--ink); }
.file-meta > span { font-size: 11.5px; color: var(--muted); }
.prog { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-top: 4px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 68%; background: var(--orange); border-radius: 4px; transition: width .5s ease; }
.preview { right: -10px; bottom: 4px; width: 300px; }
.preview-title { font: 600 11.5px/16px var(--font-mono); color: var(--muted); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.drag-chip {
  position: absolute; top: 16px; right: 40px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--ink); font: 600 12px/1 var(--font-mono);
  box-shadow: var(--shadow-float); border: 1px solid var(--line); transform: translateZ(140px) rotate(-4deg);
}
.drag-chip .ic { width: 16px; height: 16px; color: var(--orange); }
.drag-chip.is-flying { animation: fly 1.6s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes fly {
  0% { transform: translateZ(140px) translate(0, 0) rotate(-4deg); opacity: 1; }
  80% { transform: translateZ(40px) translate(-300px, 70px) rotate(0); opacity: 1; }
  100% { transform: translateZ(20px) translate(-300px, 76px) scale(.9); opacity: 0; }
}

/* 4. summary */
.doc { top: 30px; left: 0; width: 520px; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line-soft); }
.doc-title { font: 700 17px/22px var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.doc-meta { margin-top: 3px; font: 500 11px/14px var(--font-mono); color: var(--faint); }
.doc-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.doc-sec { padding: 11px 18px; }
.doc-sec + .doc-sec { border-top: 1px solid var(--line-soft); }
.doc-sec > p:not(.doc-h):not(.tick) { font-size: 12.5px; line-height: 18px; color: var(--text); }
.doc-h { font: 700 12px/16px var(--font-display); color: var(--muted); margin-bottom: 6px; }
.task { display: grid; grid-template-columns: 22px 52px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; line-height: 18px; color: var(--text); }
.task + .task { margin-top: 7px; }
.task img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.task b { font-weight: 700; color: var(--ink); }
.task em { font: 600 10.5px/1 var(--font-mono); font-style: normal; padding: 4px 7px; border-radius: 6px; background: var(--orange-50); color: var(--orange-deep); border: 1px solid var(--orange-200); }
.doc-next { display: flex; align-items: center; justify-content: space-between; }
.doc-next .doc-h { margin: 0; }
.toast {
  position: absolute; top: 0; right: -6px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-float); border: 1px solid var(--line);
  font: 600 13px/1 var(--font-body); color: var(--ink); transition: opacity .35s ease, transform .35s ease;
}
.toast .ic { width: 18px; height: 18px; color: #fff; background: var(--green); border-radius: 50%; padding: 3px; stroke-width: 3; }
.toast.is-hidden { opacity: 0; transform: translateZ(140px) translateY(-10px); }
.share-chip {
  position: absolute; right: -4px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1 var(--font-mono); box-shadow: var(--shadow-float);
}
.share-chip .ic { width: 15px; height: 15px; color: var(--orange-200); }

/* 5. search */
.search { top: 28px; left: 0; width: 600px; }
.search-body { padding: 16px; display: grid; gap: 10px; }
.search-box {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--orange-bright); background: #fff; box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
  font: 500 15px/1 var(--font-body); color: var(--ink);
}
.search-box > .ic { color: var(--muted); }
.caret { width: 2px; height: 20px; background: var(--orange); margin-left: -8px; animation: pulse 1s steps(1) infinite; }
.count { margin-left: auto; font: 600 11px/1 var(--font-mono); color: var(--muted); padding: 5px 8px; border-radius: 6px; background: var(--line-soft); }
.result { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: opacity .3s ease, transform .3s ease; }
.result:first-of-type { border-color: var(--orange-200); background: var(--orange-50); }
.result.is-hidden { opacity: 0; transform: translateY(6px); }
.src { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--font-body); color: var(--slate-700); }
.src .ic { width: 16px; height: 16px; }
.src-call .ic { color: var(--sky); }
.src-yt .ic { color: var(--orange); }
.src-file .ic { color: var(--green); }
.res-text b { display: block; font: 700 13px/18px var(--font-display); color: var(--ink); }
.res-text p { margin-top: 3px; font-size: 12.5px; line-height: 18px; color: var(--body); }
mark { background: var(--orange-100); color: var(--orange-deep); border-radius: 4px; padding: 0 3px; font-weight: 600; }
.ts { font: 600 11px/1 var(--font-mono); color: var(--slate-700); padding: 6px 8px; border-radius: 7px; background: var(--line-soft); border: 1px solid var(--line); }

/* 6. languages */
.lang-card { width: 290px; }
.lang-from { top: 8px; left: 0; }
.lang-to { top: 130px; right: 12px; }
.lang-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 12px/16px var(--font-display); color: var(--muted); }
.lang-switch {
  position: absolute; left: 44%; top: 238px; margin-left: -42px; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 12px/1 var(--font-mono); box-shadow: var(--shadow-float);
}
.lang-switch .ic { width: 16px; height: 16px; color: var(--orange-200); }
.lang-cloud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.lang-cloud span { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); color: var(--slate-700); font: 600 12.5px/16px var(--font-body); box-shadow: 0 6px 14px -10px rgba(15, 23, 42, 0.4); }
.lang-cloud span { transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.lang-cloud span.on { background: var(--orange-50); color: var(--orange-deep); border-color: var(--orange-200); transform: translateY(-2px); }

.swap { color: var(--orange-deep); display: inline-block; }
.swap, [data-say], [data-sum], [data-src-native], [data-dst-native], [data-src-code], [data-dst-code] { transition: opacity .22s ease, transform .22s ease; }
.is-out { opacity: 0; transform: translateY(-4px); }
.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; }

/* ---------- scenes v2 (2026-09-30): honest calls panel, richer files / summary / search ---------- */
.art { direction: ltr; }

/* 1. calls: the panel shows the real order of things: recording, then writing, then the text */
.tl-panel:not([data-state="rec"]) .st-rec,
.tl-panel:not([data-state="writing"]) .st-writing,
.tl-panel:not([data-state="ready"]) .st-ready { display: none; }
.tl-body { position: relative; height: 168px; }
.tl-body > .st { position: absolute; inset: 0; animation: viewIn .4s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rec-view { padding: 12px 14px; display: grid; align-content: start; gap: 8px; }
.rec-title { font: 600 12px/16px var(--font-body); color: var(--slate-700); }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; padding: 0 6px; border-radius: 10px; background: var(--orange-50); border: 1px solid var(--orange-100); }
.wave i { flex: 1; min-width: 2px; height: 20%; border-radius: 2px; background: linear-gradient(180deg, var(--orange-bright), var(--orange)); transition: height .18s ease; }
.meter { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 8px; font-size: 11px; line-height: 14px; color: var(--muted); }
.meter i { display: block; height: 5px; border-radius: 5px; background: var(--line-soft); overflow: hidden; }
.meter b { display: block; height: 100%; width: 40%; border-radius: 5px; background: var(--green-dot); transition: width .18s ease; }
.writing-view { display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 0 20px; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--orange-100); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.writing-title { margin-top: 4px; font: 700 13.5px/18px var(--font-display); color: var(--ink); }
.writing-sub { font: 500 11px/14px var(--font-mono); color: var(--muted); }
.writing-view .prog { width: 180px; margin-top: 6px; }
.writing-view .prog i { width: 0; transition: width .25s linear; }
.tl-panel .tl-lines { height: auto; padding: 12px 14px; display: block; -webkit-mask-image: none; mask-image: none; }
.tl-lines .line.enter { animation: lineIn .45s ease both; }
.tl-lines .line.wait { opacity: 0; }
.tl-foot { align-items: center; }
.foot-note { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--font-body); color: var(--muted); }
.foot-note .ic { width: 14px; height: 14px; }
.mini-btn { transition: transform .12s ease, filter .12s ease; }
.mini-btn.is-pressed { transform: scale(.94); filter: brightness(.94); }
.tile .eq { display: none; }
.tile.speaking .eq { display: inline-flex; }

/* 3. files */
.files { width: 452px; }
.drop { padding: 16px 12px 14px; }
.formats { display: flex; gap: 5px; margin-top: 8px; }
.formats i { font: 600 10px/1 var(--font-mono); font-style: normal; color: var(--slate-700); padding: 4px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.file-row { padding: 8px 10px; }
.file-thumb { position: relative; width: 46px; height: 34px; border-radius: 7px; overflow: hidden; flex: none; background: var(--slate-800); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.file-thumb .ic { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; color: #fff; }
.editor { right: 0; bottom: -6px; width: 318px; padding: 12px 14px 14px; }
.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.editor-head .preview-title { margin: 0; padding: 0; border: 0; }
.editor-wave { position: relative; display: flex; align-items: center; gap: 2px; height: 40px; }
.editor-wave > i:not(.playhead) { flex: 1; min-width: 1.5px; border-radius: 2px; background: var(--orange-200); }
.editor-wave > i.b { background: var(--sky-200); }
.editor-wave > i.played { background: var(--orange); }
.editor-wave > i.b.played { background: var(--sky); }
.playhead { position: absolute; top: -3px; bottom: -3px; left: 30%; width: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08); transition: left .4s linear; }
.editor-ctrl { display: flex; align-items: center; gap: 10px; margin: 8px 0 10px; }
.editor-ctrl .play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--ink); }
.editor-ctrl .play .ic { width: 13px; height: 13px; margin-left: 2px; }
.editor-time { font: 500 11px/1 var(--font-mono); color: var(--slate-700); }
.speed { margin-left: auto; font: 600 10.5px/1 var(--font-mono); color: var(--muted); padding: 4px 6px; border-radius: 6px; background: var(--line-soft); }
/* The home mock has no player bar (there is no audio playback; rule 12 of scripts/invariants/home.mjs): the lines sit under the waveform. */
.editor-wave + .editor-lines { margin-top: 12px; }
.editor-lines .line { padding: 3px 6px; margin: 0 -6px; border-radius: 6px; transition: background-color .3s ease; }
.editor-lines .line + .line { margin-top: 3px; }
.editor-lines .line.now { background: var(--orange-50); box-shadow: inset 2px 0 0 var(--orange); }
.drag-chip { top: 30px; right: 22px; }

/* 4. summary */
.doc { top: 8px; width: 474px; }
.doc-head { padding: 14px 16px 12px; }
.doc-sec { padding: 9px 16px; }
.select { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 600 11px/1 var(--font-body); color: var(--slate-700); white-space: nowrap; }
.select .ic { width: 13px; height: 13px; color: var(--muted); }
.select .ic:last-child { width: 12px; height: 12px; }
.doc-foot { display: flex; gap: 6px; padding: 10px 16px 14px; border-top: 1px solid var(--line-soft); }
.doc-foot .mini-btn.primary { margin-left: auto; }
.mail { right: -8px; top: 104px; width: 300px; padding: 12px 14px 14px; }
.mail-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 12.5px/1 var(--font-display); color: var(--ink); }
.mail-head b { white-space: nowrap; }
.mail-head .pill { margin-left: auto; font-family: var(--font-body); }
.mail-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--sky-50); color: var(--sky); }
.mail-ic .ic { width: 14px; height: 14px; }
.mail-row { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; line-height: 16px; }
.mail-row span { width: 50px; flex: none; color: var(--faint); }
.mail-row b { font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-body { padding: 8px 0 10px; min-height: 96px; }
.mail-body p { font-size: 11.5px; line-height: 17px; color: var(--text); }
.mail-body p + p { margin-top: 5px; }
.mail-foot { display: flex; justify-content: flex-end; gap: 6px; }
.mail { transition: opacity .35s ease, transform .35s ease; }
.mail.is-hidden { opacity: 0; transform: translateZ(80px) translateY(12px); }
.toast { top: 40px; right: 0; }
.share-chip { left: 14px; right: auto; bottom: -18px; }
.share-chip em { font: 500 11px/1 var(--font-body); font-style: normal; color: var(--slate-300); padding-left: 8px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, 0.2); }

/* 5. search */
.search { top: 14px; width: 560px; }
.app-shell { display: grid; grid-template-columns: 46px minmax(0, 1fr); }
.app-side { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 12px 0; background: var(--tile); border-right: 1px solid var(--line); }
.app-side i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); }
.app-side i.on { background: #fff; color: var(--orange-deep); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.app-side .ic { width: 16px; height: 16px; }
.search-body { padding: 14px; gap: 9px; }
.search-box { height: 42px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 11px/1 var(--font-body); color: var(--slate-700); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.person { padding-left: 3px; }
.chip.person img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.result { grid-template-columns: 92px 1fr auto; padding: 9px 11px; }
.jump { right: -2px; bottom: -4px; width: 282px; padding: 12px 14px 14px; display: grid; gap: 10px; transition: opacity .35s ease, transform .35s ease; }
.jump.is-hidden { opacity: 0; transform: translateZ(80px) translateY(10px); }
.jump-title { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 16px; color: var(--ink); }
.jump-title .ic { width: 15px; height: 15px; color: var(--sky); }
.jump-title b { font: 700 12.5px/16px var(--font-display); }
.jump-title span { margin-left: auto; font: 600 10.5px/1 var(--font-mono); color: var(--orange-deep); }
.jump-bar { position: relative; height: 5px; border-radius: 5px; background: var(--line-soft); }
.jump-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 5px; background: var(--orange-200); }
.jump-bar b { position: absolute; left: 38%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); }
.jump .line { padding: 4px 6px; margin: 0 -6px; border-radius: 6px; }
.jump .line.now { background: var(--orange-50); box-shadow: inset 2px 0 0 var(--orange); }
.jump .mini-btn { justify-self: start; }

/* 6. languages */
[data-heading-live] .swap { white-space: nowrap; }

/* ---------- language menu ---------- */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; cursor: pointer;
  font: 600 13px/1 var(--font-body); color: var(--slate-700); border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: #fff; border-color: var(--line); }
.lang-menu summary .ic { width: 17px; height: 17px; color: var(--muted); }
.lang-menu summary .lang-caret { width: 14px; height: 14px; }

/* ---------- mobile menu (hamburger): shown under 760px ---------- */
.nav-menu { position: relative; display: none; }
.nav-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent; color: var(--slate-700);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover, .nav-menu[open] summary { background: #fff; border-color: var(--line); }
.nav-menu summary .ic { width: 20px; height: 20px; }
.nav-menu-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 12px); display: grid; gap: 2px;
  min-width: 230px; padding: 10px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.nav-menu-list a { text-decoration: none; font: 500 15px/20px var(--font-body); color: var(--body); padding: 10px 12px; border-radius: 10px; }
.nav-menu-list a:not(.btn):hover { background: var(--line-soft); color: var(--ink); }
.nav-menu-list a.btn { margin-top: 8px; display: inline-flex; justify-content: center; }
.lang-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
.lang-list {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: 300px; padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 24px 48px -20px rgba(15, 23, 42, 0.4);
}
.lang-list a { padding: 9px 12px; border-radius: 9px; text-decoration: none; font: 500 14px/18px var(--font-body); color: var(--text); }
.lang-list a:hover { background: var(--tile); color: var(--ink); }
.lang-list a[aria-current="true"] { background: var(--orange-50); color: var(--orange-deep); font-weight: 600; }

/* right-to-left pages (Arabic): the product pictures stay as they are, the text flows from the right */
[dir="rtl"] .slide-points li, [dir="rtl"] .checks li, [dir="rtl"] .faq summary { text-align: right; }
/* Inside the product pictures an Arabic page shows an Arabic app: text and punctuation run right to
   left, while the pictures themselves keep their places (their positions are physical). */
[dir="rtl"] .art :is(.card, .window, .toast, .share-chip, .tl-panel, .drag-chip, .platforms, .lang-cloud) { direction: rtl; }
/* The animated language name keeps the punctuation that follows it on the same line. */
.nw { white-space: nowrap; }
/* Devanagari needs more room between lines than Latin headings. */
:lang(hi) .hero h1, :lang(hi) .slide-copy h2, :lang(hi) .section-head h2 { line-height: 1.28; }

/* ---------- sections below ---------- */
.band { padding: 96px 0; }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font: 700 40px/46px var(--font-display); letter-spacing: -0.028em; color: var(--ink); }
.section-head p { max-width: 42ch; font-size: 17px; line-height: 27px; color: var(--body); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why {
  padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 22px 40px -18px rgba(15, 23, 42, 0.28); }
.why-ic, .step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff;
  background: linear-gradient(160deg, var(--orange-soft), var(--orange) 60%, var(--orange-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(124, 45, 18, 0.25), 0 10px 18px -8px rgba(234, 88, 12, 0.6);
}
.why-ic .ic { width: 22px; height: 22px; stroke-width: 2; }
.why h3, .steps h3 { margin-top: 18px; font: 700 18px/24px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.why p, .steps p { margin-top: 8px; font-size: 15.5px; line-height: 25px; color: var(--body); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 26px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--line); }
.step-n { width: 40px; height: 40px; border-radius: 12px; font: 700 16px/1 var(--font-display); background: linear-gradient(160deg, #334155, var(--ink)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 18px -8px rgba(15, 23, 42, 0.55); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.plan-best {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--orange-bright), var(--orange-200), var(--orange)) border-box;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 34px 60px -30px rgba(234, 88, 12, 0.55);
  transform: translateY(-8px);
}
.plan-badge { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; color: #fff; font: 600 12px/18px var(--font-body); background: linear-gradient(180deg, var(--orange-bright), var(--orange)); box-shadow: 0 6px 12px -6px rgba(234, 88, 12, 0.7); }
.plan h3 { font: 700 19px/24px var(--font-display); color: var(--ink); }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 700 44px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.price span { font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; color: var(--text); }
.plan li .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--green); background: var(--green-50); stroke-width: 2.6; }
.plan .btn { margin-top: auto; }
/* The Pro card's benefits (owner 2026-10-10: benefits only at the pricing table) and, under a hairline, the trial terms
   in small muted text. Same check icon, colours and fonts as the other cards; only tighter spacing. */
.plan ul.plan-benefits { margin-bottom: 0; gap: 10px; }
.plan ul.plan-terms { margin: 20px 0 26px; padding-top: 16px; border-top: 1px solid var(--line); gap: 6px; }
.plan-terms li { font-size: 13.5px; line-height: 20px; color: var(--muted); }
.plan-terms li::before { content: ""; flex: none; width: 5px; height: 5px; margin-block-start: 7.5px; margin-inline: 2px 4px; border-radius: 50%; background: var(--slate-300); }
.faq-wrap { max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font: 600 17px/24px var(--font-display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/24px var(--font-body); color: var(--faint); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; font-size: 16px; line-height: 26px; color: var(--body); max-width: 68ch; }
.faq details p + p { margin-top: -8px; }

/* Footer (owner 2026-09-30: only what applies): the brand on the left, "Use cases" and "Company"
   grouped on the right. Every page with this footer uses these rules (landing.css adds none). */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px clamp(56px, 7vw, 112px); }
.footer-brand p { margin-top: 14px; font-size: 15px; line-height: 23px; color: var(--body); max-width: 34ch; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 9px; align-content: start; }
.footer-h { font: 700 14px/20px var(--font-display); color: var(--ink); margin-bottom: 4px; }
.footer-grid a, .footer-grid span { font-size: 14.5px; line-height: 21px; color: var(--body); text-decoration: none; }
.footer-grid a:hover { color: var(--orange-deep); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
/* The company details (shared/company.js, written by web/scripts/build-home.mjs; owner 2026-10-01) */
.footer-company { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-company a { color: inherit; text-decoration: none; }
.footer-company a:hover { color: var(--orange-deep); }
/* The two stores under the brand (live sweep 2026-10-15 P2-7; <!-- store-links --> block of web/scripts/build-home.mjs). */
.footer-brand .footer-stores { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Cookie notice (owner 2026-10-01; text and markup: web/scripts/build-home.mjs cookieNoteBlock, the web app
   draws the same in ui.js). Only strictly necessary storage is used, so it informs and has one "OK" (a light
   button: no text on orange). Layout = the Stitch screen f04fa8fd "Marketing Footer & Cookie Notice" (project
   744365779499332649): on a desktop a docked full-width bar at the very bottom, on a phone a small card. While the
   notice is shown the page gets room below its footer (body padding), so the company line stays readable
   (owner 2026-10-01: the details must be visible at the bottom; found covered on 2026-10-02). */
.cookie-note { position: fixed; z-index: 60; inset-inline: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; padding: 12px 24px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08); font-size: 14px; line-height: 21px; color: var(--body); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note-actions { display: flex; align-items: center; gap: 16px; }
.cookie-note-actions a { font-weight: 600; color: var(--orange-deep); text-decoration: none; }
.cookie-note-actions a:hover { text-decoration: underline; }
body:has(.cookie-note:not([hidden])) { padding-bottom: 84px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hero h1 { font-size: 50px; }
  .hero-home h1 { font-size: 44px; }
  .slide { padding: 48px 80px 48px 72px; }
  .slide-copy h2 { font-size: 33px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 48px; max-width: 20ch; }
  .hero-home .hero-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "cta" "proof"; row-gap: 24px; }
  .hero-home h1 { font-size: 44px; max-width: 20ch; }
  .hero-home .hero-proof { margin-top: 4px; }
  .tabs-wrap { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 4px var(--gutter) 14px; }
  .tabs-wrap::-webkit-scrollbar { display: none; }
  .slide { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 44px 64px 52px; gap: 36px; }
  .art { justify-self: center; }
  .why-grid, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .plan-best { transform: none; }
  /* the brand takes its own row; "Use cases" and "Company" sit side by side below it */
  .footer-grid { grid-template-columns: minmax(0, max-content) auto; justify-content: start; column-gap: 72px; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .site-header { top: 10px; }
  .cookie-note { inset-inline: 12px; bottom: 12px; display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-float); }
  .cookie-note-actions { justify-content: space-between; }
  body:has(.cookie-note:not([hidden])) { padding-bottom: 200px; }
  .nav-pill { height: 54px; gap: 12px; }
  .nav, .header-actions > .btn, .header-actions > .link-quiet { display: none; }
  .header-actions { gap: 6px; }
  .lang-menu .lang-code, .lang-menu .lang-caret { display: none; }
  /* The language list opens from the pill's end edge (in Arabic its left edge), not from the globe, so it never runs past
     the screen (live sweep 2026-10-15 P3-9: 4 px past the right edge on an Arabic phone). */
  .nav-pill { position: relative; }
  .lang-menu { position: static; }
  .lang-list { width: min(260px, 100%); }
  .nav-menu { display: block; }
  .hero { padding: 96px 0 44px; }
  .hero h1 { font-size: 40px; letter-spacing: -0.03em; }
  .lead { font-size: 17px; line-height: 27px; }
  .btn-lg { font-size: 16px; padding: 14px 20px; }
  .stage { border-radius: 22px; }
  .slide { padding: 30px 20px 36px; gap: 28px; }
  .slide-copy h2 { font-size: 27px; }
  .slide-copy > p:not(.slide-kicker) { font-size: 16px; line-height: 26px; }
  .arrow { display: none; }
  .dots-row { display: flex; }
  .band { padding: 72px 0; }
  .why-grid, .steps, .plans { grid-template-columns: 1fr; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; row-gap: 28px; }
  .footer-bottom { margin-top: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 30px; line-height: 36px; }
}
/* Phones: the product scene right under the title (owner 2026-10-09: on a phone the picture came only after a
   whole screen of text; it must be at the top, like the link preview web/src/assets/og.png). Lead decision:
   title, then the slider (its source tabs above the picture, the dots below it), one short sentence, the
   Chrome pill with the button, the three checks. Tablets and desktops (768 px and wider) keep their layout.
   The markup keeps the desktop order: .hero-top and its two columns step aside (display: contents), so the
   title, the paragraph, the pill, the button row and the checks line up with the slider in one column and
   `order` sets the phone order. They become positioned, as inside their .container before, so they stay above
   .hero-bg. In every slide the picture comes before its words. hero.js wraps the paragraph's last sentence in
   .lead-rest (the paragraph stays one translated text); phones hide it. */
@media (max-width: 767.98px) {
  .hero-home { display: flex; flex-direction: column; }
  .hero-home .hero-top, .hero-home .hero-copy, .hero-home .hero-cta { display: contents; }
  .hero-home .hero-label, .hero-home h1, .hero-home .lead, .hero-home .kicker, .hero-home .cta-row, .hero-home .checks { position: relative; margin-inline: var(--gutter); }
  .hero-home .hero-label { order: 1; margin-bottom: 10px; font-size: 13px; line-height: 19px; }
  .hero-home h1 { order: 1; }
  .hero-home .showcase { order: 2; margin-top: 22px; }
  .hero-home .slide .art { order: -1; }
  .hero-home .lead { order: 3; margin-top: 26px; }
  .hero-home .lead-rest { display: none; }
  .hero-home .kicker { order: 4; margin-top: 22px; align-self: flex-start; }
  .hero-home .cta-row { order: 5; margin-top: 16px; }
  .hero-home .checks { order: 6; margin-top: 18px; }
  .hero-home h1 { font-size: 34px; line-height: 1.08; max-width: none; }
  .hero-home h1 .soft { margin-top: 4px; }
  .hero-home .hero-proof { order: 6; position: relative; margin: 26px var(--gutter) 0; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-home .hp { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 14px 16px; }
  .hero-home .hp-ic { grid-row: span 2; margin-bottom: 0; }
  .hero-home .hp-k b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide.is-active, .rig { transition: none; }
  .tab .bar { display: none; }
  .tile.speaking .eq i, .rec i, .caret, .tl-lines .line.enter, .typing::after { animation: none; }
}

/* ==========================================================================================================
   COMPARE PAGE (/compare) AND THE HOME TEASER UNDER THE PRICING CARDS. Added 2026-10-10; nothing above this
   block is restyled. Owner 2026-10-09: "comparison of pricing charts and why we are winning"; 22:30: its own
   page, desktop = a table with our column first, phone (640 px and narrower) = stacked cards, ours first and
   visibly different, no sideways scrolling, no tiny text. The one Stitch attempt (project "TranscribeLab —
   add-on + web") timed out with no screen, so this uses only the site's tokens (design/DESIGN.md).
   Content rules: scripts/invariants/home.mjs rule 7.
   ========================================================================================================== */
.cmp-hero { padding-bottom: 36px; }
.cmp-hero h1 { max-width: 19ch; }
/* Compare sections share one compact rhythm; generic .band spacing is for the home page's larger scenes. */
.cmp-band { padding-block: 32px; }
.cmp-why { padding-block: 40px; }
.cmp-band .section-head, .cmp-why .section-head { align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.cmp-band .section-head h2, .cmp-why .section-head h2 { font-size: 32px; line-height: 40px; }
.cmp-band .section-head p, .cmp-why .section-head p { max-width: 64ch; font-size: 15px; line-height: 23px; }
.cmp-table-wrap { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 16px 14px; text-align: start; vertical-align: top; border-top: 1px solid var(--line-soft); font-size: 14.5px; line-height: 21px; color: var(--text); }
.cmp-table thead th, .cmp-table thead td { border-top: 0; border-bottom: 1px solid var(--line); padding-top: 20px; vertical-align: bottom; }
.cmp-table .cmp-corner { width: 13%; }
.cmp-table thead .cmp-ours { width: 21%; }
.cmp-table tbody th { font: 600 13.5px/19px var(--font-body); color: var(--muted); }
.cmp-name { display: block; font: 700 16px/22px var(--font-display); color: var(--ink); }
.cmp-ours { background: var(--orange-50); }
.cmp-table thead .cmp-ours { box-shadow: inset 0 3px 0 var(--orange-bright); }
.cmp-ours .pill { margin-top: 6px; font: 600 12px/18px var(--font-body); padding: 2px 10px; }
.cmp-table td b, .cmp-cards dd b { font: 700 22px/1.15 var(--font-display); color: var(--ink); }
.cmp-table td small, .cmp-cards dd small { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted); }
.cmp-table td > span, .cmp-cards dd > span { display: block; }
.cmp-table td > span + span, .cmp-cards dd > span + span { margin-top: 4px; font-size: 13.5px; line-height: 19px; color: var(--body); }
.cmp-none { color: var(--muted); font-size: 13.5px; }
.cmp-src { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; font: 500 13px/18px var(--font-body); color: var(--orange-deep); text-decoration: none; }
.cmp-src:hover { text-decoration: underline; }
.cmp-src time, .cmp-note time { font-family: var(--font-mono); font-size: 12.5px; }
.cmp-cards { display: none; list-style: none; margin: 0; padding: 0; }
.cmp-card { padding: 18px 18px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.cmp-card.cmp-ours { border: 2px solid var(--orange-bright); }
.cmp-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.cmp-card h3 { font: 700 18px/24px var(--font-display); color: var(--ink); }
.cmp-card dl { margin: 10px 0 0; display: grid; gap: 8px; }
.cmp-card dl > div { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 12px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.cmp-card.cmp-ours dl > div { border-top-color: var(--orange-200); }
.cmp-card dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.cmp-card dd { margin: 0; font-size: 15px; line-height: 22px; color: var(--text); }
.cmp-card dd b { font-size: 20px; }
.cmp-card-foot { margin-top: 10px; }
.cmp-note { margin-top: 18px; font-size: 14px; line-height: 22px; color: var(--muted); }
.cmp-langs { margin-top: 10px; font-size: 14px; line-height: 22px; color: var(--muted); }
.cmp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* /compare: what needs the Chrome add-on sits under its own heading until the add-on can be installed (gate rule 7d). */
.cmp-soon-head { margin-top: 56px; }
/* Home: one quiet link under the pricing cards (the benefits are in the Pro card since 2026-10-10). */
.compare-teaser { margin-top: 28px; display: flex; justify-content: center; }
.compare-link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/22px var(--font-body); color: var(--orange-deep); text-decoration: none; }
.compare-link:hover { text-decoration: underline; }
.compare-link .ic { width: 18px; height: 18px; }
[dir="rtl"] .compare-link .ic { transform: scaleX(-1); }
@media (max-width: 900px) {
  .cmp-table-wrap { display: none; }
  .cmp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
}
@media (max-width: 640px) {
  .cmp-cards { grid-template-columns: minmax(0, 1fr); }
  .cmp-cta .btn { width: 100%; }
  .cmp-why .why { padding: 20px; }
  .cmp-why .why h3 { margin-top: 12px; }
}
/* /compare features table (2026-10-15): each competitor value links to the page that says it. */
.cmp-cite { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cmp-cite:hover { color: var(--orange-deep); text-decoration-color: currentColor; }
.cmp-feat { padding-top: 24px; }
/* /compare = promotion (owner 2026-10-15: "why do we show our weak spots?"; "our winning streaks are not even in BOLD or
   embossed"; "in BIG letters at the TOP"). The speed claim is the hero H1 and its footnote is #speed-footnote (gate rule 7h);
   our column is a raised winner card with bold values and a green check badge, the other companies' values are muted with a
   grey dash. Site tokens only: no red, no purple, no text on orange. Stitch timed out on 2026-10-15, so this was built
   from the site's own tokens (design/DESIGN.md). Competitor marks: x = lacks it, check = has it, dash = not described. */
.cmp-hero .cmp-speed-h1 { margin-top: 14px; max-width: none; font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
.cmp-x { color: var(--orange); }
.cmp-star { color: var(--orange-deep); text-decoration: none; margin-inline-start: 2px; }
.cmp-star:hover { text-decoration: underline; }
.cmp-hero .lead { margin-top: 20px; max-width: 58ch; font-size: 19px; line-height: 29px; color: var(--text); }
.cmp-disclose { margin-top: 10px; max-width: 66ch; font-size: 14px; line-height: 21px; color: var(--muted); }
.cmp-hero-cta { margin-top: 26px; }
.cmp-wins .cmp-table-wrap { position: relative; overflow: visible; margin-block: 20px; }
.cmp-wins .cmp-table { position: relative; z-index: 1; }
.cmp-wins .cmp-table .cmp-corner { width: 22%; }
.cmp-wins .cmp-table thead .cmp-ours { width: 32%; box-shadow: none; }
.cmp-win-col { position: absolute; z-index: 0; top: -18px; bottom: -18px; inset-inline-start: 22%; width: 32%; border-radius: 22px; background: var(--surface); border: 2px solid var(--orange-bright); box-shadow: var(--shadow-3d); }
.cmp-wins .cmp-table .cmp-ours, .cmp-wins dd.cmp-ours { background: transparent; }
.cmp-wins .cmp-table .cmp-ours { padding-inline: 24px; }
.cmp-wins .cmp-table tbody .cmp-ours { border-top-color: var(--orange-100); }
.cmp-wins .cmp-table thead .cmp-ours .cmp-name { font-size: 21px; line-height: 26px; font-weight: 800; }
.cmp-wins .cmp-ours .pill, .cmp-wins .cmp-speed { display: flex; width: fit-content; }
.cmp-speed { align-items: baseline; gap: 5px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 800 14px/20px var(--font-display); text-decoration: none; box-shadow: var(--shadow-sm); }
.cmp-speed .cmp-x { color: var(--orange-soft); }
.cmp-win, .cmp-table td > .cmp-win, .cmp-cards dd > .cmp-win { display: flex; align-items: flex-start; gap: 10px; font: 800 17px/24px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.cmp-win .ic, .vs-us .ic { width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; color: var(--green); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-200); stroke-width: 2.8; }
.cmp-wins td[data-vendor], .cmp-wins dd[data-vendor] { color: var(--muted); font-weight: 400; }
.cmp-mark { width: 16px; height: 16px; margin-inline-end: 6px; vertical-align: -3px; color: var(--faint); stroke-width: 2.6; }
.cmp-wins [data-mark="yes"] .cmp-mark { color: var(--slate-700); }
.vs-them::before { content: "–"; display: inline-block; width: 14px; color: var(--faint); font-weight: 600; }
.cmp-wins .cmp-card.cmp-ours { position: relative; z-index: 1; background: var(--surface); box-shadow: var(--shadow-3d); transform: translateY(-4px); }
.cmp-wins .cmp-card.cmp-ours .cmp-speed { margin-top: 12px; }
.cmp-speed-note { margin-top: 34px; max-width: 92ch; font-size: 13.5px; line-height: 21px; }
.cmp-speed-note[id] { scroll-margin-block-start: 112px; }
.cmp-vs { padding-top: 24px; }
.cmp-vs .section-head { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.cmp-vs .section-head p { flex: 1 1 360px; }
.vs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.vs-card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.vs-card h3 { font: 800 20px/26px var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.vs-list { list-style: none; margin: 12px 0 0; padding: 0; }
.vs-list li { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.vs-list li:first-child { border-top: 0; padding-top: 6px; }
.vs-us { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.vs-us b { font: 800 17px/24px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.vs-us > span { grid-column: 2; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--body); }
.vs-them { margin-top: 6px; padding-inline-start: 32px; font-size: 14px; line-height: 20px; color: var(--muted); }
@media (max-width: 900px) {
  .vs-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-hero .cmp-speed-h1 { font-size: 68px; }
}
@media (max-width: 640px) {
  .cmp-band, .cmp-why { padding-block: 24px; }
  .cmp-vs { padding-top: 20px; }
  .cmp-band .section-head, .cmp-why .section-head { gap: 6px; margin-bottom: 18px; }
  .cmp-band .section-head h2, .cmp-why .section-head h2 { font-size: 28px; line-height: 34px; }
  .cmp-vs .section-head p { flex-basis: 100%; }
  .cmp-hero .cmp-speed-h1 { font-size: 54px; line-height: 1.02; }
  .cmp-hero .lead { font-size: 17px; line-height: 26px; }
  .cmp-hero-cta .btn { width: 100%; }
  .vs-card { padding: 20px; }
}
