:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --ink: #192024;
  --muted: #5e686d;
  --hairline: #dce1e2;
  --copper: #985334;
  --teal: #527575;
  --nav-fg: #536066;
  --hero-lede: #445158;
  --selection-bg: #e9ded8;
  --shot-bg: #f0f2f3;
  --dot-border: #a6b0b4;
  --header-bg: rgba(255,255,255,.88);
  --header-bg-scrolled: rgba(255,255,255,.94);
  --nav-bg: rgba(255,255,255,.96);
  --button-radius: 999px;
  --button-surface: #fff;
  --button-surface-hover: #f5f6f6;
  --button-border: var(--ink);
  --button-fg: var(--ink);
  --button-solid: var(--ink);
  --button-solid-hover: #344147;
  --button-solid-fg: #fff;
  --button-shine: rgba(255,255,255,.22);
  --film-radius: clamp(20px, 3vw, 34px);
  --film-surface: transparent;
  --logo-filter: none;
  --shadow-rgb: 25,32,36;
  --container: 1180px;
  --header-h: 78px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

:root:is([data-theme="dark"], [data-theme="night"]),
body:is([data-theme="dark"], [data-theme="night"], .is-dark, .is-night) {
  color-scheme: dark;
  --bg: #101314;
  --surface: #151a1c;
  --ink: #f2f6f5;
  --muted: #a7b2b6;
  --hairline: #2e373b;
  --nav-fg: #a7b2b6;
  --hero-lede: #bac5c8;
  --selection-bg: #253735;
  --shot-bg: #151a1c;
  --dot-border: #667579;
  --header-bg: rgba(16,19,20,.82);
  --header-bg-scrolled: rgba(16,19,20,.94);
  --nav-bg: rgba(16,19,20,.96);
  --button-surface: rgba(255,255,255,.03);
  --button-surface-hover: rgba(255,255,255,.09);
  --button-border: rgba(242,246,245,.78);
  --button-fg: var(--ink);
  --button-solid: #f2f6f5;
  --button-solid-hover: #dce7e4;
  --button-solid-fg: #101314;
  --button-shine: rgba(16,19,20,.13);
  --film-surface: #101314;
  --logo-filter: invert(1) brightness(1.08);
  --shadow-rgb: 0,0,0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101314;
    --surface: #151a1c;
    --ink: #f2f6f5;
    --muted: #a7b2b6;
    --hairline: #2e373b;
    --nav-fg: #a7b2b6;
    --hero-lede: #bac5c8;
    --selection-bg: #253735;
    --shot-bg: #151a1c;
    --dot-border: #667579;
    --header-bg: rgba(16,19,20,.82);
    --header-bg-scrolled: rgba(16,19,20,.94);
    --nav-bg: rgba(16,19,20,.96);
    --button-surface: rgba(255,255,255,.03);
    --button-surface-hover: rgba(255,255,255,.09);
    --button-border: rgba(242,246,245,.78);
    --button-fg: var(--ink);
    --button-solid: #f2f6f5;
    --button-solid-hover: #dce7e4;
    --button-solid-fg: #101314;
    --button-shine: rgba(16,19,20,.13);
    --film-surface: #101314;
    --logo-filter: invert(1) brightness(1.08);
    --shadow-rgb: 0,0,0;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
/* Seven notes from SANDR's palette; the paper and main typography stay neutral. */
body.page-home { --page-accent: #bd441f; }
body.page-product { --page-accent: #06766e; }
body.page-method { --page-accent: #8f6500; }
body.page-pricing { --page-accent: #7a3f9c; }
body.page-trust { --page-accent: #2468b5; }
body.page-about { --page-accent: #2f7639; }
body.page-contact { --page-accent: #c43b35; }
body.page-beta { --page-accent: #985334; }
body.page-help { --page-accent: #08766d; }
body.page-privacy { --page-accent: #2468b5; }
body.page-terms { --page-accent: #7a3f9c; }
body.page-security { --page-accent: #276b75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--selection-bg); color: var(--ink); }
:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 10px 14px; background: var(--button-solid); color: var(--button-solid-fg); }
.skip-link:focus { top: 12px; }

.site-header { --header-h: 78px; position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--hairline); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { width: 128px; height: auto; filter: var(--logo-filter); }
.nav { display: flex; align-items: center; gap: clamp(15px,1.8vw,27px); height: 100%; white-space: nowrap; }
.nav a { display: inline-flex; align-items: center; height: 100%; border-bottom: 1px solid transparent; padding-top: 1px; color: var(--nav-fg); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .18s ease, border-color .18s ease; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { border-bottom-color: var(--page-accent); }
.nav .nav-beta { display: none; }
.external-mark { margin-left: 3px; font-size: 12px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.header-login { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-login:hover { color: var(--page-accent); }
.menu-toggle { display: none; }

[data-soft-interaction] { --soft-x: 0px; --soft-y: 0px; --soft-scale: 1; --icon-x: 0px; --icon-y: -1px; --icon-r: 0deg; transform-origin: center; -webkit-tap-highlight-color: transparent; }
a[data-soft-interaction], button[data-soft-interaction], [role="slider"][data-soft-interaction] { transform: translate3d(var(--soft-x), var(--soft-y), 0) scale(var(--soft-scale)); will-change: transform; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.soft-inline { display: inline-flex; align-items: center; gap: .35em; vertical-align: baseline; }
.ui-icon { --icon-x: 2px; --icon-y: -1px; --icon-r: 0deg; flex: none; width: 1em; height: 1em; display: inline-flex; align-items: center; justify-content: center; color: currentColor; line-height: 1; transform-origin: 50% 50%; transition: transform .45s var(--spring), opacity .2s ease; }
.ui-icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
[data-icon="arrow-up-right"] { --icon-x: 3px; --icon-y: -3px; --icon-r: 5deg; }
[data-icon="arrow-right"] { --icon-x: 4px; --icon-y: 0px; --icon-r: 0deg; }
[data-icon="arrow-down"] { --icon-x: 0px; --icon-y: 4px; --icon-r: 0deg; }
[data-icon="arrow-left"] { --icon-x: -4px; --icon-y: 0px; --icon-r: 0deg; }
[data-icon="close"] { --icon-x: 0px; --icon-y: 0px; --icon-r: 90deg; }
[data-soft-interaction] > svg { transform-origin: center; transition: transform .45s var(--spring); }
[data-soft-interaction].is-soft-hover .ui-icon, [data-soft-interaction].is-soft-hover > svg { transform: translate3d(var(--icon-x), var(--icon-y), 0) rotate(var(--icon-r)) scale(1.08); }
[data-soft-interaction].is-soft-pressed .ui-icon, [data-soft-interaction].is-soft-pressed > svg { transform: translate3d(0, 1px, 0) scale(.86); }
[data-soft-interaction].is-soft-release .ui-icon, [data-soft-interaction].is-soft-release > svg { animation: icon-release .46s var(--spring); }
@keyframes icon-release { 0% { transform: translate3d(0, 1px, 0) scale(.9); } 55% { transform: translate3d(var(--icon-x), var(--icon-y), 0) rotate(var(--icon-r)) scale(1.2); } 100% { transform: translate3d(var(--icon-x), var(--icon-y), 0) rotate(var(--icon-r)) scale(1.08); } }

.button, .button[data-soft-interaction] { position: relative; overflow: hidden; transform: translate3d(calc(var(--mx,0px) + var(--soft-x,0px)), calc(var(--my,0px) + var(--lift,0px) + var(--soft-y,0px)), 0) scale(var(--soft-scale,1)); min-height: 50px; display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 12px 20px; border: 1px solid var(--button-border); border-radius: var(--button-radius); background: var(--button-bg, var(--button-surface)); color: var(--button-fg); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .42s var(--spring), background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { --lift: -2px; --button-bg: var(--button-surface-hover); }
.button:active { --lift: 0px; }
.button:visited { color: var(--button-fg); }
.button-dark { --button-bg: var(--button-solid); --button-border: var(--button-solid); --button-fg: var(--button-solid-fg); }
.button-dark:hover { --button-bg: var(--button-solid-hover); --button-border: var(--button-solid-hover); }
.button-small { min-height: 39px; gap: 18px; padding: 8px 13px; font-size: 12px; }
.header-actions .button-small { min-height: 39px; gap: 10px; padding: 8px 15px; border: 1px solid var(--button-border); border-radius: var(--button-radius); background: var(--button-bg); color: var(--button-fg); }
.header-actions .button-small:hover { --lift: -1px; --button-bg: var(--button-solid-hover); --button-border: var(--button-solid-hover); color: var(--button-fg); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--page-accent); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--page-accent); font: 500 10px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: block; width: 25px; height: 1px; background: currentColor; }
.eyebrow-masthead { width: 100%; gap: clamp(12px, 2vw, 24px); min-height: 31px; }
.eyebrow-masthead::before { display: none; }
.eyebrow-label { flex: 0 1 auto; min-width: 0; }
.eyebrow-rule { flex: 1 1 auto; min-width: 18px; height: 1px; background: linear-gradient(90deg, var(--page-accent) 0 22%, var(--hairline) 22% 100%); }
.eyebrow-grape { flex: none; width: 22px; height: 30px; color: var(--page-accent); overflow: visible; }
.hero { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.75fr); align-items: center; gap: clamp(50px,7vw,120px); padding-block: clamp(64px,8svh,96px); }
.hero-copy h1, .page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(46px,5.3vw,78px); font-weight: 500; letter-spacing: -.065em; line-height: 1.03; text-wrap: balance; }
.hero-lede { max-width: 590px; margin: 32px 0 0; color: var(--hero-lede); font-size: clamp(17px,1.45vw,20px); line-height: 1.55; }
.hero-note { margin: 32px 0 0; color: var(--muted); font-size: 12px; }
.hero-process { align-self: center; padding: 24px 0 0 30px; border-left: 1px solid var(--hairline); }
.process-label, .mini-label, .feature-number { color: var(--page-accent); font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.hero-process ol { list-style: none; padding: 20px 0 0; margin: 0; }
.hero-process li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hairline); font-size: 20px; font-weight: 500; line-height: 1.3; }
.process-number { color: var(--page-accent); font: 500 11px/1.4 var(--font-mono); }
.process-foot { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.section { padding-block: clamp(64px,8vw,104px); background: var(--bg); }
main > .section { min-height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0,1fr); align-content: center; }
.section-intro { max-width: 800px; margin-bottom: 54px; }
.section-intro h2, .closing-section h2 { margin: 0; font-size: clamp(35px,4vw,55px); line-height: 1.12; font-weight: 500; letter-spacing: -.052em; text-wrap: balance; }
.section-intro-split { max-width: none; display: grid; grid-template-columns: 1.2fr .7fr; gap: 90px; align-items: end; }
.section-intro-split p:not(.eyebrow) { max-width: 410px; margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.section-intro-link { margin-top: 26px; }
.product-shot { margin: 0; }
.product-shot img { display: block; width: 100%; height: auto; background: var(--shot-bg); }
.product-shot-link { display: block; overflow: hidden; border: 1px solid var(--hairline); border-radius: clamp(16px, 2vw, 24px); }
.product-shot-link img { transition: transform .35s ease; }
html:not(.motion) .product-shot-link:hover img { transform: scale(1.012); }
.product-shot figcaption { margin-top: 13px; color: var(--muted); font-size: 11px; }
.product-shot figcaption a { color: var(--ink); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.product-shot-laptop { perspective: 1400px; }
.product-shot-laptop .laptop-scene { position: relative; padding-top: 2px; perspective: 1400px; }
.product-shot-laptop .laptop-lid { position: relative; padding: 12px 10px 9px; border: 1px solid #555d61; border-bottom-color: #777e81; border-radius: 16px 16px 5px 5px; background: linear-gradient(145deg, #303639, #171b1d 58%, #101416); box-shadow: inset 0 1px 0 rgba(255,255,255,.19), 0 2px 5px rgba(0,0,0,.35); transform-origin: 50% 100%; backface-visibility: hidden; }
.product-shot-laptop .laptop-lid::before { content: ""; position: absolute; top: 4px; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: #6d7779; box-shadow: 0 0 0 1px #151a1c; transform: translateX(-50%); }
.product-shot-laptop .product-shot-link { border: 0; border-radius: 6px 6px 3px 3px; background: var(--shot-bg); }
.product-shot-laptop .product-shot-link:hover img { transform: none; }
.product-shot-laptop .laptop-base { position: relative; left: -4%; width: 108%; height: 15px; margin-top: -1px; border: 1px solid #687073; border-radius: 2px 2px 48% 48% / 2px 2px 12px 12px; background: linear-gradient(#626a6d 0%, #343a3d 32%, #222729 78%, #444b4e 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 5px 10px rgba(0,0,0,.25); }
.product-shot-laptop .laptop-base::before { content: ""; position: absolute; top: 0; left: 42%; width: 16%; height: 4px; border-radius: 0 0 5px 5px; background: #1a1f21; box-shadow: inset 0 -1px 0 rgba(255,255,255,.18); }
.motion .product-shot-laptop[data-reveal] { opacity: 1; transform: none; transition: none; }
.motion .product-shot-laptop .laptop-lid { transform: rotateX(-86deg); transition: transform .7s cubic-bezier(.18,.72,.15,1); }
.motion .product-shot-laptop.is-laptop-open .laptop-lid { transform: rotateX(0); }
.workspace-gallery-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.workspace-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.workspace-tabs button { min-height: 38px; padding: 7px 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font: 500 11px/1.4 var(--font-body); cursor: pointer; }
.workspace-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--hairline); color: var(--ink); }
.workspace-tabs button:hover { color: var(--ink); }
.workspace-tabs button:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 2px; }
.workspace-full-size { display: inline-flex; gap: 6px; align-items: center; min-height: 38px; }
.story-linkline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 30px; margin-top: 29px; padding-top: 19px; border-top: 1px solid var(--hairline); }
.story-linkline > span { color: var(--muted); font-size: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--hairline); }
.feature { padding: 26px 42px 0 0; }
.feature + .feature { border-left: 1px solid var(--hairline); padding-left: 42px; }
.feature h3, .people-grid h3 { margin: 40px 0 13px; max-width: 320px; font-size: clamp(24px,2.4vw,31px); font-weight: 500; letter-spacing: -.047em; line-height: 1.16; }
.feature p, .people-grid p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
#how-it-works .section-intro { max-width: 880px; margin-inline: auto; text-align: center; }
#how-it-works .section-intro .eyebrow { justify-content: center; }
#how-it-works .feature-grid { max-width: 1100px; margin-inline: auto; gap: clamp(14px, 2.5vw, 32px); border-top: 0; }
#how-it-works .feature, #how-it-works .feature + .feature { padding: 0 12px; border: 0; text-align: center; }
#how-it-works .feature-number { position: relative; display: grid; justify-items: center; gap: 3px; padding-top: 16px; }
#how-it-works .feature-number::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--hairline); }
#how-it-works .feature-number-digit { font: 500 clamp(48px, 6vw, 76px)/1 var(--font-body); letter-spacing: -.09em; }
#how-it-works .feature-number-label { font: 500 10px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
#how-it-works .feature h3 { max-width: 300px; margin: 16px auto 10px; }
#how-it-works .feature p { margin-inline: auto; }
.motion #how-it-works .feature[data-reveal] { opacity: 1; transform: none; transition: none; }
.motion #how-it-works .feature-number-digit { opacity: 0; transform: translate3d(0, 14px, 0) scale(.88); filter: blur(2px); transition: opacity .45s ease var(--d, 0ms), transform .7s var(--spring) var(--d, 0ms), filter .5s ease var(--d, 0ms); }
.motion #how-it-works .feature.is-in .feature-number-digit { opacity: 1; transform: none; filter: none; }
.motion #how-it-works .feature-number-label, .motion #how-it-works .feature h3, .motion #how-it-works .feature p { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .55s ease calc(var(--d, 0ms) + 180ms), transform .65s var(--ease) calc(var(--d, 0ms) + 180ms); }
.motion #how-it-works .feature.is-in .feature-number-label, .motion #how-it-works .feature.is-in h3, .motion #how-it-works .feature.is-in p { opacity: 1; transform: none; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--hairline); }
.people-grid article { padding: 27px 70px 10px 0; }
.people-grid article + article { border-left: 1px solid var(--hairline); padding-left: 70px; }
.people-grid h3 { max-width: 450px; margin-top: 45px; }
.people-grid p { max-width: 470px; }
#teams .section-intro-split { max-width: 920px; margin-inline: auto; grid-template-columns: 1fr; gap: 20px; align-items: center; text-align: center; }
#teams .section-intro-split .eyebrow { justify-content: center; }
#teams .section-intro-split p:not(.eyebrow) { max-width: 620px; margin: 0 auto; }
#teams .people-grid { max-width: 1100px; margin-inline: auto; gap: clamp(42px, 7vw, 96px); border-top: 0; }
#teams .people-grid article, #teams .people-grid article + article { padding: 16px 0 10px; border: 0; }
.closing-section { padding-block: clamp(72px,8vw,110px); }
.closing-inner { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.closing-inner p:not(.eyebrow) { max-width: 510px; margin: 20px 0 0; color: var(--muted); }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 5px; }
.site-footer { padding-block: 35px 42px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px 36px; align-items: center; }
.footer-brand img { width: 105px; height: auto; filter: var(--logo-filter); }
.footer-inner p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-inner p a { color: var(--ink); text-decoration: none; }
.footer-inner p a:hover { color: var(--page-accent); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-inner nav a { color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.footer-inner nav a:hover { color: var(--page-accent); }
.footer-inner small { grid-column: 1 / -1; margin-top: 25px; color: var(--muted); font-size: 11px; }
.footer-inner small a { text-underline-offset: 3px; }

/* Home hero: a live film (films/directors-cut.embed.js) that ends on the page's own copy. The band fills the viewport and runs
   under the header; the 16:9 frame is centred in it. On wide screens the copy sits in the film's empty left half, sized in film
   pixels (1 film px = 100cqw / 1920), and waits for the closing scene; on narrower screens the headline takes its place in the
   closing frame and the rest of the copy follows the film. */
.hero-film { position: relative; min-height: 100svh; margin-top: calc(-1 * var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.hf-frame { position: relative; width: min(100%, 1920px, calc(100svh * 16 / 9)); margin-inline: auto; container-type: inline-size; }
.hf-stage { position: relative; aspect-ratio: 16 / 9; }
.hf-canvas { display: block; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; }
/* controls stay out of sight: hover shows them on a desktop, a tap on a touch screen, focus for the keyboard */
.hf-controls { position: absolute; z-index: 2; right: clamp(12px, 1.6cqw, 28px); bottom: clamp(12px, 1.6cqw, 28px); display: flex; gap: 6px; opacity: 0; pointer-events: none; transform: translate3d(0, 6px, 0); transition: opacity .3s ease, transform .45s var(--spring); }
@media (hover: hover) { .hero-film.is-live .hf-stage:hover .hf-controls { opacity: 1; pointer-events: auto; transform: none; } }
.hero-film.is-live.show-controls .hf-controls, .hero-film.is-live .hf-controls:focus-within { opacity: 1; pointer-events: auto; transform: none; }
.hf-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; background: color-mix(in srgb, var(--bg) 78%, transparent); color: var(--ink); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--spring), border-color .2s ease; }
.hf-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.hf-btn[hidden] { display: none; }
.hf-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hf-btn .hf-i-play { fill: currentColor; stroke: none; }
.hf-btn[data-hf="skip"] svg path { fill: none; }
.hf-btn[data-hf="toggle"]:not(.is-paused) .hf-i-play, .hf-btn[data-hf="toggle"].is-paused .hf-i-pause { display: none; }
.hf-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.hero-film.is-live:not(.is-ended) .hf-progress { opacity: .45; }
.hf-progress i { display: block; height: 100%; background: var(--page-accent); transform: scaleX(0); transform-origin: left; }
.hf-copy { --u: calc(100cqw / 1920); }
.hf-copy h1 { margin: 0; font-weight: 500; letter-spacing: -.065em; line-height: 1.05; }
@media (min-width: 1100px) {
  .hf-copy { position: absolute; z-index: 1; left: calc(120 * var(--u)); top: 0; bottom: 0; width: calc(780 * var(--u)); display: flex; flex-direction: column; justify-content: safe center; padding-top: calc(40 * var(--u)); pointer-events: none; }
  .hf-copy-in { display: contents; }
  .hf-copy-in > * { pointer-events: auto; }
  .hf-copy .eyebrow { gap: calc(16 * var(--u)); margin: 0 0 calc(40 * var(--u)); font-size: max(10px, calc(15 * var(--u))); }
  .hf-copy .eyebrow::before { width: calc(34 * var(--u)); }
  .hf-copy h1 { font-size: calc(84 * var(--u)); white-space: nowrap; }
  .hf-copy .hero-lede { max-width: calc(660 * var(--u)); margin: calc(44 * var(--u)) 0 0; font-size: max(15px, calc(24 * var(--u))); line-height: 1.5; }
  .hf-copy .button-row { gap: calc(34 * var(--u)); margin-top: calc(56 * var(--u)); }
  .hf-copy .button { min-height: max(44px, calc(62 * var(--u))); gap: calc(30 * var(--u)); padding-inline: max(18px, calc(24 * var(--u))); font-size: max(14px, calc(18 * var(--u))); }
  .hf-copy .text-link { font-size: max(14px, calc(18 * var(--u))); }
  .hf-copy .hero-note { max-width: calc(620 * var(--u)); margin: calc(48 * var(--u)) 0 0; font-size: max(12px, calc(14 * var(--u))); line-height: 1.55; }
  /* while the film plays the copy waits for its closing scene, then arrives in order */
  .hf-copy-in > * { transition: opacity .7s var(--ease) var(--hd, 0ms), transform .9s var(--ease) var(--hd, 0ms); }
  .hf-copy-in > :nth-child(3) { --hd: 520ms; } .hf-copy-in > :nth-child(4) { --hd: 820ms; } .hf-copy-in > :nth-child(5) { --hd: 1100ms; }
  .hero-film.is-live:not(.is-hero) .hf-copy-in > * { opacity: 0; transform: translate3d(0, 14px, 0); pointer-events: none; transition-duration: .25s; transition-delay: 0ms; }
  .hero-film.is-live:not(.is-hero) .hf-copy h1 { transform: none; opacity: 1; }
}
@media (max-width: 1099.98px) {
  /* the band keeps clear of the header, so the film never slides under it */
  .hero-film { padding-top: var(--header-h); }
  .hf-copy { display: grid; grid-template-rows: 1fr; width: min(var(--container), calc(100% - 72px)); margin-inline: auto; transition: grid-template-rows 1s var(--ease) .35s; }
  .hf-copy-in { min-height: 0; overflow: hidden; padding-block: clamp(24px, 5vw, 44px) clamp(56px, 9vw, 88px); transition: opacity .8s ease .55s; }
  /* the headline keeps its place in the film's closing frame, left of the devices, as on wide screens;
     the rest of the copy follows the film at a readable size */
  .hf-copy h1 { position: absolute; z-index: 1; left: calc(120 * var(--u)); top: calc(540 * var(--u)); width: calc(740 * var(--u)); translate: 0 -50%; font-size: calc(112 * var(--u)); line-height: 1.02; pointer-events: none; }
  .hf-copy .eyebrow { margin-bottom: 18px; }
  .hf-copy .hero-lede { margin-top: 0; }
  .hf-copy .hero-note { margin-top: 24px; }
  /* first view: the film alone, centred; the copy unfolds under it when the film ends */
  .hf-intro .hf-copy { grid-template-rows: 0fr; transition-delay: 0s; }
  .hf-intro .hf-copy-in { opacity: 0; transition-delay: 0s; }
}
@media (max-width: 720px) { .hf-copy { width: calc(100% - 40px); } .hf-controls { right: 8px; bottom: 8px; gap: 4px; } .hf-btn { width: 28px; height: 28px; } .hf-btn svg { width: 12px; height: 12px; } }

/* First view of the home page: the film plays alone. The header and the rest of the page wait for it and arrive after its
   closing copy, on the same rhythm: the header slides down overlapping the copy's last beat, its links rise in turn, then the
   page fades up. Skipping (the control, or a scroll, swipe or key) ends it at once. */
html.hf-intro, html.hf-intro body { overflow: hidden; }
html.hf-intro .site-header { transform: translate3d(0, -100%, 0); opacity: 0; visibility: hidden; }
html.hf-intro .hf-copy { visibility: hidden; }
html.hf-intro main > :not(.hero-film), html.hf-intro .site-footer { opacity: 0; visibility: hidden; }
html.hf-revealing .site-header { transition: transform 1s var(--ease) .8s, opacity .5s ease .8s, visibility 0s linear .8s; }
html.hf-revealing .brand, html.hf-revealing .nav a, html.hf-revealing .header-actions > * { animation: hf-rise .8s var(--ease) both; animation-delay: calc(.95s + var(--n, 0) * 60ms); }
html.hf-revealing .header-actions .button-small { animation-name: hf-pop; animation-timing-function: var(--spring); }
html.hf-revealing main > :not(.hero-film), html.hf-revealing .site-footer { transition: opacity .9s ease 1.5s, visibility 0s linear 1.5s; }
@keyframes hf-rise { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }
@keyframes hf-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

.page-hero { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding-block: clamp(64px,8svh,96px); }
.page-hero h1 { max-width: 850px; }
.page-hero .hero-lede { max-width: 650px; }
.product-showcase { padding-block: 65px 100px; }
.showcase-heading { display: grid; grid-template-columns: 1.15fr .8fr; column-gap: 90px; align-items: end; margin-bottom: 38px; }
.showcase-heading .eyebrow { grid-column: 1 / -1; }
.showcase-heading h2 { max-width: 680px; margin: 0; font-size: clamp(35px,4vw,55px); line-height: 1.12; font-weight: 500; letter-spacing: -.052em; text-wrap: balance; }
.showcase-heading p:not(.eyebrow) { max-width: 420px; margin: 0 0 4px; color: var(--muted); }
.showcase-index { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 40px; border-top: 1px solid var(--hairline); }
.showcase-index span { padding: 18px 22px 0 0; font-size: 14px; font-weight: 600; }
.showcase-index span + span { padding-left: 22px; border-left: 1px solid var(--hairline); }
.showcase-index b { margin-right: 12px; color: var(--page-accent); font: 500 10px var(--font-mono); }
.product-rows { padding-top: 0; border-top: 0; }
.product-row { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; padding: 54px 0; border-top: 1px solid var(--hairline); }
.product-row h2 { max-width: 600px; margin: 30px 0 0; font-size: clamp(30px,3.5vw,46px); font-weight: 500; letter-spacing: -.052em; line-height: 1.14; }
.product-row p { max-width: 450px; margin: 37px 0 0; color: var(--muted); font-size: 17px; }

.concept-note { max-width: 690px; margin: 34px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.concept-note a, .pricing-footnote a { color: var(--ink); text-underline-offset: 3px; }
.pricing-hero, .method-hero { max-width: none; }
.pricing-hero .hero-lede, .method-hero .hero-lede { max-width: 720px; }
.plan-section { padding-top: 82px; }
.plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.plan-card { display: flex; flex-direction: column; min-width: 0; padding: 27px 25px 29px; }
.plan-card:first-child { padding-left: 0; }
.plan-card:last-child { padding-right: 0; }
.plan-card + .plan-card { border-left: 1px solid var(--hairline); }
.plan-card-featured { border-top: 2px solid var(--page-accent); }
.plan-index { margin: 0 0 32px; color: var(--page-accent); font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.plan-card h3 { margin: 0; font-size: 29px; font-weight: 500; letter-spacing: -.05em; }
.plan-description { min-height: 82px; max-width: 230px; margin: 9px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 0 0 26px; white-space: nowrap; }
.plan-price strong { font-size: clamp(32px,3vw,43px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 12px; }
.plan-card ul { min-height: 154px; padding: 17px 0 0; margin: 0 0 24px; border-top: 1px solid var(--hairline); list-style: none; }
.plan-card li { position: relative; padding: 0 0 8px 14px; font-size: 13px; line-height: 1.45; }
.plan-card li::before { content: "·"; position: absolute; left: 0; color: var(--page-accent); font-weight: 700; }
.plan-cta { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: auto; padding: 13px 0 0; border-top: 1px solid var(--hairline); font-size: 13px; font-weight: 700; text-decoration: none; }
.plan-cta:hover { color: var(--page-accent); }
.pricing-footnote { max-width: 950px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.plan-card .plan-price { margin-bottom: 8px; }
.plan-yearly { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.plan-yearly strong { color: var(--ink); font-weight: 700; }
.pricing-extra-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pricing-extra-grid article { padding: 25px 25px 22px; }
.pricing-extra-grid article:first-child { padding-left: 0; }
.pricing-extra-grid article + article { border-left: 1px solid var(--hairline); }
.pricing-extra-grid article > strong { display: block; margin: 26px 0 12px; font-size: clamp(29px, 3vw, 40px); font-weight: 500; letter-spacing: -.05em; }
.pricing-extra-grid article > strong small { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.pricing-extra-grid article p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pricing-rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.pricing-rate-grid dl { margin: 0; border-top: 1px solid var(--hairline); }
.pricing-rate-grid dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 12px; line-height: 1.35; }
.pricing-rate-grid dt { color: var(--muted); }
.pricing-rate-grid dd { flex: none; margin: 0; font-weight: 700; }
.trial-layout { display: grid; grid-template-columns: 1.1fr .8fr; gap: 110px; align-items: end; }
.trial-layout h2 { max-width: 620px; margin: 0; font-size: clamp(35px,4vw,55px); line-height: 1.12; font-weight: 500; letter-spacing: -.052em; }
.trial-layout > div:last-child p { max-width: 460px; margin: 0 0 25px; color: var(--muted); font-size: 17px; }

.method-chain { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); padding: 0; margin: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); list-style: none; }
.method-chain li { position: relative; padding: 21px 10px 23px 0; font-size: 13px; font-weight: 600; }
.method-chain li + li { padding-left: 13px; border-left: 1px solid var(--hairline); }
.method-chain li::before { content: "0" counter(method-step); display: block; margin-bottom: 30px; color: var(--page-accent); font: 500 10px var(--font-mono); }
.method-chain { counter-reset: method-step; }
.method-chain li { counter-increment: method-step; }
.method-chain-note { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.rule-list { border-top: 1px solid var(--hairline); }
.rule-row { display: grid; grid-template-columns: 54px 1fr 1.05fr; gap: 25px; align-items: start; padding: 29px 0; border-bottom: 1px solid var(--hairline); }
.rule-row > span { padding-top: 7px; color: var(--page-accent); font: 500 11px var(--font-mono); }
.rule-row h3 { max-width: 420px; margin: 0; font-size: clamp(23px,2.5vw,31px); font-weight: 500; line-height: 1.2; letter-spacing: -.045em; }
.rule-row p { max-width: 480px; margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.example-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--hairline); }
.example-grid article { min-width: 0; padding: 22px 28px 0 0; }
.example-grid article + article { padding-left: 28px; border-left: 1px solid var(--hairline); }
.example-grid p { max-width: 280px; min-height: 125px; margin: 24px 0 0; font-size: 17px; line-height: 1.45; }
.example-disclaimer { margin: 30px 0 0; color: var(--muted); font-size: 12px; }

.document-links { border-top: 1px solid var(--hairline); }
.document-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; }
.document-links a:hover strong, .document-links a:focus-visible strong { color: var(--page-accent); }
.document-links strong { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.document-links span { color: var(--muted); font-size: 13px; text-align: right; }
.trust-documents .section-intro p:not(.eyebrow) { max-width: 590px; margin: 20px 0 0; color: var(--muted); }
.editorial-grid { display: grid; grid-template-columns: .45fr 1fr; gap: clamp(40px,8vw,130px); }
.editorial-grid .eyebrow { align-self: start; }
.editorial-grid h2, .about-founder h2 { max-width: 760px; margin: 0 0 30px; font-size: clamp(35px,4vw,55px); line-height: 1.12; font-weight: 500; letter-spacing: -.052em; text-wrap: balance; }
.editorial-grid p:not(.eyebrow) { max-width: 750px; margin: 0 0 23px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.about-founder p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.contact-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--hairline); }
.contact-options article { padding: 28px 65px 15px 0; }
.contact-options article + article { padding-left: 65px; border-left: 1px solid var(--hairline); }
.contact-options h3 { max-width: 440px; margin: 40px 0 15px; font-size: clamp(27px,3vw,39px); line-height: 1.15; font-weight: 500; letter-spacing: -.05em; }
.contact-options p { max-width: 450px; min-height: 100px; color: var(--muted); font-size: 16px; }
.contact-options .text-link { margin-top: 10px; }
.contact-note .button-row { margin-top: 12px; }

@media (max-width: 950px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; width: auto; height: auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 36px 25px; background: var(--nav-bg); border-bottom: 1px solid var(--hairline); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 34px -32px rgba(var(--shadow-rgb),.5); }
  .nav.is-open { display: flex; }
  .nav a { height: 50px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
  .nav .nav-beta { display: inline-flex; }
  .nav a[aria-current] { border-bottom-color: var(--page-accent); }
  .menu-toggle { display: inline-flex; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); }
  .hero { min-height: calc(100svh - var(--header-h)); grid-template-columns: 1fr; gap: 70px; padding-block: 82px; }
  .hero-process { width: min(100%,650px); }
  .section-intro-split { grid-template-columns: 1fr; gap: 20px; }
  #see-it .see-it-layout { width: calc(100% - 72px); grid-template-columns: 1fr; gap: 30px; }
  #see-it .see-it-copy { max-width: 720px; }
  #see-it .see-it-copy p:not(.eyebrow) { max-width: 600px; }
  .showcase-heading { grid-template-columns: 1fr; gap: 20px; }
  .showcase-heading .eyebrow { grid-column: 1; }
  .feature { padding-right: 24px; }
  .feature + .feature { padding-left: 24px; }
  .people-grid article { padding-right: 35px; }
  .people-grid article + article { padding-left: 35px; }
  .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plan-card, .plan-card:first-child, .plan-card:last-child { padding: 27px 28px 29px; }
  .plan-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--hairline); }
  .plan-card:nth-child(4) { border-top: 1px solid var(--hairline); }
  .plan-description, .plan-card ul { min-height: 0; }
  .trial-layout { grid-template-columns: 1fr; gap: 30px; }
  .method-chain { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .method-chain li:nth-child(5) { border-left: 0; }
  .method-chain li:nth-child(n+5) { border-top: 1px solid var(--hairline); }
  .example-grid { grid-template-columns: repeat(2,1fr); }
  .example-grid article:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .example-grid article:nth-child(4) { border-top: 1px solid var(--hairline); }
  .editorial-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-options article { padding-right: 30px; }
  .contact-options article + article { padding-left: 30px; }
}

@media (max-width: 650px) {
  :root { --header-h: 66px; }
  .site-header { --header-h: 66px; }
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  .container { width: calc(100% - 36px); }
  .header-inner { height: 66px; gap: 12px; }
  .brand img { width: 108px; }
  .header-login { display: none; }
  .button-small { min-height: 36px; padding: 7px 10px; gap: 7px; font-size: 11px; }
  .header-actions { gap: 8px; }
  .nav { padding-inline: 18px; }
  .hero { gap: 30px; padding-block: clamp(28px,4svh,38px); }
  .hero-copy h1, .page-hero h1 { font-size: clamp(42px,11vw,58px); }
  .hero-lede { margin-top: 18px; font-size: 17px; line-height: 1.48; }
  .hero-note { margin-top: 18px; }
  .button-row { gap: 16px 22px; margin-top: 24px; }
  .hero-process { padding: 12px 0 0 16px; }
  .hero-process ol { padding-top: 10px; }
  .hero-process li { grid-template-columns: 34px 1fr; gap: 12px; padding: 11px 0; font-size: 16px; line-height: 1.25; }
  .process-foot { margin-top: 12px; font-size: 12px; }
  .section { padding-block: clamp(56px,8svh,75px); }
  .section-intro { margin-bottom: 35px; }
  .section-intro h2, .closing-section h2 { font-size: 38px; }
  .section-intro-split { gap: 23px; }
  .feature-grid, .people-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature, .people-grid article, .people-grid article + article { border-left: 0; padding: 27px 0 35px; }
  .feature + .feature, .people-grid article + article { border-top: 1px solid var(--hairline); }
  .feature h3, .people-grid h3 { margin-top: 25px; }
  .closing-inner { flex-direction: column; align-items: start; gap: 32px; }
  .page-hero { padding-block: clamp(56px,9svh,80px); }
  .product-showcase { padding-block: 70px; }
  .showcase-heading h2 { font-size: 38px; }
  .showcase-index { grid-template-columns: repeat(2,1fr); row-gap: 20px; margin-top: 28px; }
  .showcase-index span:nth-child(3) { padding-left: 0; border-left: 0; }
  .product-row { grid-template-columns: 1fr; gap: 15px; padding-block: 38px; }
  .product-row h2 { margin-top: 20px; }
  .product-row p { margin-top: 0; font-size: 16px; }
  .concept-note { margin-top: 28px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card, .plan-card:first-child, .plan-card:last-child { padding: 27px 0 30px; }
  .plan-card + .plan-card, .plan-card:nth-child(3), .plan-card:nth-child(4) { border-left: 0; border-top: 1px solid var(--hairline); }
  .plan-index { margin-bottom: 20px; }
  .plan-description { margin-bottom: 20px; }
  .plan-card ul { margin-bottom: 18px; }
  .trial-layout h2 { font-size: 38px; }
  .method-chain { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .method-chain li:nth-child(odd) { border-left: 0; }
  .method-chain li:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .method-chain li::before { margin-bottom: 20px; }
  .rule-row { grid-template-columns: 40px 1fr; gap: 12px; padding: 24px 0; }
  .rule-row p { grid-column: 2; margin-top: 0; }
  .example-grid { grid-template-columns: 1fr; }
  .example-grid article, .example-grid article + article, .example-grid article:nth-child(3), .example-grid article:nth-child(4) { padding: 20px 0; border-left: 0; }
  .example-grid article + article { border-top: 1px solid var(--hairline); }
  .example-grid p { min-height: 0; margin-top: 14px; }
  .document-links a { display: grid; gap: 3px; }
  .document-links span { text-align: left; }
  .editorial-grid p:not(.eyebrow) { font-size: 16px; }
  .contact-options { grid-template-columns: 1fr; }
  .contact-options article, .contact-options article + article { padding: 25px 0 35px; border-left: 0; }
  .contact-options article + article { border-top: 1px solid var(--hairline); }
  .contact-options h3 { margin-top: 24px; }
  .contact-options p { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner small { grid-column: 1; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* UI/UX refinements, 29 September 2026: readable small print and comfortable touch targets. */
@media (pointer: coarse) {
  .text-link, .footer-inner a, .product-shot-link, .concept-note a, .pricing-footnote a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav a { min-height: 44px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }



/* ============================================================
   Motion. Everything below is additive: without JavaScript, or
   with reduced motion, no element starts hidden or displaced.
   ============================================================ */
:root { --ease: cubic-bezier(.22, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Pages cross-fade; the header holds still between them. */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease); }

/* Header: settles once the page moves, and shows how far through you are. */
.site-header { transition: background .3s ease, box-shadow .4s ease; }
.site-header.is-scrolled { background: var(--header-bg-scrolled); box-shadow: 0 14px 30px -26px rgba(var(--shadow-rgb),.5); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--page-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (min-width: 951px) { .nav { position: relative; } }
.nav-ink { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--page-accent); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s ease; }
.nav.has-ink a[aria-current] { border-bottom-color: transparent; }
@media (max-width: 950px) { .nav-ink { display: none; } .nav.has-ink a[aria-current] { border-bottom-color: var(--page-accent); } }

/* First paint: hero content waits for the script, with a failsafe if it never comes. */
.pre .hero-copy > *, .pre .page-hero > *, .pre .hero-process { opacity: 0; animation: pre-fail 0s linear 2.5s forwards; }
@media (min-width: 1100px) { .pre .hf-copy-in > * { opacity: 0; animation: pre-fail 0s linear 2.5s forwards; } }
@keyframes pre-fail { to { opacity: 1; } }

/* Reveal on scroll. */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion [data-reveal="fade"] { transform: none; transition: opacity 1.1s ease var(--d, 0ms); }
.motion [data-reveal="line"], .motion [data-reveal="words"], .motion [data-reveal="eyebrow"] { opacity: 1; transform: none; transition: none; }

/* Hairlines draw themselves. */
.motion [data-line] { position: relative; border-top-color: transparent; border-bottom-color: transparent; transition: border-color .9s ease .6s; }
.motion [data-line].is-in { border-bottom-color: var(--hairline); }
.motion [data-line]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--hairline); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); pointer-events: none; }
.motion [data-line].is-in::before { transform: scaleX(1); }

/* Headline words rise out of a mask. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .14em; margin: 0 -.05em -.14em; }
.wi { display: inline-block; }
.motion .wi { transform: translate3d(0, 110%, 0); }
.motion .is-in .wi { transform: none; transition: transform 1.05s var(--ease) calc(var(--d, 0ms) + var(--i, 0) * 55ms); }

/* Mastheads: the rule draws, the grape berries pop in, then it floats. */
.motion .eyebrow-rule { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) calc(var(--d, 0ms) + .1s); }
.motion .is-in .eyebrow-rule { transform: scaleX(1); }
.motion .eyebrow-grape circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .8s var(--spring) calc(var(--d, 0ms) + .3s + var(--i, 0) * 55ms); }
.motion .is-in .eyebrow-grape circle { transform: scale(1); }
.motion .eyebrow-grape { animation: grape-float 6s ease-in-out 2s infinite; }
@keyframes grape-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(2.5deg); } }

/* Hero thread: three steps light up in turn along a live rail. */
.hero-process ol { position: relative; }
.process-rail { position: absolute; left: -31px; top: var(--top, 20px); bottom: 0; width: 1px; pointer-events: none; }
.process-rail i { position: absolute; left: 0; top: 0; width: 1px; height: var(--fill, 0px); background: var(--page-accent); transition: height .9s var(--ease); }
.process-rail b { position: absolute; left: -3px; top: calc(var(--fill, 0px) - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--page-accent); opacity: var(--live, 0); transition: top .9s var(--ease), opacity .4s ease; }
.process-rail b::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--page-accent); animation: live-ping 2.4s ease-out infinite; }
@keyframes live-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.6); opacity: 0; } }
.hero-process li { transition: opacity .5s ease; }
.hero-process li > span:last-child { transition: transform .6s var(--ease); }
.hero-process ol.cycling li { opacity: .42; }
.hero-process ol.cycling li.is-active, .hero-process ol.cycling li.is-done { opacity: 1; }
.hero-process ol.cycling li.is-active > span:last-child { transform: translateX(8px); }

/* Hover states: cards draw an accent line, rows lean in. */
.feature, .people-grid article { position: relative; }
.feature::before, .people-grid article::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--page-accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); pointer-events: none; }
.feature:hover::before, .people-grid article:hover::before { transform: scaleX(1); }
.feature h3, .people-grid h3, .product-row h2, .rule-row h3, .document-links strong { transition: transform .55s var(--ease), color .25s ease; }
.feature:hover h3, .people-grid article:hover h3 { transform: translateX(6px); }
.product-row:hover h2, .rule-row:hover h3 { transform: translateX(10px); }
.document-links a:hover strong { transform: translateX(8px); }
.plan-card { transition: transform .5s var(--ease); }
.plan-card:hover { transform: translateY(-5px); }
.example-grid article { transition: transform .5s var(--ease); }
.example-grid article:hover { transform: translateY(-4px); }
.motion .method-chain.is-in li::before { transform-origin: left center; animation: chain-num 1s var(--ease) calc(var(--d, 0ms) + .55s) both; }
@keyframes chain-num { 40% { transform: translateY(-5px) scale(1.55); } }
.button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, var(--button-shine) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.button-dark:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.header-actions .button-small::after { display: none; }
.header-actions .button-small { overflow: visible; }

/* The workspace settles into place as it scrolls in. */
.product-shot { transform-origin: 50% 0; }
.product-shot-link { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 4vh 4vw; background: transparent; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); cursor: zoom-out; transition: background .3s ease, backdrop-filter .3s ease; }
.lightbox.is-open { background: color-mix(in srgb, var(--bg) 95%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lightbox img { max-width: 100%; max-height: 100%; border: 1px solid var(--hairline); background: var(--surface); box-shadow: 0 34px 90px -40px rgba(var(--shadow-rgb),.5); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer; }
.lightbox-close:hover { border-color: var(--ink); }
body.is-locked { overflow: hidden; }

/* Films: drawn straight onto the page, no frame, no caption. */
.film-embed { position: relative; margin: 56px 0 0; overflow: hidden; border-radius: var(--film-radius); background: var(--film-surface); }
.film-embed canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: inherit; background: var(--film-surface); cursor: default; -webkit-tap-highlight-color: transparent; }
.film-embed--square { max-width: 720px; margin: 24px auto 0; aspect-ratio: 5 / 4; overflow: hidden; }
.film-embed--square canvas { position: absolute; left: 0; top: -12.5%; aspect-ratio: 1 / 1; }
.film-section .section-intro { margin-bottom: 0; }
#see-it .see-it-layout { width: min(calc(100% - clamp(48px, 6vw, 96px)), 1500px); max-width: none; display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.65fr); gap: clamp(42px, 6vw, 100px); align-items: start; }
#see-it .see-it-copy { max-width: 420px; margin: 0; padding-top: 4px; }
#see-it .see-it-copy p:not(.eyebrow) { max-width: 390px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
#see-it .film-embed { width: 100%; margin: 0; }
.film-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 2; opacity: 0; pointer-events: none; transform: translate3d(0, 6px, 0); transition: opacity .3s ease, transform .45s var(--spring), border-color .2s ease; }
@media (hover: hover) { .film-embed.is-ready:hover .film-toggle { opacity: 1; pointer-events: auto; transform: none; } }
.film-embed.is-ready.show-controls .film-toggle, .film-embed.is-ready .film-toggle:focus-visible { opacity: 1; pointer-events: auto; transform: none; }
.film-toggle .film-i-play, .film-toggle .film-i-replay { display: none; }
.film-toggle.is-paused .film-i-pause, .film-toggle.is-replay .film-i-pause { display: none; }
.film-toggle.is-paused .film-i-play, .film-toggle.is-replay .film-i-replay { display: block; }
.film-unavailable canvas { display: none; }
.film-unavailable::before { content: 'Film unavailable. The page description remains below.'; display: block; padding: 40px; color: var(--muted); }

/* Home: value strip, mini plans, sticky call to action. */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 52px 0 0; border-top: 1px solid var(--hairline); list-style: none; }
.value-strip li { padding: 22px 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.value-strip li + li { padding-left: 34px; border-left: 1px solid var(--hairline); }
.value-strip strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.mini-plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.mini-plans a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 30px 28px 0; text-decoration: none; transform: translate3d(var(--soft-x,0px), calc(var(--soft-y,0px) + var(--mini-lift,0px)), 0) scale(var(--soft-scale,1)); transition: transform .5s var(--ease); }
.mini-plans a + a { padding-left: 30px; border-left: 1px solid var(--hairline); }
.mini-plans a:hover { --mini-lift: -4px; }
.mini-plans .plan-index { margin: 0 0 12px; }
.mini-plans strong { font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.mini-plans strong small { margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.mini-plans span:not(.plan-index) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.pricing-teaser .pricing-footnote { margin-top: 20px; }
.float-cta, .float-cta[data-soft-interaction] { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--button-solid); border-radius: var(--button-radius); background: var(--button-solid); color: var(--button-solid-fg); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 18px 36px -18px rgba(var(--shadow-rgb),.6); opacity: 0; transform: translate3d(var(--soft-x,0px), calc(24px + var(--soft-y,0px)), 0) scale(var(--soft-scale,1)); pointer-events: none; transition: opacity .4s ease, transform .6s var(--ease), background .2s ease, border-color .2s ease, color .2s ease; }
.float-cta.is-on[data-soft-interaction] { opacity: 1; transform: translate3d(var(--soft-x,0px), var(--soft-y,0px), 0) scale(var(--soft-scale,1)); pointer-events: auto; }
.float-cta:hover { background: var(--button-solid-hover); border-color: var(--button-solid-hover); }

@media (max-width: 950px) {
  .value-strip, .mini-plans { grid-template-columns: 1fr; }
  .value-strip li, .value-strip li + li, .mini-plans a, .mini-plans a + a { padding: 20px 0; border-left: 0; }
  .value-strip li + li, .mini-plans a + a { border-top: 1px solid var(--hairline); }
}
@media (max-width: 650px) {
  .film-embed { margin-top: 36px; }
  .float-cta { left: 18px; right: 18px; bottom: 16px; justify-content: space-between; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-grape, .process-rail b::after { animation: none; }
  [data-soft-interaction] { transform: none !important; }
}

/* Phones: portrait cut of the Frontline film; all films stay inline as autoplay page media. */
.film-tall { max-width: 420px; margin-inline: auto; }
.film-tall canvas { aspect-ratio: 9 / 16; }
.film-poster { display: none; }

/* Guided beta follows the site's editorial grid and copper accent. */
.beta-hero { padding-bottom: clamp(70px, 8vw, 110px); }
.beta-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(52px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--hairline); }
.beta-facts div { display: grid; gap: 8px; }
.beta-facts span { color: var(--page-accent); font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.beta-facts strong { font-size: clamp(18px, 2vw, 25px); font-weight: 500; letter-spacing: -.04em; }
.beta-exchange ul { padding-left: 20px; color: var(--muted); line-height: 1.65; }
.beta-exchange li + li { margin-top: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); }
.team-grid article { padding: 28px 28px 0 0; }
.team-grid article + article { padding-left: 28px; border-left: 1px solid var(--hairline); }
.team-grid h3 { margin: 18px 0 12px; font-size: clamp(24px, 2.4vw, 31px); font-weight: 500; letter-spacing: -.045em; }
.team-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.beta-fit { background: color-mix(in srgb, var(--page-accent) 5%, var(--bg)); }
.beta-apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); }
.beta-apply-grid h2 { margin: 0; font-size: clamp(35px, 4vw, 55px); font-weight: 500; letter-spacing: -.052em; line-height: 1.12; }
.beta-apply-grid > div > p:not(.eyebrow) { color: var(--muted); }
.beta-form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); }
.beta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.beta-form label:not(.beta-check) { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.beta-form input:not([type="checkbox"]), .beta-form select, .beta-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; }
.beta-form textarea { resize: vertical; }
.beta-form .beta-check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.5; }
.beta-check input { margin-top: 3px; accent-color: var(--page-accent); }
.beta-form-status { min-height: 1.5em; margin: 0; font-size: 13px; }
.beta-form-status.is-error { color: #b33b2b; }
.beta-form-status.is-success { color: #2f7639; }
.beta-form .button { justify-self: start; cursor: pointer; }
.beta-form .button:disabled { opacity: .55; cursor: wait; }
.beta-form .beta-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) {
  .beta-facts, .beta-apply-grid, .beta-form-row, .team-grid { grid-template-columns: 1fr; }
  .beta-facts { gap: 18px; }
  .beta-facts div + div { padding-top: 15px; border-top: 1px solid var(--hairline); }
  .team-grid article, .team-grid article + article { padding: 22px 0; border-left: 0; }
  .team-grid article + article { border-top: 1px solid var(--hairline); }
}

/* Each top-level section owns the space between the fixed-height header and the viewport edge.
   Dense sections scroll within that space, keeping every control and paragraph accessible. */
html { scroll-padding-top: var(--header-h); scroll-snap-type: y mandatory; }
main > section { scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: 0; overflow-y: auto; overflow-x: clip; scrollbar-width: thin; }
main > .section, main > .page-hero, main > .xh-hero {
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: 0;
  padding-block: clamp(28px, 5dvh, 64px);
  align-content: safe center;
}
main > .hero-film { height: 100vh; height: 100dvh; min-height: 0; }
/* Reserve exactly the footer's height after the last section so it can stay pinned
   while the footer slides up over the lower edge on the next scroll step. */
:root { --footer-reveal-h: clamp(185px, 28dvh, 280px); }
main:has(+ .site-footer)::after { content: ""; display: block; height: var(--footer-reveal-h); }
main:has(+ .site-footer) > section:last-of-type {
  position: sticky;
  top: var(--header-h);
  z-index: 1;
}
main:has(+ .site-footer) > .closing-section > .closing-inner { transform: translateY(-36px); }
.site-footer {
  position: relative;
  z-index: 2;
  height: var(--footer-reveal-h);
  min-height: 0;
  padding-block: 26px 30px;
  display: grid;
  align-content: safe center;
  overflow-y: auto;
  margin-top: calc(-1 * var(--footer-reveal-h));
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-radius: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 30px) 0 0;
  box-shadow: 0 -24px 65px -40px rgba(var(--shadow-rgb), .32);
  scroll-snap-align: end;
  scroll-snap-stop: always;
}
/* The public guides and notices use the same section rhythm as the rest of the site. */
.resource-hero .hero-lede { max-width: 760px; }
.resource-hero > .text-link { margin-top: 26px; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; color: var(--muted); font: 500 11px/1.5 var(--font-mono); }
.resource-hero .button-row { margin-top: 28px; }
.resource-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 110px); align-items: start; }
.resource-heading h2 { max-width: 510px; margin: 0; font-size: clamp(34px, 3.8vw, 54px); font-weight: 500; letter-spacing: -.052em; line-height: 1.12; text-wrap: balance; }
.resource-body { max-width: 690px; font-size: 15px; line-height: 1.6; }
.resource-body p { margin: 0 0 17px; color: var(--muted); }
.resource-body strong { color: var(--ink); }
.resource-body h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.resource-body ul, .resource-body ol { padding-left: 24px; margin: 0 0 18px; color: var(--muted); }
.resource-body li + li { margin-top: 8px; }
.resource-body a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.resource-body a:hover { color: var(--page-accent); }
.help-example { margin: 20px 0; padding: 18px 22px; border-left: 2px solid var(--page-accent); background: color-mix(in srgb, var(--page-accent) 5%, var(--bg)); }
.help-example > span, .help-do-dont span { display: block; margin-bottom: 8px; color: var(--page-accent); font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.help-example p, .help-do-dont p { margin: 0; }
.help-do-dont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.help-do-dont > div { padding: 18px; border: 1px solid var(--hairline); }
.guide-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.guide-search label { width: 100%; color: var(--muted); font: 500 11px/1.4 var(--font-mono); }
.guide-search input { width: min(470px, 100%); min-height: 44px; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hairline); }
.guide-card { display: flex; flex-direction: column; min-width: 0; min-height: 160px; padding: 19px 26px 20px 0; border-bottom: 1px solid var(--hairline); color: var(--ink); text-decoration: none; }
.guide-card:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--hairline); }
.guide-card h3 { margin: 14px 0 7px; font-size: clamp(21px, 2.2vw, 27px); font-weight: 500; letter-spacing: -.04em; }
.guide-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.guide-card-action { margin-top: auto; padding-top: 14px; font-size: 12px; font-weight: 700; }
.guide-card:hover .guide-card-action { color: var(--page-accent); }
.guide-card[hidden], .guide-list-section[hidden] { display: none; }
main > .film-section .film-embed { width: min(100%, calc((100dvh - var(--header-h) - 290px) * 16 / 9)); margin: clamp(12px, 2.5dvh, 28px) auto 0; }
main > .film-section .section-intro { margin-bottom: 0; }
main > .section .section-intro { margin-bottom: clamp(18px, 3dvh, 38px); }
main > .section .feature h3, main > .section .people-grid h3 { margin-top: clamp(16px, 3dvh, 28px); }
main > .section .rule-row { padding-block: clamp(12px, 1.9dvh, 23px); }
main > .section .film-embed { margin-top: clamp(12px, 2.5dvh, 28px); }
main > .film-section .film-embed { margin-inline: auto; }
.screenshot-section .product-shot, .product-showcase .product-shot { width: min(100%, calc(40dvh * 16 / 9)); margin-inline: auto; }
.product-showcase .product-shot { width: min(100%, calc(32dvh * 16 / 9)); }
.product-showcase .product-shot-laptop { width: min(100%, calc(36dvh * 16 / 9)); }
.product-showcase .showcase-heading { margin-bottom: 26px; }
.screenshot-section .story-linkline, .product-showcase .story-linkline { margin-top: clamp(12px, 2dvh, 24px); padding-top: clamp(10px, 1.5dvh, 18px); }
.product-showcase .showcase-index { margin-top: clamp(14px, 2dvh, 30px); }
.value-strip { margin-top: clamp(14px, 2dvh, 28px); }
.value-strip li { padding-top: 14px; }
.beta-facts { margin-top: clamp(20px, 3dvh, 36px); }
.beta-exchange ul { line-height: 1.45; }
.beta-exchange li + li { margin-top: 6px; }
.beta-form { gap: 14px; padding: clamp(18px, 3dvh, 32px); }
.float-cta, .float-cta[data-soft-interaction] { display: none; }
main > .section.xh-preview { padding-block: 8px; }
main > .xh-preview .xh-phone { gap: 10px; }
.trust-documents .document-links a { padding-block: clamp(12px, 2dvh, 18px); }
.plan-section .plan-card { padding-block: 14px 16px; }
.plan-section .plan-index { margin-bottom: 10px; }
.plan-section .plan-description { min-height: 0; margin-bottom: 12px; }
.plan-section .plan-price { margin-bottom: 12px; }
.plan-section .plan-card ul { min-height: 0; margin-bottom: 12px; padding-top: 12px; }
.plan-section .plan-card li { padding-bottom: 4px; }
.plan-section .plan-cta { padding-top: 10px; }
.plan-section .pricing-footnote { margin-top: 12px; }
@media (min-width: 651px) {
  .plan-section .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-section .plan-card { padding-inline: clamp(24px, 4vw, 48px); }
}
@media (max-width: 650px) {
  :root { --footer-reveal-h: clamp(160px, 22dvh, 190px); }
  .site-footer { padding-block: 14px 18px; }
  .footer-inner { grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; }
  .footer-brand img { width: 92px; }
  .footer-inner p { font-size: 11px; line-height: 1.35; }
  .footer-inner nav { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; gap: 16px; scrollbar-width: thin; }
  .footer-inner nav a { flex: none; }
  .footer-inner small { grid-column: 1 / -1; margin-top: 0; }
  .resource-layout { grid-template-columns: 1fr; gap: 22px; }
  .resource-heading h2 { font-size: clamp(31px, 9vw, 42px); }
  .resource-body { font-size: 14px; }
  .help-do-dont, .guide-grid, .pricing-rate-grid, .pricing-extra-grid { grid-template-columns: 1fr; }
  .guide-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .pricing-extra-grid article, .pricing-extra-grid article:first-child { padding: 18px 0; }
  .pricing-extra-grid article + article { border-top: 1px solid var(--hairline); border-left: 0; }
  .pricing-extra-grid article > strong { margin: 12px 0 5px; }
  main > .section, main > .page-hero, main > .xh-hero { padding-block: clamp(22px, 4dvh, 40px); }
  main > .film-section .film-embed { width: 100%; }
  #see-it .see-it-layout { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 24px; }
  #see-it .see-it-copy { max-width: none; padding-top: 0; }
  #see-it .see-it-copy .eyebrow { margin-bottom: 14px; }
  #see-it .see-it-copy h2 { font-size: clamp(31px, 9vw, 38px); }
  #see-it .see-it-copy p:not(.eyebrow) { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .beta-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .beta-facts div + div { padding: 0 0 0 8px; border-top: 0; border-left: 1px solid var(--hairline); }
  .beta-facts strong { font-size: 14px; line-height: 1.25; }
  #how-it-works .section-intro { margin-bottom: 16px; }
  #how-it-works .section-intro .eyebrow { margin-bottom: 14px; }
  #how-it-works .section-intro h2 { font-size: clamp(28px, 8vw, 32px); line-height: 1.08; }
  #how-it-works .section-intro-link { margin-top: 14px; }
  #how-it-works .feature-grid { gap: 0; }
  #how-it-works .feature, #how-it-works .feature + .feature { padding: 0 0 10px; }
  #how-it-works .feature-number { gap: 0; padding-top: 8px; }
  #how-it-works .feature-number-digit { font-size: 44px; }
  #how-it-works .feature h3 { margin: 5px auto; font-size: 21px; }
  #how-it-works .feature p { max-width: 350px; font-size: 13px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: y proximity; }
}

/* Touch browsing has one page scroller. Stable viewport units keep browser chrome
   changes from moving snap points; long sections grow instead of trapping a swipe. */
@media (max-width: 950px), (pointer: coarse) {
  html { scroll-snap-type: y proximity; }
  .header-inner { height: calc(var(--header-h) - 1px); }
  main > section { overflow: visible; scroll-snap-stop: normal; }
  main > .section, main > .page-hero, main > .xh-hero {
    height: auto;
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(28px, 5svh, 64px);
  }
  main > .hero-film { height: auto; min-height: 100svh; }
  #see-it .see-it-layout { width: calc(100% - 72px); grid-template-columns: 1fr; gap: 30px; }
  #see-it .see-it-copy { max-width: 720px; }
  #see-it .see-it-copy p:not(.eyebrow) { max-width: 600px; }
  main > .film-section .film-embed { width: 100%; }
  main > .section .section-intro { margin-bottom: clamp(18px, 3svh, 38px); }
  main > .section .feature h3, main > .section .people-grid h3 { margin-top: clamp(16px, 3svh, 28px); }
  main > .section .rule-row { padding-block: clamp(12px, 1.9svh, 23px); }
  main > .section .film-embed { margin-top: clamp(12px, 2.5svh, 28px); }
  .beta-facts { margin-top: clamp(20px, 3svh, 36px); }
  .beta-form { padding: clamp(18px, 3svh, 32px); }
  .trust-documents .document-links a { padding-block: clamp(12px, 2svh, 18px); }
  main:has(+ .site-footer)::after { display: none; }
  main:has(+ .site-footer) > section:last-of-type { position: static; }
  main:has(+ .site-footer) > .closing-section > .closing-inner { transform: none; }
  .site-footer { height: auto; margin-top: 0; overflow-y: visible; scroll-snap-stop: normal; }
}
@media (max-width: 650px) {
  main > .section, main > .page-hero, main > .xh-hero { padding-block: clamp(22px, 4svh, 40px); }
  #see-it .see-it-layout { width: calc(100% - 36px); gap: 24px; }
  #how-it-works .section-intro { margin-bottom: 16px; }
  #how-it-works .feature h3 { margin: 5px auto; }
}
/* Explicit fragment destinations must not be pulled back to a section boundary. */
html.has-fragment { scroll-snap-type: none; }

/* Reading typography is shared; pages opting into section snapping retain
   the site's desktop layout and natural mobile scrolling policy. */
html.reading-page { scroll-snap-type: none; }
.page-reading:not(.page-section-snap) main > section {
  height: auto;
  min-height: 0;
  padding-block: clamp(32px, 5vw, 64px);
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
.page-reading:not(.page-section-snap) main > .reading-hero { padding-top: clamp(42px, 6vw, 80px); }
.page-reading h1 { max-width: 900px; font-size: clamp(32px, 4.1vw, 54px); line-height: 1.14; letter-spacing: -.045em; }
.page-reading h2 { margin: 0 0 18px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -.035em; }
.page-reading h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.015em; }
.reading-hero > p:not(.eyebrow), .reading-example-intro { max-width: 820px; }
.reading-hero .hero-lede { font-size: 18px; line-height: 1.65; }
.reading-hero > p:not(.eyebrow):not(.concept-note) { color: var(--muted); }
.reading-hero .concept-note { font-size: 12px; line-height: 1.6; }
.reading-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.reading-heading > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.reading-body { min-width: 0; font-size: 16px; line-height: 1.75; }
.reading-body p, .reading-example-intro p { margin: 0 0 18px; color: var(--muted); }
.reading-body strong, .reading-example-intro strong { color: var(--ink); font-weight: 600; }
.reading-body h3 { margin: 24px 0 8px; }
.reading-body h4 { margin: 8px 0; font-size: 16px; line-height: 1.4; font-weight: 600; }
.reading-body ul, .reading-body ol { margin: 0 0 20px; padding-left: 23px; color: var(--muted); }
.reading-body li + li { margin-top: 8px; }
.knowledge-definitions { margin: 0 0 24px; }
.knowledge-definitions > div { margin-bottom: 22px; }
.knowledge-definitions dt { margin-bottom: 5px; font-weight: 600; }
.knowledge-definitions dd { margin: 0; color: var(--muted); }
.reading-toc { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; font-size: 14px; }
.reading-toc a { text-underline-offset: 5px; }
.knowledge-details { margin-top: 30px; max-width: 960px; }
.knowledge-details details { border-bottom: 1px solid var(--hairline); }
.knowledge-details summary { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.knowledge-details summary::-webkit-details-marker { display: none; }
.knowledge-details summary .n { color: var(--page-accent); font: 500 11px var(--font-mono); }
.knowledge-details summary::after { content: '+'; flex: none; margin-left: auto; color: var(--muted); font-size: 22px; font-weight: 400; }
.knowledge-details details[open] > summary::after { content: '−'; }
.knowledge-details summary:focus-visible { outline: 2px solid var(--page-accent); outline-offset: 4px; border-radius: 8px; }
.knowledge-detail { max-width: 820px; padding: 0 0 24px 34px; }
.knowledge-note { margin-block: 20px; padding-left: 18px; border-left: 2px solid var(--page-accent); color: var(--muted); font-size: 14px; line-height: 1.7; }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 24px; }
.knowledge-grid .mini-label { font-size: 10px; }
.knowledge-grid .text-link { font-size: 13px; }
.reading-body code { font-size: 13px; overflow-wrap: anywhere; }
.page-reading:not(.page-section-snap) main:has(+ .site-footer)::after { display: none; }
.page-reading:not(.page-section-snap) main:has(+ .site-footer) > section:last-of-type { position: static; }
.page-reading:not(.page-section-snap) .site-footer { height: auto; margin-top: 32px; overflow: visible; scroll-snap-align: none; scroll-snap-stop: normal; }
@media (max-width: 750px) {
  .reading-layout { grid-template-columns: 1fr; gap: 12px; }
  .reading-hero .hero-lede { font-size: 17px; }
  .knowledge-grid { grid-template-columns: 1fr; gap: 16px; }
  .knowledge-detail { padding-left: 0; }
  .knowledge-details summary { gap: 12px; font-size: 16px; }
  .reading-toc { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand img { width: 90px; }
  .header-actions .button-small { padding-inline: 10px; gap: 6px; font-size: 10px; }
}
