/* MAP
 * §0 direction (why the site looks like this)
 * §1 tokens: light, dark by system, dark and light forced
 * §2 base: reset, type, links, focus, skip link
 * §3 layout: container, sections, grids, section heads
 * §4 components: buttons, fields, order form, chips, tags, cards, bubbles, details, tables
 * §5 header, navigation, theme toggle, footer
 * §6 page parts: hero, chat mock, reasons, thread, trades, findings, catalog, bundles, agent, steps, legal, contact, 404
 * §7 motion and reduced motion
 * §8 responsive
 */

/* §0 Direction [directii 16589-A], adapted to the brief.
 * Axes kept: rounded soft shapes, airy density, humanist sans titles, calm title scale, the first screen
 * dominated by the action (the order form), unequal columns. Moved with reason: the brief fixes violet as the
 * accent (close to the drawn indigo) with mint as the second colour and a lilac page tint instead of neutral grey.
 * Own graphic element: conversation. Section kickers are question bubbles, the answer is the heading; the hero
 * and the agent page show drawn chat threads; the sales ladder is a message thread. Flat fills, no gradients. */

/* §1 Tokens. Contrast pairs checked: text on bg and surface >= 4.5:1, borders >= 3:1 on bg and surface. */
:root {
  color-scheme: light;
  --bg: #f5f0fb;
  --surface: #fcfaff;
  --surface-2: #ece4f8;
  --border: #8a7aa3;
  --border-strong: #5b4a7a;
  --text: #231a35;
  --text-2: #463a5e;
  --text-3: #5f527a;
  --accent: #6a3dd1;
  --accent-hover: #5530b0;
  --accent-soft: #e6dcfa;
  --on-accent: #fbf8ff;
  --mint: #0b7a60;
  --mint-soft: #d2f3e8;
  --on-mint-soft: #0d4a3b;
  --danger: #a8283f;
  --danger-soft: #fbe3e7;
  --band: #2b1e48;
  --band-2: #3a2a5e;
  --on-band: #f2ecfb;
  --on-band-2: #d6cbea;
  --band-border: #8e7cb5;
  --shadow: 0 1px 0 rgba(35, 26, 53, 0.06), 0 8px 24px -12px rgba(35, 26, 53, 0.25);

  --font-title: "Seravek", "Gill Sans Nova", "Gill Sans", Ubuntu, Calibri, "DejaVu Sans", sans-serif;
  --font-body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --pill: 999px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #17112a;
    --surface: #211939;
    --surface-2: #2b2148;
    --border: #7d6aa6;
    --border-strong: #a996d0;
    --text: #efe9fb;
    --text-2: #d3c8e9;
    --text-3: #b2a5cf;
    --accent: #ad91ff;
    --accent-hover: #c2adff;
    --accent-soft: #35285c;
    --on-accent: #1a1030;
    --mint: #62e0bf;
    --mint-soft: #173f37;
    --on-mint-soft: #c4f5e6;
    --danger: #ff9aac;
    --danger-soft: #45202d;
    --band: #2a1f4b;
    --band-2: #35295c;
    --on-band: #f2ecfb;
    --on-band-2: #d6cbea;
    --band-border: #8e7cb5;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17112a;
  --surface: #211939;
  --surface-2: #2b2148;
  --border: #7d6aa6;
  --border-strong: #a996d0;
  --text: #efe9fb;
  --text-2: #d3c8e9;
  --text-3: #b2a5cf;
  --accent: #ad91ff;
  --accent-hover: #c2adff;
  --accent-soft: #35285c;
  --on-accent: #1a1030;
  --mint: #62e0bf;
  --mint-soft: #173f37;
  --on-mint-soft: #c4f5e6;
  --danger: #ff9aac;
  --danger-soft: #45202d;
  --band: #2a1f4b;
  --band-2: #35295c;
  --on-band: #f2ecfb;
  --on-band-2: #d6cbea;
  --band-border: #8e7cb5;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 10px 28px -14px rgba(0, 0, 0, 0.6);
}
[data-theme="light"] { color-scheme: light; }

/* §2 Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
  /* Short pages (404, thanks) keep the footer at the bottom of the window. */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--text); margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.05rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 50;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--pill);
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease-out);
}
.skip:focus { transform: translateY(0); color: var(--on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.small { font-size: 0.9375rem; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 60ch; }

/* §3 Layout */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.section { padding: 80px 0; }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--band { background: var(--band); color: var(--on-band); }
.section--band h2, .section--band h3 { color: var(--on-band); }
.section--band p { color: var(--on-band-2); }
.section--band a:not(.btn) { color: var(--on-band); }
.section--band .ask { color: var(--on-mint-soft); }
.section--band .chat { color: var(--text); }
.section--band .chat a:not(.btn) { color: var(--accent); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.sticky { position: sticky; top: 96px; }

.head { max-width: 46rem; margin-bottom: 40px; }
.head p { color: var(--text-2); }
.section--band .head p { color: var(--on-band-2); }
/* The question bubble: the section asks, the heading answers. */
.ask {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 8px 16px 8px 12px;
  background: var(--mint-soft); color: var(--on-mint-soft);
  border: 1px solid var(--mint); border-radius: 18px 18px 18px 4px;
  font: 600 0.9375rem/1.3 var(--font-body);
}
.ask svg { width: 18px; height: 18px; flex: none; }

/* §4 Components */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--pill);
  font: 650 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--text); }
.section--band .btn--ghost { color: var(--on-band); border-color: var(--band-border); }
.section--band .btn--ghost:hover { background: var(--band-2); color: var(--on-band); }
.btn--mint { background: var(--mint-soft); color: var(--on-mint-soft); border-color: var(--mint); }
.btn--mint:hover { background: var(--mint); color: var(--bg); }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.field .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 14px;
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color var(--t-fast);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a7aa3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 0.875rem; color: var(--text-3); margin: 0; }
.err { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-size: 0.9375rem; font-weight: 600; }
.err[hidden] { display: none; }

/* The order form is a card on every page; .order--bare drops the card when it sits inside one already. */
.order {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow);
}
.order--bare { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.order__row { display: flex; gap: 12px; align-items: stretch; }
.order__row .input { flex: 1 1 auto; min-width: 0; }
.order__row .btn { flex: none; }
.order__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.order .label { display: block; margin-bottom: 8px; }
.order__note { margin: 12px 0 0; font-size: 0.875rem; color: var(--text-3); }
.order__price { font-weight: 700; }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--text-2); }
.ticks .icon { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.2; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--pill);
  border: 1px dashed var(--border-strong); background: var(--surface-2); color: var(--text-2);
  font: 600 0.8125rem/1.3 var(--font-body);
}
.tag .icon { width: 14px; height: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--pill);
  background: var(--accent-soft); color: var(--text); border: 1px solid var(--border); font-size: 0.9375rem; font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }

.card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--text-2); }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px 16px 16px 4px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border);
}
.card__icon--mint { background: var(--mint-soft); color: var(--mint); }
.card__foot { margin-top: auto; padding-top: 8px; }
.num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--accent); color: var(--on-accent); font: 700 1.05rem/1 var(--font-title);
}

/* Bubbles: q = the visitor asks (right, accent), a = the assistant answers (left, raised surface). */
.bubble {
  max-width: 88%; padding: 12px 16px; border: 1.5px solid var(--border);
  font-size: 0.9875rem; line-height: 1.5;
}
.bubble p { margin: 0 0 6px; color: inherit; }
.bubble p:last-child { margin: 0; }
.bubble--q { align-self: flex-end; background: var(--accent); border-color: var(--accent); color: var(--on-accent); border-radius: 20px 20px 6px 20px; }
.bubble--a { align-self: flex-start; background: var(--surface-2); color: var(--text); border-radius: 20px 20px 20px 6px; }
.bubble--note { align-self: stretch; max-width: none; background: var(--danger-soft); border-color: var(--danger); color: var(--text); border-radius: 16px; display: flex; gap: 10px; align-items: flex-start; }
.bubble--note .icon { color: var(--danger); margin-top: 1px; }
.bubble--ok { background: var(--mint-soft); border-color: var(--mint); color: var(--on-mint-soft); }
.bubble ol { margin: 6px 0 0; padding-left: 1.2em; }
.bubble li { margin-bottom: 4px; }
.bubble li:last-child { margin-bottom: 0; }
.who { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.who--right { align-self: flex-end; }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 0; transition: border-color var(--t-fast);
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font: 650 1.0625rem/1.35 var(--font-title); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border);
  display: grid; place-items: center; font: 700 1.2rem/1 var(--font-body);
  transition: transform var(--t-mid) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--text-2); max-width: 68ch; }
.faq .answer p:last-child { margin: 0; }

.table-wrap { border: 1.5px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); font: 700 0.875rem/1.3 var(--font-body); color: var(--text-2); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 650; }
.sev { display: inline-block; padding: 2px 10px; border-radius: var(--pill); font-size: 0.8125rem; font-weight: 700; border: 1px solid currentColor; white-space: nowrap; }
.sev--crit { color: var(--danger); background: var(--danger-soft); }
.sev--high { color: var(--accent); background: var(--accent-soft); }
.sev--mid { color: var(--text-2); background: var(--surface-2); }

/* §5 Header, navigation, footer */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.top__in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 1.25rem/1 var(--font-title); }
.brand:hover { color: var(--text); }
.brand svg { width: 38px; height: 38px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--pill);
  color: var(--text); text-decoration: none; font-weight: 550;
}
.nav a:hover { background: var(--accent-soft); color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.top__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--surface); color: var(--text); border: 1.5px solid var(--border); cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--accent-soft); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-sun { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: block; }
  :root:not([data-theme="light"]) .theme-moon { display: none; }
}
.nav-toggle { display: none; }

.foot { background: var(--band); color: var(--on-band-2); padding: 56px 0 32px; font-size: 0.9375rem; }
.foot a { color: var(--on-band); }
.foot a:hover { color: var(--on-band); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 1rem; color: var(--on-band); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .brand { color: var(--on-band); margin-bottom: 12px; }
.foot__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--band-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot__legal p { margin: 0; }
.foot__legal:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.foot:has(> .wrap > .foot__legal:first-child) { padding: 28px 0; }

/* §6 Page parts */
.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero h1, .page-hero h1, .head h2 { text-wrap: balance; }
.hero .lead { margin-bottom: 28px; }
.kicker { display: inline-block; margin: 0 0 16px; font-weight: 650; color: var(--mint); font-size: 0.9375rem; letter-spacing: 0.02em; }
.page-hero { padding: 56px 0 64px; }
.page-hero h1 { max-width: 24ch; }

/* The drawn chat: a rounded panel, the label says it is an illustrative example. */
.chat {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1.5px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border); flex: none; }
.chat__avatar .icon { width: 20px; height: 20px; }
.chat__title { font-weight: 700; line-height: 1.2; }
.chat__title small { display: block; font-weight: 500; color: var(--text-3); font-size: 0.8125rem; }
.chat__bar .tag { margin-left: auto; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px; }
.chat__cap { margin: 12px 4px 0; font-size: 0.875rem; color: var(--text-3); }

/* Reasons: three cards, each opens with the cause in bold. */
.reason .card__icon { color: var(--danger); background: var(--danger-soft); }

/* The ladder as a message thread from AI Local. */
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; }
/* The connector runs from each step's number to the next one, so it never hangs below the last step. */
.thread li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -16px; border-left: 2px dashed var(--border); }
.thread li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; position: relative; }
.thread .msg {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 6px 22px 22px 22px;
  padding: 20px 22px; box-shadow: var(--shadow);
}
.thread .msg h3 { margin-bottom: 4px; }
.thread .msg p { margin: 8px 0 0; color: var(--text-2); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 700; color: var(--text); }
.price b { font: 700 1.35rem/1.1 var(--font-title); color: var(--accent); }
.price s { color: var(--text-3); font-weight: 500; }
.thread li:last-child .num { background: var(--mint); color: var(--bg); }
.thread li:last-child .msg { border-style: dashed; }

/* Trades: the customer's question sits in a bubble on top of each card. */
.trade { gap: 16px; }
.trade__head { display: flex; align-items: center; gap: 12px; }
.trade .bubble--q { max-width: 100%; align-self: stretch; font-size: 0.9688rem; }
.trade ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 0.9688rem; }
.trade li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.trade li .icon { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.2; margin-top: 3px; }
.trade__label { font-size: 0.8125rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }

/* Catalogue of the other audits: every card carries its own small order form. */
.audit-card .order__row .input { min-height: 44px; padding: 8px 14px; }
.audit-card .card__foot { padding-top: 12px; border-top: 1px dashed var(--border); }
.audit-card .label { font-size: 0.875rem; }
.bundle { border-width: 2px; }
.bundle--main { border-color: var(--accent); }
.bundle .price b { font-size: 1.7rem; }
.bundle ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }

.pricebox { display: grid; gap: 12px; }
.pricebox .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.pricebox .row:last-child { border-bottom: 0; }
.pricebox .row span:last-child { font-weight: 700; text-align: right; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.steps h3 { margin: 0; font-size: 1.0625rem; }
.steps p { margin: 0; color: var(--text-2); font-size: 0.9688rem; }

.channel .card__icon { width: 56px; height: 56px; }

.callout {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: var(--r-lg); padding: 28px 32px;
}
.callout h2, .callout h3 { margin: 0 0 6px; }
.callout p { margin: 0; color: var(--text-2); }

.callout-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.callout-band h2 { margin-bottom: 8px; }
.callout-band p { margin: 0; max-width: 60ch; }
.h3 { font-size: 1.2rem; margin: 0; }

.final { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }

.legal { padding: 48px 0 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal p, .legal li { color: var(--text-2); max-width: 72ch; }
.legal .kicker { color: var(--mint); }
.legal .summary { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r); padding: 20px 24px; }
.legal .summary p { margin: 0; }
.legal .toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.legal .toc a { display: inline-flex; min-height: 44px; align-items: center; padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--border); text-decoration: none; color: var(--text); background: var(--surface); font-size: 0.9375rem; }
.legal .toc a:hover { background: var(--accent-soft); }

.lead-form { display: grid; gap: 18px; }
.lead-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-lead-status] { margin: 0; padding: 12px 16px; border-radius: 14px; font-weight: 600; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); }
[data-lead-status][hidden] { display: none; }
[data-lead-status][data-state="ok"] { background: var(--mint-soft); border-color: var(--mint); color: var(--on-mint-soft); }
[data-lead-status][data-state="fail"] { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
[data-lead-status][data-state="wait"] { background: var(--accent-soft); border-color: var(--accent); }
.contact-aside { display: grid; gap: 24px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-2); }

.notfound { padding: 80px 0 96px; }
.notfound .chat { max-width: 520px; }

/* §7 Motion: the chat replays a conversation once; buttons answer the press. Only transform and opacity move.
 * The bubbles pop in place instead of fading in: text stays readable from the first frame, so nothing is
 * hidden if the animation never runs (headless capture, slow device). */
@keyframes bubble-in {
  from { transform: translateY(10px) scale(0.94); }
  to { transform: none; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.play > * { animation: bubble-in var(--t-mid) var(--ease-out) both; }
.play > .bubble--q, .play > .who--right { transform-origin: 100% 100%; }
.play > .bubble--a { transform-origin: 0 100%; }
.play > :nth-child(1) { animation-delay: 60ms; }
.play > :nth-child(2) { animation-delay: 140ms; }
.play > :nth-child(3) { animation-delay: 260ms; }
.play > :nth-child(4) { animation-delay: 380ms; }
.play > :nth-child(5) { animation-delay: 500ms; }
.play > :nth-child(6) { animation-delay: 620ms; }
.play > :nth-child(7) { animation-delay: 740ms; }
.play > :nth-child(8) { animation-delay: 860ms; }
.card, .steps li, .thread .msg { transition: transform var(--t-fast) var(--ease-out); }
a.card:hover { transform: translateY(-2px); }

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

/* §8 Responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__grid, .split, .split--even, .final, .callout-band { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { position: static; }
  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1.5px solid var(--border);
    padding: 8px 24px 20px; display: none;
  }
  .nav.is-open { display: block; animation: menu-in var(--t-fast) var(--ease-out); }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { width: 100%; }
  .top__tools { margin-left: auto; }
  .top__in { position: relative; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 24px 0 48px; }
  .page-hero { padding: 32px 0 48px; }
  .hero .lead { font-size: 1.0625rem; margin-bottom: 20px; }
  .lead { font-size: 1.0625rem; }
  .kicker { margin-bottom: 10px; }
  .grid--2, .grid--3, .grid--4, .steps, .steps--5, .foot__grid, .lead-form .two, .order__grid { grid-template-columns: minmax(0, 1fr); }
  .order:not(.order--bare) { padding: 18px; border-radius: var(--r); }
  .order__row { flex-direction: column; }
  .order__row .btn { width: 100%; }
  .callout { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .head { margin-bottom: 28px; }
  .top__in { min-height: 64px; gap: 8px; }
  .top__tools .btn { display: none; }
  .brand { font-size: 1.125rem; }
  .brand svg { width: 34px; height: 34px; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table th, .table td { padding: 2px 0; border: 0; }
  .table td[data-k]::before { content: attr(data-k) ": "; font-weight: 700; color: var(--text-3); font-size: 0.8125rem; }
  .table tbody th { margin-bottom: 4px; }
  .chat__bar .tag { margin-left: 0; }
  .bubble { max-width: 94%; }
  .thread .msg { padding: 16px 18px; }
  .foot__legal { flex-direction: column; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .brand span { font-size: 1rem; }
  .icon-btn { width: 44px; height: 44px; }
}
