/* Shared stylesheet for the legal pages (privacy.html, terms.html).
   Same tokens, fonts and header/footer as index.html, plus a document layout:
   sticky contents rail on desktop, numbered sections, print-friendly output.
   Type scale: 12 · 12.8 (eyebrow) · 14.4 · 17 · 18.6 (lede) · 23.2 · 51.2px.
   Spacing: all values are multiples of 4px. */

:root {
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --surface-2: #EAEFF6;
  --fg: #0F1B2D;
  --muted: #4F5D73;
  --line: #D6DDE8;
  --accent: #1F4BFF;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3E9FF;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(15,27,45,.04), 0 12px 32px -16px rgba(15,27,45,.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A111E; --surface: #111B2D; --surface-2: #16223A; --fg: #E8EDF6; --muted: #9DABC1;
    --line: #243250; --accent: #7B97FF; --accent-ink: #0A111E; --accent-soft: #1A2851;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A111E; --surface: #111B2D; --surface-2: #16223A; --fg: #E8EDF6; --muted: #9DABC1;
  --line: #243250; --accent: #7B97FF; --accent-ink: #0A111E; --accent-soft: #1A2851;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap {
  width: min(1180px, 100%); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--accent-ink);
  padding: 12px 16px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; fill: var(--accent-ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a.link:hover { color: var(--fg); background: var(--surface-2); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 1rem var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* Document header */
.doc-head { padding-block: clamp(36px, 5vw, 64px) 24px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 500 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.doc-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; margin-top: 16px; }
.doc-head .lede { margin-top: 16px; max-width: 34em; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.16rem); }
.doc-meta { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-meta li { font: 500 .75rem var(--font-mono); color: var(--muted); padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.doc-meta b { color: var(--fg); font-weight: 500; }

/* Layout */
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 32px clamp(56px, 7vw, 88px); }

/* Contents */
.toc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px 20px 16px; align-self: start; min-width: 0; }
.toc-title { font: 500 .75rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.toc a { display: flex; gap: 12px; padding: 8px; border-radius: 6px; text-decoration: none; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.toc a:hover { background: var(--surface-2); color: var(--fg); }
.toc .n { font: 500 .75rem var(--font-mono); color: var(--accent); flex: none; padding-top: 2px; }

/* Document body — one measure of 600px, about 73 characters per line */
.doc { min-width: 0; max-width: 600px; }
.doc section { scroll-margin-top: 88px; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.doc section:first-of-type { border-top: 0; padding-top: 0; }
.doc h2 { font-size: clamp(1.22rem, 2.1vw, 1.45rem); font-weight: 800; display: flex; gap: 12px; align-items: baseline; }
.doc h2 .n { font: 500 .75rem var(--font-mono); color: var(--accent); letter-spacing: .06em; flex: none; }
.doc h3 { font-family: var(--font-display); font-size: 1em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; margin-top: 24px; }
.doc p { margin-top: 16px; text-wrap: pretty; }
.doc h2 + p, .doc h2 + .note, .doc h3 + p { margin-top: 12px; }
.doc ul, .doc ol { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.doc li { padding-left: 4px; }
.doc li::marker { color: var(--accent); }
.doc dl { margin: 16px 0 0; display: grid; gap: 12px; }
.doc dt { font-weight: 600; }
.doc dd { margin: 2px 0 0; }
.doc a { text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc a:hover { color: var(--accent); text-decoration-color: currentColor; }
.doc strong { font-weight: 600; }
.doc .small { font-size: .9rem; color: var(--muted); max-width: 54ch; }

/* Callout */
.note { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface); }
.note .label { font: 500 .75rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.note p { margin-top: 8px; }
.note p:first-of-type { margin-top: 8px; }

/* Contact block */
.doc-contact { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 24px; display: grid; gap: 4px; }
.doc-contact h2 { font-size: 1.0625rem; font-weight: 700; }
.c-label { font: 500 .75rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.c-value { margin-top: 2px; font-weight: 500; overflow-wrap: anywhere; }
.c-value a { text-decoration: none; border-bottom: 1px solid var(--line); }
.c-value a:hover { border-color: var(--accent); color: var(--accent); }
address { font-style: normal; }

/* Footer — links are padded so each target is at least 24px tall */
footer { border-top: 1px solid var(--line); padding-block: 36px 44px; background: var(--surface); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot a { display: inline-block; padding-block: 4px; text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot a[aria-current="page"] { color: var(--fg); font-weight: 600; }

/* Responsive */
@media (min-width: 560px) {
  .toc ol { grid-template-columns: 1fr 1fr; gap: 0 8px; }
}
@media (min-width: 960px) {
  .doc-grid { grid-template-columns: 264px minmax(0, 1fr); gap: 56px; padding-block: 40px clamp(56px, 7vw, 88px); }
  .toc { position: sticky; top: 88px; }
  .toc ol { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 859px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); display: none; }
  .nav.open { display: flex; box-shadow: 0 24px 32px -20px rgba(0,0,0,.35); }
  .nav a.link { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin-top: 12px; }
}
@media (min-width: 860px) { .nav .btn-nav { margin-left: 8px; } }
@media (max-width: 420px) {
  body { font-size: 16px; }
  .eyebrow { font-size: .68rem; letter-spacing: .05em; gap: 8px; }
  .eyebrow::before { width: 16px; }
  .doc h2 { gap: 12px; }
  .foot nav { gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, footer, .toc, .skip, body::before { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.5; }
  .wrap { width: 100%; max-width: none; padding: 0; }
  .doc-head { border-bottom: 1px solid #999; padding: 0 0 12px; }
  .doc-head .lede, .doc-meta li { color: #333; }
  .doc-grid { display: block; padding: 16px 0 0; }
  .doc { max-width: none; }
  .doc section { border-top: 1px solid #ccc; padding-block: 12px 16px; }
  .doc h2, .doc h3 { break-after: avoid; }
  .doc p { text-wrap: wrap; }
  .note, .doc-contact { background: #fff; border-color: #999; }
  a { text-decoration: none; color: #000; }
}

/* ==========================================================================
   Product pages (ask-ai.html)
   Same tokens as index.html. Type scale — 12 · 14.4 · 17 · 20 · 44 · 52.8,
   plus the site's 18.6px lede. Every spacing value is a multiple of 4px.
   ========================================================================== */

:root {
  --code-bg: #0F1B2D;
  --code-fg: #E8EDF6;
  --code-dim: #93A2B8;
  --code-key: #9DB6FF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --code-bg: #060C16; --code-dim: #8394AB; }
}
:root[data-theme="dark"] { --code-bg: #060C16; --code-dim: #8394AB; }

.lede { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.16rem); }

/* Bands */
.band { padding-block: clamp(56px, 7vw, 96px); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band.tight { padding-block: clamp(40px, 4vw, 64px); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin-top: 16px; }
.sec-head p { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.sec-head p + p { margin-top: 12px; }
.band .note p { max-width: 56ch; }

/* Hero */
.product-hero { padding-block: clamp(40px, 5vw, 80px) clamp(48px, 6vw, 88px); }
.phero { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.product-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); font-weight: 800; margin-top: 16px; }
.product-hero h1 em { font-style: normal; color: var(--accent); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin-top: 16px; font: 500 .75rem var(--font-mono); color: var(--muted); max-width: 68ch; }
.chips { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 .75rem var(--font-mono); padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--surface); }

/* Widget mock */
.wm { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.wm-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.wm-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex: none; }
.wm-mark svg { width: 15px; height: 15px; fill: var(--accent-ink); }
.wm-name { font-weight: 600; font-size: .9rem; }
.wm-sub { margin-left: auto; font: 500 .75rem var(--font-mono); color: var(--muted); }
.wm-body { padding: 16px; display: grid; gap: 12px; }
.msg { max-width: 90%; padding: 12px 16px; border-radius: 12px; font-size: .9rem; line-height: 1.55; }
.msg.in { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; justify-self: start; }
.msg.out { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; justify-self: end; }
.wm-source { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem var(--font-mono); color: var(--muted); }
.wm-source::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.wm-input { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.wm-field { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: .9rem; color: var(--muted); background: var(--bg); }
.wm-send { width: 34px; height: 34px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; flex: none; }
.wm-send svg { width: 16px; height: 16px; stroke: var(--accent-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.isolation-note { margin-top: 16px; font-size: .9rem; color: var(--muted); display: flex; gap: 12px; align-items: flex-start; }
.isolation-note b { color: var(--fg); font-weight: 600; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; display: flex; flex-direction: column; }
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.card-num { font: 500 .75rem var(--font-mono); color: var(--accent); }
.card h3 + p { margin-top: 8px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.card li { position: relative; padding-left: 18px; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.card .best { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.card .best b { color: var(--fg); font-weight: 600; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1fr; gap: 24px; }
.pillar { border-top: 2px solid var(--fg); padding-top: 16px; }
.pillar h3 { font-size: 1.25rem; font-weight: 700; }
.pillar p { margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* Steps */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: st; }
.steps4 li { counter-increment: st; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.steps4 li::before { content: "0" counter(st); font: 500 .75rem var(--font-mono); color: var(--accent); }
.steps4 h3 { font-size: 1.25rem; font-weight: 700; margin-top: 12px; }
.steps4 p { margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* Flow diagram */
.flow { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; margin: 0 0 28px; }
.flow-step { padding: 16px 20px; display: grid; gap: 4px; }
.flow-step + .flow-step { border-top: 1px solid var(--line); }
.flow-k { font: 500 .75rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.flow-t { font-weight: 600; font-size: .9rem; }
.flow-d { color: var(--muted); font-size: .9rem; }

/* Spec list */
.specs { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.specs div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { font: 500 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font-size: .9rem; max-width: 56ch; }

/* Code block */
.code { border-radius: 12px; border: 1px solid var(--line); background: var(--code-bg); color: var(--code-fg); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.14); font: 500 .75rem var(--font-mono); color: var(--code-dim); }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font: 400 .9rem/1.7 var(--font-mono); }
.code .t { color: var(--code-key); }
.code .a { color: var(--code-fg); }
.code .c { color: var(--code-dim); }
.copy-btn { font: 500 .75rem var(--font-mono); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--code-fg); cursor: pointer; }
.copy-btn:hover { border-color: var(--code-fg); }

/* Comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: .9rem; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; background: var(--surface-2); font: 500 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { font-weight: 500; color: var(--muted); }
.cmp td:last-child { font-weight: 500; }

/* Plans */
.tiers { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.tier.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.tier-tag { position: absolute; top: -12px; left: 24px; font: 500 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.25rem; font-weight: 800; }
.tier .tier-for { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.tier .tier-cta { margin-top: auto; }
.tier ul { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.tier li { position: relative; padding-left: 18px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.tier-note { margin-top: 20px; color: var(--muted); font-size: .9rem; max-width: 56ch; }

/* CTA band */
.cta-card { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.cta-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.cta-card p { color: var(--muted); margin-top: 12px; max-width: 56ch; }

/* Tech chips */
.stack { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stack li { font: 500 .9rem var(--font-mono); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }

/* Accordion (FAQ) */
.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.5rem var(--font-mono); color: var(--accent); flex: none; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 20px 20px; color: var(--muted); font-size: .9rem; max-width: 68ch; }
details p + p { padding-top: 0; }

/* Responsive */
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .specs div { grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; }
}
@media (min-width: 900px) {
  .phero { grid-template-columns: 1.02fr .98fr; gap: 56px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps4 { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .flow-step + .flow-step { border-top: 0; border-left: 1px solid var(--line); }
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .cta-card { grid-template-columns: 1.4fr auto; align-items: center; }
}
@media (min-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media print {
  .wm, .code { break-inside: avoid; }
}
