@charset "UTF-8";
:root {
  --ink: #f2f6fc;
  --muted: #b5c1d3;
  --primary: #53cce9;
  --primary-hover: #90e0f3;
  --mist: #162236;
  --mint: #223c53;
  --paper: #111b2b;
  --line: #33455e;
  --amber: #ffc89a;
  --amber-bg: #382a22;
  --accent: #ff9b50;
  --accent-hover: #ffb577;
  --surface: #1a2940;
  --deep: #0c1422;
  --on-accent: #111b2b;
  --button-text: #111b2b;
  color-scheme: dark;
  --font: "Segoe UI", "PT Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Bahnschrift", "DIN Alternate", "Segoe UI", sans-serif;
}
.section-light {
  --ink: #253659;
  --muted: #59667b;
  --primary: #1b6580;
  --primary-hover: #144f67;
  --mist: #f2f5f9;
  --mint: #e4edf5;
  --paper: #fff;
  --line: #d5dfe9;
  --surface: #fff;
  --amber: #874f24;
  --amber-bg: #fff0e3;
  --button-text: #fff;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
.metrika-pixel { position: absolute; left: -9999px; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
html:has(#public-home) { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 650; }
h1 { letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.018em; }
.public-page h1, .public-page h2 { font-family: var(--display); font-weight: 600; }
p { max-width: 72ch; }
a { color: var(--primary); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
button, a, input, select, summary, [tabindex] { outline-offset: 4px; }
:focus-visible { outline: 3px solid #53cce9; }
.section-light :focus-visible { outline-color: var(--primary); }
[hidden] { display: none !important; }
img { max-width: 100%; }
svg { display: block; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--surface); padding: 12px; }
.skip-link:focus { top: 12px; }
.public-page main:focus { outline: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 24px; letter-spacing: -.035em; white-space: nowrap; }
.brand img { filter: hue-rotate(42deg) saturate(.65); border-radius: 10px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; font-weight: 600; font-size: 15px; line-height: 1.4; text-decoration: none; text-align: center; }
.button-primary { color: var(--button-text); background: var(--primary); }
.button-primary:hover:not(:disabled) { background: var(--primary-hover); }
.button-accent { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.button-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-accent svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.button-outline { border-color: #617591; color: var(--ink); background: var(--surface); }
.button-outline:hover { background: var(--mist); }
.button-light { color: var(--ink); background: var(--surface); }
.button-light:hover { background: var(--mint); }
.text-link { display: inline-block; padding-block: 12px; font-weight: 600; }
.text-button { padding: 10px 0; background: none; border: 0; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.caption { color: var(--muted); font-size: 13px; line-height: 1.6; }
.pill { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #40536f; border-radius: 6px; font-size: 11px; line-height: 1.5; background: var(--surface); color: var(--muted); font-weight: 600; }
.company-monogram { width: 42px; height: 42px; border: 1px solid #465c7b; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #223c53; font-size: 24px; font-weight: 600; flex-shrink: 0; }
.receipt-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #203d35; color: #91dfb8; font-size: 18px; flex-shrink: 0; }
.chart-guide { stroke: var(--line); stroke-width: 1; fill: none; }
.section-kicker { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 15px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); padding-block: 5px; }
details p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Public homepage only. One geometry: square corners, hairline rules, flat colour, no shadows or glows. */
/* Onest 5.3.1 variable (OFL-1.1, fonts/OFL.txt), self-hosted Google Fonts subsets; latin-ext carries the rouble sign. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/onest-latin-ext-wght-normal.woff2") format("woff2"); 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: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/onest-latin-wght-normal.woff2") format("woff2"); 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; }
#public-home { --font: "Onest", "Segoe UI", "PT Sans", -apple-system, BlinkMacSystemFont, sans-serif; --display: "Onest", "Segoe UI", sans-serif; font-family: var(--font); }
#public-home h2 { letter-spacing: -.025em; }
#public-home h3 { letter-spacing: -.01em; }
#public-home .brand { letter-spacing: -.02em; }
#public-home .button { border-radius: 0; }
#public-home :is(.preview-numbers strong, .interest-visual strong, .example-total strong, .stat-kpis dd, .row-number, .cell-index) { font-variant-numeric: proportional-nums; }
#public-home .button-accent svg { stroke-width: 2; stroke-linecap: round; }
#public-home .pill { border-radius: 0; }
.button-large { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.button-ghost { color: var(--ink); border-color: rgba(83, 204, 233, .6); background: transparent; }
.button-ghost:hover { border-color: var(--primary); background: rgba(83, 204, 233, .1); }
#public-home .section-kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 16px; }
#public-home .section-kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }

.site-header-bar { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header { min-height: 76px; display: flex; align-items: center; gap: 36px; }
.site-nav { display: flex; margin-left: auto; gap: 28px; }
.site-nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding-block: 12px; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .button { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.header-login { background: transparent; }

.hero-section { background: var(--paper); }
.hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 48px; padding-block: 80px 96px; align-items: center; }
.hero-intro { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--primary); }
.hero-intro::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }
.hero h1 { font-size: clamp(42px, 3.6vw, 52px); line-height: 1.1; margin-block: 24px; letter-spacing: -.03em; }
.hero-accent { color: var(--primary); }
.hero-description { font-size: 19px; line-height: 1.62; color: #c9d4e3; max-width: 500px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-proof { list-style: none; margin: 40px 0 0; padding: 0; max-width: 520px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-proof li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.hero-proof a { color: var(--muted); text-decoration-color: rgba(181, 193, 211, .5); }
.hero-proof a:hover { color: var(--ink); }
.hero-preview { position: relative; background: var(--surface); border: 1px solid #3a5272; padding: 24px 26px 22px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; color: #c1cee0; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #2d425d; }
.preview-demo-link { background: var(--accent); color: var(--on-accent); font-size: 12px; padding: 6px 12px; font-weight: 650; text-decoration: none; }
.preview-demo-link:hover { background: var(--accent-hover); }
.hero-preview :focus-visible { outline-color: var(--accent); }
.stage-content :focus-visible { outline-color: var(--ink); }
.preview-company { display: flex; gap: 12px; align-items: center; }
.preview-company strong { font-size: 19px; color: var(--ink); }
.preview-company div > span { display: block; font-size: 12px; color: #c1cee0; margin-top: 2px; }
.preview-company .company-monogram { background: transparent; color: var(--accent); border-color: #637e9c; border-radius: 0; }
.preview-track { position: relative; margin-top: 24px; }
.preview-track::before { content: ""; position: absolute; width: 1px; top: 16px; bottom: 34px; left: 14px; background: #4a6584; }
.preview-stage { display: grid; grid-template-columns: 29px minmax(0, 1fr); column-gap: 16px; position: relative; }
.preview-stage + .preview-stage { margin-top: 18px; }
.stage-mark { display: flex; width: 29px; height: 29px; border: 1px solid #6584a1; background: var(--surface); color: var(--ink); justify-content: center; align-items: center; font-family: var(--display); font-size: 14px; font-weight: 600; }
.stage-check .stage-mark { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.stage-content { min-width: 0; }
.stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 29px; margin-bottom: 10px; }
.stage-heading strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.stage-heading > span { font-size: 11px; color: #c1cee0; }
.stage-data .stage-content { background: var(--paper); border: 1px solid #2b405c; padding: 15px 19px 12px; }
.stage-data .stage-heading { margin-bottom: 0; min-height: 22px; }
.stage-data .stage-heading > span { color: var(--muted); }
.preview-numbers { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.preview-numbers span { display: block; font-size: 12px; color: var(--muted); }
.preview-numbers strong { font-size: 32px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.preview-numbers small { font-size: 22px; }
.hero-chart { width: 100%; height: auto; margin-top: 12px; }
.chart-fill { fill: rgba(83, 204, 233, .13); }
.chart-line { stroke: var(--primary); stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.chart-highlight { fill: var(--accent); }
.preview-signal { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: var(--amber-bg); border-left: 3px solid var(--accent); }
.preview-signal strong { font-size: 13px; line-height: 1.4; display: block; }
.preview-signal p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.preview-signal a { font-size: 12px; margin-left: auto; padding: 10px 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.preview-receipt { display: flex; gap: 13px; padding: 14px 16px; background: #1e3a3a; border: 1px solid #2f5a51; align-items: center; }
.preview-receipt strong { font-size: 14px; display: block; }
.preview-receipt p, .receipt-time { font-size: 12px; color: #c3d6d6; }
.receipt-time { margin-left: auto; }
.preview-note { font-size: 11px; color: #c1cee0; margin-top: 20px; padding-left: 45px; }

.flow-strip { background: var(--mist); border-block: 1px solid var(--line); }
.flow-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 34px 30px; }
.flow-title { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-list li { position: relative; min-width: 0; padding-top: 18px; border-top: 2px solid #a3b5c8; }
.flow-list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--primary); }
.flow-list .flow-final::before { background: var(--accent); }
.flow-list a { display: block; padding-right: 20px; text-decoration: none; }
.flow-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.flow-list strong { display: block; font-size: 15px; line-height: 1.35; color: var(--ink); }
.flow-list small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }

.section { padding-block: 104px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 48px; align-items: end; }
.section-heading > p { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.feature-cell { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-cell:nth-child(3n+1) { padding-left: 0; }
.feature-cell:nth-child(3n) { padding-right: 0; border-right: 0; }
.cell-index { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.feature-cell h3 { font-size: 20px; }
.feature-cell .cell-text { flex: 1; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.feature-sample { align-self: stretch; margin-top: 18px; padding: 10px 12px; background: var(--mist); border-left: 2px solid var(--accent); font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.feature-sample span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.feature-cell > a:not(.button) { margin-top: 14px; padding-block: 4px; font-size: 14px; font-weight: 600; }
.feature-grid .feature-cta { justify-content: space-between; gap: 14px; padding: 28px; background: #15243a; border-bottom-color: #15243a; }
.feature-cta .feature-cta-kicker { color: #ff9b50; font-size: 14px; font-weight: 600; }
.feature-cta .feature-cta-title { color: #f2f6fc; font-family: var(--display); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.feature-cta .feature-cta-note { flex: 1; color: #c1cee0; font-size: 14px; }
.feature-cta .button { color: #111b2b; }
.feature-cta :focus-visible { outline-color: #53cce9; }
.section-footnote { font-size: 13px; color: var(--muted); max-width: 850px; margin-top: 28px; }

.statistics-section { background: var(--mist); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.body-copy { color: var(--muted); margin-block: 22px; font-size: 17px; }
.stat-example { background: var(--surface); padding: 30px 32px; border: 1px solid var(--line); border-top: 3px solid var(--primary); }
.example-caption strong, .example-caption span { display: block; }
.example-caption strong { font-size: 17px; }
.example-caption span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border-block: 1px solid var(--line); }
.stat-kpis > div { min-width: 0; padding: 12px 14px; border-left: 1px solid var(--line); }
.stat-kpis > div:first-child { padding-left: 0; border-left: 0; }
.stat-kpis dt { font-size: 12px; color: var(--muted); }
.stat-kpis dd { font-size: 20px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.campaign-bars > div { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin-top: 24px; font-size: 14px; }
.campaign-bars dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.campaign-bar { grid-column: 1 / -1; display: block; height: 8px; background: var(--primary); }
.campaign-bar-large { width: 100%; }
.campaign-bar-small { width: 50%; background: var(--accent); }
.example-total { border-top: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; padding-block: 18px; margin-top: 28px; }
.example-total strong { font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.numbered-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.numbered-row li { min-width: 0; padding: 24px 32px 8px 0; }
.numbered-row li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.row-number { display: block; margin-bottom: 22px; font-family: var(--display); font-size: 48px; font-weight: 600; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.lead-journey h3 { font-size: 20px; }
.numbered-row p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.inline-callout { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 40px; padding: 22px 26px; background: var(--mist); border-left: 3px solid var(--accent); }
.inline-callout p { max-width: 720px; font-size: 17px; font-weight: 600; color: var(--ink); }
.inline-callout .button { flex-shrink: 0; }

.interest-section { background: #15243a; }
.interest-visual { padding: 30px 36px; background: var(--surface); border: 1px solid var(--line); max-width: 470px; }
.interest-visual > div { display: flex; align-items: baseline; gap: 22px; border-bottom: 1px solid var(--line); padding-block: 18px; }
.interest-visual strong { font-size: 40px; width: 100px; flex-shrink: 0; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.interest-visual > div:nth-of-type(2) strong { color: var(--primary); }
.interest-visual > div:nth-of-type(3) strong { color: var(--accent); }
.interest-visual > div > span { font-size: 15px; color: var(--muted); }
.interest-visual > p { font-size: 13px; color: var(--muted); margin-top: 20px; }

.agency-example { min-width: 0; padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary); }
.agency-mini { margin-top: 18px; font-size: 14px; }
.agency-mini th { padding: 10px 12px; background: transparent; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--ink); }
.agency-mini td { padding: 14px 12px; font-variant-numeric: tabular-nums; }
.agency-mini td:first-child { font-weight: 600; }
.agency-mini tbody tr:last-child td { border-bottom: 0; }
.agency-mini .agency-site { color: var(--muted); }
.agency-mini .agency-cost { text-align: right; font-weight: 600; }
.no-data { display: inline-block; padding: 2px 8px; background: var(--amber-bg); color: var(--amber); font-size: 12px; font-weight: 600; }
.agency-example .caption { margin-top: 14px; }

.start-section { background: var(--mist); }
.start-steps strong { display: block; font-size: 20px; line-height: 1.3; }
.start-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }

.principles-section { background: var(--deep); color: var(--ink); }
.principles-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.principles-intro .section-kicker { color: var(--accent); }
.principles-intro > p:not(.section-kicker) { color: #c1cee0; margin-top: 24px; max-width: 380px; font-size: 17px; }
.principles-intro .button { margin-top: 32px; }
.principles-section :focus-visible { outline-color: var(--ink); }
.principles-list { border-top: 1px solid #5d7594; }
.principles-list article { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 28px; padding-block: 24px; border-bottom: 1px solid #2b405c; }
.principles-list h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.principles-list p { color: #c1cee0; font-size: 15px; }

.faq-intro { color: var(--muted); margin-top: 22px; font-size: 16px; max-width: 320px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; align-items: start; }
.faq-section > div:first-child { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-block: 18px; font-size: 17px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; content: "+" / ""; flex-shrink: 0; width: 18px; text-align: center; font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1; color: var(--primary); }
.faq-list details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.faq-list summary:hover { color: var(--primary); }
.faq-list details p { margin: -4px 0 0; padding-bottom: 22px; max-width: 64ch; font-size: 15px; }

.closing-band { background: var(--accent); color: var(--on-accent); }
.closing-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 72px; color: var(--on-accent); }
.closing-section h2 { font-size: clamp(30px, 3.4vw, 44px); }
.closing-section p { color: var(--on-accent); margin-top: 18px; max-width: 580px; font-size: 17px; }
.closing-section .button { flex-shrink: 0; min-height: 54px; padding: 14px 26px; font-size: 16px; }
.closing-section .button-light { color: #f2f6fc; background: var(--deep); }
.closing-section .button-light:hover { background: #243953; }
.closing-band :focus-visible { outline-color: var(--deep); }
.site-footer { padding-block: 45px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer .brand { font-size: 20px; }
.site-footer p { font-size: 12px; color: var(--muted); }
.site-footer p strong { color: var(--ink); font-weight: 550; }
.site-footer > div { display: flex; gap: 23px; font-size: 13px; }

/* Public sandbox: separate from the authenticated application's CSS and scripts. */
.demo-public-page { background: var(--mist); }
.demo-topbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 17px 28px; display: flex; gap: 32px; align-items: center; }
.demo-topbar .brand { font-size: 23px; }
.demo-topbar > p { margin-left: auto; font-size: 12px; }
.demo-topbar > p strong { display: block; color: var(--primary); font-size: 13px; }
.demo-topbar > p span { color: var(--muted); }
.demo-topbar .button { font-size: 13px; min-height: 44px; padding: 10px 16px; }
.demo-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: calc(100dvh - 82px); }
.demo-sidebar { padding: 28px 16px 20px; border-right: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.demo-business { display: flex; gap: 10px; align-items: center; padding: 0 6px 24px; }
.demo-business .company-monogram { width: 34px; height: 34px; font-size: 20px; border-radius: 8px; }
.demo-business strong { font-size: 13px; }
.demo-business div > span { display: block; font-size: 10px; color: var(--muted); }
.demo-nav { display: flex; flex-direction: column; gap: 5px; }
.demo-nav a { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 13px; padding: 13px 12px; border-radius: 7px; min-height: 47px; font-weight: 500; }
.demo-nav a[aria-current=page] { background: #223c53; color: #7fdcf0; font-weight: 650; }
.demo-nav a:hover { background: var(--mist); }
.demo-sidebar-bottom { padding: 28px 10px 0; margin-top: auto; }
.demo-sidebar-bottom p { font-size: 11px; color: var(--muted); }
.demo-sidebar-bottom a { font-size: 12px; display: block; padding-top: 14px; }
.demo-sidebar-bottom .text-button { font-size: 12px; }
.demo-workspace { padding: 26px 40px 20px; width: 100%; max-width: 1430px; margin-inline: auto; min-width: 0; }
.demo-notice { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 30px; }
.demo-notice .pill { white-space: nowrap; background: var(--accent); border: 0; color: var(--on-accent); }
.demo-notice p { font-size: 12px; color: var(--muted); }
.demo-page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 26px; margin-bottom: 28px; }
.demo-page-heading .section-kicker { font-size: 12px; margin-bottom: 10px; }
.demo-page-heading h1 { font-size: 36px; line-height: 1.15; }
.demo-page-heading h1:focus { outline: none; }
.demo-page-heading p:not(.section-kicker) { font-size: 13px; color: var(--muted); margin-top: 11px; }
.demo-page-heading > .pill { flex-shrink: 0; margin-top: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 30px; border-block: 1px solid var(--line); padding-block: 22px; gap: 22px; }
.metric-grid > div { border-right: 1px solid var(--line); min-width: 0; }
.metric-grid > div:last-child { border: 0; }
.metric-grid dt { font-size: 12px; color: var(--muted); }
.metric-grid dd { font-size: 39px; font-weight: 600; letter-spacing: -.045em; line-height: 1.4; font-variant-numeric: tabular-nums; }
.metric-grid dd small { font-size: 24px; }
.metric-grid > div > span { font-size: 11px; color: var(--muted); }
.surface { padding: 26px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); min-width: 0; }
.surface h2, .demo-explainer h2 { font-size: 22px; letter-spacing: -.025em; }
.surface > p { font-size: 14px; color: var(--muted); margin-top: 15px; }
.surface-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.surface-heading > span { color: var(--muted); font-size: 12px; }
.overview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.surface-heading .attention-number { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--amber-bg); color: var(--amber); border-radius: 7px; font-weight: 600; }
.overview-row { display: flex; gap: 12px; align-items: center; text-decoration: none; padding-block: 18px; border-bottom: 1px solid var(--line); }
.overview-row strong { color: var(--ink); font-size: 13px; display: block; }
.overview-row div > span { color: var(--muted); font-size: 12px; display: block; }
.overview-row > span:last-child { margin-left: auto; }
.overview-attention > .button { margin-top: 22px; font-size: 13px; }
.overview-try { background: #382a22; border: 0; border-top: 3px solid var(--accent); padding: 30px; }
.overview-try > .button { margin-top: 22px; font-size: 13px; }
.overview-try > .caption { font-size: 12px; }
.status-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.status-dot.warning { background: #ffad67; }
.demo-explainer { margin-top: 30px; padding-block: 25px; border-top: 1px solid var(--line); }
.demo-explainer h2 { font-size: 18px; }
.demo-explainer p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.demo-profile { border-left: 3px solid var(--primary); padding: 0 0 0 16px; margin-bottom: 25px; }
.demo-profile strong { font-size: 13px; }
.demo-profile p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.demo-toolbar { display: flex; align-items: end; gap: 18px; flex-wrap: wrap; margin-block: 22px; }
.demo-toolbar > label { flex: 1; min-width: 190px; }
label { display: block; font-size: 12px; font-weight: 600; }
input[type=text], input[type=search], input:not([type]), select { display: block; margin-top: 7px; width: 100%; padding: 11px 12px; border: 1px solid #617591; border-radius: 7px; min-height: 44px; background: var(--surface); color: var(--ink); font-size: 14px; min-width: 0; }
input::placeholder { color: #b0bed1; }
.demo-toolbar > .checkbox-label { flex: 0 1 auto; min-width: auto; display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 10px; font-size: 12px; color: var(--muted); }
.result-heading .text-button { font-size: 12px; }
.recommendation { padding: 24px; margin-top: 15px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid #ff9b50; border-radius: 9px; }
.recommendation.is-hidden { border-left-color: #6f7f96; background: #152238; }
.recommendation-top { display: flex; align-items: center; gap: 15px; justify-content: space-between; margin-bottom: 13px; }
.recommendation h2 { font-size: 20px; letter-spacing: -.025em; }
.recommendation > p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.recommendation-label { font-size: 11px; color: var(--muted); }
.status-badge { display: inline-block; font-size: 11px; padding: 5px 9px; border-radius: 5px; font-weight: 600; line-height: 1.5; }
.status-badge.warning { color: var(--amber); background: var(--amber-bg); }
.status-badge.success { color: #91dfb8; background: #203d35; }
.status-badge.neutral { color: #c2cddd; background: #283950; }
.recommendation details { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.recommendation summary { font-size: 13px; color: var(--primary); }
.evidence-list { list-style: none; margin: 18px 0; padding: 0; display: flex; gap: 30px; flex-wrap: wrap; }
.evidence-list li { font-size: 11px; color: var(--muted); }
.evidence-list strong { display: block; font-size: 20px; font-weight: 600; color: var(--ink); }
.recommendation details p { font-size: 13px; }
.recommendation .next-step { color: var(--ink); background: var(--mist); padding: 12px 15px; border-radius: 5px; }
.recommendation .text-button { font-size: 12px; }
.demo-footnote { font-size: 12px; color: var(--muted); margin-top: 23px; max-width: 850px; }
.demo-empty { padding: 35px 24px; background: var(--surface); border: 1px dashed #617591; border-radius: 10px; }
.demo-empty p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.segmented { display: flex; padding: 3px; border: 1px solid #617591; border-radius: 8px; flex-shrink: 0; background: var(--surface); }
.segmented button { background: transparent; color: var(--muted); border: 0; border-radius: 5px; min-height: 38px; padding: 8px 15px; font-size: 13px; }
.segmented button[aria-pressed=true] { color: var(--on-accent); background: var(--primary); }
.stats-extra { display: flex; gap: 32px; margin: -9px 0 25px; font-size: 13px; color: var(--muted); }
.stats-extra strong { color: var(--ink); }
.chart-surface { margin-bottom: 22px; }
#demo-chart { margin-block: 22px; }
#demo-chart svg { width: 100%; height: auto; max-height: 255px; }
.chart-bar { fill: var(--primary); }
.chart-axis { font-size: 12px; fill: var(--muted); }
.chart-bar:hover { fill: #91e1f3; }
.data-details { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 10px; font-size: 13px; }
.data-details summary { color: var(--primary); }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 15px 13px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; font-size: 11px; color: var(--muted); background: #152238; }
td { font-variant-numeric: tabular-nums; }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
.table-surface h2 { margin-bottom: 20px; }
.delivery-explainer { display: flex; align-items: center; gap: 17px; padding: 21px; background: #1b3432; border-radius: 9px; }
.delivery-explainer strong { font-size: 14px; }
.delivery-explainer p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.demo-toolbar > p { font-size: 12px; color: var(--muted); padding-block: 10px; flex: 1; }
.demo-lead { display: grid; grid-template-columns: 110px 1fr 1.6fr 150px 14px; align-items: center; gap: 18px; width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 9px; padding: 19px; margin-bottom: 10px; text-align: left; }
.demo-lead:hover { border-color: #73bbd4; }
.demo-lead > span:first-child { font-size: 11px; color: var(--muted); }
.demo-lead strong { font-size: 14px; display: block; }
.demo-lead .lead-phone { font-size: 11px; color: var(--muted); }
.demo-lead .lead-question { font-size: 12px; color: var(--muted); }
.form-playground { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.form-options > label { margin-top: 26px; }
.form-options > .caption { margin-top: 22px; }
.color-options { border: 0; border-top: 1px solid var(--line); margin: 26px 0 0; padding: 14px 0 0; }
.color-options legend { font-size: 12px; font-weight: 600; padding-right: 10px; }
.color-options label { display: flex; align-items: center; gap: 8px; padding-block: 6px; font-weight: 400; }
.form-site-preview { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #152238; min-height: 635px; }
.mock-site-header { display: flex; align-items: center; gap: 8px; }
.mock-site-header .company-monogram { width: 25px; height: 25px; font-size: 14px; border-radius: 6px; }
.mock-site-header strong { font-size: 11px; }
.mock-site-header > span:last-child { font-size: 9px; color: var(--muted); margin-left: auto; }
.mock-site-content { padding: 28px 8px; }
.mock-site-content p { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.mock-site-content > span { font-size: 11px; color: var(--muted); }
.sample-form { background: var(--surface); padding: 24px; border-radius: 10px; position: relative; }
.sample-form h2 { font-size: 23px; overflow-wrap: anywhere; padding-right: 10px; }
.sample-form > p { font-size: 12px; color: var(--muted); margin-top: 10px; }
.sample-field { margin-top: 18px; font-size: 12px; }
.sample-field > span { display: block; font-weight: 600; }
.sample-field > div { background: #111b2b; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; padding: 11px; margin-top: 6px; font-size: 12px; }
.sample-form .sample-consent { font-size: 10px; margin-top: 15px; }
.sample-form .button { width: 100%; font-size: 13px; margin-top: 18px; padding-inline: 12px; }
.sample-form .caption { font-size: 10px; text-align: center; }
.theme-teal { --button-text: #fff; --primary: #007e7c; --primary-hover: #006461; }
.theme-blue { --button-text: #fff; --primary: #245f9b; --primary-hover: #1c4b7b; }
.theme-plum { --button-text: #fff; --primary: #794c79; --primary-hover: #603960; }
#demo-launcher { margin: 20px 0 0 auto; display: flex; border-radius: 28px; font-size: 12px; }
.form-close { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border: 0; background: var(--surface); color: var(--muted); font-size: 22px; border-radius: 6px; }
.form-result { background: #1b3432; border: 1px solid #42685b; padding: 22px; margin-top: 25px; border-radius: 9px; }
.form-result p { font-size: 13px; color: var(--muted); margin-block: 8px 16px; }
.form-result .text-button { margin-left: 20px; }
.goal-row { display: flex; align-items: center; gap: 24px; justify-content: space-between; padding-top: 23px; margin-top: 23px; border-top: 1px solid var(--line); }
.goal-row strong { font-size: 15px; }
.goal-row p { font-size: 13px; color: var(--muted); margin-top: 7px; max-width: 530px; }
.goal-row .status-badge { flex-shrink: 0; }
.interest-example { margin-top: 24px; }
.demo-workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 35px; font-size: 11px; color: var(--muted); }
.demo-dialog { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 14px; width: 550px; max-width: calc(100% - 28px); max-height: calc(100dvh - 40px); padding: 30px; }
.demo-dialog::backdrop { background: #050b17b3; }
.dialog-heading { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.dialog-heading h2 { font-size: 25px; }
.dialog-close { background: var(--mist); color: var(--muted); border: 0; border-radius: 8px; width: 42px; min-height: 42px; font-size: 25px; }
#demo-lead-detail > p { font-size: 14px; margin-top: 18px; }
#demo-lead-detail > .status-badge { margin-top: 24px; }
.demo-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #2b415c; color: var(--ink); font-size: 13px; padding: 13px 20px; border-radius: 8px; z-index: 30; max-width: calc(100vw - 32px); width: max-content; }

/* Public demo: homepage geometry and Onest. The sample client form keeps the widget's own rounded look. */
.demo-public-page { --font: "Onest", "Segoe UI", "PT Sans", -apple-system, BlinkMacSystemFont, sans-serif; --display: "Onest", "Segoe UI", sans-serif; }
.demo-public-page h1 { letter-spacing: -.03em; }
.demo-public-page h2, .demo-public-page h3 { letter-spacing: -.015em; }
.demo-topbar .brand { letter-spacing: -.02em; }
.demo-public-page .button, .demo-public-page .pill, .demo-public-page .surface, .demo-public-page .recommendation,
.demo-public-page .status-badge, .demo-public-page .segmented, .demo-public-page .segmented button, .demo-public-page .demo-empty,
.demo-public-page .demo-lead, .demo-public-page .delivery-explainer, .demo-public-page .form-result, .demo-public-page .demo-dialog,
.demo-public-page .dialog-close, .demo-public-page .demo-toast, .demo-public-page .demo-nav a, .demo-public-page .next-step,
.demo-public-page .attention-number, .demo-public-page .form-site-preview, .demo-business .company-monogram, .demo-public-page .status-dot,
.demo-public-page input[type=text], .demo-public-page input[type=search], .demo-public-page input:not([type]), .demo-public-page select { border-radius: 0; }
.demo-public-page .sample-form .button { border-radius: 8px; }
.demo-public-page .chart-bar { rx: 0; }
.demo-public-page .demo-nav a { border-left: 3px solid transparent; padding-left: 13px; }
.demo-public-page .demo-nav a[aria-current=page] { background: #1f324b; color: var(--ink); border-left-color: var(--accent); }
.demo-public-page .demo-nav a:hover { color: var(--ink); }
.demo-public-page .metric-grid dd { letter-spacing: -.02em; font-variant-numeric: proportional-nums; }
.demo-public-page .demo-notice .pill { font-size: 12px; }
.demo-public-page .overview-try { border-top-width: 3px; }
.demo-public-page .delivery-explainer { border-left: 3px solid #4f8f78; }

@media (min-width: 1600px) { .demo-workspace { padding-inline: 60px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { gap: 28px; }
  .site-nav { gap: 22px; }
  .hero { gap: 40px; padding-block: 64px 80px; }
  .hero h1 { font-size: 44px; }
  .hero-description { font-size: 17px; }
  .hero-preview { padding: 22px; }
  .preview-signal { flex-wrap: wrap; }
  .preview-signal a { padding-block: 0; }
  .flow-layout { grid-template-columns: 1fr; gap: 22px; }
  .flow-title br { display: none; }
  .section-heading, .split-section { gap: 48px; }
  .stat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-kpis > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .agency-mini .agency-site { display: none; }
  .principles-layout { gap: 56px; }
  .principles-list article { grid-template-columns: 1fr; gap: 8px; }
  .demo-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .demo-sidebar { padding-inline: 10px; }
  .demo-workspace { padding-inline: 25px; }
  .demo-nav a { font-size: 12px; padding-inline: 10px; }
  .demo-topbar > p > span { display: none; }
  .demo-lead { grid-template-columns: 95px 1fr 145px 10px; gap: 12px; }
  .demo-lead .lead-question { display: none; }
  .overview-grid { gap: 18px; grid-template-columns: 1fr 1fr; }
  .surface { padding: 22px; }
  .form-playground { gap: 22px; }
  .form-site-preview { padding: 16px; }
  .sample-form { padding: 20px; }
  .goal-row { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 1100px) {
  .header-demo { display: none; }
}
@media (max-width: 900px) {
  .site-header { gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .header-actions .header-login { font-size: 12px; padding: 10px 14px; min-height: 42px; }
  .brand { font-size: 22px; }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { max-width: 660px; }
  .hero-description { max-width: 610px; font-size: 18px; }
  .hero-visual { max-width: 620px; width: 100%; justify-self: center; }
  .hero-preview { padding: 28px; }
  .preview-signal { flex-wrap: nowrap; }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .section { padding-block: 76px; }
  .section-heading { gap: 35px; }
  .split-section { gap: 35px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-cell:nth-child(3n+1), .feature-cell:nth-child(3n) { padding: 26px 28px 30px; border-right: 1px solid var(--line); }
  .feature-cell:nth-child(2n+1) { padding-left: 0; }
  .feature-cell:nth-child(2n) { padding-right: 0; border-right: 0; }
  .numbered-row { grid-template-columns: 1fr; }
  .numbered-row li, .numbered-row li + li { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .numbered-row li > :not(.row-number) { grid-column: 2; }
  .row-number { grid-row: 1 / span 2; margin: 0; font-size: 40px; }
  .numbered-row p { margin-top: 6px; }
  .interest-visual { padding: 25px; }
  .interest-visual > div { gap: 12px; }
  .interest-visual strong { font-size: 34px; width: 78px; }
  .interest-visual > div > span { font-size: 13px; }
  .stat-example { padding: 25px; }
  .principles-layout { grid-template-columns: 1fr; gap: 40px; }
  .principles-list article { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 28px; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .faq-section > div:first-child { position: static; }
  .closing-section { padding-block: 56px; gap: 30px; }
  .closing-section h2 { font-size: 33px; }
  .demo-shell { grid-template-columns: minmax(0, 1fr); }
  .demo-sidebar { border-right: 0; padding: 14px 22px 0; }
  .demo-business { display: none; }
  .demo-nav { flex-direction: row; overflow-x: auto; padding: 0 3px 10px; gap: 4px; }
  .demo-nav a { flex-shrink: 0; white-space: nowrap; padding: 10px; font-size: 12px; }
  .demo-sidebar-bottom { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0 4px 10px; align-items: center; }
  .demo-sidebar-bottom p { display: none; }
  .demo-sidebar-bottom a { padding: 0; font-size: 11px; }
  .demo-sidebar-bottom .text-button { min-height: 30px; padding-block: 5px; font-size: 11px; }
  .demo-topbar { gap: 20px; padding-inline: 24px; }
  .demo-topbar > p { display: none; }
  .demo-topbar > .button { margin-left: auto; }
  .demo-workspace { padding: 22px 28px; }
  .demo-page-heading h1 { font-size: 32px; }
  .demo-public-page .demo-nav a { border-left: 0; border-bottom: 3px solid transparent; padding-left: 10px; }
  .demo-public-page .demo-nav a[aria-current=page] { border-bottom-color: var(--accent); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .site-header-bar { position: static; }
  .site-header { flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 17px 8px; }
  .site-header .brand { font-size: 22px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0; justify-content: space-between; gap: 14px; }
  .site-nav a { font-size: 13px; padding-block: 9px; }
  .site-nav a:nth-child(4) { display: none; }
  .header-actions .header-login { font-size: 12px; min-height: 42px; padding: 9px 12px; }
  .hero { padding-block: 40px 56px; gap: 40px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 46px); line-height: 1.1; margin-block: 20px 18px; }
  .hero-intro { font-size: 13px; }
  .hero-description { font-size: 16px; }
  .actions { gap: 10px; margin-top: 26px; }
  .actions .button { flex: 1 1 100%; }
  .hero-proof { margin-top: 28px; font-size: 13px; }
  .button { min-height: 46px; padding: 12px 18px; font-size: 14px; }
  .hero-preview { padding: 20px 18px; }
  .preview-heading { margin-bottom: 18px; padding-bottom: 14px; font-size: 12px; gap: 10px; }
  .preview-company strong { font-size: 18px; }
  .preview-company div > span { font-size: 11px; }
  .preview-stage { grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; }
  .stage-mark { width: 26px; height: 26px; font-size: 13px; }
  .preview-track::before { left: 12.5px; }
  .stage-heading { min-height: 26px; }
  .stage-heading strong { font-size: 13px; }
  .stage-data .stage-content { padding: 12px; }
  .stage-data .stage-heading { align-items: flex-start; gap: 4px; flex-direction: column; }
  .preview-numbers strong { font-size: 29px; }
  .preview-numbers span { font-size: 11px; }
  .preview-numbers small { font-size: 19px; }
  .preview-signal { gap: 7px; padding: 12px; flex-wrap: wrap; }
  .preview-signal strong { font-size: 12px; }
  .preview-signal p { font-size: 11px; }
  .preview-signal a { font-size: 12px; margin-left: 0; padding-block: 5px; }
  .preview-receipt { padding: 13px; gap: 10px; }
  .preview-receipt strong { font-size: 13px; }
  .receipt-time { display: none; }
  .preview-note { font-size: 11px; padding-left: 36px; }
  .flow-layout { padding-block: 26px 24px; gap: 20px; }
  .flow-title { font-size: 14px; }
  .flow-list { column-gap: 0; row-gap: 22px; }
  .flow-list a { padding-right: 12px; }
  .flow-list strong { font-size: 14px; }
  .flow-list small { font-size: 12px; }
  .section { padding-block: 56px; }
  .section-heading, .split-section { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p, .body-copy { font-size: 15px; }
  .section-kicker { font-size: 12px; margin-bottom: 12px; }
  #public-home .section-kicker { font-size: 13px; margin-bottom: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cell:nth-child(n) { padding: 24px 0 26px; border-right: 0; }
  .cell-index { margin-bottom: 12px; }
  .feature-cell h3 { font-size: 19px; }
  .feature-cell .cell-text { font-size: 14px; }
  .feature-sample { font-size: 13px; }
  .feature-grid .feature-cta { padding: 24px 22px; margin-top: 24px; }
  .feature-cta .feature-cta-title { font-size: 22px; }
  .section-footnote { font-size: 12px; margin-top: 24px; }
  .body-copy { margin-block: 16px; }
  .stat-example { padding: 22px 20px; }
  .stat-kpis dd { font-size: 18px; }
  .numbered-row li, .numbered-row li + li { grid-template-columns: 48px minmax(0, 1fr); padding: 20px 0; }
  .row-number { font-size: 34px; }
  .lead-journey h3, .start-steps strong { font-size: 18px; }
  .numbered-row p { font-size: 14px; }
  .inline-callout { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 20px; }
  .inline-callout p { font-size: 15px; }
  .inline-callout .button { width: 100%; }
  .interest-section .split-section > div:last-child { grid-row: 1; }
  .interest-visual { max-width: none; }
  .interest-visual > div > span { font-size: 14px; }
  .agency-example { padding: 20px 18px; }
  .agency-mini { font-size: 13px; }
  .start-actions { gap: 6px 20px; margin-top: 28px; }
  .start-actions .button { flex: 1 1 100%; }
  .principles-layout { gap: 32px; }
  .principles-list article { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .principles-list h3 { font-size: 18px; }
  .principles-list p { font-size: 14px; }
  .principles-intro > p:not(.section-kicker) { font-size: 15px; }
  .faq-intro { font-size: 14px; margin-top: 15px; }
  .faq-list summary { font-size: 15px; padding-block: 15px; gap: 12px; }
  .faq-list details p { font-size: 14px; padding-bottom: 18px; }
  .closing-section { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 44px; }
  .closing-section h2 { font-size: 31px; }
  .closing-section p { font-size: 15px; }
  .closing-section .button { width: 100%; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-block: 30px; }
  .site-footer p { flex-basis: 100%; order: 3; font-size: 11px; }
  .site-footer > div { gap: 18px; font-size: 12px; flex-wrap: wrap; }
  .demo-topbar { padding: 14px 16px; gap: 14px; }
  .demo-topbar .brand { font-size: 20px; gap: 7px; }
  .demo-topbar .brand img { width: 29px; height: 29px; }
  .demo-topbar > .button { font-size: 11px; padding: 9px 11px; max-width: 125px; }
  .demo-sidebar { padding-inline: 13px; }
  .demo-workspace { padding: 20px 16px; }
  .demo-notice { flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding-bottom: 18px; }
  .demo-notice p { font-size: 11px; }
  .demo-page-heading { flex-wrap: wrap; gap: 16px; }
  .demo-page-heading h1 { font-size: 29px; }
  .demo-page-heading p:not(.section-kicker) { font-size: 12px; }
  .demo-page-heading > .pill { margin: 0; }
  .metric-grid { grid-template-columns: 1fr; gap: 14px; padding-block: 16px; margin-bottom: 22px; }
  .metric-grid > div { border: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 15px; }
  .metric-grid > div:last-child { padding-bottom: 0; }
  .metric-grid dt { font-size: 12px; }
  .metric-grid dd { grid-row: 1 / 3; grid-column: 2; font-size: 31px; }
  .metric-grid dd small { font-size: 20px; }
  .metric-grid > div > span { grid-column: 1; font-size: 10px; }
  .overview-grid { grid-template-columns: 1fr; }
  .surface { padding: 21px; }
  .surface h2 { font-size: 21px; }
  .demo-toolbar { gap: 12px; }
  .demo-toolbar > label { flex-basis: 100%; min-width: 0; }
  .demo-toolbar > .checkbox-label { flex-basis: 100%; }
  .result-heading { align-items: flex-start; }
  .result-heading .text-button { max-width: 140px; text-align: right; padding-top: 0; }
  .recommendation { padding: 19px 17px; }
  .recommendation-top { gap: 10px; flex-wrap: wrap; }
  .recommendation h2 { font-size: 19px; }
  .recommendation-label, .status-badge { font-size: 10px; }
  .evidence-list { gap: 17px; }
  .evidence-list strong { font-size: 18px; }
  .stats-extra { gap: 16px; flex-wrap: wrap; font-size: 12px; }
  .surface-heading { align-items: flex-start; }
  .surface-heading > span { font-size: 10px; }
  .demo-lead { grid-template-columns: 1fr auto; padding: 16px; gap: 12px; }
  .demo-lead > span:first-child { grid-column: 1; font-size: 10px; }
  .demo-lead > span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .demo-lead .status-badge { grid-column: 2; grid-row: 2; max-width: 128px; }
  .demo-lead .lead-question { display: block; grid-column: 1 / -1; grid-row: 3; font-size: 11px; }
  .demo-lead > span:last-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .form-playground { grid-template-columns: 1fr; }
  .form-site-preview { max-width: 410px; width: 100%; margin-inline: auto; }
  .form-result .button { width: 100%; }
  .form-result .text-button { margin: 10px 0 0; }
  .demo-workspace-footer { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 10px; }
  .demo-dialog { padding: 22px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 30px); }
  .hero h1 { font-size: 31px; }
  .site-header .brand { font-size: 20px; gap: 7px; }
  .site-header .brand img { width: 30px; height: 30px; }
  .site-nav a { font-size: 12px; }
  .header-actions .header-login { font-size: 11px; padding-inline: 10px; }
  .hero-intro { font-size: 12px; }
  .hero-preview { padding: 16px; }
  .preview-heading { font-size: 11px; }
  .preview-numbers strong { font-size: 26px; }
  .preview-receipt strong { font-size: 12px; }
  .preview-receipt p { font-size: 11px; }
  .campaign-bars { font-size: 12px; }
  .stat-kpis > div { padding-inline: 10px; }
  .stat-kpis dd { font-size: 16px; }
  .closing-section { padding-block: 36px; }
  .demo-topbar { padding-inline: 12px; gap: 10px; }
  .demo-topbar .brand { font-size: 19px; }
  .demo-topbar > .button { max-width: 115px; font-size: 10px; }
  .demo-workspace { padding-inline: 12px; }
  .demo-lead .status-badge { max-width: 113px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
