/* Operate marketing site: shared system. Agents: use these classes, never add literal colours in pages. */

:root {
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --ink: #0e2233;
  --ink-2: #3d5164;
  --ink-3: #5e7184;
  --line: #d9e0e8;
  --line-soft: #e6ebf1;
  --brand: #0f4c75;
  --brand-ink: #ffffff;
  --brand-soft: #e3eff8;
  --accent: #00897b;
  --accent-soft: #dff2ef;
  --accent-ink: #00695f;
  --gold: #c9a84c;
  --gold-soft: #f6efd9;
  --gold-ink: #7a5f12;
  --warn: #b45309;
  --warn-soft: #fbefdd;
  --danger: #c2271f;
  --shadow-1: 0 1px 2px rgb(14 34 51 / .05), 0 6px 18px rgb(14 34 51 / .06);
  --shadow-2: 0 2px 6px rgb(14 34 51 / .06), 0 22px 48px rgb(14 34 51 / .12);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #08141d; --surface: #0e1f2c; --surface-2: #132a3b; --ink: #e8eef4; --ink-2: #b6c4d1; --ink-3: #8ea2b5;
    --line: #1f3a4f; --line-soft: #183145; --brand: #2a7ab3; --brand-ink: #ffffff; --brand-soft: #12324a;
    --accent: #22b3a2; --accent-soft: #0f3833; --accent-ink: #5fd6c7; --gold: #d8bd6a; --gold-soft: #2f2a17; --gold-ink: #e6cf8a;
    --warn: #f0a93c; --warn-soft: #3a2a12; --danger: #f1685e;
    --shadow-1: 0 1px 0 rgb(255 255 255 / .03) inset, 0 8px 24px rgb(0 0 0 / .35);
    --shadow-2: 0 1px 0 rgb(255 255 255 / .04) inset, 0 24px 60px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #08141d; --surface: #0e1f2c; --surface-2: #132a3b; --ink: #e8eef4; --ink-2: #b6c4d1; --ink-3: #8ea2b5;
  --line: #1f3a4f; --line-soft: #183145; --brand: #2a7ab3; --brand-ink: #ffffff; --brand-soft: #12324a;
  --accent: #22b3a2; --accent-soft: #0f3833; --accent-ink: #5fd6c7; --gold: #d8bd6a; --gold-soft: #2f2a17; --gold-ink: #e6cf8a;
  --warn: #f0a93c; --warn-soft: #3a2a12; --danger: #f1685e;
  --shadow-1: 0 1px 0 rgb(255 255 255 / .03) inset, 0 8px 24px rgb(0 0 0 / .35);
  --shadow-2: 0 1px 0 rgb(255 255 255 / .04) inset, 0 24px 60px rgb(0 0 0 / .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 var(--font-body); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:root[data-theme="dark"] a, :root:not([data-theme="light"]) a { }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; font-optical-sizing: auto; }
.display { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.1; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
.h4 { font-size: 1.0625rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 0; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.small { font-size: .9375rem; color: var(--ink-3); }
.tiny { font-size: .8125rem; color: var(--ink-3); }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.label { font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.em { color: var(--accent-ink); }
.stack > * + * { margin-top: var(--s, 1rem); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line-soft); }
.band-ink { background: #0b1d2b; color: #e8eef4; --ink: #e8eef4; --ink-2: #c3d0dc; --ink-3: #9fb1c2; --line: #24425a; --line-soft: #1c3549; --surface: #12283a; --surface-2: #163049; }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: #ffffff; }
.band-ink .lede, .band-ink .body { color: #c3d0dc; }
.band-ink a:not(.btn) { color: #7cc4f0; }
:root[data-theme="dark"] .band-ink { background: #031019; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-ink { background: #031019; } }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split.reverse > :first-child { order: 2; }
  .split.wide-left { grid-template-columns: 1.3fr .7fr; }
  .split.wide-right { grid-template-columns: .8fr 1.2fr; }
}
.cols-2 { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: 1fr; }
.cols-3 { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 768px) { .cols-2 { grid-template-columns: 1fr 1fr; } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 6px 16px rgb(15 76 117 / .22); }
.btn-primary:hover { background: color-mix(in oklab, var(--brand) 88%, black); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); text-decoration: none; }
.btn-light { background: var(--canvas); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn i { font-size: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; color: var(--brand); }
:root[data-theme="dark"] .link-arrow, :root[data-theme="dark"] a { color: #7cc4f0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-arrow, :root:not([data-theme="light"]) a { color: #7cc4f0; } }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in oklab, var(--canvas) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.site-header .bar { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) !important; font: 700 1.3rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); position: relative; flex: none; }
.brand-mark::before { content: ""; position: absolute; inset: 8px 8px; border-radius: 50%; border: 3px solid #fff; }
.brand-mark::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #2fd3bf; right: 4px; top: 4px; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.nav a, .nav button { color: var(--ink-2) !important; font: 500 .9688rem/1 var(--font-body); text-decoration: none; padding: 10px 12px; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--ink) !important; background: var(--surface-2); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.15rem; }
.icon-btn:hover { background: var(--surface); }
.menu-btn { display: inline-grid; }
.header-cta { display: none; }
@media (min-width: 1040px) { .nav { display: flex; } .menu-btn { display: none; } .header-cta { display: inline-flex; } }

.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(720px, 90vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease), visibility .18s; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid !important; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: start; padding: 12px !important; border-radius: var(--r) !important; line-height: 1.3 !important; }
.mega a i { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.25rem; }
:root[data-theme="dark"] .mega a i { color: #7cc4f0; }
.mega a strong { color: var(--ink); font-weight: 600; font-size: .9688rem; }
.mega a span { color: var(--ink-3); font-size: .875rem; }
.mega .mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); margin-top: 6px; padding: 12px 12px 4px; font-size: .9rem; color: var(--ink-3); }

.drawer { position: fixed; inset: 68px 0 0; z-index: 39; background: var(--canvas); padding: 16px var(--gutter) 40px; overflow-y: auto; display: none; }
.drawer.open { display: block; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; font-size: 1.0625rem; color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.drawer a i { color: var(--ink-3); }
.drawer .drawer-group { font: 600 .8125rem/1 var(--font-body); color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; padding: 22px 4px 6px; }
.drawer .btn { width: 100%; margin-top: 24px; color: var(--brand-ink) !important; border: 0; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 64px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer-grid h4 { font: 600 .875rem/1 var(--font-body); color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2) !important; text-decoration: none; }
.footer-grid a:hover { color: var(--ink) !important; text-decoration: underline; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; color: var(--ink-3); font-size: .8438rem; }
.footer-legal p { margin: 0; max-width: 90ch; }

/* ---------- Surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-1); }
.panel { background: var(--surface-2); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: 500 .8125rem/1 var(--font-body); white-space: nowrap; }
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }
:root[data-theme="dark"] .chip-brand { color: #7cc4f0; }
.chip-gold { background: var(--gold-soft); color: var(--gold-ink); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-soon { background: transparent; border: 1px dashed var(--line); color: var(--ink-3); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.5rem; flex: none; }
:root[data-theme="dark"] .icon-tile { color: #7cc4f0; }
.icon-tile.accent { background: var(--accent-soft); color: var(--accent-ink); }
.icon-tile.gold { background: var(--gold-soft); color: var(--gold-ink); }

/* Device frames around REAL screenshots only */
.device { position: relative; width: 300px; max-width: 100%; border-radius: 38px; padding: 9px; background: #0b1822; box-shadow: var(--shadow-2), 0 0 0 1px rgb(255 255 255 / .06) inset; }
.device img { border-radius: 30px; width: 100%; aspect-ratio: 412 / 742; object-fit: cover; object-position: top; background: #f8fafc; }
.device.sm { width: 236px; max-width: 100%; border-radius: 32px; padding: 7px; }
.device.sm img { border-radius: 26px; }
.tablet { position: relative; border-radius: 22px; padding: 10px; background: #0b1822; box-shadow: var(--shadow-2); }
.tablet img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot-caption { margin-top: 14px; font-size: .875rem; color: var(--ink-3); }
.stage { position: relative; }
.stage .device.float { position: absolute; right: -4%; bottom: -12%; width: 38%; }

/* Ledger / receipt motif: line items with right-aligned figures */
.ledger { display: grid; gap: 0; font-size: .9688rem; }
.ledger .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ledger .row:last-child { border-bottom: 0; }
.ledger .row .num { color: var(--ink); white-space: nowrap; }
.ledger .row.total { border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 14px; font-weight: 600; }
.receipt { background: var(--surface); padding: 26px 24px 30px; border-radius: 4px; box-shadow: var(--shadow-1);
  -webkit-mask: radial-gradient(circle 6px at 8px 100%, #0000 98%, #000) -8px 0/16px 100% repeat-x;
          mask: radial-gradient(circle 6px at 8px 100%, #0000 98%, #000) -8px 0/16px 100% repeat-x; }

/* Feature rows: icon + text, grouped, not cards */
.feature-list { display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; }
.feature > i { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.35rem; }
:root[data-theme="dark"] .feature > i { color: #7cc4f0; }
.feature h3 { font: 650 1.0625rem/1.3 var(--font-display); letter-spacing: -0.01em; margin-top: 2px; }
.feature p { color: var(--ink-2); font-size: .9688rem; margin: 4px 0 0; }

/* Checks / never list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.checks li i { color: var(--accent); font-size: 1.25rem; margin-top: 1px; }
.checks.never li i { color: var(--danger); }

/* Steps / ladder */
.ladder { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.ladder li { position: relative; padding: 0 0 32px 56px; }
.ladder li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.ladder li:last-child::before { display: none; }
.ladder .dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font: 600 .875rem/1 var(--font-mono); color: var(--ink-2); }
.ladder li.on .dot { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Callout */
.note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--brand-soft); color: var(--ink-2); font-size: .9375rem; }
.note i { color: var(--brand); font-size: 1.2rem; }
:root[data-theme="dark"] .note i { color: #7cc4f0; }
.note.gold { background: var(--gold-soft); } .note.gold i { color: var(--gold-ink); }

/* Page hero for inner pages */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 72px); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3) !important; text-decoration: none; }
.crumbs a:hover { color: var(--ink) !important; }

/* Sub-nav pills for long pages */
.subnav { position: sticky; top: 68px; z-index: 30; background: color-mix(in oklab, var(--canvas) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav a { flex: none; color: var(--ink-2) !important; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .9375rem; }
.subnav a:hover, .subnav a.active { background: var(--surface); color: var(--ink) !important; box-shadow: var(--shadow-1); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.0625rem/1.4 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem/1 var(--font-body); color: var(--ink-3); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* Forms */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .8438rem; color: var(--ink-3); }
.field .error { font-size: .8438rem; color: var(--danger); display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 48px; padding: 10px 14px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check-field { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-2); }
.check-field input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--brand); }

/* Prose for legal pages */
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.todo { background: var(--warn-soft); color: var(--warn); padding: 0 6px; border-radius: 4px; font-weight: 600; }

/* Reveal motion */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Utilities */
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 40px } .mt-5 { margin-top: 64px }
.mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px } .mb-4 { margin-bottom: 40px }
.center { text-align: center; } .muted { color: var(--ink-3); }
.max-50 { max-width: 50ch } .max-60 { max-width: 60ch }
.hide-sm { display: none } @media (min-width: 768px) { .hide-sm { display: initial } }
[hidden] { display: none !important; }

/* ---------- Phone condensing (site.js adds these on screens under 768px) ---------- */
.shot-btn, .more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .9375rem/1 var(--font-body); cursor: pointer; }
.shot-btn i, .more-btn i { font-size: 1.15rem; color: var(--accent-ink); }
.shot-btn:active, .more-btn:active { transform: scale(.98); }
.m-off { display: none !important; }
.more-btn { margin-top: 14px; }
.shot-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); max-height: 92vh; overflow: visible; }
.shot-dialog.wide { max-width: 96vw; }
.shot-dialog::backdrop { background: rgb(4 14 22 / .72); backdrop-filter: blur(3px); }
.shot-dialog img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); }
.shot-dialog .close { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 1.25rem; display: grid; place-items: center; box-shadow: var(--shadow-1); cursor: pointer; }
.shot-dialog p { margin: 12px 4px 0; color: #e8eef4; font-size: .875rem; text-align: center; }
.m-acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; color: var(--ink); font: 650 1.125rem/1.3 var(--font-display); text-align: left; cursor: pointer; }
.m-acc-head i { color: var(--ink-3); transition: transform .2s var(--ease); flex: none; }
.m-acc-head[aria-expanded="true"] i { transform: rotate(180deg); }
@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .section-tight { padding: 32px 0; }
  .page-hero { padding: 28px 0 36px; }
  .lede { font-size: 1.0625rem; }
  .feature-list { gap: 20px; }
  .ladder li { padding-bottom: 22px; }
  .mt-4 { margin-top: 28px; } .mt-5 { margin-top: 40px; }
  .site-footer { padding: 40px 0 24px; }
  .footer-grid { gap: 24px; }
  .footer-legal { margin-top: 28px; }
}
.m-clip { max-height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.m-more { margin-top: -8px; }
.m-more .more-btn { margin-top: 0; }
@media (max-width: 767px) {
  .page-hero .device { width: 190px; margin-inline: auto; padding: 6px; border-radius: 28px; }
  .page-hero .device img { border-radius: 22px; }
  .page-hero .split { gap: 24px; }
  .page-hero .shot-caption { text-align: center; }
}
/* Buttons keep their own text colour in every theme (link colours must not win). */
a.btn-primary, a.btn-primary:hover { color: var(--brand-ink) !important; }
a.btn-ghost, a.btn-ghost:hover, a.btn-light { color: var(--ink) !important; }
