/* Steerwise public site: one stylesheet for every page. Neutral tokens from the approved design
   (specs/ui-redesign), light and dark. Fonts are served from this site; nothing is loaded from
   anywhere else. No inline styles (the site's CSP forbids them): every style is a class here. */

/* ---- Fonts --------------------------------------------------------------- */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }
/* Local fonts sized to the web fonts' metrics (Inter on Arial, JetBrains Mono on Courier New,
   measured from the woff2 files), so the swap barely moves the layout. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107.1%; ascent-override: 90.45%; descent-override: 22.52%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 100%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

/* ---- Tokens: light on :root, dark from the OS or the toggle ------------- */
/* Contrast (WCAG): muted text is 6.6:1 on bg in light and 7.8:1 in dark, and stays above 5.5:1 on
   side, surface and hover; link 6.7:1 and 8.9:1; the ok/warn/bad pills 6.4:1 or more.
   --border is for cards and dividers; --border-control (outline buttons, the selected currency)
   is 3:1 or more on bg, side, surface and hover in both themes. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --side: #f7f7f8;
  --card: #ffffff;
  --text: #0d0d0d;
  --muted: #5d5d5d;
  --border: #e5e5e5;
  --surface: #f0f0f0;
  --hover: #ececec;
  --bubble: #f2f2f2;
  --code: #fafafa;
  --dot: #d4d4d4;
  --link: #1d4ed8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  --pop: 0 16px 40px rgba(0, 0, 0, 0.08);
  --border-control: #858585;
  --ok-fg: #166534;
  --ok-bg: #dcfce7;
  --warn-fg: #92400e;
  --warn-bg: #fef3c7;
  --bad-fg: #991b1b;
  --bad-bg: #fee2e2;
  --danger: #b91c1c;
  /* the theme toggle shows the moon in light, the sun in dark */
  --show-moon: block;
  --show-sun: none;

  --font-sans: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Menlo, Consolas, monospace;
  --max: 1180px;
  --gutter: 24px;
  --r-sm: 8px;
  --r-control: 10px;
  --r-button: 12px;
  --r-card: 16px;
  --r-box: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #212121;
    --side: #171717;
    --card: #262626;
    --text: #ececec;
    --muted: #b4b4b4;
    --border: #383838;
    --surface: #2f2f2f;
    --hover: #2f2f2f;
    --bubble: #303030;
    --code: #1e1e1e;
    --dot: #4a4a4a;
    --link: #93c5fd;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    --pop: 0 16px 40px rgba(0, 0, 0, 0.5);
    --border-control: #787878;
    --ok-fg: #86efac;
    --ok-bg: #12301d;
    --warn-fg: #fcd34d;
    --warn-bg: #3a2a0a;
    --bad-fg: #fca5a5;
    --bad-bg: #3b1212;
    --danger: #fca5a5;
    --show-moon: none;
    --show-sun: block;
  }
}

:root[data-theme="dark"] {
  --bg: #212121;
  --side: #171717;
  --card: #262626;
  --text: #ececec;
  --muted: #b4b4b4;
  --border: #383838;
  --surface: #2f2f2f;
  --hover: #2f2f2f;
  --bubble: #303030;
  --code: #1e1e1e;
  --dot: #4a4a4a;
  --link: #93c5fd;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  --pop: 0 16px 40px rgba(0, 0, 0, 0.5);
  --border-control: #787878;
  --ok-fg: #86efac;
  --ok-bg: #12301d;
  --warn-fg: #fcd34d;
  --warn-bg: #3a2a0a;
  --bad-fg: #fca5a5;
  --bad-bg: #3b1212;
  --danger: #fca5a5;
  --show-moon: none;
  --show-sun: block;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
code, pre, kbd { font-family: var(--font-mono); }
img, svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.inverse :focus-visible, .offer-bar :focus-visible { outline-color: var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-control); font-weight: 600; }
.skip:focus { top: 8px; }

/* Icons: stroked line icons sized by class. */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--xs { width: 14px; height: 14px; }
.i--lg { width: 20px; height: 20px; }
.i--bold { stroke-width: 2; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.center { text-align: center; }
.strong { font-weight: 600; }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-control);
  border: 1px solid transparent; background: transparent; color: var(--text);
  font-weight: 600; white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; background: var(--hover); }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--text); opacity: 0.88; }
.btn--outline { border-color: var(--border-control); }
.btn--ghost { font-weight: 500; padding: 0 14px; }
.btn--md { height: 44px; padding: 0 18px; border-radius: var(--r-button); }
.btn--lg { height: 48px; padding: 0 22px; border-radius: var(--r-button); }
.btn--block { display: flex; width: 100%; height: 44px; border-radius: var(--r-button); }
.btn--on-inverse { background: var(--bg); color: var(--text); height: 46px; padding: 0 20px; border-radius: var(--r-button); }
.btn--on-inverse:hover { background: var(--bg); opacity: 0.9; }
.btn[aria-disabled="true"], .btn:disabled { color: var(--muted); cursor: not-allowed; background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions--center { justify-content: center; }

/* ---- Launch offer bar ------------------------------------------------------ */
.offer-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px;
  padding: 10px var(--gutter); background: var(--text); color: var(--bg); font-size: 14px; text-align: center;
}
.offer-bar strong { font-weight: 600; }
.offer-bar a { text-decoration: underline; font-weight: 600; }

/* ---- Header ---------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: relative; }
.site-header__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-weight: 700; line-height: 1;
}
.brand__mark--sm { width: 28px; height: 28px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 17px; }
.brand__by { font-size: 11px; color: var(--muted); }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a[aria-current] { color: var(--text); font-weight: 600; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: var(--r-control); border: 0; background: transparent;
  color: var(--muted); display: grid; place-items: center;
}
.theme-toggle:hover { background: var(--hover); color: var(--text); }
.theme-toggle .i--moon { display: var(--show-moon); }
.theme-toggle .i--sun { display: var(--show-sun); }

/* Mobile menu: a native <details>, so it needs no script. */
.menu { display: none; }
.menu > summary {
  list-style: none; width: 44px; height: 44px; border-radius: var(--r-control);
  display: grid; place-items: center; cursor: pointer; color: var(--text);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { background: var(--hover); }
.menu .i--close { display: none; }
.menu[open] .i--open { display: none; }
.menu[open] .i--close { display: block; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 10;
  background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--pop);
  padding: 8px var(--gutter) 20px; display: flex; flex-direction: column; gap: 16px;
}
.menu__panel .nav { flex-direction: column; gap: 0; font-size: 16px; }
.menu__panel .nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
.menu__panel .header-actions { flex-wrap: wrap; }

@media (max-width: 960px) {
  .site-header__inner > .nav, .header-actions .btn { display: none; }
  .menu { display: block; }
  .menu__panel .header-actions .btn { display: inline-flex; }
}

/* ---- Sections ------------------------------------------------------------- */
.section { padding: 96px 0; }
.section--alt { background: var(--side); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 88px 0; }
.section--rule { border-top: 1px solid var(--border); }
.section--cta { background: var(--side); border-top: 1px solid var(--border); padding: 80px 0; }
.section--top0 { padding-top: 0; }
.section--bottom0 { padding-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 36px; }
.stack--md { gap: 28px; }
.stack--sm { gap: 14px; }
.stack--xs { gap: 8px; }
.head { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.head--wide { max-width: 680px; }
.head--center { max-width: none; align-items: center; text-align: center; }
.head--center .lede { max-width: 36em; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

.kicker { font-size: 13px; font-weight: 600; color: var(--muted); }
.h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.h1--md { font-size: clamp(34px, 5.6vw, 52px); }
.h1--limit { max-width: 13em; }
.h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.h2--md { font-size: clamp(26px, 3.6vw, 32px); }
.h2--sm { font-size: 24px; letter-spacing: -0.01em; }
.h2--xs { font-size: 22px; letter-spacing: -0.01em; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.lede { font-size: 17px; color: var(--muted); }
.lede--lg { font-size: clamp(17px, 2vw, 19px); max-width: 34em; }
.fine { font-size: 13px; color: var(--muted); }
.fine a, .lede a { text-decoration: underline; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.pill--center { align-self: center; }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge--sm { height: 22px; padding: 0 8px; font-size: 11px; align-self: flex-start; }
.badge--outline { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status--ok { background: var(--ok-bg); color: var(--ok-fg); }
.status--warn { background: var(--warn-bg); color: var(--warn-fg); }
.status--bad { background: var(--bad-bg); color: var(--bad-fg); }

/* ---- Split layouts (copy + figure) ---------------------------------------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split--top { align-items: flex-start; }
.split--reverse { flex-wrap: wrap-reverse; }
.split__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split__copy--hero { flex-basis: 480px; gap: 22px; }
.split__media { flex: 1 1 460px; min-width: 0; }
.split__media--wide { flex-basis: 540px; }

/* ---- Hero ------------------------------------------------------------------ */
.hero { padding: 88px 0 72px; }
.hero--page { padding: 88px 0 64px; }
.hero--center { padding: 80px 0 40px; text-align: center; }
.hero--center .stack { align-items: center; }
.hero__sub { max-width: 36em; }

/* ---- Window (terminal / code / mock panels) ------------------------------- */
.window { border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); box-shadow: var(--pop); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--side); }
.window__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.window__title { margin-left: 8px; font-size: 12px; color: var(--muted); }
.window__head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--side); }
.code { padding: 20px; font-size: 13px; line-height: 1.8; overflow-x: auto; background: var(--code); color: var(--text); white-space: pre; }
.code--sm { font-size: 12px; line-height: 1.7; padding: 16px 20px; }
.code--bad { color: var(--bad-fg); }
.code .c { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.stats > div { padding: 14px 16px; }
.stats > div + div { border-left: 1px solid var(--border); }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { font-weight: 600; }

/* ---- Works-with strip ------------------------------------------------------ */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--side); }
.strip__inner { padding: 28px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; }
.strip__label { font-size: 13px; color: var(--muted); }
.strip ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.strip li { font-weight: 600; font-size: 16px; }

/* ---- Cards and grids ------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; list-style: none; padding: 0; }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); }
.card--link { gap: 8px; padding: 22px; color: var(--text); }
.card--link:hover { text-decoration: none; border-color: var(--muted); }
.card--link:hover .card__title { text-decoration: underline; }
.card--tight { gap: 8px; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__title { font-size: 17px; font-weight: 600; }
.card__body { font-size: 14px; color: var(--muted); }
.card__meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.card__step { font-size: 13px; font-weight: 600; color: var(--muted); }
.card__tool { display: flex; align-items: center; gap: 12px; }
.card__tool span:last-child { display: flex; flex-direction: column; }
.card__via { font-size: 12px; color: var(--muted); }
.icon-badge {
  width: 40px; height: 40px; border-radius: var(--r-control); display: grid; place-items: center;
  background: var(--surface); font-weight: 700; flex: none;
}
.icon-badge--mono { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

/* Check lists */
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { margin-top: 3px; }
.checks--sm { gap: 8px; font-size: 14px; }
.checks--sm li { gap: 8px; }
.checks--sm .i { margin-top: 4px; }

/* ---- Chat mock (home and chat page; decorative, aria-hidden) --------------- */
.chat-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bubble { align-self: flex-end; max-width: 80%; padding: 10px 16px; border-radius: 20px; background: var(--bubble); }
.reply { display: flex; gap: 12px; }
.reply__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex-grow: 1; }
.reply__body--tight { gap: 8px; }
.avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); font-weight: 700; font-size: 12px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.composer { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 16px; border-radius: 22px; border: 1px solid var(--border); color: var(--muted); }
.send { width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; flex: none; }
.round { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.skel { display: block; height: 12px; border-radius: 6px; background: var(--surface); }
.skel--92 { width: 92%; }
.skel--78 { width: 78%; }
.skel--54 { width: 54%; }
.cite { font-size: 11px; font-weight: 600; }

.app-mock { display: flex; flex-wrap: wrap; min-height: 640px; border-radius: var(--r-box); border: 1px solid var(--border); background: var(--bg); box-shadow: var(--pop); overflow: hidden; text-align: left; font-size: 14px; line-height: 1.5; }
.app-mock__side { flex: 1 1 248px; max-width: 248px; display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--side); border-right: 1px solid var(--border); }
.app-mock__brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; font-weight: 600; }
.app-mock__brand .brand__mark { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
.app-mock__item { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: var(--r-sm); }
.app-mock__label { padding: 14px 10px 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.app-mock__recent { height: 34px; display: flex; align-items: center; padding: 0 10px; border-radius: var(--r-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-mock__recent--on { background: var(--hover); font-weight: 600; }
.app-mock__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.app-mock__top { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.app-mock__crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-mock__model { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 12px; }
.app-mock__thread { flex-grow: 1; display: flex; flex-direction: column; gap: 22px; padding: 28px 40px; max-width: 760px; width: 100%; margin: 0 auto; }
.app-mock__compose { padding: 0 40px 24px; max-width: 760px; width: 100%; margin: 0 auto; }
.app-mock__box { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 22px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); }
.app-mock__row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.app-mock__row > span:first-child { display: flex; gap: 6px; }
@media (max-width: 640px) {
  .app-mock__side { display: none; }
  .app-mock__thread, .app-mock__compose { padding-left: 16px; padding-right: 16px; }
  .app-mock { min-height: 0; }
}

/* Memory list and switch (chat page, decorative) */
.mem-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.mem-row__tools { display: flex; gap: 4px; color: var(--muted); }
.switch { width: 36px; height: 20px; border-radius: 999px; background: var(--text); display: flex; align-items: center; justify-content: flex-end; padding: 2px; }
.switch::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.switch-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.temp-note { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; border: 1px dashed var(--border); background: var(--side); font-size: 14px; }
.tick-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list li > span:last-child { display: flex; flex-direction: column; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.tick .i { stroke-width: 2.2; }
.window__foot { padding: 12px 20px; font-size: 13px; color: var(--muted); }
.mock-note { margin-top: 12px; }

/* ---- Product: routing figure, keys, tables -------------------------------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; padding: 0; }
.toc a { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; }
.toc a:hover { text-decoration: none; background: var(--hover); }
.route { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); box-shadow: var(--pop); display: flex; flex-direction: column; gap: 14px; }
.route__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.route ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.route li { display: flex; align-items: center; }
.route__step { flex: 1 1 200px; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid var(--border); background: var(--side); font-weight: 500; }
.route__step .i { color: var(--muted); }
.route__arrow { flex: none; width: 72px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.route__model { flex: 0 1 200px; min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: var(--r-control); border: 1px solid var(--border); background: var(--card); font-family: var(--font-mono); font-size: 13px; font-weight: 500; text-align: center; overflow-wrap: anywhere; }
.route__model--top { border: 2px solid var(--text); background: var(--text); color: var(--bg); }
.route figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; border-top: 1px solid var(--border); }
@media (max-width: 520px) {
  .route { padding: 18px; }
  .route__arrow { width: 32px; }
}

.key-row { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.key-row__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.key-row__name { display: flex; flex-direction: column; font-weight: 600; }
.key-row__name .card__meta { font-weight: 400; }
.meter { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--text); }
.meter--38 > span { width: 38%; }
.meter--86 > span { width: 86%; }
.meter--100 > span { width: 100%; background: var(--danger); }

.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); }
.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data--760 { min-width: 760px; }
.data--860 { min-width: 860px; }
.data caption { text-align: left; padding: 14px 20px; font-size: 13px; color: var(--muted); caption-side: top; }
.data th, .data td { padding: 14px 20px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data tbody tr:last-child > * { border-bottom: 0; }
.data thead th { color: var(--muted); font-weight: 500; padding-top: 12px; padding-bottom: 12px; }
.data--strong-head thead th { color: var(--text); font-weight: 600; }
.data--shaded-head thead tr { background: var(--side); }
.data tbody th { font-weight: 500; }
.data .num { text-align: right; }
.data .strong { font-weight: 600; }
.data .group { background: var(--side); color: var(--muted); font-size: 13px; font-weight: 600; padding: 14px 20px 8px; }
.data .feature-col { width: 32%; }
.data .no-dash { display: inline-block; width: 1em; height: 0; border-bottom: 1.5px solid var(--muted); vertical-align: middle; }
.model-id { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.model-id .badge { font-family: var(--font-sans); }

.notes { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.notes--sm { font-size: 13px; }
.notes code { font-size: 0.92em; }

/* ---- Plans ----------------------------------------------------------------- */
.plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); }
.plan--featured { border: 2px solid var(--text); padding: 23px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan__name { font-size: 17px; font-weight: 600; }
.plan__price { font-size: 30px; font-weight: 700; }
.plan__per { color: var(--muted); font-size: 14px; }
.plan__spacer { flex-grow: 1; }

/* Currency switch: radios, so it works without script. Prices are placeholders, so it changes
   only the currency notes. */
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-control); background: var(--surface); margin: 8px 0 0; border: 0; min-width: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { height: 32px; padding: 0 14px; border-radius: var(--r-sm); display: inline-flex; align-items: center; color: var(--muted); cursor: pointer; }
.seg input:checked + label { background: var(--card); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--border-control), var(--shadow); }
.seg input:focus-visible + label { outline: 2px solid var(--link); outline-offset: 2px; }
.cur-usd { display: none; }
body:has(#cur-usd:checked) .cur-usd { display: inline; }
body:has(#cur-usd:checked) .cur-inr { display: none; }

.note-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 24px 28px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--side); }
.note-box > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.note-box p { color: var(--muted); font-size: 14px; }

/* ---- Inverse promo box ---------------------------------------------------- */
.inverse { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px; border-radius: var(--r-box); background: var(--text); color: var(--bg); }
.inverse__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.inverse__kicker { font-size: 13px; font-weight: 600; }
.inverse h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
@media (max-width: 520px) { .inverse { padding: 28px 22px; } }

/* ---- Offers ---------------------------------------------------------------- */
.offer { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); }
.offer--featured { border: 2px solid var(--text); padding: 23px; }
.offer__amount { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.offer dl { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.offer dl > div { display: flex; flex-direction: column; }
.offer dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.redeem { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); }
.redeem__title { font-weight: 600; }
.terms-box { border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.terms-box h2 { font-size: 14px; font-weight: 600; }

/* ---- FAQ ------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ---- CTA ------------------------------------------------------------------- */
.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cta p { color: var(--muted); }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); }
.site-footer__top { padding-top: 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand > span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.site-footer__credit { font-size: 13px; color: var(--muted); }
.site-footer__credit a { text-decoration: underline; color: var(--text); }
.site-footer nav { flex: 0 1 160px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer nav h2 { font-size: 14px; font-weight: 600; }
.site-footer nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--text); }
.site-footer__base { padding-top: 16px; padding-bottom: 32px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }

/* ---- Text pages (privacy, terms, trust) ----------------------------------- */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.page h2 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-top: 12px; }
.page ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.page a { color: var(--link); text-decoration: underline; }
.page code { font-size: 0.9em; background: var(--surface); padding: 1px 5px; border-radius: 4px; }
.page .table-wrap .data th, .page .table-wrap .data td { font-size: 14px; }
.page .toc { padding-left: 0; flex-direction: row; }
.notice { background: var(--warn-bg); color: var(--warn-fg); border-radius: var(--r-card); padding: 16px 20px; }
.notice a { color: inherit; }

/* ---- Small screens --------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section--alt { padding: 64px 0; }
  .section--cta { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .hero--page { padding: 56px 0 40px; }
  .hero--center { padding: 56px 0 32px; }
  .split { gap: 36px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .code { font-size: 12px; }
}

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