/* Ember Live corporate site — white + warm. No build step, no framework, one file.
 *
 * The marketing pages deliberately do NOT load the app console sheet (styles.css, ~205 KB):
 * a stranger deciding whether to trust us should download the site, not the product. Everything
 * this surface needs is declared here, including the platform tokens the newsroom reads
 * (--canvas, --surface-N, --text, --ember, --stream) so /site/news/ stays visually in family.
 *
 * Grid: 8px. Type: 1.250 scale, ONE family (Inter) as the UI directive requires: hierarchy comes from
 * size, weight and spacing, never from a second display face. Colour is the Ember desktop token set
 * (light), not an invented palette: ground #F7F5F2, canvas #FFFFFF, ink #1C1714, action #BC3E0D,
 * muted #514942, dim #6D6259. Ember is the action colour and the only loud one; teal is reserved for
 * content that came back translated. Contrast on the ground: ink 15.3:1, muted 7.4:1, dim 5.4:1,
 * ember 5.1:1.
 */
:root{
  /* ground */
  --s-white:#FFFFFF; --s-paper:#F7F5F2; --s-warm:#F1EDE7; --s-warm-2:#E8E2D9; --s-warm-3:#DBD3C7;
  /* ink */
  --s-ink:#1C1714; --s-ink-2:#3A332D; --s-muted:#514942; --s-dim:#6D6259;
  /* lines */
  --s-line:rgba(28,23,20,.14); --s-line-2:rgba(28,23,20,.26); --s-line-3:rgba(28,23,20,.08);
  /* accents */
  --s-ember:#BC3E0D; --s-ember-deep:#8E2D00; --s-ember-soft:#FBEBE3;
  --s-teal:#0B6467; --s-teal-soft:#E3F0EF; --s-ok:#147A50;
  /* metrics */
  --s-max:1180px; --s-rail:232px;
  --s-r-sm:8px; --s-r-md:12px; --s-r-lg:18px;
  --s-sh-1:0 1px 2px rgba(23,18,14,.06),0 2px 8px rgba(23,18,14,.04);
  --s-sh-2:0 18px 48px -18px rgba(23,18,14,.22),0 2px 8px rgba(23,18,14,.05);
  --s-ease:cubic-bezier(.2,.8,.2,1);

  /* platform aliases (news.css and any app-era selector resolve to the warm-light palette) */
  --canvas:var(--s-paper); --surface-1:var(--s-white); --surface-2:var(--s-warm); --surface-3:var(--s-warm-2); --surface-4:var(--s-warm-3);
  --hairline:var(--s-line); --hairline-strong:var(--s-line-2); --row-line:var(--s-line-3);
  --text:var(--s-ink); --text-1:var(--s-ink); --text-2:var(--s-muted); --text-3:var(--s-dim); --text-4:var(--s-dim);
  --ember:var(--s-ember); --ember-hi:var(--s-ember-deep); --ember-glow:var(--s-ember-soft);
  --stream:var(--s-teal); --stream-glow:var(--s-teal-soft); --verified:var(--s-ok); --danger:#B42332;
  --r-ctl:var(--s-r-sm); --r-card:var(--s-r-md); --r-modal:16px; --r-pill:999px;
  --sh-rest:var(--s-sh-1); --sh-float:var(--s-sh-2);
  --font-display:var(--font-ui);
  --font-ui:"Inter","Inter Fallback",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Noto Sans Arabic",sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,monospace;
  /* Type scale. A /site/ page is its own document: _layout.html links site.css and nothing from the
     app shell, so the app's --fs-* tokens are not in scope here. These steps carry the same values
     as web/styles.css + web/type-system.css, and tests/unit/design-tokens.test.js asserts the two
     documents agree on every shared step. Half-steps round down, as they do in the app. */
  --fs-10:10px; --fs-11:11px; --fs-14:14px; --fs-16:16px; --fs-18:18px; --fs-22:22px;
  --fs-caption:12px; --fs-small:13px; --fs-body:15px; --fs-title-3:17px; --fs-title-2:20px; --fs-title-1:24px;
  /* surfaces that used to be literals, so the dark block below can repaint them */
  --s-header-bg:rgba(247,245,242,.97); --s-on-ember:#FFF9F4;
  --s-ok-soft:#F1F9F5; --s-ok-ink:#0F6A46; --s-ok-line:#B7DDC9; --s-live-soft:#EAF6F0;
  --s-danger-soft:#FDF2F3; --s-ember-line:#EFCDB8;
  color-scheme:light;
}
/* The dark shell, the same switch as news.css: only an explicit data-theme opts in (dark, or auto plus an
 * OS dark preference); the layout pins light. Grounds and accents are the newsroom's dark values, so the
 * header, utility strip and footer sit on the same ground as a dark /site/news/ page; the ink steps are
 * tokens.json palette.dark (textMuted, textSubtle, softBrand, softSuccess, softDanger). Flat, opaque, no glass. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --s-white:#111A1E; --s-paper:#0B1114; --s-warm:#172329; --s-warm-2:#203039; --s-warm-3:#2B3B45;
  --s-ink:#F5F2EC; --s-ink-2:#DCE3E6; --s-muted:#B8C4CB; --s-dim:#8FA1AB;
  --s-line:rgba(255,255,255,.10); --s-line-2:rgba(255,255,255,.18); --s-line-3:rgba(255,255,255,.06);
  --s-ember:#E28A5C; --s-ember-deep:#FFC09A; --s-ember-soft:#3B1B10;
  --s-teal:#83D8D2; --s-teal-soft:#10272A; --s-ok:#4ADE80;
  --s-sh-1:0 1px 2px rgba(0,0,0,.30); --s-sh-2:0 18px 48px -18px rgba(0,0,0,.55),0 2px 8px rgba(0,0,0,.30);
  --danger:#F0596B;
  --s-header-bg:#111A1E; --s-on-ember:#0B1114;
  --s-ok-soft:#10271D; --s-ok-ink:#4ADE80; --s-ok-line:rgba(74,222,128,.35); --s-live-soft:#10271D;
  --s-danger-soft:#2B1616; --s-ember-line:rgba(226,138,92,.40);
}
@media (prefers-color-scheme: dark){
  :root[data-theme="auto"]{
    color-scheme:dark;
    --s-white:#111A1E; --s-paper:#0B1114; --s-warm:#172329; --s-warm-2:#203039; --s-warm-3:#2B3B45;
    --s-ink:#F5F2EC; --s-ink-2:#DCE3E6; --s-muted:#B8C4CB; --s-dim:#8FA1AB;
    --s-line:rgba(255,255,255,.10); --s-line-2:rgba(255,255,255,.18); --s-line-3:rgba(255,255,255,.06);
    --s-ember:#E28A5C; --s-ember-deep:#FFC09A; --s-ember-soft:#3B1B10;
    --s-teal:#83D8D2; --s-teal-soft:#10272A; --s-ok:#4ADE80;
    --s-sh-1:0 1px 2px rgba(0,0,0,.30); --s-sh-2:0 18px 48px -18px rgba(0,0,0,.55),0 2px 8px rgba(0,0,0,.30);
    --danger:#F0596B;
    --s-header-bg:#111A1E; --s-on-ember:#0B1114;
    --s-ok-soft:#10271D; --s-ok-ink:#4ADE80; --s-ok-line:rgba(74,222,128,.35); --s-live-soft:#10271D;
    --s-danger-soft:#2B1616; --s-ember-line:rgba(226,138,92,.40);
  }
}
/* Metric-matched fallback: if Inter has not arrived when the first paragraph paints, the swap
   moves nothing (no CLS) because the fallback advances at the same width. */
@font-face{font-family:"Inter Fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica"),local("DejaVu Sans");size-adjust:107.4%;ascent-override:90.2%;descent-override:22.4%;line-gap-override:0%}

*,*::before,*::after{box-sizing:border-box}
html{height:auto;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;height:auto;overflow-x:hidden;font:17px/1.65 var(--font-ui);color:var(--s-ink);background:var(--s-paper);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;color:var(--s-ink);margin:0}
p{margin:0}
a{color:inherit}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--s-teal);outline-offset:3px;border-radius:4px}

/* ---- shell ---------------------------------------------------------------- */
.site-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.site-container{width:min(var(--s-max),calc(100% - 48px));margin-inline:auto}
.site-skip{position:absolute;left:16px;top:-72px;z-index:20;background:var(--s-ink);color:var(--s-paper);padding:10px 16px;border-radius:var(--s-r-sm);text-decoration:none}
.site-skip:focus{top:12px}

/* utility strip — the thin corporate bar above the nav */
.site-utility{background:var(--s-warm);border-bottom:1px solid var(--s-line-3);font-size:var(--fs-small);color:var(--s-muted)}
.site-utility .site-container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px}
.site-utility p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-utility-links{display:flex;gap:20px;flex:none}
.site-utility a{text-decoration:none;color:var(--s-muted)}
.site-utility a:hover{color:var(--s-ink);text-decoration:underline;text-underline-offset:3px}

/* ---- navigation ----------------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:12;background:var(--s-header-bg);border-bottom:1px solid var(--s-line)}
.site-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}
.site-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--s-ink);font-family:var(--font-display);font-weight:600;font-size:var(--fs-title-3);letter-spacing:-.02em}
/* The letterhead is the brand lane's own LOCKUP (web/brand/, see hierarchy/brand/MARK.md) — the flame
 * and the "Ember Live" wordmark in one file, so the name is set once in the same letterforms
 * everywhere, and a separate mark would be the flame drawn twice. Two files, one per ground: an <img>
 * cannot reach inside an SVG to repaint its wordmark, so the theme swap happens here, in CSS.
 * The artboard is 420x128 with the ink centred and 16 px of clear space, so the box is sized by
 * HEIGHT and pulled in by a negative inline margin to sit optically at ~22 px in the nav. */
.site-brand{gap:0}
.site-brand-word{width:auto;height:24px;flex:none;display:block;margin-inline:-4px}
.site-brand-word.is-dark{display:none}
:root[data-theme="dark"] .site-brand-word.is-light{display:none}
:root[data-theme="dark"] .site-brand-word.is-dark{display:block}
@media (prefers-color-scheme: dark){
  :root[data-theme="auto"] .site-brand-word.is-light{display:none}
  :root[data-theme="auto"] .site-brand-word.is-dark{display:block}
}
/* Dark: the ember-deep stop turns pale on the dark palette, so the mark and the frame ground go flat (L6: no gradients). */
:root[data-theme="dark"] .site-visual{background:var(--s-white)}
@media (prefers-color-scheme: dark){
  :root[data-theme="auto"] .site-visual{background:var(--s-white)}
}
.site-brand small{display:block;font-family:var(--font-ui);font-weight:500;font-size:var(--fs-10);letter-spacing:.14em;text-transform:uppercase;color:var(--s-dim);line-height:1.2}
.site-nav-links{display:flex;align-items:center;gap:4px}
.site-nav-links>a{position:relative;padding:9px 12px;border-radius:var(--s-r-sm);font-size:var(--fs-14);font-weight:500;color:var(--s-ink-2);text-decoration:none;white-space:nowrap}
.site-nav-links>a:hover{color:var(--s-ink);background:var(--s-warm)}
.site-nav-links>a[aria-current="page"]{color:var(--s-ember-deep)}
.site-nav-links>a[aria-current="page"]::after{content:"";position:absolute;left:12px;right:12px;bottom:2px;height:2px;border-radius:2px;background:var(--s-ember)}
.site-nav-cta{display:flex;align-items:center;gap:8px;margin-left:12px}
.site-menu{display:none;background:var(--s-white);color:var(--s-ink);border:1px solid var(--s-line-2);padding:9px 12px;border-radius:var(--s-r-sm);font:inherit;font-size:var(--fs-14);cursor:pointer}

/* ---- buttons -------------------------------------------------------------- */
/* Larger buttons (Han 2026-11-07): a 52 px box, 16.5 px text and 24 px side padding, so the primary
 * action is the most obvious thing on a marketing page and clears the 44 px touch floor with room
 * to spare. Roughly 1.2x the old 44 px / 15 px / 20 px box; 52 = 13 x 4 keeps the 8 px grid. */
.site-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 24px;border:1px solid transparent;border-radius:var(--s-r-sm);font:600 16.5px/1.2 var(--font-ui);text-decoration:none;cursor:pointer;transition:background .16s var(--s-ease),border-color .16s var(--s-ease),color .16s var(--s-ease)}
.site-button-primary{background:var(--s-ember);color:var(--s-on-ember)}
.site-button-primary:hover{background:var(--s-ember-deep)}
/* The header row keeps the pre-existing 44 px control: three CTAs at the page size would widen it by
 * ~50 px and push the nav past a laptop viewport (a sideways scroll on every page). This is the one
 * documented exception to the larger page buttons, and it still meets the 44 px touch floor. */
.site-nav-cta .site-button{min-height:44px;padding:10px 16px;font-size:var(--fs-body)}
.site-button-quiet{background:var(--s-white);border-color:var(--s-line-2);color:var(--s-ink)}
.site-button-quiet:hover{background:var(--s-warm);border-color:var(--s-ink-2)}
/* The two places a visitor decides — the landing hero and the closing CTA — carry the largest
 * target on the page (56 px, 17.5 px text), so "Start a meeting" reads as THE action. The nav and
 * the plan cards keep the 52 px base; nothing here exceeds a 390 px column because .site-actions
 * stacks to one full-width column there. */
.site-hero .site-button-primary,.site-cta .site-button-primary{min-height:56px;padding:16px 32px;font-size:var(--fs-title-3)}
/* A text link stays a text link, but it still needs a real target: min-height 0 measured 20 px on a
 * phone (a thumb misses it). The underline and the ember colour carry the "link" affordance. */
.site-button-link{padding-inline:0;min-height:44px;background:none;border:0;color:var(--s-ember-deep);text-decoration:underline;text-underline-offset:3px}
.site-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;align-items:center}
/* An action row inside a content-sized grid column (the hero's site-hero-copy) must not take its
 * width from its own widest item, or the row grows past a 390 px viewport. It fills the column. */
.site-actions{width:100%;min-width:0;max-width:100%}
.site-actions-note{font-size:var(--fs-small);color:var(--s-dim)}

/* ---- type ----------------------------------------------------------------- */
.site-kicker{margin:0;text-transform:uppercase;letter-spacing:.14em;font-size:var(--fs-11);font-weight:700;color:var(--s-teal)}
h1{font-size:clamp(40px,5.6vw,68px);line-height:1.04;letter-spacing:-.035em;margin:16px 0 24px;max-width:15ch;text-wrap:balance}
h2{font-size:clamp(30px,3.7vw,44px);line-height:1.1;letter-spacing:-.03em;margin:12px 0;text-wrap:balance}
h3{font-size:var(--fs-22);line-height:1.3;letter-spacing:-.015em;margin:0 0 8px}
h4{font-size:var(--fs-body);line-height:1.35;margin:0 0 6px}
.site-lede{font-size:var(--fs-title-2);line-height:1.55;color:var(--s-muted);max-width:60ch}
.site-muted{color:var(--s-muted);max-width:66ch}
.site-dim{color:var(--s-dim);font-size:var(--fs-small)}
.site-section-head{max-width:720px;margin-bottom:40px}
.site-section-head p{color:var(--s-muted);max-width:66ch;margin-top:12px}

/* 🔴 content-visibility WAS TRIED HERE AND REVERTED. It is recorded so it is not re-attempted blind.
 *
 * It measured well and still had to go. On tx-nj5 2026-11-10 `.site-section,.site-trust,
 * .site-cta-band{content-visibility:auto;contain-intrinsic-size:auto 740px}` cut renderer CPU
 * (TaskDuration 1745 -> 1569 ms, RecalcStyle 401 -> 324 ms, 4 of 6 alternating pairs) and the
 * scroll-through canvas census reported 0 blank sections on BOTH arms.
 *
 * Then the actual deliverable — a full-page PNG — came back with the ENTIRE body below the second
 * section painted as flat cream (shots/accept2/home-desktop-js.png, 411 KB where the honest capture
 * is 1.7 MB). The census could not see it because it counted text characters in the DOM, and a
 * content-visibility subtree keeps its text in the DOM while painting nothing. Scroll-triggered
 * capture renders the sections as the reader passes them; a single full-page screenshot does not.
 * The same is true of print and of prerender.
 *
 * A page whose below-the-fold content does not exist in the artifact we ship as proof is a blank
 * page for anyone reading that artifact. 141 ms of main-thread work is not worth that, so the rule is
 * gone and tests/unit/site-landing-css.test.js now FORBIDS it on these selectors, with this reason
 * attached, so a future lane cannot re-add it on the CPU number alone.
 *
 * The first-paint gains that DID survive and are proven: the marketing document is gzipped
 * (68 KB -> 18.9 KB) and site.js init no longer thrashes layout (read pass, then write pass). */

/* ---- sections ------------------------------------------------------------- */
.site-section{padding:96px 0;border-top:1px solid var(--s-line-3)}
.site-section:first-of-type{border-top:0}
.site-alt{background:var(--s-warm)}
.site-hero{padding:88px 0 80px;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:64px;align-items:center}
.site-page-head{padding:72px 0 40px;border-bottom:1px solid var(--s-line)}
.site-page-head h1{font-size:clamp(36px,4.6vw,56px);max-width:18ch}
.site-page-head .site-lede{margin-top:4px}

/* ---- grids and cards ------------------------------------------------------ */
.site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.site-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.site-card{background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-r-md);padding:28px;box-shadow:var(--s-sh-1)}
.site-card h3{font-size:var(--fs-title-2)}
.site-card p{color:var(--s-muted);font-size:var(--fs-body);line-height:1.6;max-width:none}
.site-card .site-card-foot{margin-top:18px;padding-top:16px;border-top:1px solid var(--s-line-3);font-size:var(--fs-small);color:var(--s-dim)}
.site-card-flat{box-shadow:none;background:transparent;border-color:var(--s-line-2)}
.site-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:64px;align-items:center}
.site-list{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.site-list li{position:relative;padding-left:26px;color:var(--s-ink-2)}
.site-list li::before{content:"";position:absolute;left:0;top:.62em;width:14px;height:2px;border-radius:2px;background:var(--s-ember)}
.site-list-tight li{padding-left:20px;font-size:var(--fs-body);color:var(--s-muted)}
.site-list-tight li::before{width:8px;height:8px;border-radius:50%;top:.6em;background:var(--s-teal)}

/* numbered principles / steps */
.site-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:step}
.site-step{counter-increment:step}
.site-step::before{content:counter(step,decimal-leading-zero);display:block;font:600 13px/1 var(--font-mono);color:var(--s-ember);margin-bottom:14px}

/* ---- product frames (real UI, drawn in CSS: zero image bytes) -------------- */
.site-visual{border:1px solid var(--s-line);border-radius:var(--s-r-lg);background:linear-gradient(160deg,var(--s-white),var(--s-warm));padding:14px;box-shadow:var(--s-sh-2)}
.site-window{border:1px solid var(--s-line);border-radius:var(--s-r-md);overflow:hidden;background:var(--s-white)}
.site-window-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--s-line);background:var(--s-warm);color:var(--s-dim);font-size:var(--fs-11)}
.site-window-body{display:grid;grid-template-columns:96px 1fr;min-height:250px}
.site-window-rail{border-right:1px solid var(--s-line);padding:14px;background:var(--s-paper)}
.site-window-rail i{display:block;height:8px;border-radius:4px;background:var(--s-line);margin:0 0 12px}
.site-window-rail i:first-child{background:var(--s-ember-soft);width:78%}
.site-window-main{padding:20px}
.site-window-main span{display:block;font-size:var(--fs-11);letter-spacing:.04em;color:var(--s-dim);margin-bottom:6px}
.site-window-main b{display:block;font:600 16.5px/1.4 var(--font-display);letter-spacing:-.01em;color:var(--s-ink)}
.site-sample{font-style:normal;border:1px solid var(--s-line-2);border-radius:var(--r-pill);padding:2px 9px;color:var(--s-muted);white-space:nowrap;font-size:var(--fs-11)}
.site-wave{height:34px;margin:16px 0;border-radius:6px;background:repeating-linear-gradient(90deg,var(--s-teal-soft) 0 6px,transparent 6px 11px);border-bottom:2px solid var(--s-teal)}
.site-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.site-chip{display:inline-flex;font-size:var(--fs-11);font-weight:600;padding:3px 9px;border-radius:var(--r-pill);border:1px solid var(--s-line-2);color:var(--s-muted);background:var(--s-white)}
.site-chip.is-on{border-color:var(--s-teal);color:var(--s-teal);background:var(--s-teal-soft)}
.site-line-zh,.site-line-es{display:block;margin-top:16px}
.site-line-zh::before,.site-line-es::before{content:"";display:inline-block;width:3px;height:3px}
.site-minutes{border-top:1px solid var(--s-line);background:var(--s-paper);padding:14px 18px}
.site-minutes-title{margin:0 0 8px;font-size:var(--fs-11);letter-spacing:.1em;text-transform:uppercase;color:var(--s-dim)}
.site-minutes ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.site-minutes li{display:flex;gap:12px;font-size:var(--fs-14)}
.site-minutes li b{min-width:64px;color:var(--s-ember);font-weight:650}
.site-minutes li span{color:var(--s-ink-2)}
.site-caption{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--s-line-3);font-size:var(--fs-14);color:var(--s-ink-2)}
.site-caption:first-child{border-top:0}
.site-caption b{font:600 11.5px/1.8 var(--font-mono);color:var(--s-teal);letter-spacing:.04em}
.site-frame-note{margin:12px 2px 0;font-size:var(--fs-caption);color:var(--s-dim)}

/* ---- proof band ----------------------------------------------------------- */
.site-trust{border-block:1px solid var(--s-line);background:var(--s-white)}
.site-trust-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:40px 0}
.site-trust strong{display:block;font:600 30px/1.1 var(--font-display);letter-spacing:-.03em;color:var(--s-ink)}
.site-trust span{display:block;margin-top:6px;color:var(--s-muted);font-size:var(--fs-14)}
.site-proof-source{margin:0;padding:0 0 24px;color:var(--s-dim);font-size:var(--fs-caption)}

/* ---- flow (pipeline diagram) ---------------------------------------------- */
.site-flow ol{list-style:none;margin:0;padding:0}
.site-flow li{position:relative;padding:14px 0 14px 26px;border-left:2px solid var(--s-line-2)}
.site-flow li::before{content:"";position:absolute;left:-6px;top:22px;width:10px;height:10px;border-radius:50%;background:var(--s-white);border:2px solid var(--s-ember)}
.site-flow li b{display:block;font:600 16px/1.3 var(--font-display)}
.site-flow li span{color:var(--s-muted);font-size:var(--fs-14)}

/* ---- solutions / use cases ------------------------------------------------ */
.site-grid-4 .site-card{padding:24px}
.site-usecase{display:flex;flex-direction:column;gap:10px}
.site-usecase .site-label,.site-label{font-size:var(--fs-11);letter-spacing:.12em;text-transform:uppercase;color:var(--s-teal);font-weight:700}
.site-usecase a{margin-top:auto;color:var(--s-ember-deep);text-decoration:none;font-weight:600;font-size:var(--fs-14)}
.site-usecase a:hover{text-decoration:underline;text-underline-offset:3px}
.site-role{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;padding:56px 0;border-top:1px solid var(--s-line)}
.site-role:first-of-type{border-top:0;padding-top:8px}
.site-role h2{font-size:clamp(26px,3vw,34px);margin-top:8px}
.site-role .site-role-meta{display:grid;gap:10px;margin-top:24px}
.site-role .site-role-meta div{display:grid;grid-template-columns:120px 1fr;gap:16px;font-size:var(--fs-14);padding-top:10px;border-top:1px solid var(--s-line-3)}
.site-role .site-role-meta dt,.site-role .site-role-meta b{color:var(--s-dim);font-weight:600;font-size:var(--fs-caption);letter-spacing:.06em;text-transform:uppercase}
.site-role .site-role-meta span{color:var(--s-ink-2)}
.site-role-body{background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-r-md);padding:32px;box-shadow:var(--s-sh-1)}
.site-role-body p{color:var(--s-muted)}
.site-role-body p+p{margin-top:14px}

/* ---- pricing -------------------------------------------------------------- */
.site-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.site-plan{display:flex;flex-direction:column;gap:14px}
.site-plan h2,.site-plan h3{font-size:var(--fs-title-2);margin:0}
.site-plan p{max-width:none}
.site-plan .site-button{margin-top:auto;justify-content:center}
.site-plan-featured{border-color:var(--s-ember);box-shadow:0 0 0 1px var(--s-ember),var(--s-sh-2);position:relative}
.site-plan-tag{position:absolute;top:-11px;right:20px;background:var(--s-ember);color:var(--s-on-ember);font-size:var(--fs-10);font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:var(--r-pill)}
.site-price{margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.site-price strong{font:600 42px/1.05 var(--font-display);letter-spacing:-.03em;color:var(--s-ink)}
.site-price span{color:var(--s-dim);font-size:var(--fs-small)}
.site-plan .site-list li{font-size:var(--fs-14);color:var(--s-muted)}
.site-price-more{margin-top:24px;font-size:var(--fs-body)}
.site-price-legal{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.site-price-legal .site-button{min-width:0}
.site-price-more a{color:var(--s-ember-deep);font-weight:600;text-decoration:none}
.site-price-more a:hover{text-decoration:underline;text-underline-offset:3px}
.site-billing{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;margin:0 0 20px;padding:4px;background:var(--s-warm);border:1px solid var(--s-line);border-radius:var(--r-pill)}
.site-billing-option{min-height:44px;padding:8px 18px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--s-ink-2);font:600 14px/1 var(--font-ui);cursor:pointer}
.site-billing-option.is-active{background:var(--s-ink);color:var(--s-paper)}
.site-billing-save{padding:0 12px;font-size:var(--fs-caption);font-weight:600;color:var(--s-teal)}
/* At 390 the pill ran out of room, so the saving note wrapped under the buttons and the rounded
   rule cut through it. Below 560 the group becomes a stack: the two options share a row and the
   note sits beneath, outside the pill. This block must stay AFTER the base rules above: they have
   the same specificity, so declared later they beat it and the options lose their padding, border
   and background and clip their own labels. */
@media(max-width:560px){
  .site-billing{display:flex;flex-wrap:wrap;border-radius:0;border:0;background:none;padding:0;gap:8px 4px}
  .site-billing-option{flex:1 1 0;min-width:0;padding:8px 12px;background:var(--s-warm);border:1px solid var(--s-line-2)}
  .site-billing-option.is-active{background:var(--s-ink);border-color:var(--s-ink)}
  .site-billing-save{flex:1 1 100%;padding:0;margin-top:2px}
}
.site-placeholder-note,.site-placeholder-inline{color:var(--s-ember-deep);font-size:var(--fs-small);font-weight:600}
.site-placeholder-note{margin:0 0 20px}
.site-placeholder-inline{margin:0}
.site-draft{display:inline-block;margin:14px 0 0;padding:6px 12px;border-radius:var(--r-pill);background:var(--s-ember-soft);color:var(--s-ember-deep);font-size:var(--fs-small);font-weight:700;letter-spacing:.01em}
.site-toc{margin:0 0 8px;padding:18px 22px;background:var(--s-warm);border:1px solid var(--s-line);border-radius:var(--s-r-md)}
.site-toc h2{font-size:var(--fs-14);margin:0 0 8px;letter-spacing:.04em;text-transform:uppercase;color:var(--s-dim)}
.site-toc ol{margin:0;padding-left:20px}
.site-toc a{color:var(--s-ember-deep);text-decoration:none;font-weight:600;font-size:var(--fs-14)}
.site-toc a:hover{text-decoration:underline;text-underline-offset:3px}
.site-prose h2[id]{scroll-margin-top:88px}
.site-included{display:flex;flex-wrap:wrap;gap:8px 10px;padding:0;margin:18px 0 0;list-style:none}
.site-included li{font-size:var(--fs-small);color:var(--s-ink-2);border:1px solid var(--s-line);background:var(--s-white);border-radius:var(--r-pill);padding:5px 12px}

/* ---- tables and FAQ ------------------------------------------------------- */
.site-table-wrap{overflow-x:auto;border:1px solid var(--s-line);border-radius:var(--s-r-md);background:var(--s-white);box-shadow:var(--s-sh-1)}
.site-table{width:100%;border-collapse:collapse;min-width:680px}
.site-table th,.site-table td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--s-line);font-size:var(--fs-14);vertical-align:top}
.site-table thead th{font-size:var(--fs-11);letter-spacing:.07em;text-transform:uppercase;color:var(--s-dim);background:var(--s-paper);font-weight:700}
.site-table tbody th{font-weight:600;color:var(--s-ink)}
.site-table td{color:var(--s-muted)}
.site-table tr:last-child th,.site-table tr:last-child td{border-bottom:0}
.site-faq{border-bottom:1px solid var(--s-line);padding:18px 0}
.site-faq summary{cursor:pointer;font-weight:600;color:var(--s-ink);font-size:var(--fs-16);list-style-position:outside}
.site-faq summary::marker{color:var(--s-ember)}
.site-faq p{margin:10px 0 0;color:var(--s-muted);max-width:72ch}
.site-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- prose (legal, about) ------------------------------------------------- */
/* These pages wrap the prose in `.site-container`, whose gutters come from `margin-inline:auto` on a
   `width:calc(100% - 48px)` box. Putting `max-width:760px` on that same element narrowed the box and
   re-centred it, so at 1440 the head sat at x=130 and the body at x=340 -- a 210px step under its own
   title. Keep the container's axis and cap the CHILDREN at the reading measure instead. */
.site-prose > *{max-width:760px}
.site-prose h2{font-size:var(--fs-22);letter-spacing:-.015em;margin:40px 0 10px}
.site-prose h2:first-child{margin-top:0}
.site-prose p,.site-prose li{color:var(--s-muted)}
.site-prose ol,.site-prose ul{padding-left:22px}
.site-updated,.site-effective{color:var(--s-dim);font-size:var(--fs-small);margin-top:8px}

/* ---- contact -------------------------------------------------------------- */
.site-contact-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:start}
.site-contact-aside{display:grid;gap:4px}
.site-contact-aside h2{font-size:var(--fs-title-2);margin-bottom:6px}
.site-contact-aside p{color:var(--s-muted);font-size:var(--fs-body);margin-bottom:8px}
.site-contact-aside a{color:var(--s-ember-deep);text-decoration:none;font-weight:600;font-size:var(--fs-14);padding:6px 0}
.site-contact-aside a:hover{text-decoration:underline;text-underline-offset:3px}
.site-form{display:grid;gap:16px}
.site-form label span{display:block;font-size:var(--fs-small);font-weight:600;color:var(--s-ink-2);margin-bottom:6px}
.site-form input,.site-form select,.site-form textarea{width:100%;padding:11px 13px;border-radius:var(--s-r-sm);border:1px solid var(--s-line-2);background:var(--s-white);color:var(--s-ink);font:inherit;font-size:var(--fs-body)}
.site-form input:hover,.site-form select:hover,.site-form textarea:hover{border-color:var(--s-dim)}
.site-form textarea{resize:vertical;min-height:140px}
.site-form input:focus-visible,.site-form select:focus-visible,.site-form textarea:focus-visible{outline:3px solid var(--s-teal);outline-offset:1px}
.site-honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.site-form-note{font-size:var(--fs-caption);color:var(--s-dim);margin:0}
.site-form-status:empty{display:none}
.site-form-status{padding:10px 13px;border-radius:var(--s-r-sm);border:1px solid var(--s-line-2);font-size:var(--fs-14)}
.site-form-status.is-ok{border-color:var(--s-ok);color:var(--s-ok);background:var(--s-ok-soft)}
.site-form-status.is-error{border-color:var(--danger);color:var(--danger);background:var(--s-danger-soft)}

/* ---- closing CTA ---------------------------------------------------------- */
.site-cta{text-align:center}
.site-cta h2{max-width:22ch;margin-inline:auto}
.site-cta .site-lede{margin:16px auto 0}
.site-cta .site-actions{justify-content:center}
.site-cta-band{background:var(--s-warm);border-top:1px solid var(--s-line)}
.site-cta-band h2{color:var(--s-ink)}

/* ---- footer --------------------------------------------------------------- */
.site-footer{margin-top:auto;border-top:1px solid var(--s-line);background:var(--s-white);padding:64px 0 40px;color:var(--s-muted);font-size:var(--fs-14)}
.site-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
.site-footer-grid h2{font:700 11.5px/1 var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--s-dim);margin:0 0 14px}
.site-footer-grid a:not(.site-brand){display:block;margin:0 0 10px;color:var(--s-muted);text-decoration:none}
.site-footer-grid a:not(.site-brand):hover{color:var(--s-ink);text-decoration:underline;text-underline-offset:3px}
.site-footer-grid p{margin-top:14px;max-width:34ch;font-size:var(--fs-14);line-height:1.6}
.site-footer-brand .site-brand{margin-bottom:6px}
.site-copyright{margin:40px 0 0;padding-top:20px;border-top:1px solid var(--s-line-3);color:var(--s-dim);font-size:var(--fs-caption);display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}

/* ---- motion --------------------------------------------------------------- */
/* 🔴 THE REVEAL NEVER TOUCHES OPACITY. That is the whole fix.
 *
 * What shipped before: `.site-reveal{opacity:0}` and site.js added `.is-visible` from an
 * IntersectionObserver. Measured on tx-nj5 at 390 / 820 / 1440: 39 reveal elements at opacity 0,
 * 10 sections with no readable content, and the SAME 10 dead with scripting disabled — because the
 * hiding was in the stylesheet, where JS could not undo it. A landing page cannot be blank because
 * an animation did not arrive.
 *
 * The contract now (`tests/unit/site-landing-css.test.js` holds it):
 *   stock   `.site-reveal`          — opacity 1, no transform. This is the page.
 *   pending `+ .is-pending`         — 14 px low, FULLY OPAQUE and the SAME SIZE, so every word is
 *                                     legible before, during and after the animation;
 *   done    `+ .is-visible`         — back on the grid.
 * Without JS nothing ever gets is-pending. With a stubbed / silent / missing IntersectionObserver
 * site.js settles everything within 1.2 s. With prefers-reduced-motion nothing is armed at all and
 * the media query is the belt to that brace. The motion that carries the page is --p / --q on the
 * hero stage and the capability beats, which are CSS-composed at their final frame without JS. */
.site-reveal{opacity:1;transform:none}
.site-reveal.is-pending{
  /* Pending is a 14px LIFT, never a scale. The scale was the landing CLS: `getBoundingClientRect()`
   * reports the TRANSFORMED box, so a pending element measured 1.5% shorter than its settled self and
   * ANY observer that sampled a box during the reveal saw a growing element — landing-investor
   * "the hero image does not shift the page while it loads" read 2.73 at 1440 and 1.15 at 390 (bound
   * 1) while the layout height never moved (offsetHeight 630 in every sample). A translate does not
   * change the reported height, so the box is the same before, during and after. */
  transform:translateY(14px);transform-origin:50% 0;
  transition:transform .62s var(--s-ease);
  will-change:transform;
}
.site-reveal.is-pending.is-visible{transform:none}
/* A section's own cards settle in order rather than as one slab; the rhythm is what reads as
 * composed rather than as a slide-in. Capped at 5 steps so a long grid never crawls. */
.site-reveal.is-pending > *:nth-child(2){transition-delay:60ms}
.site-reveal.is-pending > *:nth-child(3){transition-delay:120ms}
.site-reveal.is-pending > *:nth-child(4){transition-delay:180ms}
.site-reveal.is-pending > *:nth-child(n+5){transition-delay:240ms}
.site-motion{display:block;margin:10px 24px 0 auto;background:var(--s-white);color:var(--s-ink-2);border:1px solid var(--s-line-2);border-radius:var(--r-pill);padding:5px 12px;font:inherit;font-size:var(--fs-caption);cursor:pointer}
html.site-no-motion{scroll-behavior:auto}
html.site-no-motion .site-reveal,
html.site-no-motion .site-reveal.is-pending{opacity:1;transform:none;transition:none}
html.site-no-motion .site-motion{display:none}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .site-reveal,
  .site-reveal.is-pending,
  .site-reveal.is-pending.is-visible{opacity:1;transform:none;transition:none}
  .site-button,.site-nav-links>a{transition:none}
  .site-wave{background:var(--s-teal-soft)}
}
/* Print, and every capture that renders the whole document at once (link previews, PDF export,
 * a fullPage screenshot), sees the composed page: an offscreen section is not mid-animation, it is
 * simply further down the sheet. */
@media print{
  .site-reveal,.site-reveal.is-pending{opacity:1;transform:none;transition:none}
}

/* ---- responsive ----------------------------------------------------------- */
@media(max-width:1080px){
  .site-hero{gap:40px}
  .site-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-split,.site-role{gap:40px}
}
/* ---- touch targets -------------------------------------------------------- */
/* A phone or tablet tap needs a 44 px target, not just a text line. Each rule below enlarges a link
 * that already existed and keeps its pitch, so the layout does not move and only the hit area grows.
 * The footer is the tight one: its links carry the old 10 px margin into the box and give back 9 px
 * as padding, so the pitch stays 10 px while the target becomes 44 px. */
.site-footer{padding-bottom:28px}
.site-footer-grid nav h2{margin-bottom:8px}
@media(max-width:900px){
  .site-utility a,.site-toc a,.site-contact-aside a{min-height:44px;display:flex;align-items:center}
  /* The inline "read more" links inside a card (a use case, a product track, the pricing preview)
     measured 20-24 px at 390 px: a thumb misses them. They become a 44 px row; the card grows by the
     difference rather than overlapping its neighbours. */
  .site-usecase a,.site-diff-link,.site-price-more a{min-height:44px;display:inline-flex;align-items:center}
  .site-utility-links{align-items:center}
  .site-footer-grid a:not(.site-brand){display:flex;align-items:center;min-height:44px;margin:0 0 1px;padding:9px 0}
  .site-footer-grid nav h2{margin-bottom:2px}
  .site-menu{min-height:44px}
}
/* The disclosure triangle needs display:list-item, so a summary reaches 44 px through padding that an
 * equal negative margin cancels: the FAQ list keeps its rhythm. */
.site-faq summary{padding:10px 0;margin:-10px 0;min-height:44px}
.site-contact-aside a{padding:8px 0}
@media(max-width:760px){
  .site-footer-grid{gap:20px 28px}
  /* The utility strip repeats links the footer already carries. Keeping it a 30 px row means a phone
     header stays compact and the hero remains above the fold. */
  .site-utility a{min-height:30px}
}

@media(max-width:900px){
  /* The full nav needs ~810px EN; collapse to the menu below 900px so tablets never scroll sideways.
     That budget assumes the header's compact CTAs above: at the page button size the row needs ~860px
     and the collapse point would have to move, so the header keeps its own 44 px control. */
  .site-menu{display:flex;align-items:center;justify-content:center}
  .site-nav{min-height:64px;gap:12px}
  .site-nav-links{display:none}
  .site-nav-links.is-open{display:flex;position:absolute;top:100%;left:16px;right:16px;z-index:14;flex-direction:column;align-items:stretch;gap:2px;padding:12px;background:var(--s-white);border:1px solid var(--s-line-2);border-radius:var(--s-r-md);box-shadow:var(--s-sh-2)}
  /* The open menu is the phone's whole navigation: every row and every CTA in it is a button-sized
     target (>=44 px), because a 34 px row between 16 px siblings is the one a thumb misses. */
  .site-nav-links.is-open>a{min-height:48px;display:flex;align-items:center;padding:12px;font-size:var(--fs-16)}
  .site-nav-links.is-open>a[aria-current="page"]::after{display:none}
  .site-nav-cta{flex-direction:column;align-items:stretch;margin:8px 0 0;gap:8px}
  .site-nav-cta .site-button{width:100%}

  .site-hero{grid-template-columns:1fr;padding:64px 0 56px;gap:40px}
  .site-split{grid-template-columns:1fr;gap:32px}
  .site-role{grid-template-columns:1fr;gap:28px;padding:40px 0}
  .site-plans{grid-template-columns:1fr}
  .site-footer-grid{grid-template-columns:1fr 1fr;gap:32px}
  .site-contact-grid{grid-template-columns:1fr}
  .site-trust-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .site-section{padding:64px 0}
  .site-page-head{padding:48px 0 32px}
}
@media(max-width:760px){
  .site-container{width:min(100% - 32px,var(--s-max))}
  .site-utility p{display:none}
  .site-utility .site-container{min-height:36px}
  .site-utility-links{gap:16px;font-size:var(--fs-caption)}
  .site-grid,.site-grid-2,.site-grid-4,.site-steps{grid-template-columns:1fr}
  .site-trust-row{grid-template-columns:1fr 1fr;padding:28px 0}
  .site-trust strong{font-size:var(--fs-title-1)}
  h1{font-size:clamp(34px,9vw,44px);max-width:none}
  .site-page-head h1{font-size:clamp(30px,7.6vw,38px);max-width:none}
  h2{font-size:clamp(26px,6.4vw,32px)}
  .site-lede{font-size:var(--fs-title-3)}
  .site-section-head{margin-bottom:28px}
  .site-card{padding:22px}
  .site-window-body{grid-template-columns:64px 1fr;min-height:0}
  .site-window-main{padding:14px}
  .site-window-main b{font-size:var(--fs-body)}
  .site-minutes li{flex-direction:column;gap:2px}
  .site-footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .site-copyright{flex-direction:column}
  /* Actions stack on a phone: one full-width target per row, so the "Talk to sales" text link is a
     thumb-sized row of its own instead of a 20 px line squeezed beside a button. A grid of a single
     column (not flex-direction: column) keeps the stack the width of its container: in a hero-copy
     grid that sizes to its content, a column flex would take its width from the widest button and
     push the row off-screen. */
  .site-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}
  .site-actions .site-button{width:100%;min-width:0}
  .site-cta .site-actions{justify-items:stretch}
  .site-role-body{padding:22px}
  .site-role .site-role-meta div{grid-template-columns:1fr;gap:4px}
}
@media(max-width:400px){
  .site-trust-row{grid-template-columns:1fr}
}

/* ---- model tiers bar (home) ----------------------------------------------- */
.site-tiers{display:grid;gap:18px}
.site-tier{display:grid;grid-template-columns:72px 1fr;grid-template-areas:"n l" "b b";gap:6px 12px;align-items:baseline}
.site-tier b{grid-area:n;font:600 17px/1 var(--font-display)}
.site-tier span{grid-area:l;color:var(--s-dim);font-size:var(--fs-small)}
.site-tier i{grid-area:b;display:block;height:8px;border-radius:4px;background:linear-gradient(90deg,var(--s-ember) var(--w),var(--s-warm-2) var(--w))}
.site-price-preview .site-card{height:100%}
.site-included a{text-decoration:none;color:var(--s-ink-2)}
.site-included li:hover{border-color:var(--s-ember)}
.site-included a:hover{color:var(--s-ember-deep)}
.site-page-head .site-included{margin-top:24px}
.site-role{scroll-margin-top:96px}

/* ---- CJK ------------------------------------------------------------------ */
html[lang="zh-CN"] body{font-family:var(--font-ui),"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;line-height:1.75}
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3{letter-spacing:0;font-family:var(--font-display),"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif}
html[lang="zh-CN"] h1{line-height:1.2;max-width:none}
html[lang="zh-CN"] .site-lede{max-width:22em}
html[lang="zh-CN"] .site-muted{max-width:34em}

/* ---- product shots (real UI, served from /site/shots) ---------------------- */
.site-product-jump{margin-top:36px}
.site-product-jump .site-card{display:block;text-decoration:none;color:inherit}
.site-product-jump .site-card:hover{border-color:var(--s-ember)}
.site-product-jump h2{font-size:var(--fs-title-2)}
.site-shot{margin:0;border:1px solid var(--s-line);border-radius:var(--s-r-lg);overflow:hidden;background:var(--s-white);box-shadow:var(--s-sh-2)}
.site-shot img{display:block;width:100%;height:auto;background:var(--s-warm)}
.site-shot figcaption{padding:10px 14px;background:var(--s-warm);border-top:1px solid var(--s-line);color:var(--s-muted);font-size:var(--fs-small)}
.site-faq-search{display:grid;gap:8px;margin:8px 0 20px;max-width:420px;font-size:var(--fs-14);font-weight:600}
.site-faq-search input{font:inherit;font-weight:400;padding:10px 12px;border:1px solid var(--s-line-2);border-radius:var(--s-r-sm);background:var(--s-white);color:var(--s-ink)}
.site-faq-empty{color:var(--s-muted)}
/* The label-beside-copy row is the CUSTOMERS page layout (articles with no .site-card).
   The home page reuses the same class name on cards in a 4-up grid, and this rule used to
   win over the card rule above by source order: each 282px card became a 2-column grid
   sized "180px 1fr", so its heading and link were squeezed to 63-96px and overflowed the
   card (measured 2026-11-09, scrollWidth 327 vs width 282 at 1440). `:not(.site-card)`
   keeps the row where it belongs and leaves the cards alone. */
.site-usecase:not(.site-card){display:grid;grid-template-columns:180px 1fr;gap:28px;padding:28px 0;border-top:1px solid var(--s-line)}
.site-usecase h2{font-size:var(--fs-22)}
@media(max-width:800px){
  .site-usecase:not(.site-card){grid-template-columns:1fr;gap:8px}
}

/* ---- differentiators (home, lane landing-investor) ------------------------ */
.site-diff{display:flex;flex-direction:column;gap:12px;position:relative}
.site-diff-status{margin:0;display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:4px 11px;border-radius:var(--r-pill);font:700 11px/1.4 var(--font-ui);letter-spacing:.1em;text-transform:uppercase}
.site-diff-status.is-live{background:var(--s-live-soft);color:var(--s-ok-ink);border:1px solid var(--s-ok-line)}
.site-diff-status.is-preview{background:var(--s-ember-soft);color:var(--s-ember-deep);border:1px solid var(--s-ember-line)}
.site-diff-status.is-preview::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--s-ember);flex:none}
.site-diff h3{font-size:var(--fs-title-2);margin:0}
.site-diff p{color:var(--s-muted);max-width:none}
.site-diff-note{margin:0;font-size:var(--fs-small);color:var(--s-dim);border-top:1px solid var(--s-line-3);padding-top:12px}
.site-diff-link{margin-top:auto;color:var(--s-ember-deep);font-weight:600;font-size:var(--fs-14);text-decoration:none}
.site-diff-link:hover{text-decoration:underline;text-underline-offset:3px}

/* ---- anchored sections clear the sticky header (lane landing-investor) ---- */
.site-hero,.site-diffs,#what-you-get,#sample-call{scroll-margin-top:88px}

/* ---- hero screenshot (real product capture, lane landing-investor) -------- */
.site-hero-shot{margin:0;border:1px solid var(--s-line);border-radius:var(--s-r-lg);overflow:hidden;background:var(--s-white);box-shadow:var(--s-sh-2)}
.site-hero-shot img{display:block;width:100%;height:auto;aspect-ratio:1200/596;background:var(--s-warm)}
/* Stacked hero (lane landing-investor): the capture is the product, so it gets the full
   container width instead of a half column where the captions render too small to read. */
.site-hero-stack{grid-template-columns:1fr;gap:44px;padding-bottom:96px;align-items:start}
.site-hero-stack .site-hero-copy{display:grid;justify-items:start}
.site-hero-stack h1{max-width:20ch}
.site-hero-stack .site-lede{max-width:64ch}
.site-hero-stack .site-hero-shot{max-width:1000px;justify-self:center;width:100%}
.site-hero-shot figcaption{padding:10px 14px;background:var(--s-warm);border-top:1px solid var(--s-line);color:var(--s-muted);font-size:var(--fs-small)}

/* ============================================================================
   THE PRISM (home hero) — one sentence, three scripts, one decision
   ----------------------------------------------------------------------------
   One number drives everything: --p, 0 to 1, written by web/site/stage.js on the .st element.
   Every beat is a pure CSS function of it, so the page has ONE animator and no library, no
   scroll listener per element, and no work before the frame it belongs to. The stock value is 1
   (the composed final frame), so a browser with JS off, a reduce-motion user and the "Skip
   animation" control all render the finished picture instead of an empty stage.

   Beats, as fractions of --p:
     0.00-0.20  the speaker's line types on, word by word, with a caret     (someone is talking)
     0.20-0.48  three rows unfold, 40 ms apart, each in its own direction   (everyone reads at once)
     0.48-0.70  the four rows compress toward the seam                      (the noise collapses)
     0.70-1.00  the minutes card rises, rules draw left to right            (it becomes a decision)
   ========================================================================== */
.st{
  --p:1;
  --beat1:clamp(0,(var(--p) - 0.00) / 0.20,1);
  --beat2:clamp(0,(var(--p) - 0.20) / 0.28,1);
  --beat3:clamp(0,(var(--p) - 0.48) / 0.22,1);
  --beat4:clamp(0,(var(--p) - 0.70) / 0.30,1);
  position:relative;
  margin:8px auto 0;
  width:min(var(--s-max),calc(100% - 48px));
  border:1px solid var(--s-line);
  border-radius:20px;
  background:var(--s-white);
  box-shadow:var(--s-sh-2);
  overflow:hidden;
  isolation:isolate;
}
/* the plate: a hairline grid, so the stage reads as a surface with depth rather than a floating card */
.st::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(to right,var(--s-line-3) 1px,transparent 1px),
    linear-gradient(to bottom,var(--s-line-3) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(120% 80% at 50% 0%,#000 30%,transparent 78%);
  mask-image:radial-gradient(120% 80% at 50% 0%,#000 30%,transparent 78%);
  opacity:.9;
}

/* ---- title bar ------------------------------------------------------------ */
.st-bar{
  display:flex;align-items:center;gap:14px;
  padding:0 20px;min-height:52px;
  border-bottom:1px solid var(--s-line);
  background:var(--s-paper);
  font-size:var(--fs-small);color:var(--s-dim);
}
.st-live{display:inline-flex;align-items:center;gap:7px;color:var(--s-ember-deep);font-weight:650}
.st-live i{width:7px;height:7px;border-radius:50%;background:var(--s-ember);box-shadow:0 0 0 3px var(--s-ember-soft)}
.st-meet{color:var(--s-ink);font-weight:600}
.st-clock,.st-count{font-variant-numeric:tabular-nums}
.st-count{margin-inline-start:auto;padding-inline-start:14px;border-inline-start:1px solid var(--s-line)}

/* ---- body: the three reader rows, then the minutes ------------------------ */
.st-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.95fr)}
.st-lines{padding:24px 0 24px 24px;display:grid;gap:0}
.st-row,.st-col{
  position:relative;
  padding:16px 20px 16px 18px;
  border-left:2px solid var(--s-line-2);
  transition:none;
}
/* the speaker's own line: ember rule, and it is the only row that types */
.st-src{border-left-color:var(--s-ember)}
.st-tag{
  display:flex;align-items:center;gap:10px;margin:0 0 8px;
  font-size:var(--fs-caption);color:var(--s-dim);letter-spacing:.01em;
}
.st-code{
  font-family:var(--font-ui);font-weight:700;font-size:var(--fs-11);letter-spacing:.06em;
  color:var(--s-ink-2);background:var(--s-warm);
  border:1px solid var(--s-line);border-radius:5px;
  padding:2px 7px;line-height:1.5;
}
.st-src .st-code{color:var(--s-ember-deep);background:var(--s-ember-soft);border-color:var(--s-ember-line)}
.st-line,.st-cap{margin:0;font-size:var(--fs-title-2);line-height:1.45;letter-spacing:-.005em;color:var(--s-ink)}
.st-line{max-width:34ch}
.st-cap{max-width:36ch}
.st-cap[lang="ja"]{letter-spacing:0}
.st-col-ar{border-left:0;border-right:2px solid var(--s-line-2)}
.st-col-ar .st-tag{justify-content:flex-start}
.st-cap[lang="ar"]{text-align:right;font-size:var(--fs-title-2);line-height:1.85}

/* ---- beat 1: the spoken line types on ------------------------------------ */
.st-line .w{
  display:inline-block;
  opacity:clamp(.12,(var(--beat1) * 14) - var(--i) * .9,1);
  transform:translateY(calc((1 - clamp(0,(var(--beat1) * 14) - var(--i) * .9,1)) * 6px));
}
/* the caret rides the last visible word; it is a text cursor, not decoration */
.st-line::after{
  content:"";display:inline-block;width:2px;height:1.05em;margin-left:3px;
  vertical-align:-.16em;background:var(--s-ember);
  opacity:clamp(0,(1 - var(--beat2) * 1.6) * (var(--beat1) * 4),1);
}
.st-wave{
  display:flex;align-items:center;gap:3px;height:26px;margin-top:14px;
  opacity:clamp(0,var(--beat1) * 3,1);
  -webkit-mask-image:linear-gradient(to right,#000 0,#000 62%,transparent 100%);
  mask-image:linear-gradient(to right,#000 0,#000 62%,transparent 100%);
  max-width:330px;
}
.st-wave i{
  display:block;width:3px;border-radius:2px;background:var(--s-ember);
  height:calc(4px + var(--h,6px));
  opacity:.55;
}
.st-wave i:nth-child(3n+1){--h:14px}
.st-wave i:nth-child(3n+2){--h:22px}
.st-wave i:nth-child(4n){--h:9px}
.st-wave i:nth-child(5n){--h:18px}

/* ---- beat 2: the reader rows unfold, each 40 ms after the one above ------ */
.st-col{
  opacity:clamp(0,(var(--beat2) * 3.4) - var(--k) * .34,1);
  transform:translateY(calc((1 - clamp(0,(var(--beat2) * 3.4) - var(--k) * .34,1)) * 14px));
}

/* ---- beat 3: the rows pull together ------------------------------------- */
.st-lines{gap:calc((1 - var(--beat3)) * 6px)}
.st-col{margin-top:calc((1 - var(--beat2)) * 4px)}
.st-col .st-cap{opacity:clamp(.35,(var(--beat2) * 2.2) - var(--k) * .2,1)}

/* ---- beat 4: the minutes rise ------------------------------------------- */
.st-min{
  border-left:1px solid var(--s-line);
  background:var(--s-paper);
  padding:24px 22px;
  display:flex;flex-direction:column;
  opacity:clamp(0,var(--beat4) * 2.2,1);
  transform:translateY(calc((1 - clamp(0,var(--beat4) * 2.2,1)) * 18px));
}
.st-min-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--s-line);
}
.st-min-title{font-size:var(--fs-body);font-weight:650;color:var(--s-ink);letter-spacing:-.01em}
.st-min-meta{font-size:var(--fs-11);color:var(--s-dim);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-min-rows{display:grid;gap:14px;margin:0}
.st-min-row{display:grid;gap:4px;position:relative;padding-top:12px}
/* the rule draws itself: this is the one motion that explains a change (a note becoming a record) */
.st-min-row::before{
  content:"";position:absolute;top:0;left:0;height:1px;width:100%;
  background:var(--s-line-2);transform-origin:0 50%;
  transform:scaleX(clamp(0,(var(--beat4) - .12) * 3,1));
}
[dir="rtl"] .st-min-row::before{transform-origin:100% 50%;}
.st-min-row dt{
  font-size:var(--fs-11);letter-spacing:.09em;text-transform:uppercase;
  color:var(--s-dim);font-weight:700;margin:0;
}
.st-min-decision dt{color:var(--s-ember-deep)}
.st-min-row dd{margin:0;font-size:var(--fs-body);line-height:1.45;color:var(--s-ink-2)}
.st-min-decision dd{font-size:var(--fs-title-3);color:var(--s-ink);font-weight:600;letter-spacing:-.01em}
.st-min-foot{
  margin:auto 0 0;padding-top:16px;font-size:var(--fs-11);color:var(--s-dim);
  opacity:clamp(0,(var(--beat4) - .55) * 3,1);
}
.st-note{
  max-width:70ch;margin:18px auto 0;font-size:var(--fs-small);line-height:1.6;color:var(--s-dim);
  text-align:center;
}

/* ---- the stage is content, so it never traps a phone -------------------- */
@media(max-width:1000px){
  .st-body{grid-template-columns:1fr}
  .st-lines{padding:20px 0 20px 20px}
  .st-min{border-left:0;border-top:1px solid var(--s-line)}
  .st-line,.st-cap{font-size:var(--fs-title-3)}
  .st-cap[lang="ar"]{font-size:var(--fs-18)}
}
@media(max-width:760px){
  .st{margin-top:4px;border-radius:16px}
  .st-bar{padding:0 14px;min-height:44px;gap:10px;font-size:var(--fs-caption)}
  .st-count{display:none}
  .st-lines{padding:14px 0 14px 14px}
  .st-row,.st-col{padding:12px 14px 12px 12px}
  .st-line,.st-cap{font-size:var(--fs-16);line-height:1.5}
  .st-cap[lang="ar"]{font-size:var(--fs-title-3);line-height:1.8}
  .st-code{font-size:var(--fs-10);padding:1px 5px}
  .st-min{padding:18px 16px}
  .st-min-decision dd{font-size:var(--fs-body)}
  .st-min-row dd{font-size:var(--fs-14)}
  .st-note{font-size:var(--fs-caption);text-align:left}
}

/* ---- static fallbacks: same content, no motion --------------------------- */
/* The three cases below are deliberate, and each one is a real visitor: JS off, a reduce-motion
 * preference, or "Skip animation". In all three the stage keeps its final composed frame. */
@media(prefers-reduced-motion:reduce){
  /* !important, because stage.js writes --p as an inline style and the inline style would
   * otherwise win: a visitor who asked for less motion must get the composed frame, not a
   * frozen first beat. */
  .st{--p:1 !important}
  .st-line .w,.st-col,.st-min,.st-min-foot{opacity:1;transform:none}
  .st-line::after{display:none}
  .st-min-row::before{transform:scaleX(1)}
}
html.site-no-motion .st{--p:1 !important}
html.site-no-motion .st-line .w,html.site-no-motion .st-col,html.site-no-motion .st-min,html.site-no-motion .st-min-foot{opacity:1;transform:none}
html.site-no-motion .st-line::after{display:none}
html.site-no-motion .st-min-row::before{transform:scaleX(1)}

/* ============================================================================
   THE BEATS — three capability sections, one progress value each
   ----------------------------------------------------------------------------
   Same contract as the prism: --p on the section (written by stage.js), every change a pure CSS
   function of it, stock value 1 so the section is complete without JS and for reduce-motion.
   These sections are NOT pinned; --p maps the section's own travel through the viewport, and the
   animation only touches things that are already readable in their final state.
   `--p:1` is the FLOOR, not just the stock value (same contract as the prism and the reveal): under
   a reduce-motion preference the inline --p stage.js writes is overridden back to 1 with !important
   below, so a beat never sits mid-travel for a visitor who asked for stillness.
   ========================================================================== */
.beat{--p:1;position:relative}
.beat-head{max-width:760px;margin-bottom:40px}
.beat-head h2{max-width:24ch}
.beat-head p{margin-top:14px;max-width:66ch}

/* ---- the wall: five languages, one playhead ------------------------------ */
.wall{
  --q:clamp(0,(var(--p) - .12) / .5,1);
  border:1px solid var(--s-line);border-radius:18px;background:var(--s-white);
  box-shadow:var(--s-sh-1);overflow:hidden;
}
.wall-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding:14px 20px;background:var(--s-paper);border-bottom:1px solid var(--s-line);
  font-size:var(--fs-small);color:var(--s-dim);
}
.wall-title{color:var(--s-ink-2);font-weight:600;font-size:var(--fs-small)}
.wall-clock{font-variant-numeric:tabular-nums;font-size:var(--fs-small);color:var(--s-ink-2);letter-spacing:.02em}
.wall-ms{color:var(--s-dim)}
.wall-rows{position:relative;padding:10px 0}
.wall-row{
  display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;align-items:baseline;
  padding:11px 22px;
}
.wall-row>p{margin:0;font-size:var(--fs-16);line-height:1.5;color:var(--s-ink-2);max-width:60ch}
.wall-code{
  font-size:var(--fs-11);font-weight:700;letter-spacing:.06em;color:var(--s-dim);
  text-align:right;font-variant-numeric:tabular-nums;
}
/* The line being read right now: contrast follows the playhead, so the reader sees that every
 * language advances on the same clock. A left-to-right mask of the darker ink travels across all
 * five rows; the base colour stays readable the whole time, so the section is complete even before
 * the beat runs. Nothing moves.
 *
 * 🔴 THE MASK CHANGES A TONE, IT NEVER REMOVES A GLYPH. The rule above promised "the base colour
 * stays readable the whole time" and the rule below broke that promise: the gradient was painted
 * into a box only `--read` wide (`background-size:var(--read) 100%`) and the fill was transparent,
 * so a sentence existed ONLY where the playhead had already arrived. At --q:0 the five rows were
 * not dim, they were EMPTY.
 *
 * That frame is not hypothetical. stage.js maps a beat from --p 0 (unapproached) to 1 (read), so
 * --q:0 is every beat below the fold, and it is the frame a full-page capture, a print stylesheet
 * and a prerender all see. Measured on tx-nj5, ink of the five sentences as a fraction of the
 * composed frame at --p:0 was 0.04 — the wall was four percent of itself, which is the blank band
 * a reviewer sees in every full-page screenshot of this page.
 *
 * Now the gradient spans the whole box and both stops are readable ink, so --read is a hard edge
 * between "already read" (#1C1714) and "not yet read" (#3A332D) instead of an edge between ink and
 * nothing. Same clock, same gesture; the words are drawn at every --q from 0 to 1. */
.wall-row>p{
  --read:calc(var(--q) * 100%);
  background-image:linear-gradient(to right,
    var(--s-ink) 0 var(--read), var(--s-ink-2) var(--read) 100%);
  background-repeat:no-repeat;
  background-size:100% 100%;
  -webkit-background-clip:text;background-clip:text;
  color:var(--s-ink-2);
  -webkit-text-fill-color:var(--s-ink-2);
}
/* Only take the transparent fill where the clipped background can actually paint the glyphs back;
 * without this guard a browser with no background-clip:text draws nothing at all. */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .wall-row>p{-webkit-text-fill-color:transparent}
}
.wall-playhead{
  position:absolute;top:10px;bottom:10px;width:1px;
  left:calc(78px + var(--q) * (100% - 100px));
  background:linear-gradient(to bottom,transparent,var(--s-ember) 12%,var(--s-ember) 88%,transparent);
  opacity:clamp(0,var(--q) * 6,1);
}
.wall-playhead::before{
  content:"";position:absolute;top:0;left:-2px;width:5px;height:5px;border-radius:50%;
  background:var(--s-ember);
}
.wall-row:nth-child(3)>p[lang="ja"]{letter-spacing:0}
.wall-row:nth-child(4)>p[lang="ar"]{text-align:right;font-size:var(--fs-18);line-height:1.85}
.wall-row:nth-child(4){grid-template-columns:minmax(0,1fr) 56px}
.wall-row:nth-child(4) .wall-code{order:2;text-align:left}
.wall-foot{
  margin:0;padding:12px 20px;border-top:1px solid var(--s-line-3);
  background:var(--s-paper);font-size:var(--fs-caption);color:var(--s-dim);
}
.beat-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:32px 0 0;padding:0;list-style:none}
.beat-points li{display:grid;gap:6px;padding-top:16px;border-top:1px solid var(--s-line)}
.beat-points b{font-size:var(--fs-body);color:var(--s-ink);font-weight:650;letter-spacing:-.01em}
.beat-points span{font-size:var(--fs-14);line-height:1.55;color:var(--s-muted)}

/* ---- the record: rules draw, the decision lands --------------------------- */
.record{
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.75fr);gap:0;
  border:1px solid var(--s-line);border-radius:18px;background:var(--s-white);
  box-shadow:var(--s-sh-1);overflow:hidden;
}
.record-main{padding:8px 26px 14px}
.record-row{
  position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:baseline;
  padding:20px 0 18px;
}
.record-key{
  font-size:var(--fs-11);letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--s-dim);
}
.record-decision .record-key{color:var(--s-ember-deep)}
.record-row p{margin:0;font-size:var(--fs-body);line-height:1.5;color:var(--s-ink-2);max-width:52ch}
.record-decision p{font-size:var(--fs-title-2);color:var(--s-ink);font-weight:600;letter-spacing:-.015em;line-height:1.35}
/* the rule draws left to right, and the row's own content arrives behind it: a note becoming a record */
.record-rule{
  position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--s-line-2);
  transform-origin:0 50%;
  transform:scaleX(clamp(0,(var(--p) - var(--rk,0)) * 2.4,1));
}
[dir="rtl"] .record-rule{transform-origin:100% 50%;}
.record-decision{--rk:.02}
.record-owner{--rk:.16}
.record-open{--rk:.30}
/* The row arrives behind its rule — as a TONE, not as a fade. The old rule floored opacity at .28,
 * so a record at --p:0 was not absent but ghosted: measured 0.44 of its composed ink, i.e. body text
 * a reader has to squint at, and #6D6259 at 28% is roughly 1.3:1 against the card, far under the
 * 4.5:1 floor this page holds itself to everywhere else. Dimming text is the same defect as hiding
 * it, one step earlier. The arrival is now --s-ink-2 (rest) -> --s-ink (arrived), which is a real
 * contrast step at full opacity. */
.record-row p,.record-key{
  --arrive:clamp(0,(var(--p) * 3) - var(--rk,0) * 3,1);
  background-image:linear-gradient(color-mix(in srgb, var(--s-ink) calc(var(--arrive) * 100%), var(--s-ink-2)),
    color-mix(in srgb, var(--s-ink) calc(var(--arrive) * 100%), var(--s-ink-2)));
  -webkit-background-clip:text;background-clip:text;
  color:var(--s-ink-2);
  -webkit-text-fill-color:var(--s-ink-2);
  opacity:1;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .record-row p,.record-key{-webkit-text-fill-color:transparent}
}
.record-side{
  border-left:1px solid var(--s-line);background:var(--s-paper);padding:24px 22px;
  display:flex;flex-direction:column;gap:12px;
}
.record-side-title{margin:0;font-size:var(--fs-caption);letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--s-dim)}
.record-export{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.record-export li{
  font-size:var(--fs-caption);font-weight:600;color:var(--s-ink-2);background:var(--s-white);
  border:1px solid var(--s-line);border-radius:6px;padding:5px 9px;
}
.record-side-note{margin:auto 0 0;font-size:var(--fs-small);line-height:1.55;color:var(--s-muted)}
.beat-split{margin-top:32px;gap:40px}
.beat-split p{font-size:var(--fs-body);line-height:1.6}

/* ---- the travel: one sentence, four surfaces ----------------------------- */
.travel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.surface{
  border:1px solid var(--s-line);border-radius:14px;background:var(--s-white);
  padding:16px 18px;box-shadow:var(--s-sh-1);
}
.surface-tag{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.surface-kind{font-size:var(--fs-11);font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--s-teal)}
.surface-dir{font-size:var(--fs-11);color:var(--s-dim);font-variant-numeric:tabular-nums}
.surface-from,.surface-to{margin:0;font-size:var(--fs-14);line-height:1.55}
.surface-from{color:var(--s-dim)}
/* The translation wipes in left to right (right to left for Arabic), the only "translation" gesture
 * on the page. --k staggers the four surfaces by 120 ms of progress.
 *
 * 🔴 THE WIPE REVEALS CONTRAST, NOT CONTENT. `clip-path:inset(0 <100> 0 0)` at --p 0 made the line
 * zero pixels wide: the four translations did not fade in, they did not exist, and the reader saw
 * four cards holding a source sentence with nothing under it. Measured on tx-nj5 at --p:0, the ink
 * of the four translation lines was 0.31 of the composed frame.
 *
 * The clip is now vertical only (never left/right), so the line's full width is always laid out, and
 * what travels across it is the ink: everything left of the wipe is --s-ink, everything right of it
 * is --s-ink-2, which is the resting body colour of the page. The un-wiped part therefore reads as
 * ordinary text rather than as a hole, and the gesture still says "this arrived here". */
.surface-to{
  margin-top:8px;padding-top:8px;border-top:1px solid var(--s-line-3);
  --wipe:calc(clamp(0,(var(--p) - .22 - var(--k) * .06) * 3.2,1) * 100%);
  background-image:linear-gradient(to right, var(--s-ink) 0 var(--wipe), var(--s-ink-2) var(--wipe) 100%);
  background-repeat:no-repeat;background-size:100% 100%;
  -webkit-background-clip:text;background-clip:text;
  color:var(--s-ink-2);
  -webkit-text-fill-color:var(--s-ink-2);
}
.surface-to[dir="rtl"]{
  background-image:linear-gradient(to left, var(--s-ink) 0 var(--wipe), var(--s-ink-2) var(--wipe) 100%);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .surface-to{-webkit-text-fill-color:transparent}
  .surface-to[dir="rtl"]{-webkit-text-fill-color:transparent}
}
.suite-list{
  list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;padding:0;
}
.suite-list li{
  font-size:var(--fs-small);color:var(--s-ink-2);background:var(--s-white);
  border:1px solid var(--s-line);border-radius:999px;padding:6px 13px;
}

/* ---- static fallbacks ---------------------------------------------------- */
/* Both arms land on --p:1, which is the composed frame: each carrier's own gradient (wall, travel,
 * record) is written against --p/--q, so forcing --p is enough to put every one of them in its
 * fully-arrived tone. No clip-path or opacity is involved any more — those were the declarations
 * that blanked the page in the first place — so there is nothing else to unwind here. */
@media(prefers-reduced-motion:reduce){
  .beat{--p:1 !important}
  .record-rule{transform:scaleX(1)}
}
html.site-no-motion .beat{--p:1 !important}
html.site-no-motion .record-rule{transform:scaleX(1)}

@media(max-width:1000px){
  .beat-points{grid-template-columns:1fr;gap:18px}
  .record{grid-template-columns:1fr}
  .record-side{border-left:0;border-top:1px solid var(--s-line)}
  .travel{grid-template-columns:1fr}
  .beat-split{grid-template-columns:1fr;gap:16px}
}
@media(max-width:760px){
  .wall-row{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:10px 16px}
  .wall-row>p{font-size:var(--fs-body)}
  .wall-row:nth-child(4){grid-template-columns:minmax(0,1fr) 44px}
  .wall-row:nth-child(4)>p[lang="ar"]{font-size:var(--fs-16)}
  .wall-head,.wall-foot{padding-inline:16px}
  .wall-playhead{left:calc(60px + var(--q) * (100% - 76px))}
  .record-main{padding:4px 18px 10px}
  .record-row{grid-template-columns:1fr;gap:4px;padding:16px 0 14px}
  .record-decision p{font-size:var(--fs-title-3)}
  .surface{padding:14px}
}

/* ============================================================================
   THE COMPARISON — an honest table, and where we are behind
   ========================================================================== */
.cmp{min-width:820px}
.cmp thead th:first-child,.cmp tbody th{position:sticky;left:0;background:var(--s-white);z-index:1}
.cmp thead th:first-child{background:var(--s-paper)}
.cmp tbody td{font-size:var(--fs-14)}
.cmp-yes{color:var(--s-ok-ink);font-weight:600}
.cmp tr.is-us th,.cmp tr.is-us td{background:var(--s-ember-soft)}
.cmp tr.is-us th{color:var(--s-ember-deep)}
.cmp-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:36px}
.cmp-notes h3{font-size:var(--fs-16);margin-bottom:12px}
.cmp-notes .site-list{margin-top:0}
.cmp-notes .site-list li{font-size:var(--fs-14);line-height:1.55}
@media(max-width:900px){.cmp-notes{grid-template-columns:1fr;gap:24px}}

/* ---- the hero, restaged (lane w10-landing) -------------------------------- */
/* The h1 is the LCP element, so it is TEXT, not an image: it paints on the first frame with no
   download and no swap to wait for. The stage below it carries the product. */
.site-hero-lede{display:block;padding:72px 0 96px}
.site-hero-lede .site-hero-copy{max-width:820px}
.site-hero-lede h1{max-width:19ch;margin:0 0 24px;font-size:clamp(38px,4.9vw,64px);line-height:1.06;letter-spacing:-.032em}
.site-hero-lede .site-lede{max-width:62ch;font-size:var(--fs-title-2)}
.site-hero-lede .site-actions{margin-top:28px}
.site-hero-foot{margin-top:0}
/* --e is the hero's exit progress, written by stage.js. It only touches what is already leaving. */
.site-hero-lede .st{
  opacity:calc(1 - var(--e,0) * .35);
  transform:translateY(calc(var(--e,0) * -14px));
}
.site-hero-lede .st-note{opacity:calc(1 - var(--e,0) * .6)}
.site-section-tight{padding-top:72px}
@media(max-width:760px){
  .site-hero-lede{padding:40px 0 64px}
  .site-hero-lede h1{font-size:clamp(32px,8.6vw,42px);max-width:none;line-height:1.12}
  .site-hero-lede .site-lede{font-size:var(--fs-title-3)}
  .site-hero-lede .site-actions{margin-top:22px}
  .site-section-tight{padding-top:48px}
}
/* CJK breaks anywhere, so an English-derived ch measure splits a Chinese headline mid-phrase
 * ("…每一种语 / 言，…"). The line is measured in EM instead, so zh breaks at the punctuation and the
 * two lines are 10 + 6 characters, which is how a Chinese headline is set.
 *
 * Two rules are needed, and both were measured on the rendered line boxes (Chromium 1228, 1440/820/390):
 * the em measure alone does NOT do it. `text-wrap: balance` (site.css h1/h2, which is right for Latin
 * because it can only break at spaces) pulls characters up to even out the ragged edge, and a CJK line
 * may break between ANY two Han characters, so balance reproduced exactly the mid-word split the em
 * measure exists to prevent: 11em + balance rendered "房间里的每一种语" / "言，边说边听懂。" at every
 * width. With balance off, the clause holds to the comma, and 11em starts pulling "边" onto the first line.
 *
 * The measure is 10.5em, not 10em. Exactly 10em only fits ten glyphs when every advance is exactly
 * 1em: a renderer that rounds the advance to a whole pixel (measured on tx-nj4, WenQuanYi Zen Hei,
 * 33.54px type drawn at 34px per glyph) needs 340px for a 335.39px box, and the split came back
 * ("房间里的每一种语 / 言，…" at 390 and 430). Half an em of slack absorbs that rounding and is still
 * half an em short of an eleventh glyph. */
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3{text-wrap:wrap}
html[lang="zh-CN"] .site-hero-lede h1{max-width:10.5em;line-height:1.28;letter-spacing:0}
html[lang="zh-CN"] .site-hero-lede .site-lede{max-width:30em}
/* On a phone the column, not the measure, is the limit: at 320 the 32px floor needs 320px for the
 * clause and the column is 288px, so the headline split mid-word whatever the measure said. The type
 * steps down just far enough for ten glyphs (plus rounding) to fit the column: (100vw - 32px gutters)
 * over 10.4. From 375 up the ordinary clamp is the smaller value and nothing changes. */
@media(max-width:760px){
  html[lang="zh-CN"] .site-hero-lede h1{font-size:min(clamp(32px,8.6vw,42px),calc((100vw - 32px) / 10.4))}
}

/* A reduce-motion visitor gets no hand-off motion either — the stage simply stays put. */
@media(prefers-reduced-motion:reduce){
  .site-hero-lede .st,.site-hero-lede .st-note{opacity:1;transform:none}
}
html.site-no-motion .site-hero-lede .st,html.site-no-motion .site-hero-lede .st-note{opacity:1;transform:none}

/* The brand's listening mark, beside the "Live" word in the stage's title bar. The SVG carries its own
   idle/live state and its own reduced-motion handling; this only sets the box. */
.st-mark{width:18px;height:18px;flex:none;display:block}
.st-mark svg{display:block;width:100%;height:100%}
.st-live{display:inline-flex;align-items:center;gap:7px}
