/* =========================================================
   Kervano AI Receptionist — shared styles
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --bg: #0b0d10;
  --surface: #13161b;
  --surface-2: #1a1e25;
  --line: #262b34;
  --line-strong: #353c47;
  --text: #eeede8;
  --text-soft: #c6c8cc;
  --muted: #9aa0a9;
  --ember: #ff6b2c;
  --ember-hover: #ff8349;
  --ember-tint: rgba(255, 107, 44, 0.13);
  --frost: #a9d6ff;
  --frost-tint: rgba(169, 214, 255, 0.12);
  --ok: #7fd49a;
  --ok-tint: rgba(127, 212, 154, 0.13);
  --danger: #ff8a8a;

  --r-panel: 26px;
  --r-card: 16px;
  --r-input: 10px;

  --wrap: 1180px;
  --header-h: 72px;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ember); color: #160800; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.display {
  font-stretch: 70%;
  font-weight: 800;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: -0.022em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.h2 {
  font-stretch: 74%;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.0;
  letter-spacing: -0.016em;
  margin: 0 0 18px;
  max-width: 20ch;
  text-wrap: balance;
}
.h3 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.lede { font-size: 1.2rem; color: var(--text-soft); max-width: 36ch; }
.intro { font-size: 1.12rem; color: var(--text-soft); max-width: 58ch; margin-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 15px 24px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember); color: #1a0900; }
.btn-primary:hover { background: var(--ember-hover); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--surface); border-color: #4a525e; }
.btn-sm { padding: 10px 18px; font-size: 0.94rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  color: var(--text); font-weight: 650;
  text-decoration: underline; text-decoration-color: var(--ember);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--ember); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 13, 16, 0.84);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 800; font-stretch: 78%; font-size: 1.45rem; letter-spacing: 0.015em; }
.logo-slash { color: var(--ember); margin-left: 1px; }
.logo-sub { font-stretch: 100%; font-weight: 500; font-size: .85rem; color: var(--muted); margin-left: 12px; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  text-decoration: none; color: var(--muted); font-size: .98rem; font-weight: 550;
  padding: 8px 14px; border-radius: 999px; transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
}

@media (max-width: 860px) {
  .logo-sub { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-size: 1.15rem; padding: 14px 12px; border-radius: 12px; }
  .nav .btn { margin: 10px 0 0; padding: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-tight { padding: 72px 0; }
.page-hero { padding: 88px 0 64px; }
.page-hero .display { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 16ch; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-2.lean-left { grid-template-columns: 1.1fr .9fr; }
.grid-2.lean-right { grid-template-columns: .85fr 1.15fr; }
.grid-2.center { align-items: center; }

/* ---------- Home hero ---------- */
.hero { padding: 76px 0 96px; }
.temp-line { display: flex; align-items: baseline; gap: 12px; color: var(--frost); font-weight: 600; margin-bottom: 22px; }
.temp-line b { font-size: 1.75rem; font-stretch: 72%; font-weight: 800; }
.hero .lede { margin-bottom: 34px; }
.demo-call { margin-top: 26px; color: var(--muted); }
.demo-call[hidden] { display: none; }

/* Dispatch board (signature element) */
.board {
  width: 100%; max-width: 410px; margin-left: auto;
  background: #07080a;
  border: 1px solid var(--line);
  border-radius: 42px; padding: 14px;
  box-shadow: 0 50px 90px -40px rgba(255, 107, 44, 0.38), 0 0 0 9px #0f1216;
}
.board-screen { background: var(--surface); border-radius: 30px; padding: 22px 18px 18px; }
.board-top { display: flex; justify-content: space-between; align-items: baseline; }
.board-top strong { font-stretch: 80%; font-size: 1.15rem; font-weight: 750; }
.board-top .temp { color: var(--frost); font-weight: 700; }
.board-sub { color: var(--muted); font-size: .84rem; margin: 2px 0 16px; }

.live {
  background: var(--ember-tint); border: 1px solid rgba(255,107,44,.3);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
}
.live-label { font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 1.6s ease-in-out infinite; }
.live-time { color: var(--muted); font-size: .8rem; text-align: right; }
.wave { grid-column: 1 / -1; display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 4px; }
.wave span { flex: 1; background: var(--ember); border-radius: 2px; height: 20%; animation: wave 1.1s ease-in-out infinite; }
.wave span:nth-child(3n) { animation-duration: .9s; }
.wave span:nth-child(4n) { animation-duration: 1.3s; }
.wave span:nth-child(5n+1) { animation-delay: -.3s; }
.wave span:nth-child(7n+2) { animation-delay: -.6s; }

@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 95%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tally div { background: var(--surface-2); border-radius: 12px; padding: 9px 11px; }
.tally b { display: block; font-size: 1.4rem; font-stretch: 72%; line-height: 1.1; }
.tally span { color: var(--muted); font-size: .76rem; }
.tally .good b { color: var(--ok); }

.calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.call {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px;
  opacity: 0; transform: translateY(10px);
  animation: callIn .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.call:nth-child(1) { animation-delay: .6s; }
.call:nth-child(2) { animation-delay: 1.3s; }
.call:nth-child(3) { animation-delay: 2s; }
.call:nth-child(4) { animation-delay: 2.7s; }
@keyframes callIn { to { opacity: 1; transform: none; } }
.call-head { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.call p { margin: 3px 0 8px; font-size: .93rem; line-height: 1.35; }
.board-note { color: var(--muted); font-size: .78rem; text-align: center; margin-top: 12px; }

.tag {
  display: inline-block; font-size: .78rem; font-weight: 650; line-height: 1.3;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.tag-ok { background: var(--ok-tint); color: var(--ok); }
.tag-urgent { background: var(--ember-tint); color: var(--ember); }
.tag-connect { background: var(--frost-tint); color: var(--frost); }

/* ---------- Trades strip ---------- */
.trades { display: flex; flex-wrap: wrap; gap: 10px; }
.trades span { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .96rem; color: var(--text-soft); }

/* ---------- Pain list ---------- */
.pain { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.pain li { padding-left: 20px; border-left: 2px solid var(--line-strong); }
.pain p { color: var(--muted); margin: 0; }

/* ---------- Calculator ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 34px; }
.calc .h3 { font-size: 1.35rem; font-stretch: 84%; }
.calc-intro { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.slider { margin-bottom: 22px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.slider-head label { font-weight: 600; }
.slider-head output { font-weight: 750; font-stretch: 78%; font-size: 1.2rem; }
input[type="range"] { width: 100%; accent-color: var(--ember); height: 28px; }
.calc-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.calc-number { font-stretch: 68%; font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.9rem); line-height: 1; color: var(--ember); }
.calc-result p { margin: 10px 0 0; color: var(--text-soft); }
.calc-result small { display: block; margin-top: 10px; color: var(--muted); font-size: .82rem; }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; padding-right: 28px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  font-weight: 800; font-stretch: 78%; margin-bottom: 18px;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 54px; right: 14px; height: 1px; background: var(--line-strong);
}
.steps p { color: var(--muted); margin: 0; }
.after-steps { margin-top: 44px; }

/* ---------- Transcript ---------- */
.convo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px; display: grid; gap: 13px; }
.convo-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .98rem; line-height: 1.45; }
.msg-who { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 3px; color: var(--muted); }
.msg-caller { background: var(--surface-2); justify-self: start; border-bottom-left-radius: 5px; }
.msg-ai { background: var(--ember-tint); border: 1px solid rgba(255,107,44,.26); justify-self: end; border-bottom-right-radius: 5px; }
.alert-out { background: #0f1216; border: 1px dashed #3a414c; border-radius: 14px; padding: 14px 16px; font-size: .92rem; color: var(--text-soft); }
.alert-out b { color: var(--text); display: block; margin-bottom: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 56px; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,.22), transparent 65%); pointer-events: none;
}
.cta-band .h2 { max-width: 18ch; }
.cta-band p { color: var(--text-soft); max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- Services: flow diagram ---------- */
.flow { display: grid; gap: 0; }
.flow-trunk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.flow-node {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px 22px; position: relative;
}
.flow-node .h3 { margin-bottom: 4px; }
.flow-node p { color: var(--muted); font-size: .95rem; margin: 0; }
.flow-node.is-ava { border-color: rgba(255,107,44,.45); background: linear-gradient(var(--ember-tint), var(--ember-tint)), var(--surface); }
.flow-trunk .flow-node:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -17px; width: 17px; height: 2px; background: var(--line-strong);
}
.flow-split { height: 44px; position: relative; }
.flow-split::before { content: ""; position: absolute; left: 83.33%; top: 0; height: 22px; width: 2px; background: var(--line-strong); transform: translateX(-1px); }
.flow-split::after { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 22px; height: 2px; background: var(--line-strong); }
.flow-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { position: relative; padding-top: 22px; }
.branch::before { content: ""; position: absolute; left: 50%; top: 0; height: 22px; width: 2px; background: var(--line-strong); transform: translateX(-1px); }
.branch-head { font-weight: 750; font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.branch-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; height: calc(100% - 38px); }
.branch-card p { color: var(--muted); font-size: .95rem; }
.branch-card .tag { margin-top: 6px; }
.flow-merge { margin-top: 16px; }
.flow-merge .flow-node { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Capability table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.cap-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cap-table th, .cap-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cap-table tr:last-child td { border-bottom: 0; }
.cap-table thead th { background: var(--surface); font-size: .92rem; color: var(--muted); font-weight: 600; }
.cap-table td:first-child { font-weight: 650; width: 34%; }
.cap-table td:nth-child(2) { width: 22%; }
.cap-table td:last-child { color: var(--muted); font-size: .96rem; }

/* ---------- Scenario cards ---------- */
.scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scenario { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; }
.scenario-trade { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.scenario q { display: block; font-size: 1.15rem; font-weight: 650; line-height: 1.35; margin-bottom: 14px; quotes: "\201C" "\201D"; }
.scenario p { color: var(--muted); font-size: .96rem; margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 650; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 17px; font-size: 1.6rem; color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ember); }
.faq details p { color: var(--muted); max-width: 66ch; margin: 0 0 22px; }

/* ---------- Forms ---------- */
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 34px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .93rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-input);
  padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0a9' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input[type="date"] { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember); outline: none; box-shadow: 0 0 0 3px var(--ember-tint); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; min-height: 0; }
.field-error:empty { display: none; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .96rem; padding: 14px 16px; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-error { background: rgba(255,138,138,.1); color: #ffc2c2; border: 1px solid rgba(255,138,138,.3); }
.form-fine { color: var(--muted); font-size: .84rem; margin: 0; }
.form .btn[type="submit"] { width: 100%; padding: 17px 24px; font-size: 1.05rem; }

.success { text-align: left; padding: 8px 0; }
.success:focus { outline: none; }
.success-mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ok-tint); color: var(--ok);
  display: grid; place-items: center; margin-bottom: 20px;
}
.success .h3 { font-size: 1.5rem; font-stretch: 82%; }
.success p { color: var(--text-soft); }

.notice { border: 1px solid var(--line-strong); border-radius: 14px; padding: 16px 18px; color: var(--text-soft); font-size: .95rem; margin-bottom: 24px; background: var(--surface-2); }
.notice b { color: var(--text); }

/* ---------- Book / contact side content ---------- */
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-soft); }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--ember-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='%23ff6b2c' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / 11px no-repeat; }

.contact-card { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); }
.contact-card .muted { font-size: .92rem; margin-bottom: 4px; }
.contact-card a { font-size: 1.15rem; }

.cal-embed { min-height: 640px; width: 100%; overflow: auto; border-radius: var(--r-card); background: var(--surface); }
.cal-embed[hidden], [data-show-when][hidden] { display: none !important; }

.alt-request { margin-top: 24px; }
.alt-request summary { cursor: pointer; color: var(--text-soft); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 14px; font-size: .96rem; }
.footer-col h2 { font-size: .95rem; font-weight: 700; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: var(--text); }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; padding: 80px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-2, .grid-2.lean-left, .grid-2.lean-right { grid-template-columns: 1fr; gap: 48px; }
  .board { margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li::after { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow-trunk, .flow-branches { grid-template-columns: 1fr; }
  .flow-trunk .flow-node:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 32px; width: 2px; height: 17px; }
  .flow-split { height: 16px; }
  .flow-split::before { left: 32px; height: 16px; }
  .flow-split::after { display: none; }
  .branch { padding-top: 0; padding-left: 0; }
  .branch::before { display: none; }
  .flow-branches { gap: 16px; }
  .branch-card { height: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 72px; }
  .page-hero { padding: 60px 0 40px; }
  .section { padding: 72px 0; }
  .steps, .steps.three, .scenarios, .form-row { grid-template-columns: 1fr; }
  .panel, .form-panel { padding: 24px; }
  .cta-band { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .board { border-radius: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  .call { animation: none; opacity: 1; transform: none; }
  .wave span { animation: none; height: 50%; }
  .live-dot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* ---------- Launch polish: trust, website services, legal pages ---------- */
.kicker { color: var(--ember); font-size: .82rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 14px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; }
.trust-card p { color: var(--muted); margin: 0; }
.trust-num { display: block; color: var(--ember); font-size: .82rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 18px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.package-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 30px; display: flex; flex-direction: column; }
.package-card.featured { border-color: rgba(255,107,44,.55); box-shadow: 0 18px 50px rgba(255,107,44,.08); }
.package-name { color: var(--text-soft); font-weight: 700; margin: 12px 0 2px; }
.package-price { font-size: 2.9rem; line-height: 1; font-stretch: 72%; font-weight: 800; margin: 4px 0 18px; }
.package-card > p:not(.package-name):not(.package-price) { color: var(--muted); }
.package-card ul { color: var(--text-soft); padding-left: 20px; margin: 8px 0 28px; }
.package-card li { margin: 7px 0; }
.package-card .btn { margin-top: auto; }
.legal-copy { max-width: 850px; }
.legal-copy h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal-copy p { color: var(--text-soft); }
.legal-copy .notice { margin-top: 38px; color: var(--muted); }
@media (max-width: 860px) { .trust-grid, .package-grid { grid-template-columns: 1fr; } }
