/* saRa website. "Night navy + paper + saffron" (owner, 8 Nov 2026), the 2 + 1 rule:
   two bases carry the page (paper #F5F4EF and night navy #121735; dark theme: deep ink-navy
   #0A0F24 pages alternating with lighter navy #18204A bands, owner-approved "C2", 8 Nov 2026),
   and ONE accent, saffron --cta, appears only on "Start free trial" (.btn-cta).
   Everything else is ink: links, outlined buttons, icon tiles, focus. Status colours stay out of
   the site chrome (only the hero's app mock keeps them); screenshots are never recoloured.
   The system UI font, as in the app. */

/* Light colours. Also declared on the hero's app mock (.hero .frame), so the product shows its light
   look in both themes and is the brightest thing on a dark page. */
:root, .hero .frame {
  color-scheme: light;
  --canvas: #F5F4EF; --canvas-deep: #EAE8E0; --surface: #FFFFFF; --surface-muted: #FAF9F5;
  --border: #E3E1D8; --border-strong: #CFCCC0; --border-input: #8A8778;
  --text: #262B45; --text-strong: #121735; --text-muted: #5A5F75;
  --ink: #121735; --tint: #EAE8E0;
  --base-b: #121735; --base-b-raised: #1D2350; --base-b-line: #2C3366; --on-base-b: #F5F4EF; --on-base-b-muted: #B9BDD2;
  --cta: #F4A340; --cta-hover: #F6B262; --cta-edge: #D98A2B; --on-cta: #121735;
  --success-soft: #E7F8F1; --success: #047857; --success-dot: #10A37A;
  --warning-soft: #FFF6E3; --warning: #A14C08; --warning-dot: #E09422;
  --danger-soft: #FFF0F3; --danger: #BE123C; --danger-dot: #E5486B;
  --sh-card: 0 1px 2px rgba(18,23,53,.05);
  --sh-pop: 0 2px 6px rgba(18,23,53,.06), 0 16px 40px rgba(18,23,53,.10);
  --scrim: rgba(18,23,53,.40); --shot-scrim: rgba(12,12,16,.30); --shot-dim: 1;
  /* older names, now roles: "accent" is ink, "accent-soft" is the neutral tint */
  --accent: var(--ink); --accent-hover: var(--ink); --accent-ink: var(--ink); --accent-soft: var(--tint); --on-accent: var(--canvas);
  --info-soft: var(--tint); --info: var(--ink); --neutral-soft: var(--tint); --neutral: var(--text-muted);
  --money-bg: var(--base-b); --money-cell: var(--base-b-raised); --money-label: var(--on-base-b-muted);
  --money-value: var(--on-base-b); --money-sub: var(--on-base-b-muted); --money-bar: var(--on-base-b-muted);
  --fan-1: var(--on-base-b); --fan-2: var(--on-base-b-muted); --fan-3: var(--on-base-b); --fan-off: var(--base-b-line);
  --frame-line: color-mix(in srgb, var(--base-b) 22%, transparent);
}
:root {
  /* Depth and rhythm hooks. Quiet in light (they reproduce the light look exactly); the dark blocks
     below give them values. Not part of the colour block, so the hero mock inherits them. */
  --edge: none; --edge-strong: none;                    /* 1px light top edge on raised surfaces */
  --sec-band: transparent; --sec-band-edge: none;       /* .band-sec: the second base, full width */
  --sec-band-bleed: none; --sec-band-clip: none; --sec-band-pb: 0px;  /* .band-sec inside a .wrap */
  --surface-on-band: var(--surface); --surface-muted-on-band: var(--surface-muted);
  --tint-on-band: var(--tint); --border-on-band: var(--border); --border-strong-on-band: var(--border-strong);
  --header-raised: color-mix(in srgb, var(--canvas) 88%, transparent); --header-raised-sh: none; --header-raised-line: var(--border);
  --drawer-bg: var(--canvas);
  --footer-bg: transparent; --footer-gap: 24px; --footer-line: var(--border); --footer-edge: none;
  --frame-rim: var(--frame-line); --frame-shadow: none; --shot-shadow: none;
  --chain-bg: var(--money-bg); --chain-dim: .62;
  --hero-h1-size: var(--fs-display); --hero-h1-lh: 1.04; --hero-h1-track: -.035em; --hero-h1-weight: 600; --h2-weight: 600;

  --ff-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --fs-xs: .75rem; --fs-sm: .8125rem; --fs-base: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --fs-display: clamp(2.375rem, 1.5rem + 3.4vw, 4rem);

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --r-2xl: 24px; --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 140ms; --t-base: 240ms; --t-slow: 640ms;
  --gutter: 16px;
  --wrap: 1200px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    /* C2: two bases (page L0 #0A0F24, band #18204A) and three elevation levels:
       L1 cards #161E45 on the page, L2 #222B5E cards on a band / raised header, L3 #2B3570 top layer. */
    --canvas: #0A0F24; --canvas-deep: #070B1C; --surface: #161E45; --surface-muted: #131A3D;
    --border: #252E63; --border-strong: #3A447F; --border-input: #7880AC;
    --text: #CDD0E0; --text-strong: #FFFFFF; --text-muted: #A2A8C6;
    --ink: #FFFFFF; --tint: #232C5E;
    --base-b: #18204A; --base-b-raised: #222B5E; --base-b-line: #323C78; --on-base-b: #FFFFFF; --on-base-b-muted: #B9BED6;
    --cta: #F4A340; --cta-hover: #F6B262; --cta-edge: #F4A340; --on-cta: #121735;
    --success-soft: #0F2E25; --success: #6EDDB0; --success-dot: #2FBF8C;
    --warning-soft: #33260F; --warning: #F6BC6C; --warning-dot: #E09422;
    --danger-soft: #3A1520; --danger: #FB9AAE; --danger-dot: #E5486B;
    --edge: inset 0 1px 0 rgba(255,255,255,.08); --edge-strong: inset 0 1px 0 rgba(255,255,255,.11);
    --sh-card: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.35);
    --sh-pop: inset 0 1px 0 rgba(255,255,255,.11), 0 2px 6px rgba(0,0,0,.35), 0 18px 44px rgba(0,0,0,.5);
    --scrim: rgba(3,5,15,.6); --shot-scrim: rgba(0,0,0,.30); --shot-dim: .94;
    /* older names, now roles: "accent" is ink, "accent-soft" is the neutral tint */
    --accent: var(--ink); --accent-hover: var(--ink); --accent-ink: var(--ink); --accent-soft: var(--tint); --on-accent: var(--canvas);
    --info-soft: var(--tint); --info: var(--ink); --neutral-soft: var(--tint); --neutral: var(--text-muted);
    --money-bg: var(--base-b); --money-cell: var(--base-b-raised); --money-label: var(--on-base-b-muted);
    --money-value: var(--on-base-b); --money-sub: var(--on-base-b-muted); --money-bar: var(--on-base-b-muted);
    --fan-1: var(--on-base-b); --fan-2: var(--on-base-b-muted); --fan-3: var(--on-base-b); --fan-off: var(--base-b-line);
    --frame-line: rgba(255,255,255,.18);
    /* hooks (see the light :root) */
    --sec-band: #18204A; --sec-band-edge: inset 0 1px 0 rgba(255,255,255,.06);
    --sec-band-bleed: 0 0 0 100vmax #18204A; --sec-band-clip: inset(0 -100vmax); --sec-band-pb: clamp(48px, 4vw + 24px, 88px);
    --band-pad: clamp(64px, 5vw + 40px, 128px);
    --surface-on-band: #222B5E; --surface-muted-on-band: #222B5E;
    --tint-on-band: #2B3570; --border-on-band: #303A75; --border-strong-on-band: #3E4985;
    --header-raised: color-mix(in srgb, #222B5E 92%, transparent);
    --header-raised-sh: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.35); --header-raised-line: transparent;
    --drawer-bg: #2B3570;
    --footer-bg: #18204A; --footer-gap: 0px; --footer-line: transparent; --footer-edge: inset 0 1px 0 rgba(255,255,255,.06);
    --frame-rim: rgba(255,255,255,.22);
    --frame-shadow: 0 30px 80px -20px rgba(0,0,0,.75), 0 12px 24px -8px rgba(0,0,0,.45);
    --shot-shadow: 0 24px 60px -18px rgba(0,0,0,.7);
    --chain-bg: #2B3570; --chain-dim: .85;
    --hero-h1-size: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); --hero-h1-lh: 1; --hero-h1-track: -.04em; --hero-h1-weight: 700; --h2-weight: 650;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  /* C2: two bases (page L0 #0A0F24, band #18204A) and three elevation levels:
     L1 cards #161E45 on the page, L2 #222B5E cards on a band / raised header, L3 #2B3570 top layer. */
  --canvas: #0A0F24; --canvas-deep: #070B1C; --surface: #161E45; --surface-muted: #131A3D;
  --border: #252E63; --border-strong: #3A447F; --border-input: #7880AC;
  --text: #CDD0E0; --text-strong: #FFFFFF; --text-muted: #A2A8C6;
  --ink: #FFFFFF; --tint: #232C5E;
  --base-b: #18204A; --base-b-raised: #222B5E; --base-b-line: #323C78; --on-base-b: #FFFFFF; --on-base-b-muted: #B9BED6;
  --cta: #F4A340; --cta-hover: #F6B262; --cta-edge: #F4A340; --on-cta: #121735;
  --success-soft: #0F2E25; --success: #6EDDB0; --success-dot: #2FBF8C;
  --warning-soft: #33260F; --warning: #F6BC6C; --warning-dot: #E09422;
  --danger-soft: #3A1520; --danger: #FB9AAE; --danger-dot: #E5486B;
  --edge: inset 0 1px 0 rgba(255,255,255,.08); --edge-strong: inset 0 1px 0 rgba(255,255,255,.11);
  --sh-card: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.35);
  --sh-pop: inset 0 1px 0 rgba(255,255,255,.11), 0 2px 6px rgba(0,0,0,.35), 0 18px 44px rgba(0,0,0,.5);
  --scrim: rgba(3,5,15,.6); --shot-scrim: rgba(0,0,0,.30); --shot-dim: .94;
  /* older names, now roles: "accent" is ink, "accent-soft" is the neutral tint */
  --accent: var(--ink); --accent-hover: var(--ink); --accent-ink: var(--ink); --accent-soft: var(--tint); --on-accent: var(--canvas);
  --info-soft: var(--tint); --info: var(--ink); --neutral-soft: var(--tint); --neutral: var(--text-muted);
  --money-bg: var(--base-b); --money-cell: var(--base-b-raised); --money-label: var(--on-base-b-muted);
  --money-value: var(--on-base-b); --money-sub: var(--on-base-b-muted); --money-bar: var(--on-base-b-muted);
  --fan-1: var(--on-base-b); --fan-2: var(--on-base-b-muted); --fan-3: var(--on-base-b); --fan-off: var(--base-b-line);
  --frame-line: rgba(255,255,255,.18);
  /* hooks (see the light :root) */
  --sec-band: #18204A; --sec-band-edge: inset 0 1px 0 rgba(255,255,255,.06);
  --sec-band-bleed: 0 0 0 100vmax #18204A; --sec-band-clip: inset(0 -100vmax); --sec-band-pb: clamp(48px, 4vw + 24px, 88px);
  --band-pad: clamp(64px, 5vw + 40px, 128px);
  --surface-on-band: #222B5E; --surface-muted-on-band: #222B5E;
  --tint-on-band: #2B3570; --border-on-band: #303A75; --border-strong-on-band: #3E4985;
  --header-raised: color-mix(in srgb, #222B5E 92%, transparent);
  --header-raised-sh: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.35); --header-raised-line: transparent;
  --drawer-bg: #2B3570;
  --footer-bg: #18204A; --footer-gap: 0px; --footer-line: transparent; --footer-edge: inset 0 1px 0 rgba(255,255,255,.06);
  --frame-rim: rgba(255,255,255,.22);
  --frame-shadow: 0 30px 80px -20px rgba(0,0,0,.75), 0 12px 24px -8px rgba(0,0,0,.45);
  --shot-shadow: 0 24px 60px -18px rgba(0,0,0,.7);
  --chain-bg: #2B3570; --chain-dim: .85;
  --hero-h1-size: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); --hero-h1-lh: 1; --hero-h1-track: -.04em; --hero-h1-weight: 700; --h2-weight: 650;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font: 400 var(--fs-md)/1.6 var(--ff-sans); font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: var(--fs-2xl); line-height: 1.12; letter-spacing: -.025em; font-weight: var(--h2-weight); }
h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
code, kbd { font-family: var(--ff-mono); font-size: .88em; }
code { background: var(--neutral-soft); color: var(--text-strong); padding: .1em .4em; border-radius: var(--r-sm); }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .4em; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--r-sm); background: var(--surface); color: var(--text-muted); text-align: center; line-height: 1.5; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
html { scrollbar-color: var(--border-strong) transparent; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transition: top var(--t-fast) var(--ease); }
.skip:focus { top: 12px; }
.muted { color: var(--text-muted); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-md); font: 600 var(--fs-base)/1 var(--ff-sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
/* The one accent: "Start free trial" only. Every other button is outlined ink. */
.btn-cta { background: var(--cta); color: var(--on-cta); border-color: var(--cta-edge); }
.btn-cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); text-decoration: none; }
.btn-primary, .btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-primary:hover, .btn-quiet:hover { background: var(--tint); text-decoration: none; }
/* "See every feature": a plain underlined ink link, not a third button */
.hero-actions .btn-quiet[href$="features/"] { border-color: transparent; background: none; padding-inline: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.hero-actions .btn-quiet[href$="features/"]:hover { text-decoration-thickness: 2px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: var(--fs-md); border-radius: var(--r-lg); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--text-muted); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.icon-btn:hover { background: var(--accent-soft); color: var(--accent-ink); }
.icon-btn svg { width: 20px; height: 20px; }
.ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.site-header.scrolled { background: var(--header-raised); border-bottom-color: var(--header-raised-line); box-shadow: var(--header-raised-sh); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); text-decoration: none; font-weight: 650; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav { display: none; align-items: center; gap: 4px; margin-inline-start: 24px; }
.nav a { padding: 8px 12px; border-radius: var(--r-md); color: var(--text); font-size: var(--fs-base); font-weight: 500; text-decoration: none; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
.header-end { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.header-end .btn { display: none; min-height: 40px; padding: 0 16px; }
.menu-btn { display: inline-grid; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-end .btn { display: inline-flex; margin-inline-start: 8px; }
  .menu-btn { display: none; }
}
.header-end .header-demo { display: none; }
@media (min-width: 1100px) { .header-end .header-demo { display: inline-flex; } }
.theme-btn .t-sun, .theme-btn .t-moon, .theme-btn .t-auto { display: none; }
:root[data-theme-pref="light"] .theme-btn .t-sun, :root[data-theme-pref="dark"] .theme-btn .t-moon, :root:not([data-theme-pref]) .theme-btn .t-auto, :root[data-theme-pref="auto"] .theme-btn .t-auto { display: block; }

.drawer { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39; padding: 8px var(--gutter) 24px; background: var(--drawer-bg); border-bottom: 1px solid var(--border); box-shadow: var(--sh-pop);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base); }
.drawer.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--r-md); color: var(--text-strong); font-weight: 500; text-decoration: none; }
.drawer a:not(.btn):hover, .drawer a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.drawer .btn { width: 100%; margin-top: 12px; }
@media (min-width: 900px) { .drawer { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 5vw + 40px, 128px); }
/* A section that leans on the one above for its top space. */
.section.pt-0 { padding-top: 0; }
.section.pt-s { padding-top: clamp(40px, 4vw, 72px); }
/* The second base: a full-width band (dark only, see --sec-band). Cards inside step up one level.
   A band and the section after it need their own top space back; --band-pad is set only in dark. */
.band-sec {
  background: var(--sec-band); box-shadow: var(--sec-band-edge);
  --surface: var(--surface-on-band); --surface-muted: var(--surface-muted-on-band);
  --tint: var(--tint-on-band); --accent-soft: var(--tint-on-band);
  --border: var(--border-on-band); --border-strong: var(--border-strong-on-band);
}
.section.pt-0:is(.band-sec, .after-band) { padding-top: var(--band-pad, 0); }
.section.pt-s.band-sec { padding-top: var(--band-pad, clamp(40px, 4vw, 72px)); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 3vw + 16px, 56px); }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: var(--fs-lg); line-height: 1.5; }
.lede { color: var(--text-muted); font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; max-width: 34em; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 4vw + 16px, 72px) clamp(24px, 3vw, 48px); overflow: clip; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.hero h1 { max-width: 11em; font-size: var(--hero-h1-size); line-height: var(--hero-h1-lh); letter-spacing: var(--hero-h1-track); font-weight: var(--hero-h1-weight); }
.hero .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 24px; color: var(--text-muted); font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }

/* the product frame */
.frame {
  position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border);
  border-color: var(--frame-rim); overflow: hidden; isolation: isolate; color: var(--text); box-shadow: var(--frame-shadow);
}
.frame-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.frame-chip { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--canvas); font-size: 11px; font-weight: 700; }
.frame-search { flex: 1; max-width: 260px; height: 28px; border-radius: var(--r-pill); background: var(--canvas); color: var(--text-muted); font-size: 12px; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame-search svg { width: 14px; height: 14px; }
.frame-status { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.frame-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.frame-body { position: relative; aspect-ratio: 16 / 11; background: var(--canvas); }
.frame-body > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: var(--shot-dim); }
.frame-body::after { content: ""; position: absolute; inset: 0; background: var(--shot-scrim); z-index: 1; }

/* the renew popup, rebuilt in HTML so it can play */
.pop {
  position: absolute; z-index: 2; inset: 5% 6% auto 6%; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--sh-pop); border: 1px solid var(--border); font-size: 13px; line-height: 1.4; color: var(--text);
}
.pop-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.pop-head .tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.pop-head .tile svg { width: 16px; height: 16px; }
.pop-head strong { color: var(--text-strong); font-size: 14px; }
.pop-body { display: grid; grid-template-columns: 3fr 2fr; gap: 10px 14px; padding: 12px 16px 14px; }
.fld { display: grid; gap: 4px; min-width: 0; }
.fld > span { font-size: 12px; font-weight: 600; color: var(--text-strong); }
.fld .in { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--border-input); border-radius: 8px; background: var(--surface); color: var(--text); white-space: nowrap; overflow: hidden; }
.fld .in.focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fld .caret { width: 1.5px; height: 14px; background: var(--accent); opacity: 0; }
.fld .in.focus .caret { opacity: 1; }
.radios { display: flex; gap: 6px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 12px; }
.radio.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.radio i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; }
.radio.on i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.will { grid-column: 1 / -1; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.will-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; font-size: 12.5px; }
.will-row + .will-row { border-top: 1px solid var(--border); }
.will-row span:first-child { color: var(--text-muted); }
.will-row b { font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; transition: color var(--t-base) var(--ease), background-color var(--t-base) var(--ease); border-radius: 6px; padding: 0 4px; margin: 0 -4px; }
.will-row b.changed { background: var(--success-soft); color: var(--success); }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-success { background: var(--success-soft); color: var(--success); }
.pop-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); }
.pop-btn { height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); font: 600 12.5px/30px var(--ff-sans); color: var(--text-strong); }
.pop-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.pop-btn.primary.press { transform: scale(.95); background: var(--accent-hover); }

/* what happens next: the chain under the popup, the fan lights per step */
.chain { position: relative; z-index: 3; margin: -64px 24px 0; display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--chain-bg); color: var(--money-label); box-shadow: var(--sh-pop);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.chain.show { transform: translateY(-6px); }
.chain-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--money-sub); }
.chain-title b { color: var(--money-value); font-size: 20px; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.chain li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--money-label); opacity: var(--chain-dim); transition: opacity var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.chain li.lit { opacity: 1; color: #FFFFFF; }
.fan { width: 18px; height: 18px; }
.fan path { stroke: var(--fan-off); transition: stroke 320ms var(--ease); }
.fan circle { fill: var(--fan-off); transition: fill 320ms var(--ease); }
.lit .fan circle, .lit .fan .a0 { fill: var(--fan-1); }
.lit .fan .a1 { stroke: var(--fan-1); transition-delay: 90ms; }
.lit .fan .a2 { stroke: var(--fan-2); transition-delay: 180ms; }
.lit .fan .a3 { stroke: var(--fan-3); transition-delay: 270ms; }
.frame-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: var(--fs-sm); color: var(--text-muted); }
.replay { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font: 500 var(--fs-sm)/1 var(--ff-sans); cursor: pointer; transition: border-color var(--t-fast) var(--ease); }
.replay:hover { border-color: var(--border-input); }
.replay svg { width: 14px; height: 14px; }
@media (max-width: 599px) {
  .frame-body { aspect-ratio: 3 / 3.7; }
  .frame-body > img { object-position: top left; }
  .pop { inset: 4% 4% auto 4%; }
  .chain { margin: -40px 12px 0; }
  .pop-body { grid-template-columns: 1fr; }
  .pop-body .fld.hide-sm { display: none; }
  .chain ol { grid-template-columns: 1fr; }
  .frame-search { display: none; }
}

/* ---------- the path: counter to router ---------- */
.path { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .path { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.path-copy p + p { margin-top: 16px; }
.path-copy p { color: var(--text-muted); font-size: var(--fs-md); max-width: 34em; }
.path-copy h2 { margin-bottom: 20px; }
.flow { position: relative; padding: 28px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-card); }
.flow-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface-muted); border: 1px solid var(--border); }
.flow-step .tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.flow-step .tile svg { width: 22px; height: 22px; }
.flow-step b { display: block; color: var(--text-strong); font-weight: 600; font-size: var(--fs-base); }
.flow-step span { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.45; display: block; }
.flow-step.money .tile { background: var(--money-bg); color: var(--money-value); }
.flow-link { position: relative; height: 18px; margin-left: 35px; width: 2px; background: var(--border-strong); overflow: hidden; border-radius: 2px; }
.flow-link::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 420ms var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 200ms); }
.flow.in .flow-link::after { transform: none; }

/* ---------- product tour: one sticky frame, the screen changes per step ---------- */
.tour { display: grid; gap: 32px; }
.tour-frame { display: none; }
@media (min-width: 1000px) {
  .tour { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
  .tour-frame { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .tour-step .shot-sm { display: none; }
}
.tour-screens { box-shadow: var(--shot-shadow); position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--frame-line); }
.tour-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); filter: blur(6px);
  transition: opacity 520ms var(--ease), transform 720ms var(--ease), filter 520ms var(--ease); }
.tour-screens img.on { opacity: 1; transform: none; filter: none; }
.tour-label { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-muted); font-size: var(--fs-sm); }
.tour-progress { display: flex; gap: 4px; }
.tour-progress i { width: 16px; height: 3px; border-radius: 2px; background: var(--border-strong); transition: background-color var(--t-base) var(--ease), width var(--t-base) var(--ease); }
.tour-progress i.on { background: var(--accent); width: 28px; }
.tour-steps { display: grid; gap: 24px; }
@media (min-width: 1000px) { .tour-steps { gap: 0; } .tour-step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; } .tour-step:first-child { min-height: 44vh; justify-content: flex-start; padding-top: 24px; } .tour-step:last-child { min-height: 52vh; } }
.tour-step h3 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.tour-step p { margin-top: 12px; color: var(--text-muted); }
.tour-step ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tour-step li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-base); color: var(--text); }
.tour-step li svg { margin-top: 4px; width: 16px; height: 16px; color: var(--accent-ink); }
.tour-step .more { margin-top: 16px; font-weight: 600; font-size: var(--fs-base); }
.tour-step h3 { transition: color var(--t-base) var(--ease); }
.tour-step.active h3 { color: var(--accent-ink); }
@media (max-width: 999px) { .tour-step { opacity: 1; padding: 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--edge); } .tour-step .shot-sm { margin: -4px -4px 16px; border-radius: var(--r-md); border: 1px solid var(--border); } }

/* ---------- audiences ---------- */
.aud { border-top: 1px solid var(--border-strong); }
.aud-row { display: grid; gap: 12px 32px; padding: 28px 0; border-bottom: 1px solid var(--border-strong); }
@media (min-width: 900px) { .aud-row { grid-template-columns: 4fr 6fr 3fr; align-items: baseline; } }
.aud-row h3 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.aud-row p { color: var(--text-muted); }
.aud-row .links { display: grid; gap: 6px; font-size: var(--fs-base); }
.aud-row .links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ---------- app ---------- */
.app-band { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .app-band { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.phone { justify-self: center; width: min(300px, 78vw); padding: 10px; border-radius: 44px; background: #0C0E10; box-shadow: inset 0 0 0 1.5px #2A2E33; }
.phone img { border-radius: 34px; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.facts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.facts .tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.facts .tile svg { width: 20px; height: 20px; }
.facts b { display: block; color: var(--text-strong); font-weight: 600; }
.facts span { color: var(--text-muted); font-size: var(--fs-base); }

/* ---------- trust band: deep indigo, saffron figures ---------- */
.band { border-radius: var(--r-2xl); background: var(--money-bg); color: var(--money-label); border: 1px solid var(--base-b-line); padding: clamp(28px, 3vw + 12px, 56px); }
/* Navy sections (the band, the "after" box, the closing call to action) carry their own ink,
   so headings, links and outlined buttons inside stay readable; the saffron button stays saffron. */
.band, .after, .cta-box {
  box-shadow: var(--edge-strong);
  --ink: var(--on-base-b); --text: var(--on-base-b-muted); --text-muted: var(--on-base-b-muted); --text-strong: var(--on-base-b);
  --accent: var(--on-base-b); --accent-ink: var(--on-base-b); --tint: var(--base-b-raised); --accent-soft: var(--base-b-raised);
  --border: var(--base-b-line); --border-strong: var(--base-b-line); --surface: var(--base-b-raised);
}
.band h2, .band h3 { color: var(--on-base-b); }
.band .section-head p { color: var(--money-sub); }
.band-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); margin-bottom: 16px; }
.band h3 .fan { width: 24px; height: 24px; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.band li { padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--money-label) 18%, transparent); color: var(--money-label); font-size: var(--fs-base); line-height: 1.5; }
.band li b { color: var(--on-base-b); font-weight: 600; }
.band .fig { color: var(--money-value); font-weight: 750; font-variant-numeric: tabular-nums; }

/* ---------- switch + pricing ---------- */
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 32px; } }
.panel { padding: clamp(24px, 2vw + 12px, 40px); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-card); }
.panel h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.panel p { margin-top: 12px; color: var(--text-muted); }
.panel ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.panel li svg { margin-top: 5px; width: 16px; height: 16px; color: var(--ink); }
.panel .btn { margin-top: 28px; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.price-line b { font-size: var(--fs-2xl); color: var(--ink); letter-spacing: -.03em; font-weight: 750; font-variant-numeric: tabular-nums; }

.cta { text-align: left; }
.cta-box { display: grid; gap: 24px; align-items: center; padding: clamp(32px, 4vw + 8px, 72px); border-radius: var(--r-2xl); background: var(--base-b); border: 1px solid var(--base-b-line); }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1fr auto; } }
.cta-box h2 { max-width: 18em; }
.cta-box p { margin-top: 12px; color: var(--text-muted); max-width: 36em; }
.contact-list { display: grid; gap: 8px; margin-top: 16px; font-size: var(--fs-base); }

/* ---------- page head (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 4vw + 16px, 88px) clamp(24px, 2vw + 12px, 48px); }
.page-head h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); max-width: 16em; }
.page-head .lede { margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- features page ---------- */
.feat-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.feat-index a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.feat-index a:hover { border-color: var(--accent); color: var(--accent-ink); }
.feat { display: grid; gap: 28px; padding-block: clamp(48px, 4vw + 24px, 96px); border-top: 1px solid var(--border); align-items: center; }
@media (min-width: 1000px) {
  .feat { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
  .feat:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .feat:nth-of-type(even) .feat-copy { order: 2; }
}
.feat-copy h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.feat-copy p { margin-top: 12px; color: var(--text-muted); }
.feat-copy ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--fs-base); }
.feat-copy li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.feat-copy li svg { margin-top: 4px; width: 16px; height: 16px; color: var(--accent-ink); }
.feat-copy .links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-base); font-weight: 600; }
.feat-shots { display: grid; gap: 16px; }
.feat-shots.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .feat-shots.phone-pair { grid-template-columns: 3fr 1fr; align-items: end; } }

/* ---------- screenshots ---------- */
.shot { margin: 0; }
.shot img, .shot .soon { box-shadow: var(--shot-shadow); border-radius: var(--r-lg); border: 1px solid var(--frame-line); background: var(--surface); }
.shot figcaption { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.45; }
.shot.phone-shot img { border-radius: 24px; }
.soon { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 16 / 9; padding: 24px; text-align: center; border-style: dashed !important; border-width: 1.5px !important; border-color: var(--border-strong) !important; box-shadow: none !important; background: var(--surface-muted) !important; color: var(--text-muted); }
.soon b { color: var(--text-strong); font-weight: 600; }
.soon svg { width: 28px; height: 28px; color: var(--accent-ink); }
.zoomable { cursor: zoom-in; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; color: var(--text); display: grid; place-items: center; padding: 24px; background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 0; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 96px); width: auto; border-radius: var(--r-lg); }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; background: var(--surface); color: var(--text-strong); }
.lightbox[open] img { animation: lb-in 320ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- docs + guides layout ---------- */
.docs { display: grid; gap: 32px; padding-bottom: 96px; }
@media (min-width: 1000px) { .docs { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.side { font-size: var(--fs-base); }
.side details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.side summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 600; color: var(--text-strong); list-style: none; }
.side summary::-webkit-details-marker { display: none; }
.side summary svg { transition: transform var(--t-base) var(--ease); }
.side details[open] summary svg { transform: rotate(180deg); }
.side-inner { padding: 4px 8px 12px; }
@media (min-width: 1000px) {
  .side { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; overscroll-behavior: contain; }
  .side details { background: transparent; border: 0; }
  .side details[open] > summary { display: none; }
  .side-inner { padding: 0; }
}
.side h2 { margin: 20px 12px 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.side h2:first-child { margin-top: 4px; }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side a { display: block; padding: 6px 12px; border-radius: var(--r-md); color: var(--text); text-decoration: none; line-height: 1.4; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.side a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.doc { min-width: 0; max-width: 820px; }
.doc > header h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); letter-spacing: -.03em; }
.doc > header .lede { margin-top: 16px; }
.meta { display: grid; gap: 8px 24px; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-base); }
@media (min-width: 700px) { .meta { grid-template-columns: max-content 1fr; } }
.meta dt { color: var(--text-muted); }
.meta dd { margin: 0; color: var(--text-strong); }
.doc h2 { font-size: var(--fs-xl); letter-spacing: -.02em; margin: 48px 0 16px; }
.doc .shot { margin-top: 32px; }
.doc > p, .doc .prose p { color: var(--text); max-width: 68ch; }
.doc .prose p + p { margin-top: 12px; }

.settings { display: grid; gap: 12px; }
.setting { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--edge); }
.setting-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.setting-head h3 { font-size: var(--fs-md); letter-spacing: 0; }
.kind { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--neutral-soft); color: var(--neutral); font-size: var(--fs-xs); font-weight: 600; }
.setting p { margin-top: 8px; color: var(--text); font-size: var(--fs-base); max-width: 68ch; }
.setting dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0 0; font-size: var(--fs-sm); }
.setting dt { color: var(--text-muted); }
.setting dd { margin: 0; color: var(--text-strong); }
.setting .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.setting .opts span { padding: 1px 8px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--border); color: var(--text); }

.doc-index { display: grid; gap: 40px; }
.doc-group h2 { font-size: var(--fs-lg); margin-bottom: 12px; }
.doc-group p.muted { margin-bottom: 16px; max-width: 60ch; font-size: var(--fs-base); }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.doc-list li { border-bottom: 1px solid var(--border); }
.doc-list a { display: grid; gap: 4px 24px; padding: 16px 4px; text-decoration: none; color: var(--text); transition: background-color var(--t-fast) var(--ease); border-radius: var(--r-sm); }
@media (min-width: 700px) { .doc-list a { grid-template-columns: minmax(200px, 2fr) 5fr auto; align-items: baseline; padding-inline: 12px; } }
.doc-list a:hover { background: var(--surface); }
.doc-list b { color: var(--accent-ink); font-weight: 600; }
.doc-list span { color: var(--text-muted); font-size: var(--fs-base); }
.doc-list small { color: var(--text-muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; white-space: nowrap; }

.search { position: relative; max-width: 560px; margin-top: 28px; }
.search input { width: 100%; height: 52px; padding: 0 16px 0 46px; border: 1px solid var(--border-input); border-radius: var(--r-lg); background: var(--surface); color: var(--text-strong); font: 400 var(--fs-md)/1 var(--ff-sans); }
.search input::placeholder { color: var(--text-muted); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.search > svg { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; color: var(--text-muted); }
.search kbd { position: absolute; right: 14px; top: 15px; }
.results { list-style: none; margin: 8px 0 0; padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-pop); max-height: 420px; overflow: auto; }
.results[hidden] { display: none; }
.results a { display: block; padding: 10px 12px; border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.results a:hover, .results a.sel { background: var(--accent-soft); }
.results b { display: block; color: var(--text-strong); font-weight: 600; font-size: var(--fs-base); }
.results span { color: var(--text-muted); font-size: var(--fs-sm); }
.results .none { padding: 12px; color: var(--text-muted); font-size: var(--fs-base); }

/* guides */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; font-size: var(--fs-base); font-variant-numeric: tabular-nums; }
.steps li::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px; background: var(--border); border-radius: 2px; }
.steps li:last-child::after { display: none; }
.steps .t { padding-top: 6px; color: var(--text-strong); max-width: 64ch; }
.steps .d { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-base); max-width: 64ch; }
.after { margin-top: 32px; padding: 20px 24px; border-radius: var(--r-xl); background: var(--money-bg); color: var(--money-label); border: 1px solid var(--base-b-line); }
.after h2 { margin: 0 0 8px !important; color: var(--on-base-b); font-size: var(--fs-lg) !important; display: flex; align-items: center; gap: 10px; }
.after h2 .fan { width: 22px; height: 22px; }
.after p { color: var(--money-sub); font-size: var(--fs-base); max-width: 68ch; }
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tips li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-base); max-width: 70ch; }
.tips li svg { margin-top: 4px; width: 16px; height: 16px; color: var(--ink); }
.guide-cards { display: grid; gap: 40px; }
.pager { display: grid; gap: 12px; margin-top: 56px; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--edge); text-decoration: none; transition: border-color var(--t-fast) var(--ease); }
.pager a:hover { border-color: var(--accent); }
.pager a.next { text-align: right; }
.pager small { color: var(--text-muted); font-size: var(--fs-sm); }
.pager b { color: var(--accent-ink); font-weight: 600; }
.note { margin-top: 24px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--info-soft); color: var(--text-strong); font-size: var(--fs-base); }
.note.warn { background: var(--tint); }

/* roles */
.roles { display: grid; gap: 0; border-top: 1px solid var(--border); }
.role { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 700px) { .role { grid-template-columns: 220px 1fr; } }
.role b { color: var(--text-strong); font-weight: 600; }
.role span { color: var(--text); font-size: var(--fs-base); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ladder li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-base); }
.ladder li b { color: var(--text-strong); font-weight: 600; min-width: 9em; }
.ladder li:nth-child(1) { margin-inline-end: 0; }
.ladder li:nth-child(2) { margin-inline-start: 4%; }
.ladder li:nth-child(3) { margin-inline-start: 8%; }
.ladder li:nth-child(4) { margin-inline-start: 12%; }
.ladder li:nth-child(5) { margin-inline-start: 16%; }
.perm-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.perm-table th, .perm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.perm-table th { color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); }
.perm-table td:first-child { color: var(--text-strong); }
.perm-table code { white-space: nowrap; }

/* faq */
.faq { max-width: 820px; padding-bottom: 96px; }
.faq details { border-bottom: 1px solid var(--border-strong); }
.faq details:first-of-type { border-top: 1px solid var(--border-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: var(--fs-lg); font-weight: 600; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--t-base) var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--text); max-width: 68ch; }
.faq .a p + p { margin-top: 10px; }
.faq details[open] .a { animation: faq-in 360ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--footer-gap); padding-block: 48px; border-top: 1px solid var(--footer-line); background: var(--footer-bg); box-shadow: var(--footer-edge); font-size: var(--fs-base); color: var(--text-muted); }
.foot { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot h2 { font-size: var(--fs-sm); font-weight: 600; color: var(--text-strong); margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-muted); text-decoration: none; }
.foot a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot p { margin-top: 12px; max-width: 32em; }
.fine { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }

/* ---------- reveals: content is visible by default; JS adds .rv only when motion is allowed ---------- */
.rv [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 720ms var(--ease), transform 720ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  .tour-screens img { filter: none; transform: none; }
}

@media print {
  .site-header, .site-footer, .side, .drawer, .pager { display: none !important; }
  body { background: #fff; color: #000; }
  .docs { display: block; }
  .rv [data-reveal] { opacity: 1; transform: none; }
}

/* quoted UI labels in guides and docs: what to click */
q.ui { quotes: none; font-weight: 600; color: var(--text-strong); background: var(--accent-soft); padding: 0 .3em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.after q.ui, .band q.ui { background: var(--money-cell); color: var(--on-base-b); }
.fan.lit-all circle { fill: var(--fan-1); }
.fan.lit-all .a1 { stroke: var(--fan-1); }
.fan.lit-all .a2 { stroke: var(--fan-2); }
.fan.lit-all .a3 { stroke: var(--fan-3); }

/* ---------- pricing and why saRa ---------- */
.pill-soon { height: 22px; background: var(--tint); color: var(--ink); white-space: nowrap; }
.pill-lower { height: 18px; padding: 0 6px; background: var(--neutral-soft); color: var(--neutral); font-size: 10.5px; vertical-align: 1px; }
.price-line span { font-size: var(--fs-base); }
.price-line { flex-wrap: wrap; }
.switches { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 32px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card); min-width: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: var(--r-md); color: var(--text); font-weight: 600; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg label small { font-weight: 500; font-size: var(--fs-sm); color: var(--text-muted); }
.seg label:hover { background: var(--accent-soft); color: var(--accent-ink); }
.seg input:checked + label { background: var(--accent); color: var(--on-accent); }
.seg input:checked + label small { color: var(--on-accent); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-sm label { min-height: 40px; padding: 9px 14px; }
.bill-m { display: none !important; }
.pricing:has(#bill-month:checked) .bill-m { display: inline-flex !important; }
.pricing:has(#bill-month:checked) .bill-y { display: none !important; }
.pricing:has(#bill-month:checked) .tier-save { display: none; }
.pill-save { background: var(--tint); color: var(--ink); }
.tier-save { margin-top: 4px; }
.tier-cta { margin-top: 10px; }
.tier-cta .btn { width: 100%; justify-content: center; }
.tier-alt s { color: var(--text-muted); }
.offer-line { margin-top: 16px; display: inline-block; padding: 10px 16px; border-radius: var(--r-lg); background: var(--tint); color: var(--text-strong); font-size: var(--fs-base); }
.value { margin-top: 32px; }
.value > h3 { font-size: var(--fs-lg); margin-bottom: 14px; }
.cmp.val th small { display: block; font-weight: 500; }
.cmp.val tbody th { min-width: 16em; }
.cmp.val td { text-align: right; white-space: nowrap; }
.cmp.val thead th:not(:first-child) { text-align: right; min-width: 6em; }
.cmp .sum > * { background: var(--surface-muted); font-weight: 600; color: var(--text-strong); }
.cmp .us-row > * { background: var(--accent-soft); color: var(--accent-ink); }
.pricing:has(#run-cloud:checked) .run-onprem, .pricing:has(#run-onprem:checked) .run-cloud { display: none; }
.run + .run { margin-top: 56px; }
.run-head { margin-bottom: 20px; }
.run-head h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.run-head p { margin-top: 8px; color: var(--text-muted); max-width: 60ch; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.tier { display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-card); }
.tier h3 { font-size: var(--fs-md); }
.tier-subs { color: var(--text-muted); font-size: var(--fs-sm); }
.tier-price { margin-top: 10px; }
.tier-price > span { display: inline-flex; align-items: baseline; gap: 6px; }
.tier-price b { font-size: var(--fs-xl); font-weight: 750; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier-price span span { color: var(--text-muted); font-size: var(--fs-sm); }
.tier-alt { color: var(--text-muted); font-size: var(--fs-sm); }
.tier-custom { background: var(--surface-muted); border-style: dashed; box-shadow: var(--edge); }
.tier-steps { margin-top: 16px; color: var(--text); font-size: var(--fs-base); max-width: 72ch; }
.needs { margin-top: 20px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--info-soft); }
.needs h3 { font-size: var(--fs-base); }
.needs ul, .inc { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-base); }
.needs li, .inc li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.needs li svg, .inc li svg { margin-top: 4px; width: 16px; height: 16px; color: var(--ink); }
.inc { gap: 10px 32px; }
@media (min-width: 700px) { .inc { grid-template-columns: 1fr 1fr; } }
.tax { margin-top: 20px; font-size: var(--fs-sm); max-width: 72ch; }
.price-block { padding-top: clamp(48px, 4vw + 24px, 88px); }
/* a band behind a block that sits inside .wrap: bled to the viewport edges */
.price-block.band-sec { box-shadow: var(--sec-band-bleed); clip-path: var(--sec-band-clip); padding-bottom: var(--sec-band-pb); }
.price-block > h2 { font-size: var(--fs-xl); letter-spacing: -.02em; margin-bottom: 20px; }
.price-block .faq { padding-bottom: 0; }
.offers { display: grid; gap: 16px; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offers h3 { font-size: var(--fs-md); }
.pricing .cta-box, .wrap > .cta-box { margin-top: clamp(48px, 4vw + 24px, 88px); }

.saves { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.save { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-card); }
.save-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.save-head .tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.save-head .tile svg { width: 20px; height: 20px; }
.save h2 { font-size: var(--fs-md); letter-spacing: -.01em; flex: 1 1 10em; }
.save p { color: var(--text-muted); font-size: var(--fs-base); }
.save-line { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text) !important; }
.save-line b { color: var(--text-strong); }
.fn { text-decoration: underline; font-weight: 600; padding: 0 1px; }

.table-scroll { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--sh-card); }
.table-scroll + .cmp-read + .table-scroll { margin-top: 40px; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.cmp caption { text-align: left; padding: 16px 16px 4px; font-weight: 600; color: var(--text-strong); }
.cmp th, .cmp td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); min-width: 8em; }
.cmp tbody th { color: var(--text-strong); font-weight: 500; }
.cmp .us { background: var(--accent-soft); color: var(--accent-ink); }
.cmp thead .us { color: var(--accent-ink); }
.cmp td.us b { font-weight: 750; }
.cmp .ok { display: flex; gap: 8px; align-items: flex-start; }
.cmp .ok svg { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.cmp.vs tbody th { min-width: 12em; }
.cmp td.lower { color: var(--text-strong); }
.cmp-read { margin-top: 12px; max-width: 72ch; font-size: var(--fs-base); }
.notes { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; max-width: 76ch; color: var(--text-muted); font-size: var(--fs-sm); }
@media (max-width: 559px) {
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg label { flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 8px 10px; text-align: center; }
}
@media (max-width: 559px) {
  .cmp { font-size: var(--fs-sm); }
  .cmp th, .cmp td { padding: 10px 12px; }
  .cmp.vs tbody th, .cmp thead th { min-width: 7.5em; }
}

/* one subscription, optional extras */
.onesub { padding: clamp(24px, 2vw + 12px, 40px); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-card); margin-bottom: 40px; }
.onesub-head h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.onesub-head p { margin-top: 8px; color: var(--text-muted); max-width: 60ch; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--text-strong); font-size: var(--fs-sm); }
.chips li svg { width: 14px; height: 14px; color: var(--ink); }
.onesub .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; }
.onesub-line { margin-top: 12px; display: flex; gap: 8px; max-width: 60ch; font-size: var(--fs-base); }
.onesub-line svg { margin-top: 4px; width: 16px; height: 16px; color: var(--ink); }
.data-line { display: flex; gap: 8px; margin-top: 10px !important; color: var(--text-strong) !important; font-size: var(--fs-base); }
.data-line svg { margin-top: 3px; width: 16px; height: 16px; color: var(--accent-ink); }
.block-lede { margin: -8px 0 20px; max-width: 68ch; }
.rule { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--tint); color: var(--ink); }
.rule b { color: var(--text-strong); }
.extra-prices { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: var(--fs-sm); }
.extra-prices dt { color: var(--text-muted); }
.extra-prices dd { margin: 0; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.extra-prices dd span { color: var(--text-muted); font-weight: 400; }
.cmp th small.src { display: block; margin-top: 2px; color: var(--text-muted); font-size: var(--fs-xs); font-weight: 400; }
