/* DharaIQ marketing site. Hand-written, no build step, no external requests (CSP: style-src 'self', font-src 'self').
   Light editorial theme: warm paper, ink-navy text, an emerald accent with a mint highlight, bold sans display type, hairlines instead of boxes, and one
   ink-navy band (pipeline, call to action, form). Colour tokens (--c-*) live in the first :root block;
   tests/Unit/Website/ThemeContrastTest.php computes WCAG contrast from them and the hero 3D scene reads several of them:
   edit them together. Fonts are self-hosted woff2 (bare file names resolve next to this file under /_assets/); font names
   are content names, rename a file when its bytes change. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;

  --c-bg: #faf9f6;
  --c-surface: #ffffff;
  --c-surface-2: #f5f7f6;
  --c-text: #0a1433;
  --c-text-muted: #586579;
  --c-border: #e2e6f0;
  --c-border-strong: #76839b;
  --c-primary: #087f68;
  --c-primary-hover: #075b4d;
  --c-on-primary: #ffffff;
  --c-accent-bg: #edf8f4;
  --c-ok: #047857;
  --c-ok-bg: #e1f5ea;
  --c-warn: #8a3b0a;
  --c-warn-bg: #fdf0d6;
  --c-info: #1d4ed8;
  --c-info-bg: #e6edff;
  --c-ink-bg: #0a1433;
  --c-ink-text: #f4f6fb;
  --c-ink-muted: #c3cde0;
  --c-ink-accent: #c8f36a;
  --c-ink-on-accent: #0a1433;
  /* Scene accents, read by the hero 3D module (palette.js). Not paired with text, so not in the contrast table. */
  --c-violet: #14a085;
  --c-aqua: #0f766e;
  --c-gold: #b7791f;

  --line-soft: rgb(10 20 51 / 7%);
  --line: rgb(10 20 51 / 12%);
  --mark: #c8f36a;
  /* White text stays AA on every stop of this gradient. */
  --grad-brand: linear-gradient(180deg, #098069 0%, #087f68 55%, #07705c 100%);
  --glow: 0 1px 0 rgb(255 255 255 / 22%) inset, 0 10px 24px -10px rgb(8 127 104 / 65%), 0 2px 4px rgb(10 20 51 / 12%);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Mangal, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Mangal, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-n1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
  --fs-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-1: clamp(1.125rem, 1.07rem + 0.28vw, 1.25rem);
  --fs-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-3: clamp(1.875rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-5: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;

  --container: 75rem;
  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2rem);
  --pad-x: max(var(--gutter), calc((100% - var(--container)) / 2));
  --header-h: 5.25rem;
  --r-1: 0.625rem;
  --r-2: 1rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgb(10 20 51 / 5%), 0 12px 32px -14px rgb(10 20 51 / 14%);
  --shadow-lift: 0 2px 4px rgb(10 20 51 / 6%), 0 28px 50px -22px rgb(10 20 51 / 26%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); background: var(--c-bg); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text-muted);
  font: 500 var(--fs-0) / 1.7 var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}
:lang(hi) { line-height: 1.8; }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); color: var(--c-text); font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
:lang(hi) :is(h1, h2, h3, h4) { font-weight: 700; line-height: 1.35; letter-spacing: 0; }
h1 { font-size: var(--fs-5); letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: var(--fs-3); line-height: 1.06; }
h3 { font-size: var(--fs-2); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
p, ul, ol, dl, figure { margin: 0 0 var(--s-4); }
a { color: var(--c-primary); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; transition: color 0.18s; }
a:hover { color: var(--c-primary-hover); }
:focus-visible { outline: 3px solid var(--c-aqua); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
mark { padding: 0; background: linear-gradient(100deg, #087f68 0%, #0f766e 50%, #0f766e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: var(--s-3); inset-block-start: -5rem; z-index: 100;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-1);
  background: var(--c-ink-bg); color: var(--c-ink-text); font-weight: 700;
}
.skip-link:focus { inset-block-start: var(--s-3); color: var(--c-ink-text); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem; padding: 0.7rem 1.5rem; border: 1px solid transparent; border-radius: var(--r-1); font: 700 0.9688rem / 1.2 var(--font-sans); letter-spacing: -0.005em; text-align: center; text-decoration: none; cursor: pointer; margin-block-start: var(--s-2); margin-inline-end: var(--s-3); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { color: #fff; background: var(--grad-brand); border-color: #075b4d; box-shadow: var(--glow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / 25%) inset, 0 16px 30px -12px rgb(8 127 104 / 75%), 0 2px 4px rgb(10 20 51 / 12%); }
.btn-secondary { color: var(--c-text); background: var(--c-surface); border-color: var(--line); box-shadow: 0 1px 2px rgb(10 20 51 / 6%); }
.btn-secondary:hover { color: var(--c-text); border-color: var(--c-text); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgb(10 20 51 / 30%); }

/* ---------- Header and navigation ---------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; margin-block-end: calc(-1 * var(--header-h)); padding: 0.75rem var(--gutter); pointer-events: none; }
.site-header { --pill-bg: rgb(255 255 255 / 76%); --pill-line: var(--line); --pill-shadow: 0 1px 2px rgb(10 20 51 / 5%), 0 14px 34px -22px rgb(10 20 51 / 30%); }
.site-header.is-condensed { --pill-bg: rgb(255 255 255 / 94%); --pill-line: rgb(8 127 104 / 18%); --pill-shadow: 0 1px 2px rgb(10 20 51 / 6%), 0 22px 44px -22px rgb(10 20 51 / 42%); }
.header-inner { position: relative; max-inline-size: var(--container); margin-inline: auto; display: flex; align-items: center; gap: var(--s-3); min-block-size: 3.75rem; padding-inline: 1.25rem 0.5rem; border: 1px solid var(--pill-line); border-radius: 999px; background: var(--pill-bg); backdrop-filter: blur(18px) saturate(170%); box-shadow: var(--pill-shadow); pointer-events: auto; transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s; }
.brand { display: inline-flex; align-items: center; min-block-size: 2.75rem; margin-inline-end: auto; border-radius: 8px; text-decoration: none; }
.brand-logo { inline-size: auto; block-size: 1.875rem; transition: block-size 0.25s ease; }
.site-header.is-condensed .brand-logo { block-size: 1.625rem; }
.lang-switcher { order: 2; }
.lang-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 3px; border-radius: 999px; background: var(--c-surface-2); }
.lang-link { display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem; min-inline-size: 2.75rem; padding-inline: var(--s-3); border-radius: 999px; color: var(--c-text-muted); font-size: var(--fs-n1); font-weight: 700; text-decoration: none; }
.lang-link:hover { color: var(--c-text); }
.lang-link[aria-current] { color: #fff; background: var(--c-ink-bg); }
.nav-details { order: 3; }
.nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-block-size: 2.75rem; padding-inline: var(--s-4); border: 0; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text); cursor: pointer; font-weight: 700; list-style: none; }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle-icon { inline-size: 1.125rem; block-size: 2px; border-radius: 2px; background: currentcolor; box-shadow: 0 -6px 0 currentcolor, 0 6px 0 currentcolor; }
.nav-link { display: flex; align-items: center; min-block-size: 2.75rem; padding-inline: var(--s-2); color: var(--c-text-muted); font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; list-style: none; transition: color 0.18s, background-color 0.18s; }
.site-nav { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 0.5rem); max-block-size: calc(100dvh - var(--header-h) - 1rem); overflow-y: auto; padding: var(--s-3) var(--s-4) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-2); background: rgb(255 255 255 / 98%); backdrop-filter: blur(18px); box-shadow: var(--shadow-lift); }
.nav-list, .nav-panel { list-style: none; margin: 0; padding: 0; }
.nav-item { margin: 0; border-block-end: 1px solid var(--line-soft); }
.nav-item:last-child { border-block-end: 0; padding-block-start: var(--s-3); }
.nav-item:last-child > .nav-link { justify-content: center; border-radius: 999px; color: #fff; background: var(--grad-brand); box-shadow: var(--glow); }
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-link.is-current, .nav-link[aria-current] { color: var(--c-text); }
.nav-link[aria-current] { background: var(--c-accent-bg); color: var(--c-primary-hover); }
.nav-item:last-child > .nav-link, .nav-item:last-child > .nav-link:hover { color: #fff; }
.nav-item:last-child > .nav-link[aria-current] { background: var(--grad-brand); color: #fff; }
.nav-group > summary::after { content: ""; margin-inline-start: auto; inline-size: 0.5rem; block-size: 0.5rem; border-inline-end: 2px solid currentcolor; border-block-end: 2px solid currentcolor; transform: rotate(45deg); }
.nav-group[open] > summary::after { transform: rotate(-135deg); }
.nav-panel { padding-inline-start: var(--s-4); }
.nav-panel .nav-link { font-weight: 600; }

@media (min-width: 60em) {
  /* Only where the closed <details> can render its content (::details-content); elsewhere the menu stays a disclosure. */
  @supports selector(::details-content) {
    .nav-details > .nav-toggle { display: none; }
    .nav-details::details-content { content-visibility: visible; display: block; }
    .site-nav { position: static; max-block-size: none; overflow: visible; background: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
    .nav-list { display: flex; align-items: center; gap: var(--s-1); }
    .nav-item { position: relative; border: 0; }
    .nav-item:last-child { padding-block-start: 0; margin-inline-start: var(--s-3); }
    .nav-link { position: relative; border-radius: 999px; padding-inline: var(--s-4); }
    .nav-link:hover { background: var(--c-surface-2); color: var(--c-text); }
    .nav-item:last-child > .nav-link { padding-inline: var(--s-5); }
    .nav-item:last-child > .nav-link:hover { background: var(--grad-brand); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgb(8 127 104 / 75%); }
    .nav-panel { position: absolute; inset-inline-start: 0; inset-block-start: 100%; min-inline-size: 14rem; padding: var(--s-2); background: var(--c-surface); border: 1px solid var(--line); border-radius: var(--r-1); box-shadow: var(--shadow-lift); }
  }
}

/* ---------- Footer ---------- */
.site-footer { --c-text: var(--c-ink-text); --c-text-muted: var(--c-ink-muted); position: relative; isolation: isolate; overflow: hidden; padding-block: var(--s-8) clamp(6rem, 17vw, 14rem); background: radial-gradient(rgb(255 255 255 / 5%) 1px, transparent 1.3px) 0 0 / 1.6rem 1.6rem, linear-gradient(180deg, #08142f, #050d22); color: var(--c-ink-muted); font-size: var(--fs-n1); }
.site-footer::before { content: ""; position: absolute; z-index: -1; inset-inline: 0; inset-block-start: 0; block-size: 1px; background: linear-gradient(90deg, transparent, rgb(200 243 106 / 60%), rgb(20 160 133 / 60%), transparent); }
.site-footer::after { content: ""; position: absolute; z-index: -2; inset-inline: 0; inset-block-end: -10rem; block-size: 26rem; background: radial-gradient(40rem 14rem at 20% 100%, rgb(8 127 104 / 38%), transparent 70%), radial-gradient(36rem 14rem at 80% 100%, rgb(15 118 110 / 30%), transparent 70%); filter: blur(10px); pointer-events: none; }
.footer-mark { position: absolute; z-index: -1; inset-inline: 0; inset-block-end: -0.18em; text-align: center; font: 800 clamp(5rem, 19vw, 17rem) / 1 var(--font-display); letter-spacing: -0.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 11%); pointer-events: none; user-select: none; }
.footer-grid { display: grid; gap: var(--s-7); }
.footer-brand { max-inline-size: 26rem; }
.footer-brand-link { display: inline-block; margin-block-end: var(--s-5); border-radius: 8px; }
.footer-logo { inline-size: auto; block-size: 2.5rem; }
.footer-nav { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); align-content: start; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); } .footer-brand, .footer-card { grid-column: 1 / -1; } }
@media (min-width: 72em) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: start; } .footer-brand, .footer-card { grid-column: auto; } }
.footer-name { margin: 0 0 var(--s-2); font: 700 var(--fs-1) var(--font-sans); color: var(--c-text); }
.footer-tagline { margin: 0; color: var(--c-text); font: 700 clamp(1.25rem, 1rem + 1vw, 1.625rem) / 1.25 var(--font-display); letter-spacing: -0.025em; }
.footer-tagline span { display: block; margin-block-start: var(--s-2); color: var(--c-text-muted); font-weight: 600; }
.footer-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-5); border: 1px solid rgb(255 255 255 / 12%); border-radius: 1.25rem; background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%)); }
.footer-card p { margin: 0; color: var(--c-text-muted); font-size: 0.9375rem; line-height: 1.55; }
.footer-card .footer-card-title { color: var(--c-text); font: 700 1.125rem var(--font-sans); }
.footer-mail { display: inline-flex; align-items: center; gap: 0.6rem; min-block-size: 2.75rem; color: var(--c-text); font-weight: 600; text-decoration: none; word-break: break-all; }
.footer-mail::before { content: "\2709"; color: var(--c-ink-accent); }
.footer-mail:hover { color: var(--c-ink-accent); }
.footer-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 2.75rem; padding-inline: 1.4rem; border-radius: 999px; background: #087f68; color: #fff; font-weight: 700; text-decoration: none; transition: background-color 0.2s, transform 0.3s var(--ease); }
.footer-cta::after { content: "\2192"; }
.footer-cta:hover { background: #087f68; color: #fff; transform: translateY(-2px); }
.footer-col { min-inline-size: 0; }
.footer-heading { margin: 0 0 var(--s-4); padding-block-end: var(--s-3); border-block-end: 1px solid rgb(255 255 255 / 10%); font: 700 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-ink-accent); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.4rem; padding-block: var(--s-2); color: var(--c-text-muted); font-size: 0.9375rem; font-weight: 600; text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease); }
.footer-links a::after { content: "\2192"; opacity: 0; translate: -0.4rem 0; transition: opacity 0.25s, translate 0.3s var(--ease); color: var(--c-ink-accent); }
.footer-links a:hover, .legal-links a:hover { color: #fff; }
.footer-links a:hover { transform: translateX(0.2rem); }
.footer-links a:hover::after { opacity: 1; translate: 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-block-start: var(--s-7); padding-block-start: var(--s-4); border-block-start: 1px solid rgb(255 255 255 / 10%); color: var(--c-text-muted); }
.footer-copy { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.footer-top { display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 2.5rem; padding-inline: 1rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; color: var(--c-text); font-weight: 600; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.footer-top::after { content: "\2191"; }
.footer-top:hover { border-color: var(--c-ink-accent); background: rgb(200 243 106 / 8%); color: var(--c-text); }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); list-style: none; margin: 0; padding: 0; }
.legal-links a { color: var(--c-text-muted); text-decoration: none; }

/* ---------- Blocks: shared ---------- */
.block { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(4rem, 9vw, 7.5rem); padding-inline: var(--pad-x); }
.block + .block:not(.block-pipeline, .block-cta, .block-logo-strip)::before { content: ""; position: absolute; z-index: -1; inset-inline: var(--pad-x); inset-block-start: 0; block-size: 1px; background: var(--c-border); }
.block > :last-child { margin-block-end: 0; }
.block h2 { font-size: var(--fs-3); }
.lede { max-inline-size: 40rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.65; color: var(--c-text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--s-5); font: 700 0.75rem / 1.4 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary); }
.eyebrow::before { content: ""; flex: none; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 1px; background: var(--c-primary); }
:lang(hi) .eyebrow { letter-spacing: 0; }
.block-pipeline, .demo-card, .cta-card { --c-text: var(--c-ink-text); --c-text-muted: var(--c-ink-muted); --c-border: rgb(255 255 255 / 14%); --c-primary: var(--c-ink-accent); color: var(--c-ink-muted); background: radial-gradient(52rem 24rem at 85% -20%, rgb(20 160 133 / 30%), transparent 70%), radial-gradient(40rem 24rem at 0% 120%, rgb(8 127 104 / 45%), transparent 70%), var(--c-ink-bg); }
.block-pipeline :focus-visible, .cta-card :focus-visible, .demo-card :focus-visible { outline-color: var(--c-ink-accent); }

/* ---------- Blocks: hero, cta, rich text ---------- */
.block-hero { overflow: clip; padding-block: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)) clamp(3rem, 6vw, 5.5rem); background: radial-gradient(60rem 28rem at 12% -12%, var(--c-accent-bg), transparent 70%), radial-gradient(46rem 26rem at 100% 0%, rgb(200 243 106 / 10%), transparent 70%), var(--c-bg); }
.block-hero + .block::before { display: none; }
.block-hero:not(.has-stage) { padding-block: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)) clamp(1.5rem, 3vw, 2.5rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { max-inline-size: 38rem; }
.block-hero h1 { max-inline-size: 14ch; font-size: clamp(2.25rem, 1.1rem + 4vw, 4.125rem); }
:lang(hi) .block-hero h1 { max-inline-size: 18ch; font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.5rem); }
.block-hero .lede { margin-block-end: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.hero-actions .btn { margin-inline-end: 0; padding: 0.85rem 1.7rem; }
@media (min-width: 60em) { .block-hero.has-stage .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--s-7); } }
.block-cta { padding-block: clamp(2.5rem, 6vw, 5rem); }
.cta-card { position: relative; isolation: isolate; display: grid; gap: var(--s-6); align-items: center; overflow: hidden; max-inline-size: var(--container); margin-inline: auto; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 2rem; color: var(--c-ink-muted); box-shadow: 0 50px 90px -40px rgb(10 20 51 / 70%), inset 0 1px 0 rgb(255 255 255 / 12%); }
.cta-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 3rem 3rem; mask-image: radial-gradient(ellipse 80% 80% at 70% 40%, #000, transparent 75%); pointer-events: none; }
.cta-card::after { content: ""; position: absolute; z-index: -1; inset: -20%; background: radial-gradient(28rem 18rem at 70% 30%, rgb(200 243 106 / 16%), transparent 70%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { [data-reduce-motion="false"] .cta-card::after { animation: ctaDrift 18s ease-in-out infinite alternate; } }
@keyframes ctaDrift { from { transform: translate3d(-6%, 4%, 0); } to { transform: translate3d(6%, -4%, 0); } }
.cta-copy > :last-child { margin-block-end: 0; }
.cta-copy h2 { max-inline-size: 14ch; margin-block-end: var(--s-4); font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); line-height: 1.04; }
.cta-copy p { max-inline-size: 30rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }
.block-cta .btn { margin-block-start: var(--s-3); margin-inline-end: 0; padding: 0.95rem 1.9rem; font-size: 1.0625rem; }
.block-cta .btn-primary { gap: 0.6rem; color: var(--c-ink-on-accent); background: var(--c-ink-accent); border-color: var(--c-ink-accent); box-shadow: 0 14px 34px -12px rgb(200 243 106 / 55%); }
.block-cta .btn-primary::after { content: "\2192"; transition: translate 0.3s var(--ease); }
.block-cta .btn-primary:hover { color: var(--c-ink-on-accent); background: #d9f99a; }
.block-cta .btn-primary:hover::after { translate: 0.3rem 0; }
.block-cta-dark .cta-card { background: radial-gradient(40rem 22rem at 100% 0%, rgb(200 243 106 / 26%), transparent 65%), radial-gradient(36rem 24rem at 0% 100%, rgb(20 160 133 / 48%), transparent 65%), var(--c-ink-bg); }
.block-cta-light .cta-card { --c-text: #0a1433; --c-text-muted: #586579; --c-border: #e2e6f0; --c-primary: #087f68; color: var(--c-text-muted); background: linear-gradient(180deg, #fff, #f1f8f5); box-shadow: var(--shadow-lift); }
.block-cta-light .cta-card::before { display: none; }
.block-cta-light .btn-primary { color: #fff; background: var(--grad-brand); border-color: #075b4d; box-shadow: var(--glow); }
.cta-panel { display: grid; gap: 0; margin: 0; padding: 0.5rem 1.5rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 1.25rem; background: rgb(255 255 255 / 4%); backdrop-filter: blur(8px); list-style: none; }
.cta-panel-title { margin: 0 0 var(--s-3); color: var(--c-ink-accent); font: 600 0.75rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.cta-step { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: 0; padding: 1.1rem 0; border-block-end: 1px solid rgb(255 255 255 / 10%); }
.cta-step:last-child { border-block-end: 0; }
.cta-step-no { grid-row: span 2; color: var(--c-ink-accent); font: 600 0.8125rem / 1.6 var(--font-mono); }
.cta-step b { color: var(--c-ink-text); font-size: 1rem; font-weight: 700; }
.cta-step span:last-child { color: var(--c-ink-muted); font-size: 0.9375rem; line-height: 1.5; }
.block-cta-light .cta-side { display: none; }
.block-cta-dark .cta-card { border: 1px solid rgb(255 255 255 / 8%); }
@media (min-width: 60em) { .cta-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s-8); } }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .block-cta.is-revealed .cta-step { animation: inLine 0.6s var(--ease) both; }
  [data-reduce-motion="false"] .block-cta.is-revealed .cta-step:nth-child(2) { animation-delay: 0.12s; }
  [data-reduce-motion="false"] .block-cta.is-revealed .cta-step:nth-child(3) { animation-delay: 0.24s; }
}
.block-rich-text > * { max-inline-size: var(--measure); }
.block-rich-text :is(h2, h3) { margin-block-start: var(--s-6); }
.block-rich-text :is(h2, h3):first-child { margin-block-start: 0; }
.block-rich-text :is(ul, ol) { padding-inline-start: var(--s-5); }
.block-rich-text li::marker { color: var(--c-primary); }
.block-rich-text > p:first-child { font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); line-height: 1.35; letter-spacing: -0.025em; color: var(--c-text); }
.block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) { display: grid; gap: var(--s-5) var(--s-8); align-items: start; }
.block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) > p { max-inline-size: none; }
.block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) > p:first-child { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem); line-height: 1.2; letter-spacing: -0.03em; margin: 0; }
.block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) > p:not(:first-child) { padding-inline-start: var(--s-5); border-inline-start: 3px solid transparent; border-image: linear-gradient(180deg, #14a085, #c8f36a) 1; font-size: var(--fs-1); line-height: 1.65; }
.block-rich-text > p:first-child strong { background: linear-gradient(100deg, #087f68 0%, #0f766e 55%, #0f766e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: inherit; }
@media (min-width: 60em) {
  .block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
  .block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) > p:first-child { grid-column: 1; grid-row: 1 / span 4; }
  .block-rich-text:not(:has(:is(h2, h3, ul, ol, table, blockquote, pre))) > p:not(:first-child) { grid-column: 2; align-self: start; margin-block-start: 0.6rem; }
}
.block-rich-text blockquote { margin-inline: 0; padding: var(--s-2) var(--s-4); border-inline-start: 3px solid var(--c-primary); border-radius: 2px; background: var(--c-accent-bg); color: var(--c-text); }
.block-rich-text code { padding: 0.1em 0.4em; border-radius: 0.4rem; background: var(--c-surface-2); box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-text); font: 0.9em var(--font-mono); }
.block-rich-text table { border-collapse: collapse; }
.block-rich-text :is(th, td) { padding: var(--s-2) var(--s-3); border: 1px solid var(--c-border); }

/* ---------- Hero stage: product preview card with the (re-tinted) 3D scene beside it ---------- */
.hero-stage { position: relative; inline-size: 100%; max-inline-size: 38rem; margin-inline: auto; }
.block-hero.has-scene .hero-stage { padding-block: var(--s-5); }
.hero-visual { position: absolute; z-index: 0; inset: -6% -8% 6% 24%; opacity: 0.5; pointer-events: none; }
.hero-scene, .hero-canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.hero-canvas { opacity: 0; transition: opacity 0.9s ease; }
.hero-visual.is-live .hero-canvas { opacity: 1; }
.hero-visual.is-live .hero-scene { opacity: 0; transition: opacity 0.9s ease; }
.hero-visual [data-motion-toggle] { position: absolute; inset-block-end: 0; inset-inline-end: 0; z-index: 3; margin: 0; pointer-events: auto; }
.hv-halo { fill: rgb(20 160 133 / 8%); }
.hv-conn { stroke: rgb(10 20 51 / 28%); stroke-width: 1; stroke-dasharray: 2 5; }
.hv-side { fill: rgb(10 20 51 / 14%); stroke: rgb(10 20 51 / 25%); stroke-width: 1; }
.hv-side-r { fill: rgb(10 20 51 / 24%); }
.hv-top { fill-opacity: 0.55; stroke: rgb(8 127 104 / 55%); stroke-width: 1.5; stroke-linejoin: round; }
.hv-slab { stroke-linejoin: round; }
.hv-top-1 { fill-opacity: 0.35; }
.hv-top-2 { fill-opacity: 0.45; }
.hv-top-3 { fill-opacity: 0.55; }
.hv-top-4 { fill-opacity: 0.7; stroke: rgb(20 160 133 / 90%); }
.hv-slab-1, .hv-slab-2, .hv-slab-3, .hv-slab-4 { filter: drop-shadow(0 8px 10px rgb(10 20 51 / 14%)); }
.hv-stop-a { stop-color: #14a085; }
.hv-stop-b { stop-color: #cfeee4; }
.hv-stop-c { stop-color: #8b5cf6; }
.hv-stop-d { stop-color: #c8f36a; }
.hv-row { stroke: rgb(255 255 255 / 85%); stroke-width: 6; stroke-linecap: round; }
.hv-row-short { stroke: rgb(255 255 255 / 55%); }
.hv-scan { stroke: var(--c-aqua); stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
.hv-bar { stroke: var(--c-aqua); stroke-width: 9; stroke-linecap: round; }
.hv-bar-mid { stroke: var(--c-violet); }
.hv-bar-low { stroke: #c8f36a; }
.hv-ring { stroke: rgb(10 20 51 / 14%); }
.hv-ring-fill { filter: drop-shadow(0 4px 6px rgb(20 160 133 / 35%)); }
.hv-dot { fill: var(--c-aqua); }

.hp-chip { position: absolute; z-index: 3; inset-block-end: -1.1rem; inset-inline-end: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-lift); color: var(--c-text); font: 700 0.8125rem var(--font-sans); }
.hp-chip::before { content: "\2713"; display: grid; place-items: center; inline-size: 1.1rem; block-size: 1.1rem; border-radius: 50%; background: #e2f3ee; color: #087f68; font-size: 0.6875rem; }
.hero-preview { position: relative; z-index: 2; inline-size: 100%; margin-inline-start: auto; border: 1px solid rgb(8 127 104 / 14%); border-radius: 1.25rem; background: linear-gradient(180deg, #fff, #f8fcfb); color: var(--c-text-muted); box-shadow: 0 1px 2px rgb(10 20 51 / 6%), 0 44px 80px -34px rgb(8 127 104 / 45%), 0 24px 40px -28px rgb(10 20 51 / 30%), 0 0 0 8px rgb(255 255 255 / 55%); overflow: hidden; text-align: start; }
.hp-bar { display: flex; align-items: center; gap: var(--s-3); padding: 0.75rem 1rem; border-block-end: 1px solid var(--line-soft); }
.hp-dots { display: inline-flex; gap: 6px; }
.hp-dots i { inline-size: 0.6rem; block-size: 0.6rem; border-radius: 50%; background: var(--c-border); }
.hp-title { flex: 1; text-align: center; font: 700 0.75rem var(--font-sans); letter-spacing: 0.04em; color: var(--c-text-muted); }
.hp-sample { padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--c-accent-bg); color: var(--c-primary); font: 700 0.75rem var(--font-sans); letter-spacing: 0.04em; }
.hp-body { display: grid; gap: var(--s-4); padding: var(--s-4); }
.hp-score { position: relative; display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); overflow: hidden; border-radius: 1rem; color: #fff; background: radial-gradient(14rem 8rem at 100% 0%, rgb(200 243 106 / 22%), transparent 70%), #0a1433; box-shadow: 0 18px 30px -18px rgb(10 20 51 / 75%), inset 0 1px 0 rgb(255 255 255 / 12%); }
.hp-ring { position: relative; display: grid; place-items: center; flex: none; inline-size: 5.25rem; block-size: 5.25rem; }
.hp-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#c8f36a calc(var(--p) * 1%), rgb(255 255 255 / 16%) 0); -webkit-mask: radial-gradient(closest-side, transparent 76%, #000 78%); mask: radial-gradient(closest-side, transparent 76%, #000 78%); }
.hp-label { margin: 0 0 0.25rem; font: 700 0.75rem / 1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); }
.hp-grade { margin: 0; font: 700 1rem var(--font-sans); color: var(--c-text); }
.hp-score .hp-label { color: rgb(255 255 255 / 80%); }
.hp-score .hp-grade { color: #fff; font-size: 1.0625rem; }
.hp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.hp-kpis > div { padding: 0 var(--s-3); border-inline-start: 1px solid var(--line); }
.hp-kpis > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hp-kpis dt { font: 600 0.75rem / 1.3 var(--font-sans); color: var(--c-text-muted); }
.hp-kpis dd { margin: 0.25rem 0 0; font: 800 1.375rem / 1.1 var(--font-display); letter-spacing: -0.03em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.hp-chart { min-inline-size: 0; }
.hp-card { padding: var(--s-4); border: 1px solid var(--line-soft); border-radius: var(--r-2); background: #fff; }
.hp-bars { display: flex; align-items: flex-end; gap: 0.35rem; block-size: 4.5rem; background: repeating-linear-gradient(to top, var(--line-soft) 0 1px, transparent 1px 25%); }
.hp-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #c8f36a, #14a085 70%); }
.hp-bars i:last-child { background: linear-gradient(180deg, #087f68, #14a085); box-shadow: 0 0 0 2px rgb(20 160 133 / 25%); }
.hp-bars i:nth-child(1) { block-size: 38%; }
.hp-bars i:nth-child(2) { block-size: 46%; }
.hp-bars i:nth-child(3) { block-size: 42%; }
.hp-bars i:nth-child(4) { block-size: 55%; }
.hp-bars i:nth-child(5) { block-size: 50%; }
.hp-bars i:nth-child(6) { block-size: 64%; }
.hp-bars i:nth-child(7) { block-size: 58%; }
.hp-bars i:nth-child(8) { block-size: 72%; }
.hp-bars i:nth-child(9) { block-size: 66%; }
.hp-bars i:nth-child(10) { block-size: 78%; }
.hp-bars i:nth-child(11) { block-size: 74%; }
.hp-bars i:nth-child(12) { block-size: 90%; }
.hp-checks ul { list-style: none; margin: 0; padding: 0; }
.hp-checks li { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.5rem; border-block-start: 1px solid var(--line-soft); font-size: 0.8125rem; line-height: 1.3; }
.hp-checks li:first-child { border-block-start: 0; }
.hp-checks li::before { content: "\2022"; flex: none; display: grid; place-items: center; inline-size: 1.125rem; block-size: 1.125rem; border-radius: 50%; background: var(--c-info-bg); color: var(--c-info); font: 800 0.625rem / 1 var(--font-sans); }
.hp-checks li.is-ok::before { content: "\2713"; background: var(--c-ok-bg); color: var(--c-ok); }
.hp-checks li.is-review::before { content: "!"; background: var(--c-warn-bg); color: var(--c-warn); }
.hp-checks span { flex: 1; }
.hp-checks b { font-weight: 700; color: var(--c-text); }
.hp-checks .is-ok b { color: var(--c-ok); }
.hp-checks .is-review b { color: var(--c-warn); }
@media print { .hero-visual { display: none; } }

:is(.block-feature-grid, .block-steps, .block-pipeline, .block-stats, .block-comparison, .block-pricing, .block-faq, .block-testimonials, .block-code-sample) > h2 { margin-block-end: var(--s-6); }
.block-feature-grid > h2, .block-pricing > h2 { margin-block-end: var(--s-3); }
:is(.block-feature-grid, .block-pricing) > .lede { margin-block-end: var(--s-6); }

/* ---------- Blocks: cards (features, steps, pipeline, stats, pricing, testimonials, faq, form) ---------- */
.feature-list, .steps-list, .pipeline-stages, .stats-list, .price-lines, .price-bands { list-style: none; padding: 0; }
.feature-list, .steps-list, .pipeline-stages, .stats-list, .pricing-tiers { display: grid; gap: var(--s-5); margin-block-end: 0; }
.feature-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cols-1 .feature-list { grid-template-columns: minmax(0, 1fr); }
.cols-2 .feature-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.cols-3 .feature-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cols-4 .feature-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.feature, .pricing-tier, .testimonial, .demo-form { position: relative; margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--c-surface); box-shadow: var(--shadow); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease); }
.feature:hover, .pricing-tier:hover, .testimonial:hover { transform: translateY(-4px); border-color: rgb(8 127 104 / 35%); box-shadow: var(--shadow-lift); }
.feature h2, .feature h3, .step h2, .step h3, .pricing-tier h2, .pricing-tier h3 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.2; margin-block-end: var(--s-2); }
.feature p, .step p, .pipeline-stage p { color: var(--c-text-muted); font-size: 0.98rem; margin-block-end: 0; }
.feature { --tone: #087f68; }
.feature-icon, .step-icon { display: grid; place-items: center; }
.feature-icon svg, .step-icon svg { fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon { inline-size: 3rem; block-size: 3rem; margin-block-end: var(--s-4); border-radius: 0.9rem; background: linear-gradient(145deg, var(--c-accent-bg), #f1f8f5); color: var(--c-primary); box-shadow: inset 0 0 0 1px rgb(8 127 104 / 22%), 0 6px 14px -8px rgb(8 127 104 / 55%); transition: background 0.35s, color 0.35s, transform 0.45s var(--ease); }
.feature-icon svg { inline-size: 1.4rem; block-size: 1.4rem; }
.feature:hover .feature-icon { background: linear-gradient(145deg, #087f68, #14a085); color: #fff; transform: rotate(-6deg) scale(1.06); }
.badge { display: inline-block; margin-block-end: var(--s-2); padding: 0.125rem 0.6rem; border-radius: 999px; font: 600 0.75rem var(--font-mono); letter-spacing: 0.02em; }
.badge-available { background: var(--c-ok-bg); color: var(--c-ok); }
.badge-beta { background: var(--c-info-bg); color: var(--c-info); }
.badge-roadmap { background: var(--c-warn-bg); color: var(--c-warn); }

.steps-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-block-end: var(--s-6); }
.steps-head h2 { margin: 0; }
.steps-head .lede { max-inline-size: 22rem; margin: 0; }
.steps-list { position: relative; counter-reset: step; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.75rem; background: #fff; box-shadow: var(--shadow-lift); }
.step { counter-increment: step; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: var(--s-6) var(--s-5); border-block-end: 1px solid var(--line-soft); }
.step:last-child { border-block-end: 0; }
.step::before { content: "STEP 0" counter(step); order: 1; margin-block-end: var(--s-3); color: var(--c-text-muted); font: 500 0.8125rem var(--font-mono); letter-spacing: 0.12em; }
.step-icon { order: 0; display: grid; inline-size: 3rem; block-size: 3rem; margin-block-end: var(--s-4); border: 1.5px solid #087f68; border-radius: 50%; background: #fff; color: #087f68; }
.step:last-child .step-icon { border-color: #0a1433; background: #0a1433; color: #c8f36a; }
.step-icon svg { inline-size: 1.25rem; block-size: 1.25rem; }
.step :is(h2, h3) { order: 2; }
.step p { order: 3; flex: 1; }
.step-tag { order: 4; margin-block-start: var(--s-4); padding: 0.3rem 0.65rem; border-radius: 0.45rem; background: #e2f3ee; color: #087f68; font: 500 0.75rem var(--font-mono); }
.step:last-child .step-tag { background: #0a1433; color: #c8f36a; }
@media (min-width: 60em) {
  .steps-list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .step { padding: var(--s-6); border-block-end: 0; border-inline-start: 1px solid var(--line-soft); }
  .step:first-child { border-inline-start: 0; }
}

.pipeline-stages { position: relative; gap: var(--s-6) var(--s-4); margin-block-start: var(--s-6); counter-reset: none; }
.pipeline-stages::before { content: ""; position: absolute; inset-block: 1.75rem; inset-inline-start: 1.75rem; inline-size: 2px; background: linear-gradient(180deg, rgb(200 243 106 / 70%), rgb(20 160 133 / 55%), rgb(200 243 106 / 15%)); }
.pipeline-stage { position: relative; min-block-size: 3.5rem; padding: 0 0 0 4.75rem; border: 0; border-radius: 0; background: none; box-shadow: none; }
.pipeline-stage h2, .pipeline-stage h3 { margin-block-end: var(--s-2); color: var(--c-text); font: 700 1.25rem / 1.2 var(--font-display); letter-spacing: -0.02em; }
.stage-node { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 1; display: grid; place-items: center; inline-size: 3.5rem; block-size: 3.5rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: 1.1rem; background: linear-gradient(145deg, #1b2c5c, #0f1d42); color: #d9f99a; box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 14px 24px -14px rgb(0 0 0 / 70%); }
.stage-node svg { inline-size: 1.65rem; block-size: 1.65rem; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage-no { position: absolute; inset-block-start: -0.5rem; inset-inline-end: -0.5rem; display: grid; place-items: center; inline-size: 1.4rem; block-size: 1.4rem; border-radius: 50%; background: var(--c-ink-accent); color: var(--c-ink-on-accent); font: 800 0.75rem / 1 var(--font-mono); font-style: normal; }
.pipeline-stage:nth-child(2) { --i: 1; }
.pipeline-stage:nth-child(3) { --i: 2; }
.pipeline-stage:nth-child(4) { --i: 3; }
.pipeline-stage:nth-child(5) { --i: 4; }
.pipeline-stage:nth-child(n + 6) { --i: 5; }
@media (min-width: 60em) {
  .pipeline-stages { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .pipeline-stages::before { inset-block: 1.75rem auto; inset-inline: 1.75rem; inline-size: auto; block-size: 2px; background: linear-gradient(90deg, rgb(200 243 106 / 70%), rgb(20 160 133 / 55%), rgb(200 243 106 / 15%)); }
  .pipeline-stage { padding: 4.75rem 0 0; }
}
.motion-toggle { margin-block-end: var(--s-4); min-block-size: 2.75rem; padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--c-surface); backdrop-filter: blur(8px); color: var(--c-text); font: inherit; font-size: var(--fs-n1); font-weight: 700; cursor: pointer; }
.block-pipeline .motion-toggle { border-color: var(--c-border); background: rgb(255 255 255 / 8%); color: var(--c-ink-text); }
.motion-toggle:hover { border-color: var(--c-text); }
.motion-toggle[aria-pressed="true"] { background: var(--c-surface-2); }
@keyframes nodeGlow { 0%, 100% { border-color: rgb(255 255 255 / 16%); color: #d9f99a; translate: 0 0; } 12%, 28% { border-color: #c8f36a; color: #fff; translate: 0 -3px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 0 34px -2px rgb(200 243 106 / 65%); } }
@keyframes packet { from { left: 1.75rem; opacity: 0; } 8%, 92% { opacity: 1; } to { left: calc(100% - 1.75rem); opacity: 0; } }
.block-pipeline.is-animating .stage-node { animation: nodeGlow 6s ease-in-out calc(var(--i, 0) * 0.75s) infinite; }
.block-pipeline.is-paused .stage-node { animation-play-state: paused; }
@media (min-width: 60em) {
  .block-pipeline.is-animating .pipeline-stages::after { content: ""; position: absolute; inset-block-start: calc(1.75rem - 5px); inline-size: 12px; block-size: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(200 243 106 / 30%), 0 0 22px 4px rgb(200 243 106 / 80%); animation: packet 6s linear infinite; }
  .block-pipeline.is-paused .pipeline-stages::after { animation-play-state: paused; }
}

.stats-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--s-6); }
.stat { margin: 0; padding-inline-start: var(--s-5); border-inline-start: 1px solid var(--c-border); }
.stat-figure { margin: 0 0 var(--s-2); font: 700 var(--fs-5) / 1.04 var(--font-display); letter-spacing: -0.04em; color: var(--c-text); font-variant-numeric: tabular-nums; }
.stat-value { font: inherit; }
.stat-suffix { margin-inline-start: 0.1em; font-size: 0.6em; color: var(--c-primary); }
.stat-label { margin: 0 0 var(--s-2); color: var(--c-text); font-weight: 700; }
.stat-source { margin: 0; font-size: var(--fs-n1); color: var(--c-text-muted); }

/* ---------- Illustrated cards: inline SVG art, animated in CSS only (states are the finished frame; keyframes say where they start) ---------- */
.block-illustrated-cards > h2 { max-inline-size: 22ch; margin-block-end: var(--s-6); }
.art-cards { counter-reset: card; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.art-card { --tone: #087f68; counter-increment: card; position: relative; margin: 0; padding: var(--s-3) var(--s-3) var(--s-5); border: 1px solid var(--line); border-radius: 1.25rem; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--tone) 4%, #fff)); box-shadow: inset 0 1px 0 #fff, var(--shadow); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease); }
.art-obligations { --tone: #0f766e; }
.art-bounce { --tone: #d97706; }
.art-spending { --tone: #0f766e; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.art-card::before, .feature::before { content: ""; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--ang), transparent 0 55%, var(--tone) 75%, #c8f36a 90%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.art-card:hover::before, .feature:hover::before { opacity: 1; animation: artSpin 3.2s linear infinite; }
@keyframes artSpin { to { --ang: 360deg; } }
.art-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgb(10 20 51 / 6%), 0 34px 60px -30px color-mix(in srgb, var(--tone) 55%, transparent); }
.art-card :is(h2, h3) { margin: 0 0 var(--s-2); padding-inline: var(--s-3); font-size: 1.3rem; line-height: 1.2; }
.art-card :is(h2, h3)::before { content: ""; display: block; inline-size: 1.75rem; block-size: 3px; margin-block-end: 0.7rem; border-radius: 999px; background: linear-gradient(90deg, var(--tone), #c8f36a); transition: inline-size 0.4s var(--ease); }
.art-card:hover :is(h2, h3)::before { inline-size: 3.5rem; }
.art-card p { margin: 0; padding-inline: var(--s-3); font-size: 0.98rem; line-height: 1.55; color: var(--c-text-muted); }
.art-figure { position: relative; display: grid; place-items: center; margin-block-end: var(--s-4); padding-block: var(--s-2); overflow: hidden; border-radius: 0.9rem; background: radial-gradient(rgb(10 20 51 / 9%) 1px, transparent 1.2px) 0 0 / 14px 14px, radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tone) 17%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--tone) 7%, #fff), #faf9f6); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 14%, transparent), inset 0 -18px 24px -22px color-mix(in srgb, var(--tone) 35%, transparent); }
.art-figure::after { content: "0" counter(card); position: absolute; inset-block-start: 0.6rem; inset-inline-start: 0.7rem; padding: 0.25rem 0.55rem; border-radius: 999px; background: rgb(255 255 255 / 85%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 28%, transparent); color: var(--tone); font: 700 0.75rem / 1 var(--font-mono); letter-spacing: 0.08em; }
.art { inline-size: 100%; block-size: auto; max-block-size: 10rem; }
.art :is(.a-bar, .a-lbar, .a-donut, .a-coin, .a-ping, .a-flag, .a-flag-ring) { transform-box: fill-box; }
.art .a-grid { stroke: rgb(10 20 51 / 8%); }
.art .a-bar { fill: rgb(20 160 133 / 30%); transform-origin: 50% 100%; --sy: 0; }
.art .a-hi { fill: #087f68; }
.art .a-trend { stroke: #0f766e; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.art .a-dot { fill: #fff; stroke: #0f766e; stroke-width: 2.5; }
.art .a-ping { fill: rgb(200 243 106 / 35%); transform-origin: center; }
.art .a-coin { fill: #f2b94b; stroke: #b7791f; stroke-width: 1.5; transform-origin: center; }
.art .a-sheet { fill: #fff; stroke: rgb(10 20 51 / 14%); stroke-width: 1.5; }
.art .a-rule { stroke: rgb(10 20 51 / 16%); stroke-width: 2.5; stroke-linecap: round; }
.art .a-ring { fill: #087f68; }
.art .a-cell { fill: rgb(10 20 51 / 8%); }
.art .a-emi { fill: #087f68; }
.art .a-loop { stroke: #0f766e; stroke-width: 2.5; stroke-linecap: round; }
.art .a-stamp { fill: rgb(217 119 6 / 12%); stroke: #b45309; stroke-width: 2; }
.art :is(.a-cross, .a-return, .a-head-arrow) { stroke: #b45309; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art .a-return { stroke-width: 2.5; stroke-dasharray: 6 6; }
.art .a-flag { fill: #f59e0b; transform-origin: center; }
.art .a-flag-ring { fill: rgb(245 158 11 / 30%); transform-origin: center; }
.art .a-bang { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.art .a-track { stroke: rgb(10 20 51 / 8%); stroke-width: 16; }
.art .a-donut { transform-origin: center; }
.art .a-seg { stroke-width: 16; transform: rotate(-90deg); transform-origin: 84px 70px; }
.art .a-s1 { stroke: #087f68; stroke-dasharray: 44 100; }
.art .a-s2 { stroke: #c8f36a; stroke-dasharray: 30 100; stroke-dashoffset: -46; }
.art .a-s3 { stroke: #f59e0b; stroke-dasharray: 20 100; stroke-dashoffset: -78; }
.art .a-hub { fill: #fff; }
.art .a-k1 { fill: #087f68; }
.art .a-k2 { fill: #c8f36a; }
.art .a-k3 { fill: #f59e0b; }
.art .a-lbar { fill: rgb(10 20 51 / 13%); transform-origin: 0 50%; --sx: 0; }
.art .a-scan { stroke: #0f766e; stroke-width: 3; stroke-linecap: round; opacity: 0; }
.art .a-b2, .art .a-l2, .art .a-e2 { --d: 1; }
.art .a-b3, .art .a-l3, .art .a-e3 { --d: 2; }
.art .a-b4 { --d: 3; }
.art .a-b5 { --d: 4; }
@keyframes artBuild { 0% { scale: var(--sx, 1) var(--sy, 1); opacity: 1; } 20%, 92% { scale: 1; opacity: 1; } 100% { scale: 1; opacity: 0; } }
@keyframes artDraw { 0% { stroke-dashoffset: 1; opacity: 1; } 32%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes artSpinIn { 0% { rotate: -140deg; opacity: 0; } 22%, 92% { rotate: 0deg; opacity: 1; } 100% { rotate: 0deg; opacity: 0; } }
@keyframes artPing { 0% { scale: 1; opacity: 0.7; } 70%, 100% { scale: 2.6; opacity: 0; } }
@keyframes artFloat { 0%, 100% { translate: 0 0; opacity: 1; } 50% { translate: 0 -10px; opacity: 0.4; } }
@keyframes artBlink { 0%, 55%, 100% { opacity: 1; } 25% { opacity: 0.3; } }
@keyframes artFlow { to { stroke-dashoffset: -24; } }
@keyframes artScan { 0% { translate: 0 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { translate: 0 98px; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .art .a-bar, [data-reduce-motion="false"] .art .a-lbar { animation: artBuild 6s var(--ease) calc(var(--d, 0) * 0.12s) infinite both; }
  [data-reduce-motion="false"] .art .a-trend { animation: artDraw 6s ease-in-out infinite both; }
  [data-reduce-motion="false"] .art .a-ping { animation: artPing 2s ease-out infinite; }
  [data-reduce-motion="false"] .art .a-coin { animation: artFloat 3.2s ease-in-out infinite; }
  [data-reduce-motion="false"] .art .a-c2 { animation-delay: 1.2s; }
  [data-reduce-motion="false"] .art .a-emi { animation: artBlink 3s ease-in-out calc(var(--d, 0) * 0.5s) infinite; }
  [data-reduce-motion="false"] .art .a-return { animation: artFlow 1.4s linear infinite; }
  [data-reduce-motion="false"] .art .a-flag-ring { animation: artPing 2s ease-out infinite; }
  [data-reduce-motion="false"] .art .a-flag { animation: artFloat 2.4s ease-in-out infinite; }
  [data-reduce-motion="false"] .art .a-donut { animation: artSpinIn 6s var(--ease) infinite both; }
  [data-reduce-motion="false"] .art .a-scan { animation: artScan 3.4s ease-in-out infinite; }
}
@media print { .art-figure { display: none; } }

/* ---------- Pipeline walkthrough (progressive: without pipeline.js every stage is shown one under the other) ---------- */
.block-walk { overflow: clip; }
.walk-stages { min-inline-size: 0; }
.walk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-block-end: var(--s-6); }
.walk-head h2 { max-inline-size: 16ch; margin: 0; }
.walk-toggle { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; border-color: #2a3a78; background: #111d45; }
.walk-toggle[aria-pressed="true"] { border-color: #c8f36a; background: #111d45; }
.walk-toggle .walk-play, .walk-toggle[aria-pressed="true"] .walk-pause { display: none; }
.walk-toggle[aria-pressed="true"] .walk-play { display: inline; }
.walk-progress { display: none; block-size: 3px; margin-block-end: var(--s-5); overflow: hidden; border-radius: 3px; background: #1b2757; }
.is-tabbed .walk-progress { display: block; }
.walk-bar { display: block; inline-size: 100%; block-size: 3px; border-radius: 3px; background: #c8f36a; transition: inline-size 0.6s ease; }
.is-step-1 .walk-bar { inline-size: 20%; }
.is-step-2 .walk-bar { inline-size: 40%; }
.is-step-3 .walk-bar { inline-size: 60%; }
.is-step-4 .walk-bar { inline-size: 80%; }
.walk-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--s-3); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.walk-tabs li { margin: 0; }
.walk-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; inline-size: 100%; min-block-size: 6rem; padding: 1.1rem 1.25rem; border: 1px solid #22306b; border-radius: 1rem; background: #0f1a40; color: var(--c-ink-text); font: inherit; text-align: start; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; }
.walk-tab:hover, .walk-tab.is-done { border-color: #2f4290; }
.walk-tab[aria-current="step"] { border-color: #c8f36a; background: #1a2a63; }
.walk-num { color: #8590b5; font: 500 0.75rem var(--font-mono); letter-spacing: 0.08em; }
.walk-name { font: 700 1.25rem / 1.2 var(--font-sans); letter-spacing: -0.01em; }
.walk-short { color: #97a2c6; font-size: 0.875rem; line-height: 1.45; }
.walk-tab.is-done .walk-num, .walk-tab[aria-current="step"] .walk-num { color: #c8f36a; }
.walk-tab[aria-current="step"] .walk-short { color: #c3cbe3; }
.walk-stage { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s-5); margin-block-end: var(--s-6); }
.is-tabbed .walk-stage { margin-block-end: 0; }
.walk-stage.is-active { animation: walkIn 0.5s var(--ease); }
@keyframes walkIn { from { opacity: 0; translate: 0 0.75rem; } }
.walk-detail { display: flex; flex: 1 1 26rem; flex-direction: column; gap: var(--s-4); min-inline-size: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #22306b; border-radius: 1.5rem; background: #0f1a40; }
.walk-count { margin: 0; color: #7fd4b8; font: 500 0.8125rem var(--font-mono); }
.walk-detail :is(h2, h3) { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.walk-body { margin: 0; color: #c3cbe3; font-size: 1.125rem; line-height: 1.65; }
.walk-points { display: flex; flex-direction: column; gap: 0.875rem; margin: 0; padding: var(--s-4) 0 0; border-block-start: 1px solid #22306b; list-style: none; }
.walk-points li { position: relative; margin: 0; padding-inline-start: 2rem; color: #e3e8f5; line-height: 1.5; }
.walk-points li::before { content: "\2713"; position: absolute; inset-block-start: 0.1rem; inset-inline-start: 0; display: grid; place-items: center; inline-size: 1.25rem; block-size: 1.25rem; border: 1px solid rgb(200 243 106 / 45%); border-radius: 50%; color: #c8f36a; font: 700 0.75rem / 1 var(--font-sans); }
.walk-app { --c-text: #0a1433; --c-text-muted: #4a5578; display: flex; flex: 1 1 28rem; flex-direction: column; min-inline-size: 0; min-block-size: 26rem; overflow: hidden; border-radius: 1.5rem; background: #f7f8fc; color: #0a1433; }
.wa-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 1rem 1.5rem; border-block-end: 1px solid #e2e6f0; }
.wa-dots { display: flex; gap: 6px; }
.wa-dots i { inline-size: 0.625rem; block-size: 0.625rem; border-radius: 50%; background: #d5dae8; }
.wa-label { color: #4a5578; font: 500 0.75rem var(--font-mono); }
.wa-body { display: flex; flex: 1; flex-direction: column; gap: 0.875rem; padding: 1.75rem 1.5rem; }
.wa-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.wa-chip { padding: 0.5rem 0.875rem; border-radius: 999px; background: #e9ecf6; color: #2b3660; font: 600 0.8125rem var(--font-sans); }
.wa-chip.is-dark { background: #0a1433; color: #fff; }
.wa-file, .wa-trow, .wa-kv, .wa-check, .wa-rules li { border: 1px solid #e2e6f0; border-radius: 0.875rem; background: #fff; }
.wa-file { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1rem; }
.wa-file svg { flex: none; inline-size: 1.75rem; block-size: 1.75rem; fill: #eaf6f2; stroke: #087f68; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa-file-main { flex: 1; min-inline-size: 0; }
.wa-file-main b { display: block; font-size: 0.9375rem; }
.wa-file-main span { color: #4a5578; font-size: 0.8125rem; }
.wa-pill { display: inline-block; padding: 0.25rem 0.625rem; border-radius: 999px; font: 700 0.75rem var(--font-sans); }
.wa-pill.is-ok { background: #ddf6ec; color: #0f7a5a; }
.wa-pill.is-info { background: #d9f1ea; color: #087f68; }
.wa-pill.is-warn { background: #fde7c6; color: #8a4b00; }
.wa-mono { font-family: var(--font-mono); }
.wa-cols, .wa-trow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; align-items: center; padding-inline: 0.75rem; }
.wa-cols { color: #4a5578; font: 700 0.75rem var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; }
.wa-cols span:last-child { text-align: end; }
.wa-trow { padding-block: 0.875rem; font-size: 0.875rem; }
.wa-trow .wa-pill { justify-self: end; }
.wa-trow.is-warn { border-color: #f3c98b; background: #fff7ec; }
.wa-note { margin: 0.25rem 0 0; color: #4a5578; font-size: 0.8125rem; }
.wa-kv { display: flex; justify-content: space-between; gap: var(--s-4); padding: 0.875rem 1rem; font-size: 0.9375rem; }
.wa-kv span { color: #4a5578; }
.wa-kv b { font-weight: 500; }
.wa-banner { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 1rem; border-radius: 0.875rem; background: #0a1433; color: #fff; font: 600 0.875rem var(--font-sans); }
.wa-banner svg { flex: none; inline-size: 1.125rem; block-size: 1.125rem; stroke: #c8f36a; stroke-width: 1.5; stroke-linejoin: round; }
.wa-split { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s-5); }
.wa-checks { display: flex; flex: 1 1 12rem; flex-direction: column; gap: 0.625rem; }
.wa-cap { margin: 0; color: #4a5578; font: 700 0.75rem var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; }
.wa-check { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 0.875rem; font-size: 0.875rem; }
.wa-check b.is-ok { color: #0f7a5a; }
.wa-check b.is-warn { color: #8a4b00; }
.wa-score { display: flex; flex: 1 1 11rem; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1.25rem; border-radius: 1rem; background: #0a1433; color: #fff; }
.wa-score .wa-cap, .wa-sub { color: #a9b3d1; }
.wa-big { margin: 0; color: #c8f36a; font: 800 3rem / 1 var(--font-display); letter-spacing: -0.03em; }
.wa-sub { margin: 0; font-size: 0.8125rem; }
.wa-policy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.wa-rules { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; }
.wa-rules li { display: flex; gap: var(--s-3); margin: 0; padding: 0.75rem 0.875rem; }
.wa-rules .wa-mono { color: #4a5578; }
.wa-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-block-start: 0.375rem; }
.wa-btn { display: inline-flex; align-items: center; min-block-size: 2.75rem; padding-inline: 1.375rem; border: 1px solid #c9cfe2; border-radius: 999px; background: #fff; color: #0a1433; font: 700 0.9375rem var(--font-sans); }
.wa-btn.is-primary { border-color: #087f68; background: #087f68; color: #fff; }
@media print { .walk-app { display: none; } }

/* ---------- Evidence: what a statement holds (list, illustrative table, problem / with-us cards) ---------- */
.block-evidence { --t-income: #0b7258; --t-obligation: #0d6466; --t-bounce: #a83a0a; --t-spending: #155e75; }
.block-evidence > h2 { max-inline-size: 18ch; margin-block-end: var(--s-7); font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); line-height: 1.02; }
.block-evidence mark.soft { background: none; -webkit-text-fill-color: #087f68; color: #087f68; }
.ev-pair { display: grid; gap: var(--s-4); }
.ev-card { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1.5rem; background: #fff; }
.ev-card p { margin: var(--s-4) 0 0; color: var(--c-text); font: 700 clamp(1.25rem, 1rem + 0.9vw, 1.625rem) / 1.3 var(--font-display); letter-spacing: -0.02em; }
.ev-pill { display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px; background: #fde7c6; color: #9a3412; font: 500 0.75rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.ev-problem { border-color: #f1dcc0; background: #fffaf2; }
.ev-fix { border-color: #0a1433; background: #0a1433; color: #f4f6fb; }
.ev-fix p { color: #f4f6fb; }
.ev-fix .ev-pill { background: rgb(200 243 106 / 14%); color: #c8f36a; }
.ev-fix mark { background: none; -webkit-text-fill-color: #c8f36a; color: #c8f36a; }
@media (min-width: 60em) { .ev-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Capabilities (split feature grid) and security flow ---------- */
.layout-split { display: grid; gap: var(--s-7); }
.layout-grid .cap-intro { margin-block-end: 0; }
.layout-split .cap-intro h2 { max-inline-size: 8ch; margin-block-end: var(--s-4); font-size: clamp(2.5rem, 1.4rem + 4vw, 4.25rem); line-height: 1; }
.cap-stat { display: inline-flex; flex-direction: column; gap: 0.15rem; margin: var(--s-5) 0 var(--s-4); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; }
.cap-stat b { color: var(--c-text); font: 700 2rem / 1 var(--font-display); }
.cap-stat span { color: var(--c-text-muted); font-size: 0.8125rem; }
.cap-link { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--c-primary); font-weight: 700; text-decoration: none; }
.cap-link::after { content: " \2193"; }
.layout-split .feature-list { counter-reset: cap; grid-template-columns: minmax(0, 1fr); gap: 0; border-block-start: 1px solid var(--line); }
.layout-split .feature { counter-increment: cap; padding: var(--s-5); border: 0; border-block-end: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.layout-split .feature::before { display: none; }
.layout-split .feature::after { content: counter(cap, decimal-leading-zero); position: absolute; inset-block-start: var(--s-5); inset-inline-end: var(--s-5); color: var(--c-primary); font: 500 0.8125rem var(--font-mono); }
.layout-split .feature:hover { transform: none; box-shadow: none; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.feature-tags li { margin: 0; padding: 0.3rem 0.65rem; border: 1px solid var(--line); border-radius: 0.5rem; background: #fff; color: var(--c-text); font: 500 0.75rem var(--font-mono); }
.feature-tags .is-warn { border-color: #f3c98b; background: #fff7ec; color: #8a4b00; }
.block-security-flow { display: grid; gap: var(--s-7); align-items: center; }
.sf-copy h2 { max-inline-size: 14ch; font-size: clamp(2.25rem, 1.2rem + 4vw, 4rem); line-height: 1.02; }
.sf-copy mark.soft { background: none; -webkit-text-fill-color: #087f68; color: #087f68; }
.sf-points { margin: var(--s-6) 0 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line); }
.sf-point { display: flex; gap: var(--s-4); margin: 0; padding-block: 1.25rem; border-block-end: 1px solid var(--line); }
.sf-icon { display: grid; flex: none; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 0.8rem; background: #e2f3ee; color: #087f68; }
.sf-icon svg { inline-size: 1.25rem; block-size: 1.25rem; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf-point :is(h2, h3) { margin: 0 0 0.2rem; font: 700 1.125rem / 1.25 var(--font-sans); letter-spacing: -0.01em; }
.sf-point p { margin: 0; font-size: 1rem; line-height: 1.5; }
.sf-flow { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 2rem; background: #0a1433; box-shadow: 0 40px 80px -40px rgb(10 20 51 / 55%); }
.sf-label { margin: 0 0 var(--s-5); color: #8590b5; font: 500 0.75rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.sf-node { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 1rem 1.25rem; border: 1px solid #2a3a78; border-radius: 1rem; background: #111d45; }
.sf-node b { display: block; color: #fff; font-size: 0.9375rem; }
.sf-node span { color: #a9b3d1; font-size: 0.8125rem; }
.sf-node em { padding: 0.2rem 0.6rem; border-radius: 999px; background: rgb(8 127 104 / 10%); color: var(--c-primary); font: 600 0.75rem var(--font-mono); font-style: normal; }
.sf-node.is-gate { border-color: #c8f36a; background: #0f2a45; }
.sf-node.is-stop { border-color: #5a3a2a; background: #2a1a14; }
.sf-node em.is-in { color: var(--c-primary-hover); }
.sf-node em.is-stop { background: #ffe4e9; color: #9f1239; }
.sf-arrow { display: block; margin: 0.6rem 0; color: #5b6aa8; font-size: 1.25rem; font-style: normal; text-align: center; }
.sf-split { display: grid; gap: var(--s-3); }
@media (min-width: 48em) { .layout-split .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layout-split .feature:nth-child(even) { border-inline-start: 1px solid var(--line); } .sf-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .layout-split { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: var(--s-8); align-items: start; } .layout-split .cap-intro { position: sticky; inset-block-start: calc(var(--header-h) + var(--s-5)); } .block-security-flow { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); } }
@media print { .sf-flow { display: none; } }

/* ---------- Blocks: comparison, pricing ---------- */
.table-scroll { overflow-x: auto; margin-block-end: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--c-surface); box-shadow: var(--shadow); }
.comparison-table { inline-size: 100%; min-inline-size: 36rem; border-collapse: collapse; }
.comparison-table :is(th, td) { padding: var(--s-3) var(--s-4); text-align: start; border-block-end: 1px solid var(--line-soft); vertical-align: top; }
.comparison-table thead :is(th, td) { background: var(--c-surface-2); color: var(--c-text); font: 700 1rem var(--font-sans); }
.comparison-table tbody tr:last-child :is(th, td) { border-block-end: 0; }
.comparison-table tbody th { color: var(--c-text); font-weight: 700; }
.comparison-table tbody tr:hover :is(th, td) { background: var(--c-accent-bg); }
.cell-yes { color: var(--c-ok); font-weight: 800; }
.cell-no { color: var(--c-text-muted); }
.cell-partial { color: var(--c-warn); font-weight: 800; }
.cell-text { color: var(--c-text); }
.comparison-source, .price-note, .price-effective { margin-block-start: var(--s-3); font-size: var(--fs-n1); color: var(--c-text-muted); }

.pricing-tiers { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
/* Two by two on tablets; on desktop every card shares one row, however many plans are listed. */
@media (min-width: 40em) { .pricing-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .pricing-tiers { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-4); } }
.pricing-tier { display: flex; flex-direction: column; padding: var(--s-6) var(--s-5); }
.pricing-tier > p { color: var(--c-text-muted); }
.price-lines { margin: 0 0 var(--s-4); }
.price-line { margin: 0 0 var(--s-3); }
.price-amount { color: var(--c-text); font: 700 var(--fs-3) var(--font-display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price-unit, .band-range { color: var(--c-text-muted); }
.price-bands { margin: var(--s-2) 0 0; font-size: var(--fs-n1); }
.price-bands .price-amount { font-size: var(--fs-0); }
.price-contact { color: var(--c-text); font-weight: 700; }
/* An on-request price list (one tier, no prices) is shown as a single centred featured card. */
.block-pricing:has(.pricing-tier:only-child) > h2 { text-align: center; }
.block-pricing:has(.pricing-tier:only-child) .pricing-tiers { max-inline-size: 34rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; }
/* Plan data for the recommender script: never rendered (also carries the hidden attribute). */
.pricing-recommender-data { display: none; }
.pricing-tier:only-child .price-contact { display: none; }
.pricing-tier .btn { align-self: flex-start; margin-block-start: auto; }

/* ---------- Blocks: faq, testimonials, code ---------- */

.block-testimonials { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.block-testimonials > h2 { grid-column: 1 / -1; margin-block-end: 0; }
.testimonial { padding: var(--s-6) var(--s-5) var(--s-5); }
.testimonial::before { content: "\201C"; position: absolute; inset-block-start: 0.75rem; inset-inline-start: var(--s-5); font: 800 4.5rem / 1 var(--font-display); color: var(--c-primary); }
.testimonial blockquote { margin: var(--s-5) 0 var(--s-4); color: var(--c-text); font: 600 var(--fs-2) / 1.4 var(--font-display); letter-spacing: -0.02em; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; flex-direction: column; gap: var(--s-1); }
.testimonial-author { color: var(--c-text); font-weight: 800; }
.testimonial-role, .testimonial-disclosure { font-size: var(--fs-n1); color: var(--c-text-muted); }

.block-code-sample figure { overflow: hidden; border-radius: var(--r-2); background: #0a1433; box-shadow: 0 1px 2px rgb(10 20 51 / 10%), 0 40px 80px -36px rgb(10 20 51 / 55%); }
.block-code-sample figure::before { content: ""; display: block; block-size: 2.75rem; border-block-end: 1px solid rgb(255 255 255 / 10%); background: radial-gradient(circle at 1.25rem 50%, #fb7185 0.34rem, transparent 0.4rem), radial-gradient(circle at 2.25rem 50%, #f2b94b 0.34rem, transparent 0.4rem), radial-gradient(circle at 3.25rem 50%, #34d399 0.34rem, transparent 0.4rem); }
.code-scroll { overflow-x: auto; }
.code-scroll pre { margin: 0; padding: var(--s-5); color: #d6e0f5; font: var(--fs-n1) / 1.9 var(--font-mono); white-space: pre; tab-size: 2; direction: ltr; text-align: left; }
.block-code-sample figcaption { margin: 0; padding: var(--s-3) var(--s-5); border-block-start: 1px solid rgb(255 255 255 / 10%); font-size: var(--fs-n1); color: var(--c-ink-muted); }
:is(.table-scroll, .code-scroll):focus-visible { outline-offset: 0; }

/* ---------- Blocks: media + text, logo strip ---------- */
.block-media-text { display: grid; gap: var(--s-6); align-items: center; }
.media-text-media img { inline-size: 100%; border-radius: var(--r-2); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.media-text-body > :last-child { margin-block-end: 0; }
.prose > * { max-inline-size: var(--measure); }
.prose :is(ul, ol) { padding-inline-start: var(--s-5); }
@media (min-width: 48em) {
  .block-media-text { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
  .media-left .media-text-media { order: -1; }
  .media-right .media-text-media { order: 1; }
}
.block-logo-strip { text-align: center; padding-block: var(--s-7); background: var(--c-surface-2); border-block: 1px solid var(--line-soft); }
.logo-strip-caption { margin-block-end: var(--s-4); font: 700 0.75rem var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-muted); }
.logo-strip-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-5) var(--s-7); list-style: none; margin: 0; padding: 0; }
.logo-strip-item img { inline-size: auto; max-inline-size: 9rem; max-block-size: 3rem; margin-inline: auto; opacity: 0.7; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.logo-strip-item img:hover { opacity: 1; filter: none; }
.logo-strip-item a { display: inline-block; }
:is(.language-bash, .language-http, .language-json, .language-javascript, .language-php, .language-python) { font-family: inherit; }

/* ---------- Motion: progressive enhancement (motion.js adds the state classes) ---------- */
.motion-subtle, .motion-rich { transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.motion-pending { opacity: 0; transform: translateY(1.25rem); }
.motion-rich.motion-pending { transform: translateY(2.25rem); }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
.motion-rich.is-revealed :is(.feature, .step, .pipeline-stage, .stat, .pricing-tier, .testimonial, .art-card) { animation: rise 0.8s var(--ease) both; }
.motion-rich.is-revealed :is(.feature, .step, .pipeline-stage, .stat, .pricing-tier, .testimonial, .art-card):nth-child(2) { animation-delay: 0.09s; }
.motion-rich.is-revealed :is(.feature, .step, .pipeline-stage, .stat, .pricing-tier, .testimonial, .art-card):nth-child(3) { animation-delay: 0.18s; }
.motion-rich.is-revealed :is(.feature, .step, .pipeline-stage, .stat, .pricing-tier, .testimonial, .art-card):nth-child(4) { animation-delay: 0.27s; }
.motion-rich.is-revealed :is(.feature, .step, .pipeline-stage, .stat, .pricing-tier, .testimonial):nth-child(n + 5) { animation-delay: 0.36s; }
.motion-none { transition: none; }
@keyframes hv-scan-move { from { transform: translate(-50px, -24px); opacity: 0; } 20%, 80% { opacity: 0.85; } to { transform: translate(50px, 24px); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.5rem); } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  [data-reduce-motion="false"] .hv-scan { animation: hv-scan-move 3.6s ease-in-out infinite; }
  [data-reduce-motion="false"] .hero-copy > * { animation: rise 1s var(--ease) both; }
  [data-reduce-motion="false"] .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  [data-reduce-motion="false"] .hero-copy > :nth-child(3) { animation-delay: 0.22s; }
  [data-reduce-motion="false"] .hero-copy > :nth-child(n + 4) { animation-delay: 0.34s; }
  [data-reduce-motion="false"] .hero-stage { animation: rise 1.3s var(--ease) 0.35s both; }
  [data-reduce-motion="false"] .hero-visual:not(.is-live) .hero-scene { animation: float 7s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-pending { opacity: 1; transform: none; }
}
[data-reduce-motion="true"] *, [data-reduce-motion="true"] *::before, [data-reduce-motion="true"] *::after { animation: none !important; transition: none !important; }
[data-reduce-motion="true"] .motion-pending { opacity: 1; transform: none; }

/* ---------- Block: demo request form (client: demo-form.js) ---------- */
.block-demo-form { padding-block: clamp(2.5rem, 6vw, 5rem); }
.demo-card { display: grid; gap: var(--s-7); align-items: center; max-inline-size: var(--container); margin-inline: auto; padding: clamp(1.5rem, 5vw, 4.5rem); border: 1px solid #22306b; border-radius: 2rem; color: var(--c-ink-muted); background: radial-gradient(40rem 22rem at 100% 0%, rgb(200 243 106 / 20%), transparent 65%), radial-gradient(36rem 24rem at 0% 100%, rgb(20 160 133 / 40%), transparent 65%), var(--c-ink-bg); box-shadow: 0 40px 80px -40px rgb(10 20 51 / 45%); }
.demo-form-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.demo-form-copy > * { margin: 0; }
.demo-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-ink-accent); font: 500 0.75rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.demo-eyebrow::before { content: ""; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: var(--c-ink-accent); box-shadow: 0 0 0 4px rgb(200 243 106 / 15%); }
.demo-form-copy h2 { font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.75rem); line-height: 1.04; }
.demo-lede { max-inline-size: 30rem; color: var(--c-ink-muted); font-size: 1.125rem; line-height: 1.6; }
.demo-steps { margin: 0.5rem 0 0; padding: 0; list-style: none; border-block-start: 1px solid #22306b; }
.demo-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--s-4); align-items: start; margin: 0; padding-block: 1.1rem; border-block-end: 1px solid #22306b; }
.demo-n { padding-block-start: 0.2rem; color: #7fd4b8; font: 500 0.8125rem var(--font-mono); }
.demo-steps strong { display: block; margin-block-end: 0.15rem; color: var(--c-ink-text); font-size: 1.0625rem; }
.demo-steps li span:not(.demo-n) { color: var(--c-ink-muted); font-size: 0.9375rem; line-height: 1.5; }
.demo-alt { color: var(--c-ink-muted); font-size: 0.9375rem; }
.demo-alt a { color: var(--c-ink-accent); font-weight: 600; }
.demo-form-title { margin: 0 0 var(--s-1); color: var(--c-text); font: 800 1.375rem var(--font-sans); letter-spacing: -0.015em; }
.demo-form-sub { margin: 0 0 var(--s-5); font-size: 0.875rem; }
@media (min-width: 60em) { .demo-card { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); } }
.demo-form { --c-text: #0a1433; --c-text-muted: #586579; --c-border: #e2e6f0; --c-primary: #087f68; padding: var(--s-6) var(--s-5); border: 0; border-radius: 1.5rem; background: var(--c-surface); color: var(--c-text-muted); box-shadow: 0 1px 2px rgb(10 20 51 / 10%), 0 50px 90px -36px rgb(0 0 0 / 60%); }
.demo-form :focus-visible { outline-color: var(--c-aqua); }
.demo-form .field { margin-block-end: var(--s-4); }
.demo-form .field label { display: block; margin-block-end: var(--s-2); color: var(--c-text); font-weight: 700; font-size: 0.93rem; }
.demo-form .optional { font-weight: 500; color: var(--c-text-muted); }
.demo-form input:not([type="checkbox"]), .demo-form textarea { inline-size: 100%; min-block-size: 3rem; padding: 0.75rem 0.9rem; border: 1px solid #cdd3e4; border-radius: 0.75rem; background: #f4f6fb; color: var(--c-text); font: inherit; transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s; }
.demo-form textarea { resize: vertical; }
.demo-form input:not([type="checkbox"]):hover, .demo-form textarea:hover { border-color: var(--c-text); }
.demo-form input:not([type="checkbox"]):focus, .demo-form textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgb(8 127 104 / 18%); }
.demo-form .is-invalid { border-color: #be123c; box-shadow: 0 0 0 3px rgb(190 18 60 / 14%); }
.demo-form .has-error label { color: #9f1239; }
.demo-form.is-sending { cursor: progress; }
.field-row { display: grid; gap: 0 var(--s-4); }
.phone-wrap { display: flex; align-items: stretch; }
.phone-prefix { display: inline-flex; align-items: center; padding-inline: 0.9rem; border: 1px solid var(--c-border-strong); border-inline-end: 0; border-radius: 0.75rem 0 0 0.75rem; background: var(--c-surface-2); color: var(--c-text); font-weight: 700; }
.phone-wrap input:not([type="checkbox"]) { flex: 1; min-inline-size: 0; border-radius: 0 0.75rem 0.75rem 0; }
.field-check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-3); }
.demo-form .field-check input { appearance: none; flex: none; display: grid; place-content: center; inline-size: 1.5rem; block-size: 1.5rem; min-block-size: 1.5rem; margin: 0.625rem 0 0; padding: 0; border: 1.5px solid var(--c-border-strong); border-radius: 0.45rem; background: var(--c-bg); cursor: pointer; }
.demo-form .field-check input::after { content: ""; inline-size: 0.75rem; block-size: 0.45rem; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 0.18s var(--ease); }
.demo-form .field-check input:checked { background: var(--c-primary); border-color: var(--c-primary); }
.demo-form .field-check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.demo-form .field-check label { flex: 1; display: flex; align-items: center; min-block-size: 2.75rem; margin: 0; font-weight: 600; cursor: pointer; }
.field-error { flex-basis: 100%; margin: var(--s-1) 0 0; color: #9f1239; font-size: var(--fs-n1); font-weight: 600; }
.hp-field { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.form-error { margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: 0.75rem; background: #ffe4e9; box-shadow: inset 0 0 0 1px #fda4b4; color: #881337; font-weight: 600; }
.form-error[hidden], .form-fallback[hidden], .form-nojs[hidden], .form-success[hidden] { display: none; }
.form-fallback { margin-block-end: var(--s-3); }
.demo-form .btn[type="submit"] { inline-size: 100%; margin: 0; padding-block: 0.95rem; }
.demo-form .btn:disabled, .demo-form .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.6; }
.form-status { margin: var(--s-2) 0 0; color: var(--c-text-muted); font-size: var(--fs-n1); }
.form-status:empty { display: none; }
.form-note { margin: var(--s-3) 0 0; color: var(--c-text-muted); font-size: var(--fs-n1); text-align: center; }
.form-note a { color: var(--c-primary); }
.form-success { padding-block: var(--s-5); text-align: center; }
.form-success::before { content: "\2713"; display: grid; place-items: center; inline-size: 4rem; block-size: 4rem; margin: 0 auto var(--s-5); border-radius: 50%; background: var(--c-ok-bg); box-shadow: 0 0 0 1px rgb(4 120 87 / 35%); color: var(--c-ok); font-size: 1.75rem; font-weight: 800; }
.form-success h3 { margin-block-start: 0; }
.form-success h3:focus { outline: none; }
.form-success h3:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 6px; }
.form-success p { margin-block-end: 0; overflow-wrap: anywhere; }
.form-success strong { color: var(--c-text); }
@media (min-width: 48em) { .field-row { grid-template-columns: 1fr 1fr; } .demo-form { padding: var(--s-7) var(--s-6); } }

/* ---------- Hero storyboard: a bank statement is scanned and becomes an application review. Where the browser supports scroll
   timelines the whole thing is a pure function of one number, the scroll progress through the pinned hero (a named view
   timeline), so it plays backwards exactly as it plays forwards. Every base style is the FINISHED frame and keyframes only say
   where a piece starts, so reduced motion, small screens and older browsers show the end result (with a short timed run). ---------- */
@property --p { syntax: "<number>"; inherits: true; initial-value: 78; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 78; }
.block-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgb(10 20 51 / 13%) 1px, transparent 1.2px); background-size: 1.6rem 1.6rem; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 15%, transparent 75%); pointer-events: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0 0; padding: 0; list-style: none; color: var(--c-text-muted); font-size: var(--fs-n1); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.hero-points li::before { content: ""; inline-size: 1.1rem; block-size: 1.1rem; border-radius: 50%; background: var(--c-accent-bg) linear-gradient(135deg, transparent 46%, var(--c-primary) 46% 54%, transparent 54%); box-shadow: inset 0 0 0 1px rgb(8 127 104 / 35%); }
.hp-ring strong { position: relative; font: 800 1.875rem / 1 var(--font-display); letter-spacing: -0.04em; color: #fff; counter-reset: n var(--n); }
.hp-ring strong::before { content: counter(n); }
.hp-bars i:nth-child(2), .hp-checks li:nth-child(2), .hs-row:nth-child(2) { --i: 1; }
.hp-bars i:nth-child(3), .hp-checks li:nth-child(3), .hs-row:nth-child(3) { --i: 2; }
.hp-bars i:nth-child(4), .hp-checks li:nth-child(4), .hs-row:nth-child(4) { --i: 3; }
.hp-bars i:nth-child(5), .hs-row:nth-child(5) { --i: 4; }
.hp-bars i:nth-child(6), .hs-row:nth-child(6) { --i: 5; }
.hp-bars i:nth-child(7) { --i: 6; }
.hp-bars i:nth-child(8) { --i: 7; }
.hp-bars i:nth-child(9) { --i: 8; }
.hp-bars i:nth-child(10) { --i: 9; }
.hp-bars i:nth-child(11) { --i: 10; }
.hp-bars i:nth-child(12) { --i: 11; }

/* The statement being scanned (hidden on small screens; the card alone carries the story there). */
.hs-doc { display: none; position: absolute; z-index: 1; inset-block-start: 12%; inset-inline-start: -6%; inline-size: 64%; overflow: hidden; padding: 0.9rem 0.95rem 0.8rem; border: 1px solid rgb(10 20 51 / 10%); border-radius: 0.35rem 0.35rem 0.35rem 0.35rem; background: repeating-linear-gradient(0deg, transparent 0 1.55rem, rgb(8 127 104 / 4%) 1.55rem calc(1.55rem + 1px)), linear-gradient(160deg, #fffefb, #faf7ee); box-shadow: inset 0 1px 0 #fff, 0 2px 3px rgb(10 20 51 / 8%), 0 30px 50px -22px rgb(10 20 51 / 38%); color: var(--c-text-muted); font: 600 0.75rem / 1.3 var(--font-sans); rotate: -4deg; opacity: 0.72; }
.hs-doc::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; inline-size: 1.6rem; block-size: 1.6rem; background: linear-gradient(225deg, var(--c-bg) 50%, #e6e0cd 50%); box-shadow: -2px 2px 4px rgb(10 20 51 / 12%); border-end-start-radius: 0.4rem; }
.hs-top { display: flex; align-items: center; gap: 0.55rem; padding-block-end: 0.6rem; border-block-end: 2px solid var(--c-text); }
.hs-top i { inline-size: 1.5rem; block-size: 1.5rem; border-radius: 0.45rem; background: var(--grad-brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%); }
.hs-bank { display: grid; line-height: 1.15; }
.hs-bank strong { color: var(--c-text); font: 800 0.8125rem var(--font-sans); letter-spacing: -0.01em; }
.hs-bank span { font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hs-meta { display: flex; justify-content: space-between; gap: 0.75rem; margin-block: 0.6rem; font-size: 0.625rem; line-height: 1.4; }
.hs-meta div { display: grid; }
.hs-meta b { color: var(--c-text); font-weight: 800; }
.hs-cols, .hs-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 4.6rem 4.9rem; gap: 0.5rem; align-items: center; }
.hs-cols { padding: 0.35rem 0.4rem; border-radius: 0.35rem; background: var(--c-text); color: #fff; font: 700 0.5938rem var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; }
.hs-cols span:nth-child(n + 3) { text-align: end; }
.hs-rows { margin: 0; padding: 0; list-style: none; }
.hs-row { margin: 0; padding: 0.5rem 0.4rem; border-block-end: 1px dashed rgb(10 20 51 / 16%); border-radius: 0.3rem; }
.hs-d { color: var(--c-text-muted); font-family: var(--font-mono); font-size: 0.625rem; }
.hs-n { display: grid; justify-items: start; gap: 0.2rem; min-inline-size: 0; }
.hs-n b { max-inline-size: 100%; overflow: hidden; color: var(--c-text); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hs-a, .hs-b { text-align: end; font: 700 0.75rem var(--font-mono); font-variant-numeric: tabular-nums; color: var(--c-text); }
.hs-b { color: var(--c-text-muted); font-weight: 600; }
.hs-a.is-cr { color: var(--c-ok); }
.hs-tag { padding: 0.05rem 0.45rem; border-radius: 999px; font: 700 0.5625rem / 1.5 var(--font-sans); font-style: normal; letter-spacing: 0.02em; }
.hs-tag.is-income { background: var(--c-ok-bg); color: var(--c-ok); }
.hs-tag.is-emi { background: var(--c-info-bg); color: var(--c-info); }
.hs-tag.is-bounce { background: var(--c-warn-bg); color: var(--c-warn); }
.hs-close { display: flex; justify-content: space-between; padding: 0.65rem 0.4rem 0; color: var(--c-text); font: 800 0.75rem var(--font-sans); }
.hs-beam { position: absolute; inset: 0; opacity: 0; translate: 0 -100%; border-block-end: 2px solid #c8f36a; background: linear-gradient(to bottom, transparent 40%, rgb(20 160 133 / 12%) 85%, rgb(200 243 106 / 32%)); pointer-events: none; }
@media (min-width: 60em) { .hs-doc { display: block; } .hero-preview { inline-size: 82%; } }

@keyframes docMove { 0%, 38% { translate: 38% 3%; scale: 1.3; rotate: 0deg; opacity: 1; } 56% { opacity: 0.25; } 72%, 100% { translate: 0 0; scale: 1; rotate: -4deg; opacity: 0.6; } }
@keyframes beamPass { 0% { opacity: 1; translate: 0 -100%; } 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
@keyframes rowFlash { 0%, 100% { background-color: transparent; } 45% { background-color: var(--c-accent-bg); } }
@keyframes tagPop { from { scale: 0; opacity: 0; } }
@keyframes cardIn { from { opacity: 0; translate: 0 2.5rem; scale: 0.94; } }
@keyframes ringFill { from { --p: 0; } }
@keyframes countUp { from { --n: 0; } }
@keyframes growUp { from { transform: scaleY(0); } }
@keyframes tickIn { from { opacity: 0; translate: -0.75rem 0; } }
@keyframes flagFlash { 0%, 100% { background-color: transparent; } 40% { background-color: var(--c-warn-bg); } }
@keyframes drift { to { transform: translate(-4rem, 2rem) scale(1.12); } }

/* Short timed run: small screens, and any browser without scroll timelines. */
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .block-hero.has-stage h1 mark { animation: shimmer 6s linear 1s infinite; background-size: 220% 100%; }
  [data-reduce-motion="false"] .hero-preview { animation: cardIn 0.9s var(--ease) 0.3s both; }
  [data-reduce-motion="false"] .hp-ring { animation: ringFill 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both; }
  [data-reduce-motion="false"] .hp-ring strong { animation: countUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both; }
  [data-reduce-motion="false"] .hp-bars i { transform-origin: bottom; animation: growUp 0.9s var(--ease) calc(1s + var(--i, 0) * 0.06s) both; }
  [data-reduce-motion="false"] .hp-checks li { animation: tickIn 0.6s var(--ease) calc(1.5s + var(--i, 0) * 0.3s) both; }
  [data-reduce-motion="false"] .block-hero::after { animation: drift 22s ease-in-out infinite alternate; }
}
@keyframes shimmer { to { background-position: -220% 0; } }
.block-hero::after { content: ""; position: absolute; z-index: -1; inset-inline-end: -6rem; inset-block-start: -6rem; inline-size: 40rem; block-size: 32rem; border-radius: 50%; background: radial-gradient(closest-side, rgb(20 160 133 / 18%), rgb(200 243 106 / 8%) 55%, transparent 75%); filter: blur(24px); pointer-events: none; }

/* Scroll-scrubbed storyboard: the hero is pinned for about two and a half screens and progress 0..100% is the scene. */
@media (min-width: 60em) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reduce-motion="false"] .block-hero.has-stage { view-timeline: --hero block; min-block-size: 280vh; padding-block: 0; }
    [data-reduce-motion="false"] .block-hero.has-stage .hero-pin { position: sticky; inset-block-start: var(--header-h); display: grid; align-items: center; min-block-size: calc(100svh - var(--header-h)); }
    [data-reduce-motion="false"] .block-hero.has-stage :is(.hs-doc, .hs-beam, .hs-row, .hs-tag, .hero-preview, .hp-ring, .hp-ring strong, .hp-bars i, .hp-checks li) { animation-timeline: --hero; animation-timing-function: linear; animation-fill-mode: both; animation-delay: 0s; animation-duration: auto; }
    [data-reduce-motion="false"] .block-hero.has-stage .hs-doc { animation-name: docMove; animation-range: contain 0% contain 100%; }
    [data-reduce-motion="false"] .block-hero.has-stage .hs-beam { animation-name: beamPass; animation-range: contain 6% contain 40%; }
    [data-reduce-motion="false"] .block-hero.has-stage .hs-row { animation-name: rowFlash; animation-range: contain calc(10% + var(--i, 0) * 5%) contain calc(20% + var(--i, 0) * 5%); }
    [data-reduce-motion="false"] .block-hero.has-stage .hs-tag { animation-name: tagPop; animation-range: contain calc(12% + var(--i, 0) * 5%) contain calc(18% + var(--i, 0) * 5%); }
    [data-reduce-motion="false"] .block-hero.has-stage .hero-preview { animation-name: cardIn; animation-range: contain 48% contain 66%; }
    [data-reduce-motion="false"] .block-hero.has-stage .hp-ring { animation-name: ringFill; animation-range: contain 56% contain 82%; }
    [data-reduce-motion="false"] .block-hero.has-stage .hp-ring strong { animation-name: countUp; animation-range: contain 56% contain 82%; }
    [data-reduce-motion="false"] .block-hero.has-stage .hp-bars i { animation-name: growUp; animation-range: contain calc(58% + var(--i, 0) * 1.2%) contain calc(74% + var(--i, 0) * 1.2%); }
    [data-reduce-motion="false"] .block-hero.has-stage .hp-checks li { animation-name: tickIn; animation-range: contain calc(80% + var(--i, 0) * 4%) contain calc(88% + var(--i, 0) * 4%); }
  }
}
@media print { .hs-doc, .hero-points { display: none; } }

/* ---------- Marketing motion: steps connector ---------- */
@keyframes connector-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 60em) {
  .steps-list.has-connector { position: relative; }
    .steps-list.has-connector::before { content: ""; position: absolute; inset-inline: 2.5rem; inset-block-start: calc(var(--s-6) + 1.5rem); block-size: 2px; background: linear-gradient(90deg, #a7e6d2, rgb(200 243 106 / 35%), #bae6fd); transform-origin: left center; z-index: 0; }
  .motion-rich.is-revealed .steps-list.has-connector::before { animation: connector-draw 0.9s ease-out both; }
}

/* ---------- Forced colours, print ---------- */
@media (forced-colors: active) {
  .btn, .nav-toggle, .motion-toggle { border: 2px solid ButtonText; }
  .demo-form { border: 1px solid CanvasText; }
  .feature, .stat, .pricing-tier, .testimonial, .faq-item, .table-scroll, .block-code-sample figure, .hero-preview, .art-card { border: 1px solid CanvasText; }
  .tier-highlight { border-width: 3px; }
  :focus-visible { outline-color: Highlight; }
  .feature::before { background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  .nav-toggle-icon { background: ButtonText; box-shadow: 0 -6px 0 ButtonText, 0 6px 0 ButtonText; }
  mark, .block-rich-text > p:first-child strong { background: none; -webkit-text-fill-color: currentcolor; color: CanvasText; }
  mark { background: Mark; color: MarkText; }
  .site-footer::after, .footer-mark { display: none; }
}
@media print {
  .steps-list.has-connector::before { display: none; }
  :root { --c-bg: #fff; --c-surface: #fff; --c-surface-2: #fff; --c-text: #000; --c-text-muted: #333; --c-primary: #000; }
  body { font-size: 11pt; background: #fff; }
  .skip-link, .site-header, .site-nav, .nav-details, .lang-switcher, .motion-toggle, .footer-nav, .btn, .demo-form, .hero-stage { display: none !important; }
  .block { padding-block: 1rem; padding-inline: 0; break-inside: avoid-page; background: none !important; }
  .block::before, .site-footer::before, .site-footer::after, .footer-mark { display: none !important; }
  h1, h2, h3, h4, .stat-figure, .stat-label, .price-amount, .faq-item summary, .testimonial-author { color: #000; }
  .cta-side { display: none !important; }
  .block-pipeline, .demo-card, .cta-card { --c-text: #000; --c-text-muted: #333; color: #333; }
  .motion-pending { opacity: 1 !important; transform: none !important; }
  .feature, .pricing-tier, .testimonial, .faq-item, .table-scroll { background: none; box-shadow: none; border-color: #999; }
  .site-footer { background: none; border: 0; }
  .site-footer a, .footer-tagline, .footer-copy { color: #000; }
  .block-rich-text a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* ---------- Statement inspector ---------- */
.block-inspector { --in-clean: var(--c-ok); --in-clean-bg: var(--c-ok-bg); --in-warn: var(--c-warn); --in-warn-bg: var(--c-warn-bg); --in-alert: #9f1239; --in-alert-bg: #ffe4e9; background: var(--c-surface); border-block: 1px solid var(--c-border); }
.in-head { max-inline-size: 46rem; margin-inline: auto; margin-block-end: var(--s-7); text-align: center; }
.in-head .lede { margin-inline: auto; }
.in-grid { display: grid; gap: var(--s-5); align-items: start; }
.in-label { margin: 0 0 var(--s-3); color: var(--c-text-muted); font: 500 0.75rem / 1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.in-pick { display: grid; gap: var(--s-3); }
.in-tab { display: grid; gap: 0.35rem; inline-size: 100%; min-block-size: 2.75rem; padding: 1.1rem 1.25rem; border: 1px solid var(--c-border); border-radius: 1rem; background: #fff; color: var(--c-text); font: inherit; text-align: start; cursor: default; box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.3s var(--ease); }
.in-tab-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
.in-tab b { font-size: 1rem; font-weight: 700; }
.in-meta { color: var(--c-text-muted); font: 500 0.8125rem var(--font-mono); }
.in-badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font: 700 0.75rem var(--font-mono); font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; }
.in-badge.is-clean { background: var(--in-clean-bg); color: var(--in-clean); }
.in-badge.is-warn { background: var(--in-warn-bg); color: var(--in-warn); }
.in-badge.is-alert { background: var(--in-alert-bg); color: var(--in-alert); }
.in-panels { display: grid; gap: var(--s-5); }
.in-panel { display: grid; align-content: start; gap: var(--s-4); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--c-border); border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-lift); }
.in-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block-end: var(--s-4); border-block-end: 1px solid var(--c-border); }
.in-panel-head h3, .in-panel-head p { margin: 0; }
.in-figs { display: grid; gap: var(--s-3); margin: 0; }
.in-fig { padding: 1rem 1.1rem; border: 1px solid var(--c-border); border-radius: 1rem; background: var(--c-surface-2); }
.in-fig dt { color: var(--c-text-muted); font-size: 0.8125rem; font-weight: 600; }
.in-fig dd { margin: 0.2rem 0 0; color: var(--c-text); font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2rem) / 1.1 var(--font-mono); }
.in-fig dd small { margin-inline-start: 0.15rem; color: var(--c-text-muted); font-size: 0.5em; font-weight: 600; }
.in-fig dd.is-clean { color: var(--in-clean); }
.in-fig dd.is-warn { color: var(--in-warn); }
.in-fig dd.is-alert { color: var(--in-alert); }
.in-log { display: grid; margin: 0; padding: 0.4rem 1.1rem; border-radius: 1rem; background: var(--c-ink-bg); list-style: none; font: 500 0.8125rem / 1.5 var(--font-mono); }
.in-log li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); margin: 0; padding-block: 0.7rem; border-block-end: 1px solid rgb(255 255 255 / 10%); color: var(--c-ink-text); }
.in-log li:last-child { border-block-end: 0; }
.in-log li > span::before { content: "[OK] "; color: var(--c-ink-accent); }
.in-log li.is-warn > span::before { content: "[WARN] "; color: #f5b668; }
.in-log li.is-alert > span::before { content: "[ALERT] "; color: #fda4b4; }
.in-log b { font-weight: 700; }
.in-note { margin: 0; color: var(--c-text-muted); font-size: 0.8125rem; }
@media (min-width: 40em) { .in-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60em) { .in-grid { grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr); gap: var(--s-6); } }
.in-hint { display: none; margin-inline-start: 0.6rem; color: var(--c-primary); text-transform: none; letter-spacing: 0; }
.in-tab { position: relative; overflow: hidden; }
.in-tab-bar { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 4px; background: var(--c-primary); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease), background-color 0.3s; }
.block-inspector.is-tabbed .in-tab { cursor: pointer; }
.block-inspector.is-tabbed .in-tab:hover { border-color: var(--c-border-strong); }
.block-inspector.is-tabbed .in-tab.is-active { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary), var(--shadow-lift); }
.block-inspector.is-tabbed .in-tab.is-active .in-tab-bar { transform: none; }
.block-inspector.is-tabbed .in-tab.is-done .in-tab-bar { transform: none; background: rgb(8 127 104 / 30%); }
.block-inspector.is-tabbed .in-panels { grid-template-columns: minmax(0, 1fr); grid-template-areas: "panel"; }
.block-inspector.is-tabbed .in-panel { grid-area: panel; visibility: hidden; opacity: 0; transition: opacity 0.45s var(--ease), visibility 0s 0.45s; }
.block-inspector.is-tabbed .in-panel.is-active { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease); }
@media (min-width: 60em) {
  .block-inspector.is-tabbed .in-grid { align-items: stretch; }
  .block-inspector.is-tabbed .in-pick { display: flex; flex-direction: column; }
  .block-inspector.is-tabbed .in-tab { flex: 1; align-content: center; }
  .block-inspector.is-tabbed .in-panel { block-size: 100%; }
}
.block-inspector.is-scrolly { padding-block-end: 0; }
.block-inspector.is-scrolly .in-hint { display: inline; }
.block-inspector.is-scrolly .in-grid { position: sticky; inset-block-start: max(calc(var(--header-h) + 1.5rem), calc(50vh - 15rem)); padding-block-end: clamp(3rem, 6vw, 5rem); }
.block-inspector.has-2 .in-track { block-size: calc(100vh + 2 * 60vh); }
.block-inspector.has-3 .in-track { block-size: calc(100vh + 3 * 60vh); }
.block-inspector.has-4 .in-track { block-size: calc(100vh + 4 * 60vh); }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active { animation: inPanel 0.6s var(--ease) both; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-fig { animation: inPop 0.55s var(--ease) both; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-fig:nth-child(2) { animation-delay: 0.08s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-fig:nth-child(3) { animation-delay: 0.16s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-log li { animation: inLine 0.45s var(--ease) both; animation-delay: 0.3s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-log li:nth-child(2) { animation-delay: 0.5s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-log li:nth-child(3) { animation-delay: 0.7s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-log li:nth-child(4) { animation-delay: 0.9s; }
  [data-reduce-motion="false"] .block-inspector.is-tabbed .in-panel.is-active .in-log li:nth-child(5) { animation-delay: 1.1s; }
}
@keyframes inPanel { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes inPop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes inLine { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@media (forced-colors: active) { .block-inspector.is-tabbed .in-tab.is-active { outline: 2px solid Highlight; } }

/* ---------- FAQ search ---------- */

/* ---------- Ambient dots and cursor ring (decorative, added by ambient.js) ---------- */
.ambient-canvas { position: fixed; inset: 0; z-index: 0; inline-size: 100%; block-size: 100%; pointer-events: none; opacity: 0.55; }
.ambient-ring { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 90; inline-size: 2rem; block-size: 2rem; border: 1px solid rgb(8 127 104 / 45%); border-radius: 50%; background: transparent; opacity: 0; pointer-events: none; transition: opacity 0.2s, inline-size 0.2s, block-size 0.2s, background-color 0.2s; }
.ambient-ring.is-on { opacity: 1; }
.ambient-ring.is-link { inline-size: 3.5rem; block-size: 3.5rem; background: rgb(8 127 104 / 8%); }
@media print, (forced-colors: active) { .ambient-canvas, .ambient-ring { display: none; } }

/* =====================================================================================================================
   Pass 2 (2026-10-28): mockup-exact layouts. Bold display type, full-width glass header, live hero, numbered cards,
   bento, light security diagram, centred FAQ. Later rules here intentionally override the earlier design pass.
   ===================================================================================================================== */
h1, h2 { font-weight: 800; }
.btn { border-radius: 0.85rem; font-weight: 700; }
.btn-lg { min-block-size: 3.5rem; padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn-arrow { margin-inline-start: 0.6rem; transition: translate 0.3s var(--ease); }
.btn:hover .btn-arrow { translate: 0.25rem 0; }
.btn-primary { background: var(--c-primary); border-color: var(--c-primary); box-shadow: 0 18px 36px -16px rgb(8 127 104 / 55%); }
.btn-primary:hover { background: var(--c-primary-hover); }
.sec-head { max-inline-size: 48rem; margin-inline: auto; margin-block-end: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.sec-head .eyebrow, .in-head .eyebrow { justify-content: center; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.18em; }
.sec-head .eyebrow::before, .in-head .eyebrow::before { display: none; }
.sec-head h2 { margin-inline: auto; max-inline-size: 20ch; }

/* ---------- Header: full-width glass bar that condenses ---------- */
.site-header { padding: 0; }
.header-inner { max-inline-size: none; min-block-size: 5rem; padding-inline: var(--pad-x); border: 0; border-block-end: 1px solid transparent; border-radius: 0; background: rgb(250 249 246 / 82%); box-shadow: none; transition: min-block-size 0.3s var(--ease), border-color 0.3s, background-color 0.3s, box-shadow 0.3s; }
.site-header.is-condensed .header-inner { min-block-size: 4rem; border-block-end-color: rgb(226 230 240 / 90%); background: rgb(250 249 246 / 94%); box-shadow: 0 10px 30px -24px rgb(10 20 51 / 40%); }
@media (min-width: 60em) {
  @supports selector(::details-content) {
    .nav-list { gap: var(--s-4); }
    .nav-link { padding-inline: var(--s-2); border-radius: 0; color: var(--c-text-muted); font-weight: 600; }
    .nav-link::after { content: ""; position: absolute; inset-inline: var(--s-2); inset-block-end: 0.35rem; block-size: 2px; border-radius: 2px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
    .nav-link:hover { background: none; color: var(--c-primary); }
    .nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
    .nav-link[aria-current] { background: none; color: var(--c-text); }
    .nav-item:last-child > .nav-link { border-radius: 0.85rem; background: var(--c-primary); box-shadow: 0 12px 24px -12px rgb(8 127 104 / 60%); }
    .nav-item:last-child > .nav-link::after { display: none; }
    .nav-item:last-child > .nav-link:hover { background: var(--c-primary-hover); }
  }
}

/* ---------- Hero: live analysis over the 3D data stream ---------- */
.block-hero.has-live { position: relative; isolation: isolate; padding-block: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) clamp(4rem, 8vw, 7rem); background: radial-gradient(50rem 30rem at 85% 20%, rgb(200 243 106 / 22%), transparent 65%), radial-gradient(46rem 30rem at 10% 0%, rgb(8 127 104 / 10%), transparent 60%), var(--c-bg); }
.live-bg { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.live-canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; transition: opacity 1.2s var(--ease); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 62%); mask-image: linear-gradient(100deg, transparent 30%, #000 62%); }
.live-bg.is-live .live-canvas { opacity: 1; }
.live-bg .motion-toggle { position: absolute; inset-block-end: var(--s-4); inset-inline-end: var(--pad-x); margin: 0; pointer-events: auto; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; max-inline-size: var(--container); margin-inline: auto; }
.live-copy, .live-stage { min-inline-size: 0; }
.live-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--s-5); padding: 0.4rem 0.9rem; border: 1px solid rgb(8 127 104 / 22%); border-radius: 999px; background: rgb(8 127 104 / 8%); color: var(--c-primary); font: 700 0.75rem / 1.4 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.live-ping { position: relative; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: var(--c-primary); }
.live-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-primary); opacity: 0; }
.has-live h1 { max-inline-size: 13ch; margin-block-end: var(--s-5); font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.045em; }
.has-live h1 mark { background: linear-gradient(100deg, #087f68 0%, #0f9e82 45%, #075b4d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.has-live .lede { max-inline-size: 34rem; margin-block-end: var(--s-6); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }
.has-live .hero-actions { margin-block-end: var(--s-7); }
.live-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); max-inline-size: 36rem; margin: 0; padding-block-start: var(--s-5); border-block-start: 1px solid var(--c-border); }
.live-facts div { display: flex; flex-direction: column; gap: 0.35rem; }
.live-facts dd { order: -1; }
.live-facts dd { margin: 0; color: var(--c-text); font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem) / 1 var(--font-mono); letter-spacing: -0.02em; }
.live-facts div:nth-child(2) dd { color: var(--c-primary); }
.live-facts dt { color: var(--c-text-muted); font-size: 0.8125rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.live-stage { position: relative; display: grid; justify-items: center; gap: var(--s-4); }
.live-stage::before { content: ""; position: absolute; z-index: -1; inset: 8% 4%; border-radius: 2rem; background: linear-gradient(120deg, rgb(8 127 104 / 30%), rgb(200 243 106 / 45%)); filter: blur(48px); opacity: 0.75; }
.live-card { position: relative; inline-size: min(100%, 28rem); padding: 1.1rem; border: 1px solid var(--c-border); border-radius: 1.75rem; background: rgb(255 255 255 / 90%); backdrop-filter: blur(20px); box-shadow: 0 30px 70px -30px rgb(10 20 51 / 28%); color: var(--c-text); }
.live-top { display: flex; align-items: center; gap: 0.6rem; padding-block-end: 1rem; margin-block-end: 1.1rem; border-block-end: 1px solid var(--c-border); }
.live-dots { display: inline-flex; gap: 0.35rem; }
.live-dots i { inline-size: 0.7rem; block-size: 0.7rem; border-radius: 50%; background: #f87171; }
.live-dots i:nth-child(2) { background: #fbbf24; }
.live-dots i:nth-child(3) { background: var(--c-primary); }
.live-window { color: var(--c-text-muted); font: 500 0.75rem var(--font-mono); }
.live-chip { margin-inline-start: auto; padding: 0.2rem 0.6rem; border-radius: 0.5rem; background: rgb(8 127 104 / 10%); color: var(--c-primary); font: 700 0.6875rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.live-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem; margin-block-end: 1rem; }
.live-tile { position: relative; display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem; border: 1px solid var(--c-border); border-radius: 0.9rem; background: #fff; overflow: hidden; }
.live-tile > span:first-child { color: var(--c-text-muted); font-size: 0.75rem; font-weight: 600; }
.live-score { color: var(--c-primary); font: 800 1.875rem / 1 var(--font-mono); font-variant-numeric: tabular-nums; }
.live-score small { color: var(--c-text-muted); font-size: 0.875rem; font-weight: 600; }
.live-verdict { align-self: flex-start; margin-block-start: 0.25rem; padding: 0.25rem 0.55rem; border-radius: 0.4rem; background: var(--c-ok-bg); color: var(--c-ok); font: 700 0.75rem var(--font-mono); font-style: normal; text-transform: uppercase; }
.live-bars { display: grid; gap: 0.75rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.live-bars li { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.5rem; margin: 0; color: var(--c-text-muted); font-size: 0.8125rem; font-weight: 600; }
.live-bars b { color: var(--c-text); font: 700 0.8125rem var(--font-mono); }
.live-bars b.is-ok { color: var(--c-ok); }
.live-bar { grid-column: 1 / -1; position: relative; display: block; block-size: 0.5rem; border-radius: 999px; background: #e7ebf1; overflow: hidden; }
.live-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c-primary), #14a085); inline-size: var(--w); }
.live-bar.is-ok::after { background: linear-gradient(90deg, #14a085, #c8f36a); }
.live-bar.w-82 { --w: 82%; }
.live-bar.w-35 { --w: 35%; }
.live-bar.w-100 { --w: 100%; }
.live-sample { margin: 0; color: var(--c-text-muted); font: 500 0.75rem var(--font-mono); text-align: end; }
.live-rerun { display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 2.75rem; padding: 0.6rem 1.25rem; border: 0; border-radius: 0.85rem; background: var(--c-ink-bg); color: #fff; font: 700 0.875rem var(--font-sans); cursor: pointer; box-shadow: 0 14px 28px -14px rgb(10 20 51 / 60%); transition: transform 0.2s var(--ease), background-color 0.2s; }
.live-rerun:hover { background: #16224a; transform: translateY(-2px); }
@media (min-width: 60em) { .live-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } .live-stage { justify-items: end; } }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .live-ping::after { animation: livePing 1.8s ease-out infinite; }
  [data-reduce-motion="false"] .has-live .live-copy > * { animation: liveRise 0.9s var(--ease) both; }
  [data-reduce-motion="false"] .has-live .live-copy > :nth-child(2) { animation-delay: 0.08s; }
  [data-reduce-motion="false"] .has-live .live-copy > :nth-child(3) { animation-delay: 0.16s; }
  [data-reduce-motion="false"] .has-live .live-copy > :nth-child(4) { animation-delay: 0.24s; }
  [data-reduce-motion="false"] .has-live .live-copy > :nth-child(5) { animation-delay: 0.32s; }
  [data-reduce-motion="false"] .has-live .live-card { animation: liveCard 1.1s 0.25s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running .live-bar::after { animation: liveBar 1.1s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running li:nth-child(2) .live-bar::after { animation-delay: 0.12s; }
  [data-reduce-motion="false"] .live-card.is-running li:nth-child(3) .live-bar::after { animation-delay: 0.24s; }
  [data-reduce-motion="false"] .live-card.is-running .live-verdict { animation: liveVerdict 0.5s 0.9s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running .live-gauge-arc { animation: liveGauge 1.2s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running .live-gauge-tick { animation: liveNeedle 1.2s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running .live-steps li::before { animation: liveTick 0.45s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-running .live-steps li:nth-child(2)::before { animation-delay: 0.35s; }
  [data-reduce-motion="false"] .live-card.is-running .live-steps li:nth-child(3)::before { animation-delay: 0.7s; }
  [data-reduce-motion="false"] .live-card.is-running .live-steps::before { animation: liveLine 1s var(--ease) both; }
  [data-reduce-motion="false"] .live-card.is-pulse .live-pair .live-tile:first-child { animation: livePulse 1.2s var(--ease); }
  [data-reduce-motion="false"] .live-card.is-pulse .live-verdict { animation: liveVerdict 0.5s var(--ease) both; }
}
@keyframes livePing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes liveRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes liveCard { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes liveBar { from { inline-size: 0; } }
@keyframes liveVerdict { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgb(8 127 104 / 35%); border-color: var(--c-primary); } 100% { box-shadow: 0 0 0 14px rgb(8 127 104 / 0%); } }
@keyframes liveNeedle { from { transform: rotate(-138deg); } to { transform: none; } }
@keyframes liveGauge { from { stroke-dashoffset: 84; } to { stroke-dashoffset: 0; } }
@keyframes liveTick { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes liveLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media print { .live-bg, .live-rerun { display: none; } }

/* ---------- Evidence: numbered glow cards with micro visuals ---------- */
.block-evidence { background: var(--c-bg); }
.ev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--s-5); margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.ev-card-item { --tone: var(--t-income); position: relative; display: flex; flex-direction: column; margin: 0; padding: 1.75rem; border: 1px solid var(--c-border); border-radius: 1.5rem; background: #fff; box-shadow: 0 1px 2px rgb(10 20 51 / 4%); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.ev-card-item:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tone) 45%, #fff); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--tone) 40%, transparent); }
.ev-card-item.ev-obligation { --tone: var(--t-obligation); }
.ev-card-item.ev-bounce { --tone: var(--t-bounce); }
.ev-card-item.ev-spending { --tone: var(--t-spending); }
.ev-num { display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; margin-block-end: var(--s-5); border-radius: 0.9rem; background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); font: 800 1rem var(--font-mono); }
.ev-viz { position: absolute; inset-block-start: 1.9rem; inset-inline-end: 1.75rem; display: flex; align-items: flex-end; gap: 4px; block-size: 2.25rem; }
.ev-viz i { inline-size: 6px; border-radius: 3px; background: color-mix(in srgb, var(--tone) 70%, #fff); block-size: 40%; }
.ev-viz i:nth-child(2) { block-size: 65%; } .ev-viz i:nth-child(3) { block-size: 50%; } .ev-viz i:nth-child(4) { block-size: 85%; } .ev-viz i:nth-child(5) { block-size: 70%; } .ev-viz i:nth-child(6) { block-size: 100%; }
.ev-obligation .ev-viz i { block-size: 55%; }
.ev-bounce .ev-viz i { block-size: 30%; background: #e2e6f0; }
.ev-bounce .ev-viz i:nth-child(4) { block-size: 100%; background: var(--tone); }
.ev-spending .ev-viz i:nth-child(odd) { block-size: 75%; }
.ev-card-item :is(h2, h3) { margin-block-end: var(--s-3); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.ev-card-item p { flex: 1; margin-block-end: var(--s-5); font-size: 0.9375rem; line-height: 1.6; }
.ev-foot { display: flex; justify-content: space-between; padding-block-start: var(--s-4); border-block-start: 1px solid var(--c-border); color: var(--tone); font: 700 0.75rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.ev-foot span { color: var(--c-text-muted); }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .ev-card-item:hover .ev-viz i { animation: evBar 0.9s var(--ease) both; }
  [data-reduce-motion="false"] .ev-card-item:hover .ev-viz i:nth-child(2n) { animation-delay: 0.08s; }
  [data-reduce-motion="false"] .ev-bounce:hover .ev-viz i:nth-child(4) { animation: evFlash 0.9s ease-in-out 2; }
}
@keyframes evBar { from { transform: scaleY(0.2); transform-origin: bottom; } to { transform: none; } }
@keyframes evFlash { 50% { opacity: 0.25; } }

/* ---------- How it works: four separate step cards ---------- */
.steps-head { margin-block-end: clamp(2.5rem, 5vw, 4rem); }
.steps-list { gap: var(--s-5); overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.step { padding: 2rem 1.75rem; border: 1px solid var(--c-border); border-radius: 1.5rem; background: color-mix(in srgb, var(--c-surface-2) 70%, #fff); transition: transform 0.4s var(--ease), border-color 0.3s, background-color 0.3s; }
.step:last-child { border-block-end: 1px solid var(--c-border); }
.step::before { content: "0" counter(step); order: 0; margin-block-end: var(--s-5); color: #7b8aa0; font: 800 3rem / 1 var(--font-mono); letter-spacing: -0.04em; transition: color 0.3s; }
.step:hover { transform: translateY(-4px); border-color: rgb(8 127 104 / 40%); background: #fff; }
.step:hover::before { color: rgb(8 127 104 / 55%); }
.step-icon { display: none; }
.step-tag { border: 1px solid var(--c-border); background: #fff; color: var(--c-text); }
.step:last-child .step-tag { border-color: var(--c-ink-bg); }
@media (min-width: 40em) { .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .step { border-block-end: 1px solid var(--c-border); } }

/* ---------- What you get: bento ---------- */
.layout-bento .cap-intro { max-inline-size: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.layout-bento .cap-intro .eyebrow { justify-content: center; font-family: var(--font-mono); letter-spacing: 0.18em; }
.layout-bento .cap-intro .eyebrow::before { display: none; }
.layout-bento .cap-intro .lede { margin-inline: auto; }
.layout-bento .cap-stat { display: none; }
.layout-bento .feature-list { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.layout-bento .feature { position: relative; display: flex; flex-direction: column; margin: 0; padding: 1.75rem; overflow: hidden; border: 1px solid var(--c-border); border-radius: 1.5rem; background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.layout-bento .feature:hover { transform: translateY(-4px); border-color: rgb(8 127 104 / 40%); box-shadow: 0 30px 60px -28px rgb(8 127 104 / 35%); }
.layout-bento .feature :is(h2, h3) { font-size: 1.25rem; font-weight: 800; }
.layout-bento .feature:first-child .feature-tags { margin-block-end: var(--s-5); }
.layout-bento .feature-icon { border-radius: 1rem; background: rgb(8 127 104 / 10%); color: var(--c-primary); }
.bento-code { order: 9; margin: auto 0 0; padding: 1.1rem 1.25rem; overflow-x: auto; border-radius: 1rem; background: var(--c-ink-bg); color: #c3cde0; font: 500 0.8125rem / 1.7 var(--font-mono); white-space: pre; }
.bento-code .c-k { color: #c8f36a; font-weight: 700; } .bento-code .c-s { color: #7fd4b8; } .bento-code .c-v { color: #fde68a; } .bento-code .c-n { color: #c8f36a; } .bento-code .c-p { color: #8590b5; }
.bento-score { order: 9; display: grid; justify-items: center; gap: var(--s-4); margin-block: auto; padding-block-start: var(--s-5); }
.bento-ring { position: relative; display: grid; place-items: center; inline-size: 8.5rem; block-size: 8.5rem; border-radius: 50%; background: conic-gradient(var(--c-primary) 0 84%, #e7ebf1 84% 100%); }
.bento-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.bento-ring b { position: relative; color: var(--c-text); font: 800 2.25rem var(--font-mono); }
.bento-grades { display: flex; gap: 0.35rem; }
.bento-grades i { display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; border-radius: 0.5rem; background: var(--c-surface-2); color: var(--c-text-muted); font: 700 0.8125rem var(--font-mono); font-style: normal; }
.bento-grades i.is-on { background: var(--c-primary); color: #fff; }
@media (min-width: 48em) { .layout-bento .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layout-bento .feature:first-child { grid-column: 1 / -1; } }
@media (min-width: 64em) {
  /* 6 tracks, every cell filled: API wide on top, Health Score tall on the right, two tiles under the API, then two equal halves. */
  .layout-bento .feature-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .layout-bento .feature { grid-column: span 2; }
  .layout-bento .feature:nth-child(1) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-auto-rows: min-content; column-gap: var(--s-6); grid-column: 1 / 5; grid-row: 1; background: radial-gradient(30rem 18rem at 100% 0%, rgb(200 243 106 / 24%), transparent 70%), #fff; }
  .layout-bento .feature:first-child .feature-tags { margin-block-end: 0; }
  .layout-bento .feature:nth-child(1) .bento-code { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; }
  .layout-bento .feature:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / span 2; }
  .layout-bento .feature:nth-child(n+5) { grid-column: span 3; }
}

/* ---------- Security: light flow diagram with a travelling packet ---------- */
.block-security-flow { background: #fff; }
.sf-point { margin-block-end: var(--s-3); padding: 1rem 1.1rem; border: 1px solid var(--c-border); border-radius: 1rem; background: var(--c-surface-2); }
.sf-points { border: 0; }
.sf-icon { background: rgb(8 127 104 / 10%); color: var(--c-primary); }
.sf-flow { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--c-border); border-radius: 1.75rem; background: var(--c-surface-2); box-shadow: 0 30px 70px -36px rgb(10 20 51 / 30%); }
.sf-label { color: var(--c-text-muted); }
.sf-node { border-color: var(--c-border); background: #fff; color: var(--c-text); box-shadow: 0 1px 2px rgb(10 20 51 / 5%); }
.sf-node b { color: var(--c-text); }
.sf-node span { color: var(--c-text-muted); }
.sf-node.is-gate { border-color: rgb(8 127 104 / 40%); background: rgb(8 127 104 / 8%); }
.sf-node.is-gate b { color: var(--c-primary-hover); }
.sf-node.is-stop { border-color: #fecdd3; background: #fff5f6; }
.sf-arrow { position: relative; display: block; flex: 1 0 1.75rem; inline-size: 2px; margin: 0.35rem auto; font-size: 0; color: transparent; background-image: linear-gradient(to bottom, rgb(8 127 104 / 40%) 55%, transparent 55%); background-size: 2px 8px; }
.sf-arrow::before { content: ""; position: absolute; inset-block-end: -2px; inset-inline-start: -4px; border-inline: 5px solid transparent; border-block-start: 6px solid rgb(8 127 104 / 60%); }
.sf-arrow::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: -4px; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgb(8 127 104 / 18%); opacity: 0; }
@media (min-width: 60em) {
  /* Heading across the top; the points and the flow card side by side below it, the same height. */
  .block-security-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-7); row-gap: 0; align-items: stretch; }
  .sf-copy { display: contents; }
  .sf-copy > :not(.sf-points) { grid-column: 1 / -1; }
  .sf-copy h2 { max-inline-size: 18ch; }
  .sf-copy .lede { margin-block-end: var(--s-6); }
  .sf-points { grid-column: 1; display: flex; flex-direction: column; gap: var(--s-3); margin: 0; }
  .sf-point { flex: 1; align-items: center; margin: 0; }
  .sf-flow { grid-column: 2; display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  /* One 6 s cycle: the PDF lights, a packet runs down, the gate lights, a packet runs down, the model lights; the stop node blinks last. */
  [data-reduce-motion="false"] .sf-flow > .sf-node:first-of-type { animation: sfLit 6s ease-in-out infinite; }
  [data-reduce-motion="false"] .sf-flow > .sf-arrow:nth-of-type(1)::after { animation: sfRun 6s ease-in-out 0.6s infinite; }
  [data-reduce-motion="false"] .sf-node.is-gate { animation: sfLit 6s ease-in-out 1.8s infinite; }
  [data-reduce-motion="false"] .sf-flow > .sf-arrow:nth-of-type(2)::after { animation: sfRun 6s ease-in-out 2.4s infinite; }
  [data-reduce-motion="false"] .sf-split > .sf-node:first-child { animation: sfLit 6s ease-in-out 3.6s infinite; }
  [data-reduce-motion="false"] .sf-node.is-stop { animation: sfStop 6s ease-in-out 4.6s infinite; }
}
@keyframes sfLit { 0%, 22%, 100% { box-shadow: 0 1px 2px rgb(10 20 51 / 5%); } 8%, 14% { box-shadow: 0 0 0 4px rgb(8 127 104 / 18%), 0 18px 36px -18px rgb(8 127 104 / 55%); } }
@keyframes sfRun { 0% { inset-block-start: 0; opacity: 0; } 4% { opacity: 1; } 16% { opacity: 1; } 20%, 100% { inset-block-start: calc(100% - 10px); opacity: 0; } }
@keyframes sfStop { 0%, 18%, 100% { box-shadow: none; } 6%, 12% { box-shadow: 0 0 0 4px rgb(225 29 72 / 16%); } }

/* ---------- Pricing: featured light card plus billing facts ---------- */
.block-pricing { background: var(--c-bg); }
.block-pricing > h2, .block-pricing > .lede { margin-inline: auto; text-align: center; }
.block-pricing > .lede { margin-block-end: clamp(2.5rem, 5vw, 3.5rem); }
.pricing-tier:only-child { position: relative; align-items: center; padding: 2.5rem 2rem; border: 2px solid var(--c-primary); border-radius: 1.75rem; background: radial-gradient(24rem 12rem at 100% 0%, rgb(200 243 106 / 30%), transparent 70%), #fff; color: var(--c-text-muted); box-shadow: 0 30px 70px -34px rgb(8 127 104 / 45%); text-align: center; }
.pricing-tier:only-child :is(h2, h3) { color: var(--c-text); font-size: 1.5rem; font-weight: 800; }
.pricing-tier:only-child .btn-primary { align-self: center; color: #fff; background: var(--c-primary); border-color: var(--c-primary); box-shadow: 0 18px 36px -16px rgb(8 127 104 / 55%); }
.pricing-tier:only-child .btn-primary:hover { background: var(--c-primary-hover); }
.price-facts { display: grid; gap: var(--s-4); max-inline-size: 52rem; margin: var(--s-6) auto 0; padding: 0; list-style: none; text-align: start; }
.price-facts li { display: flex; flex-direction: column; gap: 0.3rem; margin: 0; padding: 1.25rem 1.4rem; border: 1px solid var(--c-border); border-radius: 1.25rem; background: #fff; }
.price-facts b { color: var(--c-text); font-weight: 800; }
.price-facts span { color: var(--c-text-muted); font-size: 0.9375rem; }
@media (min-width: 48em) { .price-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ: one centred column ---------- */

/* ---------- Pipeline walkthrough: equal-height tabs and panels, scroll-pinned stages ---------- */
.walk-tabs { align-items: stretch; }
.walk-tabs li { display: flex; }
.walk-tab { flex: 1; justify-content: flex-start; }
.walk-tab { transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease); }
.walk-tab[aria-current="step"] { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgb(200 243 106 / 45%); }
.is-tabbed .walk-stages { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage"; }
.is-tabbed .walk-stage { grid-area: stage; visibility: hidden; opacity: 0; transition: opacity 0.45s var(--ease), visibility 0s 0.45s; }
.is-tabbed .walk-stage.is-active { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease); }
.block-walk.is-scrolly .walk-toggle { display: none; }
.block-walk.is-scrolly { padding-block-end: 0; }
.block-walk.is-scrolly .walk-sticky { position: sticky; inset-block-start: max(calc(var(--header-h) + 1rem), calc(50vh - 22rem)); padding-block-end: clamp(3rem, 6vw, 5rem); }
.block-walk.has-2 .walk-track { block-size: calc(100vh + 2 * 55vh); }
.block-walk.has-3 .walk-track { block-size: calc(100vh + 3 * 55vh); }
.block-walk.has-4 .walk-track { block-size: calc(100vh + 4 * 55vh); }
.block-walk.has-5 .walk-track { block-size: calc(100vh + 5 * 55vh); }
.block-walk.has-6 .walk-track { block-size: calc(100vh + 6 * 55vh); }
@media (prefers-reduced-motion: no-preference) {
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-detail > * { animation: inLine 0.5s var(--ease) both; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-detail > :nth-child(2) { animation-delay: 0.06s; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-detail > :nth-child(3) { animation-delay: 0.12s; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-points li { animation: inLine 0.45s var(--ease) both; animation-delay: 0.25s; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-points li:nth-child(2) { animation-delay: 0.4s; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-points li:nth-child(3) { animation-delay: 0.55s; }
  [data-reduce-motion="false"] .is-tabbed .walk-stage.is-active .walk-app { animation: inPop 0.6s 0.1s var(--ease) both; }
}


/* ---------- Pricing: plan cards ---------- */
.pricing-tiers { gap: var(--s-4); }
.pricing-tier { position: relative; gap: 0; padding: 2rem 1.6rem 1.75rem; border: 1px solid var(--c-border); border-radius: 1.5rem; background: #fff; text-align: start; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.pricing-tier:hover { transform: translateY(-6px); border-color: rgb(8 127 104 / 40%); box-shadow: 0 30px 60px -30px rgb(10 20 51 / 30%); }
.pricing-tier :is(h2, h3) { margin: 0 0 var(--s-4); color: var(--c-text); font-size: 1.25rem; font-weight: 800; }
.tier-price { display: flex; flex-direction: column; gap: 0.3rem; margin: 0 0 var(--s-4); padding-block-end: var(--s-4); border-block-end: 1px solid var(--c-border); }
.tier-amount { color: var(--c-text); font: 800 clamp(1.75rem, 1.4rem + 1vw, 2.25rem) / 1.1 var(--font-sans); letter-spacing: -0.03em; }
.tier-note { color: var(--c-text-muted); font: 600 0.8125rem var(--font-mono); }
.tier-blurb { margin: 0 0 var(--s-5); color: var(--c-text-muted); font-size: 0.9375rem; line-height: 1.6; }
.tier-features { display: grid; gap: 0.7rem; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.tier-features li { position: relative; margin: 0; padding-inline-start: 1.75rem; color: var(--c-text); font-size: 0.9375rem; line-height: 1.45; }
.tier-features li::before { content: ""; position: absolute; inset-block-start: 0.2rem; inset-inline-start: 0; inline-size: 1.1rem; block-size: 1.1rem; border-radius: 50%; background: rgb(8 127 104 / 12%); }
.tier-features li::after { content: ""; position: absolute; inset-block-start: 0.42rem; inset-inline-start: 0.4rem; inline-size: 0.3rem; block-size: 0.55rem; border-inline-end: 2px solid var(--c-primary); border-block-end: 2px solid var(--c-primary); transform: rotate(45deg); }
.pricing-tier .btn { align-self: stretch; margin-block-start: auto; }
.tier-highlight { border: 2px solid var(--c-primary); background: radial-gradient(22rem 12rem at 100% 0%, rgb(200 243 106 / 28%), transparent 70%), #fff; box-shadow: 0 30px 70px -34px rgb(8 127 104 / 50%); }
.tier-badge { position: absolute; inset-block-start: -0.85rem; inset-inline-start: 50%; translate: -50% 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--c-primary); color: #fff; font: 700 0.75rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 64em) { .pricing-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- FAQ: heading and help on the left, a hairline accordion on the right ---------- */
.block-faq { background: var(--c-bg); }
.faq-layout { display: grid; gap: var(--s-6); max-inline-size: var(--container); margin-inline: auto; }
.faq-side .eyebrow { margin-block-end: var(--s-4); }
.faq-side h2 { max-inline-size: 12ch; margin-block-end: var(--s-5); font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem); line-height: 1.04; }
.faq-side-body { max-inline-size: 26rem; margin: 0 0 var(--s-5); color: var(--c-text-muted); font-size: 1.125rem; line-height: 1.6; }
.faq-side .btn { margin: 0; }
.faq-search { position: relative; max-inline-size: 26rem; margin-block-start: var(--s-6); }
.faq-search input { inline-size: 100%; min-block-size: 3rem; padding: 0.75rem 6.5rem 0.75rem 1rem; border: 1px solid var(--c-border); border-radius: 0.85rem; background: #fff; color: var(--c-text); font: 500 0.9375rem var(--font-sans); }
.faq-search input:focus-visible { border-color: var(--c-primary); }
.faq-count { position: absolute; inset-block-start: 50%; inset-inline-end: 1rem; translate: 0 -50%; color: var(--c-text-muted); font: 600 0.75rem var(--font-mono); pointer-events: none; }
.faq-body { min-inline-size: 0; border-block-start: 1px solid var(--c-border-strong); }
.faq-empty { margin: 0; padding: var(--s-5) 0; color: var(--c-text-muted); }
.faq-group { margin: 0; }
.faq-group > :is(h2, h3) { margin: var(--s-5) 0 0; color: var(--c-primary); font: 700 0.75rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.faq-item { margin: 0; border-block-end: 1px solid var(--c-border); }
.faq-item summary { display: flex; align-items: center; gap: var(--s-5); min-block-size: 2.75rem; padding: 1.6rem 0; color: var(--c-text); cursor: pointer; font: 700 clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem) / 1.4 var(--font-sans); list-style: none; transition: color 0.2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-primary); }
.faq-item summary::after { content: ""; flex: none; margin-inline-start: auto; inline-size: 1rem; block-size: 1rem; background: linear-gradient(var(--c-primary) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--c-primary) 0 0) center / 2px 100% no-repeat; transition: transform 0.35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { max-inline-size: 44rem; padding: 0 2.5rem 1.6rem 0; color: var(--c-text-muted); font-size: 1rem; line-height: 1.7; }
.faq-answer > :last-child { margin-block-end: 0; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; } .faq-item[open]::details-content { block-size: auto; } }
@media (prefers-reduced-motion: no-preference) { [data-reduce-motion="false"] .faq-item[open] .faq-answer { animation: inLine 0.45s var(--ease) both; } }
@media (min-width: 60em) {
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-8); align-items: start; }
  .faq-side { position: sticky; inset-block-start: calc(var(--header-h) + 2rem); }
}
@media (forced-colors: active) { .faq-item summary::after { background: none; content: "+"; } }
.live-row { display: grid; gap: 0.75rem; margin-block-end: 0.8rem; padding: 0.9rem 1rem; border: 1px solid var(--c-border); border-radius: 0.9rem; background: #fff; }
.live-file { justify-self: start; padding: 0.2rem 0.55rem; border-radius: 0.4rem; background: rgb(8 127 104 / 10%); color: var(--c-primary); font: 600 0.75rem var(--font-mono); }
.live-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.live-steps::after, .live-steps::before { content: ""; position: absolute; inset-block-start: 0.55rem; inset-inline: 16.6%; block-size: 2px; border-radius: 2px; background: var(--c-border); }
.live-steps::before { z-index: 1; background: var(--c-primary); transform-origin: left; }
.live-steps li { position: relative; z-index: 2; display: grid; justify-items: center; gap: 0.35rem; margin: 0; color: var(--c-text-muted); font: 600 0.6875rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.live-steps li::before { content: "\2713"; display: grid; place-items: center; inline-size: 1.15rem; block-size: 1.15rem; border-radius: 50%; background: var(--c-primary); color: #fff; font: 700 0.625rem / 1 var(--font-sans); }
.live-grade { align-self: flex-start; margin-block-start: 0.15rem; padding: 0.1rem 0.45rem; border-radius: 0.35rem; background: var(--c-surface-2); color: var(--c-text); font: 700 0.6875rem var(--font-mono); }
.live-gauge { display: none; position: absolute; inset-block-start: 0.8rem; inset-inline-end: 0.8rem; inline-size: 3.6rem; block-size: auto; overflow: visible; }
.live-gauge path { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.live-gauge-tick { stroke: var(--c-text); stroke-width: 2 !important; transform-origin: 24px 24px; }
.live-gauge-track { stroke: #e7ebf1; }
.live-gauge-arc { stroke: var(--c-primary); stroke-dasharray: 84 100; }
@media (min-width: 25em) { .live-gauge { display: block; } .live-card { padding: 1.5rem; } }
/* ---------- Rich text: document style (policies, terms) ---------- */
.rt-updated { margin: 0 0 var(--s-6); color: var(--c-text-muted); font: 600 0.8125rem var(--font-mono); letter-spacing: 0.04em; }
.block-rich-text.rt-document { counter-reset: doc; padding-block-start: var(--s-4); }
.block-rich-text.rt-document > *, .rt-doc-body > * { max-inline-size: 46rem; }
.block-rich-text.rt-document > .rt-doc-layout { max-inline-size: none; }
:is(.block-rich-text.rt-document, .rt-doc-body) > p:first-of-type:not(.rt-updated) { color: var(--c-text-muted); font-size: 1.0625rem; font-weight: 500; line-height: 1.75; letter-spacing: 0; }
.block-rich-text.rt-document h2 { counter-increment: doc; display: flex; gap: 0.75rem; margin: var(--s-7) 0 var(--s-4); padding-block-start: var(--s-5); border-block-start: 1px solid var(--c-border); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.02em; }
.block-rich-text.rt-document h2::before { content: counter(doc, decimal-leading-zero); flex: none; padding-block-start: 0.2rem; color: var(--c-primary); font: 600 0.875rem var(--font-mono); }
.block-rich-text.rt-document h3 { margin: var(--s-5) 0 var(--s-2); font-size: 1.0625rem; letter-spacing: -0.01em; }
.block-rich-text.rt-document :is(p, li) { color: var(--c-text-muted); font-size: 1rem; line-height: 1.75; }
.block-rich-text.rt-document li { margin-block-end: var(--s-2); }
.block-rich-text.rt-document strong { color: var(--c-text); }
.block-rich-text.rt-document a { overflow-wrap: anywhere; }
/* "On this page": above the text on small screens, a sticky column beside it on wide ones. */
.rt-doc-layout { display: grid; gap: var(--s-6); }
.rt-toc { order: -1; padding: var(--s-4) var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-2); background: var(--c-surface); }
.rt-toc-title { margin: 0 0 var(--s-3); color: var(--c-text); font: 600 0.75rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.rt-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: var(--s-2); }
.rt-toc li { counter-increment: toc; display: flex; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.4; }
.rt-toc li::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--c-primary); font: 600 0.75rem / 1.6 var(--font-mono); }
.rt-toc a { color: var(--c-text-muted); text-decoration: none; }
.rt-toc a:hover, .rt-toc a:focus-visible { color: var(--c-primary); text-decoration: underline; }
@media (min-width: 64em) {
  .rt-doc-layout { grid-template-columns: minmax(0, 46rem) minmax(14rem, 18rem); justify-content: space-between; gap: var(--s-8); align-items: start; }
  .rt-toc { order: 0; position: sticky; inset-block-start: calc(var(--header-h) + var(--s-4)); max-block-size: calc(100vh - var(--header-h) - var(--s-7)); overflow-y: auto; }
}
