/* ═══════════════════════════════════════════════════════════════
   تُرجُمَان · Tarjuman — website styles (v2)
   Dark-first. Light theme follows prefers-color-scheme.
   Logical properties only: one sheet serves RTL (ar) and LTR (en).
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark light;
  --orange: #ff6a00;
  --orange-hot: #f26400;   /* hover: deeper, never lighter than the brand orange */
  --orange-deep: #e85d00;
  --bg: #070707;
  --bg-2: #0d0d0d;
  --surface: #141414;
  --surface-2: #1b1b1b;
  --glass: rgba(24, 24, 24, .62);
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f7f4f0;
  --muted: #bcb5ae;          /* 9.6:1 on --bg */
  --faint: #948d86;          /* 6.0:1 on --bg */
  --accent-ink: #ff6a00;     /* brand orange text on dark: 7.0:1 on --bg, 6.4:1 on --surface */
  --on-accent: #0a0a0a;      /* text on orange: 7.0:1 */
  --glow: rgba(255, 106, 0, .34);
  --glow-soft: rgba(255, 106, 0, .14);
  --ring-light: #f7f4f0;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);

  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* type scale (tuned so 100% zoom on 1440-1920 px desktops feels right) */
  --fs-display: clamp(2.6rem, 1.15rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.9rem, 1.05rem + 2.6vw, 3.3rem);
  --fs-h3: clamp(1.1rem, 1rem + .3vw, 1.28rem);
  --fs-lead: clamp(1.04rem, .98rem + .25vw, 1.2rem);

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1200px;
  --r-sm: 12px;   /* inputs, small chips, icon tiles */
  --r: 20px;      /* cards */
  --r-lg: 28px;   /* large panels */
  --r-pill: 999px;
  --header-h: 64px;
  --section: clamp(48px, 6vw, 88px);   /* 48 px on phones, 64–88 px on desktops; the only section padding */
  --gap-lg: clamp(32px, 4vw, 52px);
  --phone: 256px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f3ef;
    --bg-2: #ece8e2;
    --surface: #ffffff;
    --surface-2: #f8f6f2;
    --glass: rgba(255, 255, 255, .72);
    --line: rgba(20, 16, 12, .1);
    --line-2: rgba(20, 16, 12, .18);
    --text: #14110e;
    --muted: #4f4943;
    --faint: #665f58;
    --accent-ink: #b84a00;    /* dark brand orange for text on light: 4.8:1 */
    --glow: rgba(255, 106, 0, .26);
    --glow-soft: rgba(255, 106, 0, .1);
    --ring-light: #14110e;
    --shadow: 0 40px 80px -40px rgba(70, 35, 0, .35);
  }
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block: calc(var(--header-h) + 16px) 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.75 var(--font); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
/* desktop: one root step down so every rem-based size (body, nav, buttons) is ~6% smaller */
@media (min-width: 1024px) { html { font-size: 15px; } }
/* film grain: one tiny inline SVG, fixed, very low opacity */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:where(h1, h2, h3) { line-height: 1.18; font-weight: 700; text-wrap: balance; }
html[lang="en"] :where(h1, h2) { letter-spacing: -.035em; line-height: 1.02; }
p { text-wrap: pretty; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 200; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip-link:focus { inset-block-start: 12px; }
.wrap { inline-size: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.i { inline-size: 1.25em; block-size: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
html:not(.js) [data-requires-js] { display: none !important; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px);
  border-block-end: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-block-end-color: var(--line); }
.nav { display: flex; align-items: center; gap: 12px; block-size: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-block-size: 44px; margin-inline-end: auto; }
.brand-mark { inline-size: 32px; block-size: 32px; }
.brand-name { font-size: 1.22rem; font-weight: 700; line-height: 1; }
.brand-name small { display: block; font-size: .6rem; font-weight: 500; color: var(--faint); letter-spacing: .16em; margin-block-start: 5px; font-family: var(--mono); text-transform: uppercase; }
.nav-links { display: none; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 12px; color: var(--muted); text-decoration: none; font-size: .9rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-block-size: 44px; min-inline-size: 44px; padding-inline: 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; transition: background .2s; }
.lang-switch:hover { background: var(--surface-2); }
.nav .btn-sm { display: none; }
@media (min-width: 560px) { .nav .btn-sm { display: inline-flex; } }
@media (min-width: 1040px) { .nav-links { display: flex; } .nav { gap: 16px; } }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  --h: 54px; position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-block-size: var(--h); padding-inline: 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-out), background .2s, box-shadow .3s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--on-accent); box-shadow: 0 14px 40px -12px rgba(255, 106, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .35); overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn-primary:hover { background: var(--orange-hot); box-shadow: 0 0 0 6px var(--glow), 0 18px 48px -12px rgba(255, 106, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn-text small { font-size: .78rem; font-weight: 500; opacity: .8; }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { --h: 44px; padding-inline: 18px; font-size: .92rem; gap: 8px; }
.store-soon { display: inline-flex; align-items: center; gap: 12px; min-block-size: 54px; padding-inline: 20px 22px; border: 1px dashed var(--line-2); border-radius: 999px; color: var(--muted); user-select: none; }
.store-soon svg { inline-size: 22px; block-size: 22px; opacity: .75; }
.store-soon span { display: flex; flex-direction: column; line-height: 1.2; font-size: .95rem; font-weight: 600; color: var(--text); }
.store-soon small { font-size: .74rem; font-weight: 500; color: var(--faint); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.dl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-block-start: 18px; color: var(--faint); font-size: .88rem; }
.dl-meta .dot { inline-size: 4px; block-size: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.dl-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.dl-meta .live::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); }
.dl-meta a { color: var(--muted); text-underline-offset: 3px; display: inline-flex; align-items: center; min-block-size: 32px; }
.dl-meta a:hover { color: var(--text); }

/* ── Section scaffolding ───────────────────────────────── */
section { position: relative; }
.section { padding-block: var(--section); }
.section.pt0 { padding-block-start: 0; }
/* anchor jumps: land with the section label just below the sticky header */
.section[id] { scroll-margin-top: calc(-1 * var(--section)); }
.section.pt0[id] { scroll-margin-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-ink); font-size: .85rem; font-weight: 600; margin-block-end: 20px; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }
.eyebrow::before { content: ""; inline-size: 26px; block-size: 2px; border-radius: 2px; background: var(--orange); }
.section-head { max-inline-size: 820px; margin-block-end: clamp(36px, 4.5vw, 60px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head h2 .hl { display: block; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-block-start: 18px; max-inline-size: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }
.hl { color: var(--accent-ink); }
.grad { background: linear-gradient(100deg, #ff6a00 0%, #ff6a00 45%, #e85d00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) { .grad { background-image: linear-gradient(100deg, #b84a00, #a64300); } }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line-2); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }

/* ══════════ Device: premium phone frame around real screenshots ══════════
   Titanium band → black bezel → screen (status bar, island, glare).
   Add .device--punch for an Android-style punch-hole camera instead of the island. */
.device {
  --w: 300px;
  position: relative; inline-size: var(--w); aspect-ratio: 300 / 626; flex: none;
  border-radius: calc(var(--w) * .175); padding: calc(var(--w) * .013);
  background:
    linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 4%, rgba(255,255,255,0) 96%, rgba(255,255,255,.45)),
    linear-gradient(160deg, #a7a39e 0%, #5d5a57 14%, #2b2a29 34%, #4a4846 58%, #22211f 78%, #8f8b85 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 60px 100px -40px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.device::before, .device::after { content: ""; position: absolute; inline-size: calc(var(--w) * .012); border-radius: 2px; background: linear-gradient(90deg, #6f6b66, #c9c5bf 50%, #6f6b66); }
.device::before { inset-inline-start: calc(var(--w) * -.009); inset-block-start: 21%; block-size: 5.5%; box-shadow: 0 calc(var(--w) * .1) 0 0 #8d8984, 0 calc(var(--w) * .2) 0 0 #8d8984; }
.device::after { inset-inline-end: calc(var(--w) * -.009); inset-block-start: 28%; block-size: 11%; }
.device .bezel { block-size: 100%; border-radius: calc(var(--w) * .162); padding: calc(var(--w) * .026); background: #030303; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.device .screen { position: relative; block-size: 100%; border-radius: calc(var(--w) * .138); overflow: hidden; background: #0a0a0a; isolation: isolate; padding-block-start: calc(var(--w) * .1); }
.device .screen.light { background: #f7f7f7; }
.device .screen > img, .device .screen > video { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top; }
.device .screen.flush { padding-block-start: 0; }
.device .sb { position: absolute; inset-block-start: 0; inset-inline: 0; block-size: calc(var(--w) * .1); z-index: 3; display: flex; align-items: center; justify-content: space-between; padding-inline: calc(var(--w) * .085) calc(var(--w) * .075); font: 600 calc(var(--w) * .043)/1 "IBM Plex Sans", system-ui, sans-serif; color: #fff; direction: ltr; }
.device .screen.light .sb { color: #111; }
.device .sb svg { block-size: calc(var(--w) * .036); inline-size: auto; fill: currentColor; }
.device .sb span:last-child { display: flex; gap: calc(var(--w) * .014); align-items: center; }
.device .island { position: absolute; z-index: 4; inset-block-start: calc(var(--w) * .028); left: 50%; translate: -50% 0; inline-size: 31%; block-size: calc(var(--w) * .09); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.device .island::after { content: ""; position: absolute; top: 50%; right: 14%; translate: 0 -50%; inline-size: calc(var(--w) * .045); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3a58, #080b14 62%); }
.device--punch .island { inline-size: calc(var(--w) * .075); block-size: calc(var(--w) * .075); }
.device--punch .island::after { right: 50%; translate: 50% -50%; }
.device .glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: linear-gradient(118deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.05) 24%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 80%, rgba(255,255,255,.05) 100%); }
.device.sm { --w: 236px; }

/* 3D poses (Y rotation mirrored for RTL) */
.pose { --ry: -18deg; --rx: 8deg; --rz: 1.5deg; transform: perspective(1800px) rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(var(--rz)); transition: transform .6s var(--ease-out); }
[dir="rtl"] .pose { --ry: 18deg; --rz: -1.5deg; }
.pose.face-l { --ry: 24deg; --rx: 4deg; --rz: 0deg; }
.pose.face-r { --ry: -24deg; --rx: 4deg; --rz: 0deg; }
[dir="rtl"] .pose.face-l { --ry: -24deg; }
[dir="rtl"] .pose.face-r { --ry: 24deg; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 6.5vw, 96px); overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; inset-block-start: -25%; inset-inline-end: -30%; inline-size: 120vmax; aspect-ratio: 1; max-inline-size: 1600px; background: radial-gradient(closest-side, var(--glow), rgba(255, 106, 0, .08) 45%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .55; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%); }
.hero-grid { display: grid; gap: var(--gap-lg); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: var(--fs-display); line-height: 1.08; }
html[lang="en"] .hero h1 { line-height: .98; letter-spacing: -.045em; }
.hero h1 .line { display: block; }
.hero .lead { margin-block: 22px 30px; font-size: var(--fs-lead); color: var(--muted); max-inline-size: 33em; }
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; padding-inline: 5px 12px; margin-block-end: 22px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; color: var(--muted); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.badge-new b { background: var(--orange); color: var(--on-accent); border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 700; }
.hero-note { margin-block-start: 14px; font-size: .86rem; color: var(--faint); max-inline-size: 44em; }
.hero-visual { position: relative; display: grid; place-items: center; min-block-size: 560px; }
.eq-stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.eq-stage .eq { inline-size: min(180%, 800px); max-inline-size: none; }
.eq line { stroke-linecap: round; }
.eq .o { stroke: var(--orange); }
.eq .l { stroke: var(--ring-light); opacity: .55; }
.hero-device { position: relative; z-index: 2; }
.hero-device .device { --w: min(var(--phone), 66vw); }
.float-card { position: absolute; z-index: 3; border-radius: var(--r); padding: 10px 14px 12px; max-inline-size: 220px; }
.float-card .who { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--faint); margin-block-end: 2px; }
.float-card .tag { font-family: var(--mono); font-size: .7rem; color: var(--accent-ink); border: 1px solid currentColor; border-radius: 6px; padding: 0 6px; line-height: 1.5; }
.float-card p { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.float-card.a { inset-block-start: 12%; inset-inline-end: -4%; }
.float-card.b { inset-block-end: 14%; inset-inline-start: -6%; }
.float-card.c { inset-block-start: 47%; inset-inline-end: -12%; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.float-card.c .i { color: var(--accent-ink); }
@media (max-width: 979px) {
  .hero-visual { min-block-size: 0; padding-block: 24px 8px; }
  .float-card { max-inline-size: 200px; padding: 10px 14px 12px; }
  .float-card p { font-size: .95rem; }
  .float-card.a { inset-block-start: 6%; inset-inline-end: 0; }
  .float-card.b { inset-block-end: 8%; inset-inline-start: 0; }
  .float-card.c { display: none; }
}
@media (max-width: 420px) { .float-card { max-inline-size: 168px; } .float-card.a { inset-inline-end: -6px; } .float-card.b { inset-inline-start: -6px; } }

/* ── Fact strip ────────────────────────────────────────── */
.facts { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.facts ul { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0 auto; padding: 0; }
.facts li { padding: 24px clamp(12px, 3vw, 32px); border-inline-start: 1px solid var(--line); }
.facts li:nth-child(odd) { border-inline-start: 0; }
.facts li:nth-child(n+3) { border-block-start: 1px solid var(--line); }
.facts b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); line-height: 1.05; letter-spacing: -.04em; }
.facts b em { font-style: normal; color: var(--accent-ink); }
.facts li > span { color: var(--muted); font-size: .94rem; }
@media (min-width: 820px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-block-start: 0 !important; border-inline-start: 1px solid var(--line) !important; }
  .facts li:first-child { border-inline-start: 0 !important; }
}

/* ── How it works ──────────────────────────────────────── */
.how-grid { display: grid; gap: var(--gap-lg); align-items: center; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: .9fr 1.1fr; } }
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .3s; }
.step:hover { border-color: color-mix(in srgb, var(--orange) 40%, transparent); }
.step .n { grid-row: span 2; font-family: var(--mono); font-size: .85rem; color: var(--accent-ink); inline-size: 42px; block-size: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); display: grid; place-items: center; }
.step h3 { font-size: var(--fs-h3); }
.step p { color: var(--muted); }
.speaker-note { display: flex; gap: 14px; align-items: flex-start; margin-block-start: 14px; padding: 18px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--orange) 9%, transparent); border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent); }
.speaker-note .i { color: var(--accent-ink); inline-size: 24px; block-size: 24px; margin-block-start: 3px; }
.speaker-note b { font-weight: 600; }
.film { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0a0a0a; box-shadow: var(--shadow), 0 60px 140px -60px var(--glow); }
.film video, .film img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.film figcaption { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; color: #e9e3dd; background: rgba(10,10,10,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); }
.vid-toggle { position: absolute; z-index: 6; inset-block-end: 12px; inset-inline-end: 12px; inline-size: 44px; block-size: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(10,10,10,.6); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vid-toggle svg { inline-size: 18px; block-size: 18px; fill: currentColor; }
.device .vid-toggle { inline-size: 40px; block-size: 40px; inset-block-end: 10px; inset-inline-end: 10px; }
.film figcaption::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.25); }

/* ── Modes (tabs + compositions) ───────────────────────── */
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.tablist { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); inline-size: max-content; max-inline-size: 100%; overflow-x: auto; margin-block-end: 36px; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: .96rem; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tab[aria-selected="true"] .i { color: var(--orange); }
@media (max-width: 560px) {
  .tablist { inline-size: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r); }
  .tab { flex-direction: column; gap: 2px; padding-inline: 4px; min-block-size: 60px; font-size: .82rem; border-radius: 15px; }
}
.panel { display: grid; gap: var(--gap-lg); align-items: center; }
.panel[hidden] { display: none; }
@media (min-width: 960px) { .panel { grid-template-columns: 1.05fr .95fr; } }
.panel h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); }
.panel .kicker { color: var(--accent-ink); font-weight: 600; margin-block-end: 10px; display: block; }
.panel > div > p:not(.req) { color: var(--muted); font-size: var(--fs-lead); margin-block: 16px 26px; max-inline-size: 34em; }
.ticks { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks .i { color: var(--accent-ink); inline-size: 22px; block-size: 22px; margin-block-start: 3px; }
.ticks b { font-weight: 600; }
.req { display: inline-flex; gap: 8px; align-items: center; margin-block-start: 26px; font-size: .85rem; color: var(--faint); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.scene { position: relative; display: grid; place-items: center; min-block-size: 520px; padding: 40px 16px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: radial-gradient(55% 50% at 50% 50%, color-mix(in srgb, var(--orange) 26%, transparent), transparent 72%), var(--surface); border: 1px solid var(--line); }
.scene::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.scene .float-card { max-inline-size: 230px; }
.scene > .device { --w: min(220px, 60vw); }
.scene .float-card.a { inset-block-start: 9%; inset-inline-end: 5%; }
.scene .float-card.b { inset-block-end: 9%; inset-inline-start: 5%; }
.scene .float-card.c { inset-block-start: 46%; inset-inline-end: 3%; display: flex; }
@media (max-width: 600px) { .scene { min-block-size: 0; padding-block: 56px; } .scene .float-card.c { display: none; } .scene .float-card.a { inset-inline-end: 3%; } .scene .float-card.b { inset-inline-start: 3%; } }
.pair { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 5vw, 64px); }
.pair .device { --w: clamp(130px, 28vw, 196px); }
.pair-code { position: absolute; z-index: 3; inset-block-end: 7%; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: 1.05rem; letter-spacing: .2em; white-space: nowrap; direction: ltr; }
.pair-code .i { color: var(--accent-ink); }
.pair { margin-block-start: 48px; }
.pair-link { position: absolute; z-index: 1; inset-block-start: 5%; inset-inline: 27%; block-size: 70px; overflow: visible; }
.pair-link path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; animation: dash 1.2s linear 4; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.sheet { position: relative; inline-size: min(360px, 86%); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 40px 100px -50px var(--glow); }
.sheet img { inline-size: 100%; aspect-ratio: 720 / 800; object-fit: cover; }

/* ── Interactive phrase demo ───────────────────────────── */
.demo { display: grid; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
@media (min-width: 980px) { .demo { grid-template-columns: .92fr 1.08fr; } }
.demo-ctrl { border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); }
.pickers { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.field label { display: block; font-size: .82rem; color: var(--faint); margin-block-end: 6px; font-weight: 500; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; inline-size: 100%; min-block-size: 50px; padding-inline: 16px 40px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line-2); font-weight: 600; font-size: 1rem; cursor: pointer; }
.select::after { content: ""; position: absolute; inset-inline-end: 16px; inset-block-start: 50%; inline-size: 8px; block-size: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.swap-btn { inline-size: 50px; block-size: 50px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent; color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; transition: transform .45s var(--ease-spring), background .2s; }
.swap-btn:hover { background: var(--surface-2); }
.swap-btn.spin { transform: rotate(180deg); }
.chips-h { font-size: .82rem; color: var(--faint); margin-block: 22px 10px; font-weight: 500; }
.phrase-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.phrase-chips button { min-block-size: 46px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.phrase-chips button:hover { border-color: var(--text); }
.phrase-chips button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-accent); font-weight: 600; }
.demo-note { margin-block-start: 18px; font-size: .84rem; color: var(--faint); }
.demo-out { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; padding: clamp(24px, 4vw, 44px); display: grid; align-content: center; gap: 18px; min-block-size: 330px; background: radial-gradient(70% 80% at 85% 0%, rgba(255,106,0,.32), transparent 70%), linear-gradient(180deg, #131313, #0a0a0a); color: #f7f4f0; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.demo-out .eq-mini { position: absolute; z-index: -1; inset-block-start: -70px; inset-inline-end: -70px; inline-size: 300px; opacity: .5; }
.say-row small { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #b9b2ab; margin-block-end: 6px; }
.say-row small .tag { font-size: .72rem; color: #ff6a00; border: 1px solid currentColor; border-radius: 6px; padding: 0 6px; }
.say-row p { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; line-height: 1.4; }
.say-row.to p { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 700; color: #fff; min-block-size: 1.4em; }
.say-row.to .caret { display: inline-block; inline-size: 3px; block-size: .95em; background: var(--orange); vertical-align: -.1em; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-out hr { border: 0; block-size: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); margin: 0; }

/* ── Use cases ─────────────────────────────────────────── */
.cases { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case, .tile { --mx: 50%; --my: 0%; }
.case { position: relative; padding: 22px 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .5s var(--ease-out); }
.case::before, .tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--mx) var(--my), var(--glow-soft), transparent 70%); }
.case:hover, .tile:hover { border-color: var(--line-2); }
.case:hover::before, .tile:hover::before { opacity: 1; }
.case .ic { inline-size: 48px; block-size: 48px; border-radius: var(--r-sm); display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--orange) 24%, var(--surface-2)), var(--surface-2)); border: 1px solid var(--line); margin-block-end: 18px; color: var(--accent-ink); }
.case .ic .i { inline-size: 24px; block-size: 24px; }
.case h3 { font-size: var(--fs-h3); margin-block-end: 8px; }
.case p { color: var(--muted); }
.case .uses { display: block; margin-block-start: 18px; padding-block-start: 16px; border-block-start: 1px dashed var(--line-2); font-size: .92rem; }
.case .uses span { display: block; color: var(--faint); font-size: .84rem; }

/* ── Feature bento ─────────────────────────────────────── */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento .wide { grid-column: span 2; } .bento .tall { grid-row: span 2; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; min-block-size: 190px; transition: border-color .3s, transform .5s var(--ease-out); }
.tile > .i { inline-size: 26px; block-size: 26px; color: var(--accent-ink); margin-block-end: 6px; }
.tile h3 { font-size: var(--fs-h3); }
.tile p { color: var(--muted); font-size: .97rem; }
.tile .chip { margin-block-start: auto; align-self: flex-start; font-size: .78rem; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tile.feature { background: linear-gradient(165deg, color-mix(in srgb, var(--orange) 16%, var(--surface)), var(--surface) 55%); border-color: color-mix(in srgb, var(--orange) 30%, transparent); display: grid; grid-template-columns: 1fr; align-items: center; gap: 24px; }
@media (min-width: 560px) { .tile.feature { grid-template-columns: 1fr auto; } }
.tile.feature h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.8rem); margin-block: 6px 10px; }
.tile.feature .device { --w: 184px; margin-inline: auto; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; block-size: 84px; margin-block: 8px 4px; direction: ltr; }
.wave span { inline-size: 4px; border-radius: 4px; background: var(--orange); block-size: calc(var(--h) * 1%); animation: talk 1.2s ease-in-out 4 alternate; animation-delay: calc(var(--d) * -90ms); }
.wave span.l { background: var(--text); opacity: .75; }
@keyframes talk { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.ears { display: flex; gap: 10px; }
.ear { flex: 1; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 14px; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.ear small { display: block; color: var(--faint); font-size: .76rem; }
.ear b { font-size: 1rem; }

/* ── Offline ───────────────────────────────────────────── */
.offline-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; padding: clamp(22px, 4vw, 60px);
  background: radial-gradient(60% 60% at 15% 0%, rgba(255,106,0,.16), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(255,106,0,.09), transparent 70%), color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.offline-grid { display: grid; gap: var(--gap-lg); align-items: center; }
@media (min-width: 1040px) { .offline-grid { grid-template-columns: 1fr 1fr; } }
.offline-panel .section-head { margin-block-end: 32px; }
.offline-panel .section-head h2 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.9rem); }
.off-list { display: grid; list-style: none; padding: 0; margin: 0; border-block-start: 1px solid var(--line); }
.off-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.off-list .i { inline-size: 26px; block-size: 26px; color: var(--accent-ink); margin-block-start: 2px; }
.off-list h3 { font-size: 1.12rem; }
.off-list p { color: var(--muted); font-size: .96rem; }
.num { font-family: var(--mono); font-weight: 500; }
.fine { margin-block-start: 22px; font-size: .86rem; color: var(--faint); display: flex; gap: 10px; }
.fine .i { inline-size: 18px; block-size: 18px; margin-block-start: 3px; flex: none; }
.cluster { position: relative; display: grid; place-items: center; min-block-size: 560px; }
.cluster > .device { position: absolute; }
.cluster .main { --w: min(240px, 58vw); z-index: 3; }
.cluster .side { --w: min(186px, 42vw); z-index: 1; }
.cluster .side.s1 { transform: translateX(-72%) rotate(-8deg) translateY(36px); }
.cluster .side.s2 { transform: translateX(72%) rotate(8deg) translateY(36px); }
@media (max-width: 560px) { .cluster { min-block-size: 540px; } .cluster .side.s1 { transform: translateX(-50%) rotate(-8deg) translateY(26px); } .cluster .side.s2 { transform: translateX(50%) rotate(8deg) translateY(26px); } }
.guide { --pad: clamp(16px, 2.2vw, 24px); --r-in: max(var(--r-sm), calc(var(--r-lg) - var(--pad))); margin-block-start: clamp(28px, 4vw, 48px); display: grid; gap: var(--pad); border-radius: var(--r-lg); padding: var(--pad); }
@media (min-width: 900px) { .guide { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.guide h3 { font-size: 1.4rem; }
.guide .sub { color: var(--muted); font-size: .95rem; margin-block: 4px 16px; }
.search { position: relative; }
.search .i { position: absolute; inset-inline-start: 16px; inset-block-start: 50%; translate: 0 -50%; color: var(--faint); }
.search input { inline-size: 100%; min-block-size: 54px; border-radius: var(--r-in, var(--r-sm)); border: 1px solid var(--line-2); background: var(--bg); padding-inline: 48px 16px; font-size: 1.02rem; }
.search input::placeholder { color: var(--faint); opacity: 1; }
.results { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; list-style: none; padding: 0; }
.results button { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 500; }
.results button .cc { font-family: var(--mono); font-size: .72rem; background: var(--text); color: var(--bg); border-radius: 6px; padding: 1px 6px; }
.results button[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px var(--glow-soft); }
.results .none { color: var(--faint); font-size: .92rem; padding: 10px 2px; }
.cguide { --pad: 16px; border-radius: var(--r-in, var(--r)); background: var(--surface); border: 1px solid var(--line); padding: var(--pad); }
.cguide header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.cguide header b { font-size: 1.25rem; }
.cguide header span { color: var(--faint); font-size: .9rem; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.nums li { border-radius: max(8px, calc(var(--r-in, var(--r)) - var(--pad, 16px))); padding: 12px 16px; border: 2px solid #d93025; color: #b3261e; }
.nums li.gen { background: #d93025; color: #fff; }
.nums small { display: block; font-size: .82rem; font-weight: 600; }
.nums b { font-family: var(--mono); font-size: 2rem; line-height: 1.1; font-weight: 500; direction: ltr; display: block; text-align: start; }
@media (prefers-color-scheme: light) { .offline-panel .nums li:not(.gen) { color: #ff8a80; } }
.cguide p { margin-block-start: 12px; font-size: .84rem; color: var(--faint); }

/* ── Privacy ───────────────────────────────────────────── */
.privacy-grid { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .privacy-grid { grid-template-columns: repeat(4, 1fr); } }
.p-item { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.p-item .i { inline-size: 28px; block-size: 28px; color: var(--accent-ink); margin-block-end: 16px; }
.p-item h3 { font-size: 1.12rem; margin-block-end: 6px; }
.p-item p { color: var(--muted); font-size: .96rem; }
.honest { margin-block-start: 14px; display: grid; gap: 18px; padding: 24px 26px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--orange) 34%, transparent); background: color-mix(in srgb, var(--orange) 8%, var(--surface)); }
@media (min-width: 860px) { .honest { grid-template-columns: 1fr auto; align-items: center; } }
.honest p b { color: var(--accent-ink); }

/* ── Languages marquee ─────────────────────────────────── */
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.track { display: flex; gap: 14px; inline-size: max-content; direction: ltr; list-style: none; padding: 0; margin: 0; animation: marq 64s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 72s; }
.marquee:hover .track, .marquee.paused .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.lang-pill { display: inline-flex; align-items: baseline; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.lang-pill .nat { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; }
.lang-pill .loc { font-size: .82rem; color: var(--faint); }
.lang-pill.home { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
.lang-pill.home .loc { color: rgba(10, 10, 10, .72); }
.marquee-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-block-start: 28px; color: var(--faint); font-size: .92rem; flex-wrap: wrap; text-align: center; }
.pause-btn { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .88rem; }
.pause-btn:hover { background: var(--surface-2); }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } .faq-grid .section-head { position: sticky; inset-block-start: calc(var(--header-h) + 24px); } }
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-block-size: 60px; padding-block: 14px; cursor: pointer; font-size: 1.05rem; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; inline-size: 34px; block-size: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s; }
.faq .pm::before, .faq .pm::after { content: ""; grid-area: 1 / 1; inline-size: 12px; block-size: 1.8px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq summary:hover .pm { border-color: var(--text); }
.faq .ans { padding-block-end: 24px; color: var(--muted); max-inline-size: 62ch; }
.faq .ans p + p { margin-block-start: 10px; }
.faq .ans a { color: var(--accent-ink); text-underline-offset: 3px; }

/* ── Final CTA ─────────────────────────────────────────── */
.final { text-align: center; overflow: clip; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -2; inset-inline: 0; inset-block-end: -40%; block-size: 130%; background: radial-gradient(45% 45% at 50% 50%, var(--glow), transparent 72%); }
.final .eq-wrap { inline-size: clamp(200px, 24vw, 270px); margin: 0 auto 18px; }
.final h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); max-inline-size: 15ch; margin-inline: auto; }
.final p.lead { color: var(--muted); font-size: var(--fs-lead); margin-block: 20px 36px; max-inline-size: 40ch; margin-inline: auto; }
.final .cta-row, .final .dl-meta { justify-content: center; }
.verify { margin: 26px auto 0; max-inline-size: 560px; font-size: .86rem; color: var(--faint); }
.verify summary { cursor: pointer; display: inline-flex; min-block-size: 44px; align-items: center; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.verify code { display: block; direction: ltr; font-family: var(--mono); font-size: .78rem; word-break: break-all; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); margin-block-start: 8px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-block-start: 1px solid var(--line); padding-block: 48px 32px; background: var(--bg-2); font-size: .92rem; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid h2 { font-size: .85rem; font-weight: 600; color: var(--faint); margin-block-end: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot-grid a { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { color: var(--muted); margin-block-start: 12px; max-inline-size: 34ch; }
.foot-legal a { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--muted); text-underline-offset: 3px; }
.foot-legal { margin-block-start: 40px; padding-block-start: 22px; border-block-start: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--faint); font-size: .82rem; }

/* ── Mobile sticky download dock ───────────────────────── */
.dock { position: fixed; z-index: 70; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding-block: 6px; padding-inline: 14px 6px; border-radius: var(--r-pill); transform: translateY(140%); transition: transform .45s var(--ease-out), visibility 0s .45s; visibility: hidden; }
.dock.show { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
.dock .brand-mark { inline-size: 32px; block-size: 32px; }
.dock .dt { flex: 1; line-height: 1.25; min-inline-size: 0; }
.dock .dt b { display: block; font-size: .95rem; }
.dock .dt small { color: var(--faint); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dock .btn { --h: 46px; border-radius: var(--r-pill); padding-inline: 18px; font-size: .95rem; }
@media (min-width: 900px) { .dock { display: none; } }

/* ── Legal page (privacy) ──────────────────────────────── */
.doc-hero { padding-block: clamp(48px, 7vw, 96px) 32px; border-block-end: 1px solid var(--line); position: relative; overflow: clip; isolation: isolate; }
.doc-hero::before { content: ""; position: absolute; z-index: -1; inset-block-start: -60%; inset-inline-end: -20%; inline-size: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--glow-soft), transparent 70%); }
.doc-hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.4rem); }
.doc-hero p { color: var(--muted); margin-block-start: 14px; font-size: var(--fs-lead); max-inline-size: 46em; }
.doc-hero .date { display: inline-flex; gap: 8px; margin-block-start: 22px; font-size: .88rem; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.doc { display: grid; gap: 48px; padding-block: 48px var(--section); }
.doc > * { min-inline-size: 0; }
@media (min-width: 1000px) { .doc { grid-template-columns: 240px 1fr; } }
.toc { font-size: .92rem; }
@media (min-width: 1000px) { .toc { position: sticky; inset-block-start: calc(var(--header-h) + 24px); align-self: start; } }
.toc h2 { font-size: .8rem; color: var(--faint); font-weight: 600; margin-block-end: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; }
.toc a { display: flex; align-items: center; min-block-size: 40px; color: var(--muted); text-decoration: none; border-inline-start: 2px solid var(--line); padding-inline-start: 14px; }
.toc a:hover { color: var(--text); border-inline-start-color: var(--orange); }
.prose { max-inline-size: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-block: 56px 16px; scroll-margin-block-start: 100px; }
.prose h2:first-child { margin-block-start: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-block-start: 12px; }
.prose ul { padding-inline-start: 1.2em; display: grid; gap: 8px; margin-block: 12px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.summary-cards { display: grid; gap: 12px; list-style: none; padding: 0 !important; margin: 0 0 8px !important; }
@media (min-width: 720px) { .summary-cards { grid-template-columns: repeat(3, 1fr); } }
.summary-cards li { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text) !important; }
.summary-cards .i { color: var(--accent-ink); inline-size: 24px; block-size: 24px; margin-block-end: 10px; }
.summary-cards b { display: block; margin-block-end: 4px; }
.summary-cards span { color: var(--muted); font-size: .94rem; }
.table-wrap { overflow-x: auto; margin-block: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.data-table { inline-size: 100%; border-collapse: collapse; font-size: .95rem; min-inline-size: 520px; }
.data-table th, .data-table td { text-align: start; vertical-align: top; padding: 14px 18px; border-block-end: 1px solid var(--line); }
.data-table tr:last-child td { border-block-end: 0; }
.data-table th { background: var(--surface); font-weight: 600; color: var(--text); font-size: .85rem; }
.data-table td:first-child { color: var(--text); font-weight: 600; inline-size: 30%; }
.data-table td { color: var(--muted); }
.callout { margin-block: 18px; padding: 18px 20px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--orange) 34%, transparent); background: color-mix(in srgb, var(--orange) 7%, var(--surface)); }
.callout p { color: var(--text) !important; }
.placeholder { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 6px; padding: 1px 6px; color: var(--text); }


/* ══════════ Visual craft layer ══════════ */
/* Cinematic lighting: warm rim on the leading edge, cool fill on the other, orange glow spill */
.device.lit {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    inset 2px 0 0 rgba(255, 106, 0, .75),
    inset -2px 0 0 rgba(170, 190, 255, .25),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 70px 120px -50px rgba(0, 0, 0, .95),
    0 30px 90px -30px rgba(255, 106, 0, .55),
    0 0 140px -40px rgba(255, 106, 0, .5);
}
[dir="rtl"] .device.lit { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset -2px 0 0 rgba(255,106,0,.75), inset 2px 0 0 rgba(170,190,255,.25), 0 0 0 1px rgba(0,0,0,.6), 0 70px 120px -50px rgba(0,0,0,.95), 0 30px 90px -30px rgba(255,106,0,.55), 0 0 140px -40px rgba(255,106,0,.5); }
.device.lit .glare { background:
    linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 38%),
    linear-gradient(300deg, rgba(255,106,0,.14) 0%, rgba(255,106,0,0) 30%); }
/* studio floor reflection (Chromium/WebKit; ignored elsewhere) */
.device.reflect { -webkit-box-reflect: below 14px linear-gradient(transparent 72%, rgba(255, 255, 255, .14)); }
@media (prefers-color-scheme: light) { .device.lit { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 60px 100px -50px rgba(60,30,0,.55), 0 30px 80px -30px rgba(255,106,0,.4); } .device.reflect { -webkit-box-reflect: below 14px linear-gradient(transparent 75%, rgba(255,255,255,.35)); } }

/* richer atmosphere on deep black: slow-moving mesh behind bands */
.band { background:
  radial-gradient(60% 50% at 10% 0%, rgba(255, 106, 0, .07), transparent 70%),
  radial-gradient(50% 60% at 100% 100%, rgba(255, 106, 0, .06), transparent 70%),
  var(--bg-2); }

/* elegant seams between sections: a hairline that blooms orange in the centre */
.seam::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; margin-inline: auto; inline-size: min(100% - 2 * var(--gutter), var(--max)); block-size: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, rgba(255, 106, 0, .7) 50%, var(--line-2) 80%, transparent);
  box-shadow: 0 0 24px 2px rgba(255, 106, 0, .25);
}
.seam.pt0::before { display: none; }

/* editorial rhythm: numbered eyebrows */
.eyebrow .idx { font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--faint); letter-spacing: .08em; padding-inline-start: 10px; margin-inline-start: 2px; border-inline-start: 1px solid var(--line-2); }

/* premium type details */
.hero h1, .section-head h2, .final h2 { font-feature-settings: "kern", "liga"; }
.section-head h2 .hl, .final h2 .grad, .hero h1 .grad { text-shadow: none; }
.hero h1 .grad { filter: drop-shadow(0 6px 30px rgba(255, 106, 0, .35)); }

/* ══════════ Motion ══════════
   1) Native scroll-driven animations where supported (html.sda).
   2) Otherwise JS adds .in via IntersectionObserver (html.no-sda).
   3) prefers-reduced-motion: everything static and visible. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sd { animation: sd-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .sd-zoom { animation: sd-zoom linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .hero-device { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
  .no-sda .sd, .no-sda .sd-zoom { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .no-sda .sd.in, .no-sda .sd-zoom.in { opacity: 1; transform: none; }
  .float-card { animation: bob 5s ease-in-out 1; }
  .float-card.b { animation-delay: -3s; }
  .float-card.c { animation-delay: -5s; }
}
@keyframes sd-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes sd-zoom { from { opacity: 0; transform: scale(.92) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hero-drift { to { transform: translateY(90px) scale(.94); } }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track { inline-size: auto; flex-wrap: wrap; justify-content: center; }
  .track .dup { display: none; }
  .pause-btn { display: none; }
}

@media print { .site-header, .skip-link, .hero-visual, .dock, body::before { display: none !important; } body { background: #fff; color: #000; } }
