/* Dorvia website. One stylesheet for every page.
   Colours follow the app's tokens (packages/tokens/tokens.css): light on :root, dark under prefers-color-scheme
   unless the visitor picked a theme ([data-theme] on <html>, set by the theme button and kept on this device). */

:root {
  --bg: #FFFFFF; --bg-2: #F4F5F7; --surface: #FFFFFF; --surface-2: #EEF0F3; --line: #E2E5EA; --line-2: #D3D8DF;
  --ink: #121A24; --ink-2: #4B5563; --ink-3: #5F6672;
  --accent: #15766F; --accent-strong: #0F5B56; --accent-soft: #E3F1EF; --on-accent: #FFFFFF;
  --amber: #8F5F00; --amber-soft: #FBF1DC; --amber-line: #E0B85C;
  --danger: #B42318; --danger-soft: #FDECEA;
  --inverse: #121A24; --inverse-2: #1B2531; --inverse-ink: #EDF0F3; --inverse-ink-2: #AEB7C2; --inverse-accent: #4FB8AE;
  --glass: rgba(255, 255, 255, .78);
  --shadow-1: 0 1px 2px rgba(18, 26, 36, .06), 0 8px 24px rgba(18, 26, 36, .06);
  --shadow-2: 0 2px 6px rgba(18, 26, 36, .06), 0 30px 80px -20px rgba(18, 26, 36, .28);
  --glow: rgba(21, 118, 111, .16);
  --font: Manrope, -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1200px; --gutter: max(20px, env(safe-area-inset-left));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0F13; --bg-2: #11161C; --surface: #161B22; --surface-2: #1E252E; --line: #2A323D; --line-2: #36404C;
    --ink: #EDF0F3; --ink-2: #B3BAC4; --ink-3: #959EA9;
    --accent: #4FB8AE; --accent-strong: #7CCBC3; --accent-soft: #15302E; --on-accent: #0B1A17;
    --amber: #E3B341; --amber-soft: #3A2E12; --amber-line: #8A6B1F;
    --danger: #F08A80; --danger-soft: #3D1A17;
    --inverse: #161B22; --inverse-2: #1E252E; --inverse-ink: #EDF0F3; --inverse-ink-2: #AEB7C2; --inverse-accent: #4FB8AE;
    --glass: rgba(11, 15, 19, .74);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .4), 0 30px 80px -20px rgba(0, 0, 0, .7);
    --glow: rgba(79, 184, 174, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0F13; --bg-2: #11161C; --surface: #161B22; --surface-2: #1E252E; --line: #2A323D; --line-2: #36404C;
  --ink: #EDF0F3; --ink-2: #B3BAC4; --ink-3: #959EA9;
  --accent: #4FB8AE; --accent-strong: #7CCBC3; --accent-soft: #15302E; --on-accent: #0B1A17;
  --amber: #E3B341; --amber-soft: #3A2E12; --amber-line: #8A6B1F;
  --danger: #F08A80; --danger-soft: #3D1A17;
  --inverse: #161B22; --inverse-2: #1E252E; --inverse-ink: #EDF0F3; --inverse-ink-2: #AEB7C2; --inverse-accent: #4FB8AE;
  --glass: rgba(11, 15, 19, .74);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .4), 0 30px 80px -20px rgba(0, 0, 0, .7);
  --glow: rgba(79, 184, 174, .14);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 12px; text-decoration: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Type scale ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.display { font-size: clamp(44px, 8.4vw, 104px); letter-spacing: -0.045em; line-height: 1.0; }
.h-xl { font-size: clamp(36px, 5.6vw, 72px); letter-spacing: -0.04em; line-height: 1.03; }
.h-lg { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.06; }
.h-md { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.grad { background: linear-gradient(100deg, var(--accent) 10%, color-mix(in srgb, var(--accent) 55%, var(--ink)) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { background: var(--line); }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 17px; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.center .ctas, .cta-final .ctas, .page-hero .ctas { justify-content: center; }

/* ---------- Badges and chips ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 16px; white-space: nowrap; }
.tag-accent { background: var(--accent-soft); color: var(--accent); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-grey { background: var(--surface-2); color: var(--ink-2); }
.tag-coming { background: transparent; color: var(--amber); border: 1px dashed var(--amber-line); }
.tag-tbc { background: var(--amber-soft); color: var(--amber); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none !important; margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.mark-tile { fill: var(--ink); }
.mark-door { fill: var(--bg); }
.mark-sill { stroke: var(--bg); }
.mark-knob { fill: var(--inverse-accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun, .theme-btn .i-moon, .theme-btn .i-auto { display: none; }
.theme-btn[data-mode="light"] .i-sun, .theme-btn[data-mode="dark"] .i-moon, .theme-btn[data-mode="auto"] .i-auto { display: block; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; font-weight: 700; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:hover { background: transparent; }
  .menu-btn { display: inline-flex; }
  .head-dl { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 160px) 0; }
.sec-tight { padding: clamp(56px, 8vw, 104px) 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.sec-head.left { margin-left: 0; text-align: left; align-items: flex-start; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 0; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(50% 45% at 50% 40%, var(--glow), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 980px; margin: 0 auto; }
.hero-copy .lede { max-width: 720px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hero-stage { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; max-width: 1240px; padding: 0 var(--gutter); perspective: 1800px; }
.hero-stage .stage-tilt { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(.9 + var(--p, 1) * .1)) translateY(calc((1 - var(--p, 1)) * 30px)); will-change: transform; }
.hero-phone, .hero-phone.shot { position: absolute; right: max(0px, calc(var(--gutter) - 10px)); bottom: -6%; width: clamp(130px, 21%, 250px); transform: translateY(calc((1 - var(--p, 1)) * 80px)); }
@media (max-width: 700px) { .hero-phone.shot { width: 34%; bottom: -10%; right: 4px; } .hero-stage { padding-right: 18%; } }
.hero-fade { height: clamp(60px, 10vw, 140px); }

/* ---------- Product shots (scaled app renderings) ---------- */
/* A shot is drawn at a fixed design width and zoomed to fit its column (site.js sets --z). */
.shot { position: relative; width: 100%; margin: 0; }
.shot-scale { width: var(--dw, 1200px); zoom: var(--z, .5); }
@media (min-width: 1240px) { .shot-scale { zoom: var(--z, 1); } }
.win { border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.45; text-align: left; }
.win-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 999px; background: var(--line-2); }
.win-bar b { margin: 0 auto; font-size: 12px; font-weight: 700; color: var(--ink-3); transform: translateX(-24px); }
.win-bar .win-ctl { margin-left: auto; display: flex; gap: 18px; color: var(--ink-3); font-size: 12px; }
.app { display: flex; min-height: 0; }
.m-side { width: 236px; flex: none; background: var(--surface); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 3px; }
.m-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.m-brand svg { width: 26px; height: 26px; }
.m-nav { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.m-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.m-nav.on { background: var(--accent-soft); color: var(--accent); }
.m-nav .m-chip { margin-left: auto; }
.m-label { margin: 16px 11px 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.m-conn { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 12px; background: var(--bg-2); }
.m-conn i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.m-conn b { display: block; font-size: 12px; }
.m-conn span { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.3; }
.m-main { flex: 1; min-width: 0; padding: 26px 32px 30px; display: flex; flex-direction: column; gap: 18px; }
.m-h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.m-h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.m-sub { font-size: 14px; color: var(--ink-2); }
.m-eye { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.m-eye.acc { color: var(--accent); } .m-eye.amb { color: var(--amber); } .m-eye.dan { color: var(--danger); }
.m-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.m-pad { padding: 16px 18px; }
.m-col { display: flex; flex-direction: column; }
.m-row { display: flex; align-items: center; }
.g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g18 { gap: 18px; }
.m-grid2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.m-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.m-tile { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.m-tile .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-tile .t { font-size: 12px; color: var(--ink-3); }
.m-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.c-acc { background: var(--accent-soft); color: var(--accent); }
.c-amb { background: var(--amber-soft); color: var(--amber); }
.c-dan { background: var(--danger-soft); color: var(--danger); }
.c-grey { background: var(--surface-2); color: var(--ink-2); }
.c-mute { background: var(--surface-2); color: var(--ink-3); }
.c-solid { background: var(--amber); color: #fff; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.m-btn.p { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.m-btn.g { border-color: transparent; background: transparent; color: var(--ink-2); }
.m-list { display: flex; flex-direction: column; }
.m-li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
.m-li:last-child { border-bottom: 0; }
.m-li .t1 { font-weight: 700; font-size: 13.5px; }
.m-li .t2 { font-size: 12.5px; color: var(--ink-2); }
.m-bar { width: 3px; align-self: stretch; border-radius: 3px; background: var(--amber-line); flex: none; }
.m-bar.acc { background: var(--accent); } .m-bar.dan { background: var(--danger); } .m-bar.grey { background: var(--line-2); }
.m-av { width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex: none; }
.m-av.soft { background: var(--accent-soft); color: var(--accent); }
.m-inv { background: var(--inverse); color: var(--inverse-ink); border-color: transparent; }
.m-inv .m-sub, .m-inv .t2 { color: var(--inverse-ink-2); }
.m-prog { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.m-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.m-ask { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink-3); font-size: 13px; }
.m-ask .m-btn { margin-left: auto; }
.m-cal { position: relative; display: grid; grid-template-columns: 44px 1fr; }
.m-cal .hr { font-size: 10.5px; color: var(--ink-3); height: 40px; transform: translateY(-7px); font-variant-numeric: tabular-nums; }
.m-cal .ln { border-top: 1px solid var(--surface-2); height: 40px; }
.m-ev { position: absolute; left: 50px; right: 4px; border-radius: 8px; padding: 5px 9px; font-size: 11.5px; line-height: 1.3; overflow: hidden; }
.m-ev b { display: block; font-size: 12px; }
.m-ev.e1 { background: var(--accent-soft); color: var(--accent); border-left: 3px solid var(--accent); }
.m-ev.e2 { background: var(--surface-2); color: var(--ink-2); border-left: 3px solid var(--line-2); }
.m-ev.e3 { background: var(--amber-soft); color: var(--amber); border-left: 3px solid var(--amber-line); }
.m-now { position: absolute; left: 44px; right: 0; height: 2px; background: var(--danger); }
.m-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 999px; background: var(--danger); }

/* Phone renderings */
.phone { width: 300px; border-radius: 44px; padding: 10px; background: #0B0F13; box-shadow: var(--shadow-2), inset 0 0 0 2px #2A323D; }
.phone-screen { position: relative; border-radius: 35px; overflow: hidden; background: var(--bg-2); height: 620px; display: flex; flex-direction: column; color: var(--ink); font-size: 13px; line-height: 1.4; text-align: left; }
.phone-notch { position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; border-radius: 999px; background: #0B0F13; transform: translateX(-50%); z-index: 2; }
.phone-status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 12px; font-weight: 700; height: 44px; }
.phone-body { flex: 1; padding: 8px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone-tabs { display: flex; padding: 8px 6px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.phone-tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: var(--ink-3); }
.phone-tabs span.on { color: var(--accent); }
.phone-tabs svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Feature stories ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.story.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.story.flip .story-copy { order: 2; }
.story-copy { display: flex; flex-direction: column; gap: 20px; }
.story-copy .lede { font-size: clamp(17px, 1.45vw, 19px); }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.facts li b { color: var(--ink); font-weight: 700; }
.facts li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 999px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315766F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center/14px no-repeat; }
:root[data-theme="dark"] .facts li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FB8AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .facts li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FB8AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E"); } }
.story-note { font-size: 14px; color: var(--ink-3); border-left: 2px solid var(--line-2); padding-left: 12px; }
@media (max-width: 900px) {
  .story, .story.flip { grid-template-columns: minmax(0, 1fr); }
  .story.flip .story-copy { order: 0; }
}

/* Chapter header between groups of stories */
.chapter { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 900px; margin: 0 auto; }

/* ---------- Approvals scroll story ---------- */
.ap-story { height: 340vh; }
.ap-sticky { position: sticky; top: 60px; height: calc(100vh - 60px); min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.ap-steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-steps li { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: var(--step-dim); transition: color .4s var(--ease); }
/* Steps not yet reached: dimmed, but at least 3:1 on the page background (large bold text). */
:root { --step-dim: #8A919B; }
:root[data-theme="dark"] { --step-dim: #5F6875; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --step-dim: #5F6875; } }
.ap-steps li span { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.45; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s ease, margin .4s ease; }
.ap-story[data-step="0"] .ap-steps li:nth-child(1), .ap-story[data-step="1"] .ap-steps li:nth-child(2), .ap-story[data-step="2"] .ap-steps li:nth-child(3), .ap-story[data-step="3"] .ap-steps li:nth-child(4) { color: var(--ink); }
.ap-story[data-step="0"] .ap-steps li:nth-child(1) span, .ap-story[data-step="1"] .ap-steps li:nth-child(2) span, .ap-story[data-step="2"] .ap-steps li:nth-child(3) span, .ap-story[data-step="3"] .ap-steps li:nth-child(4) span { max-height: 120px; opacity: 1; margin: 6px 0 12px; }
.ap-progress { display: flex; gap: 6px; margin-top: 26px; }
.ap-progress i { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s ease, width .3s var(--ease); }
.ap-story[data-step="0"] .ap-progress i:nth-child(1), .ap-story[data-step="1"] .ap-progress i:nth-child(-n+2), .ap-story[data-step="2"] .ap-progress i:nth-child(-n+3), .ap-story[data-step="3"] .ap-progress i { background: var(--accent); }

/* The approvals rendering reacts to the step */
.apx { display: flex; flex-direction: column; gap: 12px; }
.apx-card { transition: transform .5s var(--ease), opacity .5s ease, border-color .3s ease, box-shadow .3s ease; }
.apx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.apx-body > div { overflow: hidden; }
.apx-state { display: none; }
.apx-done { display: none; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 12.5px; }
.apx-done svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ap-story[data-step="1"] .apx-card.a1, .ap-story[data-step="2"] .apx-card.a1 { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ap-story[data-step="1"] .apx-card.a1 .apx-body, .ap-story[data-step="2"] .apx-card.a1 .apx-body { grid-template-rows: 1fr; }
.ap-story[data-step="2"] .apx-card.a1 .apx-press { background: var(--accent-strong); transform: scale(.96); box-shadow: 0 0 0 6px var(--accent-soft); }
.ap-story[data-step="3"] .apx-card.a1 .apx-actions { display: none; }
.ap-story[data-step="3"] .apx-card.a1 .apx-done { display: flex; }
.ap-story[data-step="3"] .apx-card.a1 { opacity: .78; }
.ap-story[data-step="3"] .apx-count-wait { display: none; }
.apx-count-done { display: none; }
.ap-story[data-step="3"] .apx-count-done { display: inline; }
.apx-press { transition: background .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.ap-story[data-step="2"] .apx-cursor { opacity: 1; transform: translate(0, 0); }
.apx-cursor { position: absolute; width: 22px; height: 22px; opacity: 0; transform: translate(40px, 40px); transition: opacity .3s ease, transform .6s var(--ease); pointer-events: none; }
@media (max-width: 900px) {
  .ap-story { height: auto; }
  .ap-sticky { position: static; height: auto; min-height: 0; padding: 88px 0; overflow: visible; }
  .ap-grid { grid-template-columns: minmax(0, 1fr); }
  .ap-steps li { color: var(--ink) !important; }
  .ap-steps li span { max-height: none !important; opacity: 1 !important; margin: 6px 0 12px !important; }
  .ap-progress { display: none; }
}

/* ---------- Bento grids ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .w6 { grid-column: span 6; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.sec-alt .tile { background: var(--surface); }
.tile h3 { font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.tile .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .big { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
@media (max-width: 980px) { .bento > *, .bento .w3, .bento .w4 { grid-column: span 3; } .bento .w6 { grid-column: span 6; } }
@media (max-width: 640px) { .bento > *, .bento .w3, .bento .w4, .bento .w6 { grid-column: span 6; } }

/* ---------- Trust band (inverse) ---------- */
.band { background: var(--inverse); color: var(--inverse-ink); }
:root[data-theme="dark"] .band { background: #05080B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { background: #05080B; } }
.band .eyebrow { color: var(--inverse-accent); }
.band .lede, .band .muted { color: var(--inverse-ink-2); }
.band .tile { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.band .tile p { color: var(--inverse-ink-2); }
.band .tile .ico { background: rgba(79, 184, 174, .14); color: var(--inverse-accent); }
.band a { color: var(--inverse-accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 999px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.steps h3 { font-size: 22px; letter-spacing: -0.02em; }
.steps p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-2); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--ink-2); font-size: 15px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--ink-3); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; line-height: 1.45; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 999px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan li.soon::before { background: var(--amber-line); }
.plan li b { color: var(--ink); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-note { font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan .for { min-height: 0; } }
.tbc-banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; background: var(--amber-soft); color: var(--ink); border: 1px solid var(--amber-line); font-size: 15px; max-width: 860px; margin: 0 auto 40px; }
.tbc-banner b { color: var(--amber); }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; padding-bottom: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 14px; font-weight: 800; color: var(--ink); position: sticky; top: 60px; background: var(--bg); z-index: 1; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare .grp th { padding-top: 28px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-2); }
.yes { display: inline-block; width: 20px; height: 20px; border-radius: 999px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315766F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center/14px no-repeat; vertical-align: middle; }
.no { display: inline-block; width: 12px; height: 2px; background: var(--line-2); vertical-align: middle; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 620px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 2px; font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq .a { padding: 0 2px 26px; color: var(--ink-2); font-size: 17px; max-width: 720px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Final call to action ---------- */
.cta-final { text-align: center; overflow: hidden; }
.arch { width: clamp(150px, 20vw, 220px); margin: 0 auto 32px; }
.arch path, .arch line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.arch .knob { fill: var(--accent); stroke: none; }
.arch .glow { fill: var(--accent-soft); stroke: none; opacity: 0; transition: opacity 1.2s ease .6s; }
.arch.in .glow { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .arch path.draw, .js .arch line.draw { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
  .js .arch.in path.draw, .js .arch.in line.draw { stroke-dashoffset: 0; }
  .js .arch .knob { opacity: 0; transform: scale(.4); transform-origin: center; transform-box: fill-box; transition: opacity .4s ease 1.1s, transform .5s var(--ease) 1.1s; }
  .js .arch.in .knob { opacity: 1; transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 140%; background: radial-gradient(45% 40% at 50% 45%, var(--glow), transparent 70%); pointer-events: none; }
.page-hero > .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.page-hero .lede { max-width: 720px; }

/* Features page: desk index and desk rows */
.desk-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.desk-index a { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 14px; }
.desk-index a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.desk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.desk-head { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; align-self: start; }
.desk-head .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.desk-head .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.desk-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.desk-body h3 { font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: 8px; }
.desk-body p, .desk-body li { color: var(--ink-2); font-size: 16px; }
.desk-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.desk-body .full { grid-column: 1 / -1; }
.click-line { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.click-line b { color: var(--accent); }
@media (max-width: 860px) { .desk { grid-template-columns: 1fr; } .desk-head { position: static; } .desk-body { grid-template-columns: 1fr; } }

/* Download page */
.dl-card { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; box-shadow: var(--shadow-1); }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-3); font-size: 14px; }
.dl-meta b { color: var(--ink); font-weight: 700; }
.release { border-top: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.release h3 { font-size: 20px; }
.release ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.release .v { font-weight: 800; font-size: 15px; }
@media (max-width: 700px) { .release { grid-template-columns: 1fr; gap: 6px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li b { color: var(--ink); display: block; }
.checklist .n { width: 28px; height: 28px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }

/* Account and support */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 22px; letter-spacing: -0.02em; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .panel-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); color: var(--ink-2); font-size: 15px; }
.notice.amber { background: var(--amber-soft); color: var(--ink); border: 1px solid var(--amber-line); }
.notice.accent { background: var(--accent-soft); color: var(--ink); }
.notice[hidden] { display: none; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); max-width: 100%; }
.copy-row code { font-family: var(--mono); font-size: 16px; overflow-wrap: anywhere; min-width: 0; flex: 1; }
.copy-status { font-size: 14px; color: var(--accent); font-weight: 700; min-height: 20px; }

/* Privacy (and any long text page) */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.doc h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin-top: 12px; }
.doc .intro { font-size: 20px; color: var(--ink-2); margin-top: 28px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 52px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.doc li strong, .doc p strong { color: var(--ink); }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.toc { margin-top: 36px; padding: 20px 24px; border-radius: 18px; background: var(--bg-2); }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { color: var(--ink-2); padding: 3px 0; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--ink); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; line-height: 1.5; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="scale"] { transform: translateY(24px) scale(.96); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .hero-copy > * { animation: rise 1s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .js .hero-stage { animation: rise 1.2s var(--ease) .3s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-stage .stage-tilt, .hero-phone { transform: none !important; }
  .ap-story { height: auto; }
  .ap-sticky { position: static; height: auto; min-height: 0; padding: 96px 0; }
  .ap-steps li { color: var(--ink) !important; }
  .ap-steps li span { max-height: none !important; opacity: 1 !important; margin: 6px 0 12px !important; }
  .ap-progress { display: none; }
}

/* Print: the policy pages print cleanly */
@media print { .site-head, .site-foot, .skip { display: none; } body { background: #fff; color: #000; } }

/* Inline icons from the sprite */
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .i { width: 20px; height: 20px; }
.sec-alt .compare thead th { background: var(--bg-2); }
/* Phones: wide product windows bleed off the right edge at a legible size (site.js applies data-min) */
@media (max-width: 700px) {
  .shot[data-min] { width: auto; margin-right: calc(-1 * max(20px, env(safe-area-inset-right))); overflow-x: clip; }
  .shot[data-min] .win { border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .hero-stage { padding-right: 0 !important; }
  .hero-stage .shot[data-min] { margin-right: 0; }
}
@media (max-width: 700px) {
  .shot { overflow-x: clip; overflow-clip-margin: 16px; }
  .shot[data-min] { overflow-clip-margin: 0px; }
  .shot-scale { zoom: var(--z, .3); }
}
@media (max-width: 640px) {
  .table-scroll .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 4px; }
  .compare thead th { font-size: 11.5px; letter-spacing: -0.01em; }
  .compare td .tag { white-space: normal; font-size: 10.5px; padding: 3px 6px; text-align: center; }
  .compare th:first-child { width: 46%; padding-right: 8px; }
}
.doc p, .doc li { overflow-wrap: break-word; }
@media (min-width: 641px) and (max-width: 980px) {
  .bento .w4 { grid-column: span 6; }
  .bento > :nth-child(3):last-child { grid-column: span 6; }
}
/* Inverse cards inside renderings follow the app: dark on light, light on dark */
:root { --m-inv: #121A24; --m-inv-ink: #EDF0F3; --m-inv-ink-2: #AEB7C2; --m-inv-acc: #4FB8AE; }
:root[data-theme="dark"] { --m-inv: #EDF0F3; --m-inv-ink: #121A24; --m-inv-ink-2: #4B5563; --m-inv-acc: #15766F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --m-inv: #EDF0F3; --m-inv-ink: #121A24; --m-inv-ink-2: #4B5563; --m-inv-acc: #15766F; } }
.m-inv { background: var(--m-inv); color: var(--m-inv-ink); --inverse-accent: var(--m-inv-acc); }
.m-inv .m-sub, .m-inv .t2 { color: var(--m-inv-ink-2); }

/* Account page: sign-in by email (billing.js, account.js). */
.panel[hidden] { display: none; }
.text-input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.text-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Real screenshots (2026-11-11) ----------
   Screens of the shipping app on fixture data, one light and one dark file; the one matching this page's theme shows. */
.win-bar b { margin: 0; transform: none; }
.win-bar::after { content: ""; margin-left: auto; width: 84px; height: 12px; flex: none; opacity: .75; background: no-repeat center / 84px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 12' fill='none' stroke='%238B949E' stroke-width='1.3'%3E%3Cpath d='M4 6.5h10'/%3E%3Crect x='37.5' y='1.5' width='9' height='9' rx='1'/%3E%3Cpath d='m70 1.5 9 9M79 1.5l-9 9'/%3E%3C/svg%3E"); }
img.real { display: block; width: 100%; height: auto; }
.real-dark { display: none !important; }
:root[data-theme="dark"] .real-light { display: none !important; }
:root[data-theme="dark"] .real-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .real-light { display: none !important; }
  :root:not([data-theme="light"]) .real-dark { display: block !important; }
}
.shot-real .win { background: var(--bg-2); }
.hero-meta a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.hero-meta a:hover { color: var(--accent); }
.hero-note { margin: -8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.real-tabs { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.seg-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); flex-wrap: wrap; justify-content: center; }
.seg-tabs button { border: 0; background: transparent; color: var(--ink-2); font: 700 14px/20px var(--font); padding: 8px 16px; border-radius: 9px; cursor: pointer; min-height: 40px; transition: background .15s, color .15s; }
.seg-tabs button:hover { color: var(--ink); }
.seg-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 26, 36, .12); }
.seg-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.real-stage { width: 100%; max-width: 1100px; }
.real-pane[hidden] { display: none; }
.real-pane .win { box-shadow: var(--shadow-2); }
@media (max-width: 700px) {
  .real-stage { align-self: stretch; min-width: 0; margin-right: calc(-1 * max(20px, env(safe-area-inset-right))); width: auto; overflow-x: clip; }
  .real-pane .win { width: 860px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .seg-tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .seg-tabs::-webkit-scrollbar { display: none; }
  .seg-tabs button { padding: 8px 12px; flex: none; }
}
.desk-shot { margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.desk-shot .win { box-shadow: var(--shadow-1); }
.desk-shot figcaption { font-size: 12.5px; color: var(--ink-3); }
/* Who builds it: the founder line and the agent-stories slot, marked Coming until there are real ones. */
.founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder-copy { display: flex; flex-direction: column; gap: 18px; }
.founder-copy sup { font-size: .4em; vertical-align: super; letter-spacing: 0; }
.founder-proof { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--surface); }
.founder-proof h3 { margin: 4px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.founder-proof p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
/* Headings the account page focuses for screen readers: no box drawn around them. Native radios and checkboxes use the brand teal. */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, h3[tabindex="-1"]:focus { outline: none; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); }

/* ---------- Tours: the scroll story, in 3D ----------
   Shares the sticky frame, steps and progress bar with the Approvals story (.ap-story), driven by data-step and --t.
   Built from ordinary elements and CSS transforms: no WebGL, no library. At 900px and below, and for visitors who ask
   for less motion, the scene is not shown and the Tours screen below carries the section, as it did before. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .tr-story { height: 360vh; } }
.tr-rest { padding-top: clamp(8px, 2vw, 24px); }
.tr-stage { --t: 1; --mx: 0; --my: 0; position: relative; margin: 0; height: min(600px, 72vh); perspective: 1400px; perspective-origin: 50% 30%; }
.tr-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 5deg)); transition: transform .3s ease-out; }
.tr-floor { position: absolute; left: -8%; right: -8%; bottom: 0; height: 125%; transform-origin: 50% 100%; transform: rotateX(calc(72deg - var(--t) * 20deg)); border-radius: 28px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }
.tr-floor svg { display: block; width: 100%; height: 100%; }
.tr-land { fill: var(--surface-2); }
.tr-water { fill: color-mix(in srgb, var(--accent) 24%, var(--surface-2)); }
.tr-river { fill: none; stroke: color-mix(in srgb, var(--accent) 24%, var(--surface-2)); stroke-linecap: round; }
.tr-grid, .tr-contour { fill: none; stroke: var(--line); stroke-width: 1; }
.tr-lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; fill: var(--ink-3); }
.tr-cands circle { fill: var(--ink-3); opacity: 0; transition: opacity .5s ease; }
.tr-route { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease); }
.tr-pin { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease); }
.tr-pin circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; transition: fill .4s ease; }
.tr-pin text { font-family: var(--font); font-weight: 800; font-size: 13px; fill: var(--on-accent); text-anchor: middle; }
.tr-pin.p2 { transition-delay: .08s; } .tr-pin.p3 { transition-delay: .16s; } .tr-pin.p4 { transition-delay: .24s; }
.tr-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); padding: 16px; font-size: 13.5px; line-height: 1.45; transition: opacity .5s ease, translate .6s var(--ease); }
.tr-ask { top: 0; left: 0; width: min(310px, 54%); transform: translateZ(100px); }
.tr-tour { top: 7%; right: 0; width: min(330px, 56%); transform: translateZ(170px); opacity: 0; translate: 0 40px; }
.tr-km { left: 6%; bottom: 7%; padding: 10px 16px; border-radius: 999px; transform: translateZ(230px); opacity: 0; translate: 0 30px; }
.tr-bubble { background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-weight: 600; }
.tr-found { overflow: hidden; color: var(--ink-2); max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s ease, margin .4s ease; }
.tr-found b { color: var(--ink); }
.tr-stops { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.tr-stops li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tr-stops i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-style: normal; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; transition: background .4s ease; }
.tr-stops span { font-weight: 700; min-width: 0; }
.tr-stops small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tr-stops em { font-style: normal; opacity: 0; transition: opacity .4s ease; }
.tr-stops li:nth-child(2) em { transition-delay: .1s; } .tr-stops li:nth-child(3) em { transition-delay: .2s; } .tr-stops li:nth-child(4) em { transition-delay: .3s; }
.tr-story:not([data-step="0"]) .tr-pin { transform: scale(1); }
.tr-story:not([data-step="0"]) .tr-cands circle { opacity: .45; }
.tr-story:not([data-step="0"]) .tr-found { max-height: 40px; opacity: 1; margin-top: 10px; }
.tr-story[data-step="2"] .tr-route, .tr-story[data-step="3"] .tr-route { stroke-dashoffset: 0; }
.tr-story[data-step="2"] .tr-tour, .tr-story[data-step="3"] .tr-tour, .tr-story[data-step="2"] .tr-km, .tr-story[data-step="3"] .tr-km { opacity: 1; translate: 0 0; }
.tr-story[data-step="3"] .tr-stops em { opacity: 1; }
.tr-story[data-step="3"] .tr-pin.p3 circle, .tr-story[data-step="3"] .tr-stops li.amb i { fill: var(--amber); background: var(--amber); }
@media (max-width: 900px) { .tr-stage { display: none; } }
@media (prefers-reduced-motion: reduce) { .tr-stage { display: none; } }
