/* ═══════════════════════════════════════════════════════════════════════════
   VOICE.MOROX.AI — AI phone agent for home & appliance repair
   Direction: "Work Order" — the paperwork and dispatch board of a service shop.
   Ruled ticket blocks, stamped statuses, monospace metadata, one signal color
   used the way a red rubber stamp is used on a real invoice.
   Light is the default; dark is a designed counterpart, not an inversion.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────── Tokens: light ─────────────────────────── */
:root {
  --bg:        #E9EAE6;   /* galvanized grey — shop floor */
  --bg-alt:    #E2E4DF;
  --surface:   #FBFBF9;   /* ticket paper */
  --surface-2: #F2F2EE;
  --ink:       #14171A;
  --ink-dim:   #5A6068;
  --ink-faint: #5E646A;
  --rule:      #C9CCC6;
  --rule-soft: #DCDED8;
  --signal:    #DC3B1E;   /* stamp red-orange — fills and large type */
  --signal-text:#B83317;  /* the same stamp, darkened to clear 4.5:1 at small sizes */
  --signal-ink:#FFFFFF;   /* text on signal */
  --signal-wash: rgba(220, 59, 30, 0.08);
  --live:      #0E7C5A;
  --live-wash: rgba(14, 124, 90, 0.10);
  --steel:     #1F3A5F;
  --odo-cell:  #14171A;   /* counter window — dark in both themes */
  --odo-digit: #FBFBF9;
  --shadow:    0 1px 0 rgba(20,23,26,.04), 0 12px 28px -22px rgba(20,23,26,.45);
  --meta:      #E9EAE6;   /* browser theme-color */

  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans:    "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1200px;
  --pad-x: clamp(18px, 4vw, 40px);
  --header-h: 66px;
  --r: 3px;               /* work-order paper: barely rounded */
  --r-lg: 5px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Dark, applied when the OS prefers it and the visitor has not chosen light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0E1418;
    --bg-alt:    #0A1013;
    --surface:   #161E23;
    --surface-2: #1C262C;
    --ink:       #E8EAE6;
    --ink-dim:   #98A2AA;
    --ink-faint: #8A959E;
    --rule:      #26313A;
    --rule-soft: #1E272E;
    --signal:    #FF6A45;
    --signal-text:#FF6A45;
    --signal-ink:#180703;
    --signal-wash: rgba(255, 106, 69, 0.12);
    --live:      #35C08A;
    --live-wash: rgba(53, 192, 138, 0.14);
    --steel:     #7FA8CF;
    --odo-cell:  #070B0E;
    --odo-digit: #F2F5F3;
    --shadow:    0 1px 0 rgba(0,0,0,.3), 0 16px 34px -24px rgba(0,0,0,.9);
    --meta:      #0E1418;
  }
}

/* Dark, chosen explicitly — wins regardless of the OS setting. */
:root[data-theme="dark"] {
  --bg:        #0E1418;
  --bg-alt:    #0A1013;
  --surface:   #161E23;
  --surface-2: #1C262C;
  --ink:       #E8EAE6;
  --ink-dim:   #98A2AA;
  --ink-faint: #8A959E;
  --rule:      #26313A;
  --rule-soft: #1E272E;
  --signal:    #FF6A45;
  --signal-text:#FF6A45;
  --signal-ink:#180703;
  --signal-wash: rgba(255, 106, 69, 0.12);
  --live:      #35C08A;
  --live-wash: rgba(53, 192, 138, 0.14);
  --steel:     #7FA8CF;
  --odo-cell:  #070B0E;
  --odo-digit: #F2F5F3;
  --shadow:    0 1px 0 rgba(0,0,0,.3), 0 16px 34px -24px rgba(0,0,0,.9);
  --meta:      #0E1418;
}

/* ─────────────────────────── Reset / base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

::selection { background: var(--signal); color: var(--signal-ink); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--signal); color: var(--signal-ink);
  padding: 10px 16px;
  font: 500 13px var(--font-mono);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ─────────────────────────── Utilities ─────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dim { color: var(--ink-dim); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal-text);
  margin-bottom: 16px;
}
.eyebrow::before { content: "▸ "; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118, "wght" 700;
  margin: 0;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 4.7vw, 62px); line-height: 1.02; }
h2 { font-size: clamp(29px, 3.8vw, 48px); line-height: 1.06; }
h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.22;
  font-variation-settings: "wdth" 112, "wght" 700;
  letter-spacing: -.01em;
}

main > section { padding-block: clamp(58px, 6.8vw, 100px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-lead {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: clamp(16px, 1.2vw, 18.5px);
  max-width: 58ch;
}

/* ─────────────────────────── Wordmark ─────────────────────────── */
.wordmark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.03em;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .wm-sep { color: var(--signal); padding-inline: 1px; }
.wordmark .wm-accent { color: var(--ink); }
.wordmark-lg { font-size: clamp(26px, 3.4vw, 38px); }

/* ─────────────────────────── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r);
  white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 140ms var(--ease);
}
.btn-sm  { padding: 9px 14px; font-size: 12px; }
.btn-lg  { padding: 15px 22px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal svg path { stroke: currentColor; }
@media (hover: hover) {
  .btn-signal:hover { background: var(--ink); color: var(--surface); }
}
.btn-signal:active { transform: translateY(1px); }

.btn-outline { border-color: var(--rule); color: var(--ink); background: transparent; }
@media (hover: hover) {
  .btn-outline:hover { border-color: var(--ink); background: var(--surface); }
}

/* ─────────────────────────── Theme toggle ─────────────────────────── */
.theme-toggle {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--ink-dim);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
@media (hover: hover) {
  .theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
}
.theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ico-sun  { display: none; }
}
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-sun  { display: none; }

/* ─────────────────────────── Header ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.primary-nav { display: flex; gap: 26px; }
.primary-nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink-dim);
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
@media (hover: hover) {
  .primary-nav a:hover { color: var(--ink); border-bottom-color: var(--signal); }
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px;
  background: var(--ink);
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 4px var(--pad-x) 18px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  padding: 15px 2px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-dim);
}
.mobile-nav a.btn {
  margin-top: 16px; border-bottom: 0; justify-content: center;
  color: var(--signal-ink);
}

/* ─────────────────────────── Ticket primitive ─────────────────────────── */
.ticket {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.ticket-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-2);
  color: var(--ink-dim);
  border-radius: var(--r) var(--r) 0 0;
}
.ticket-head .mono { font-size: 11px; }

.ticket-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--rule);
  background: var(--surface-2);
  border-radius: 0 0 var(--r) var(--r);
}

/* Rubber stamp — used twice on the page, and nowhere else. */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-text);
  border: 2px solid var(--signal-text);
  border-radius: 2px;
  padding: 3px 9px;
  transform: rotate(-3deg);
}
.stamp.small { font-size: 10px; padding: 2px 7px; border-width: 1.5px; }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px var(--live-wash);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--live-wash); }
  50%      { box-shadow: 0 0 0 7px transparent; }
}

.tick-list { display: flex; flex-direction: column; gap: 10px; }
.tick-list li {
  display: grid; grid-template-columns: 17px 1fr; gap: 10px;
  font-size: 15.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.tick-list li::before {
  content: "✓";
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--live);
  line-height: 1.7;
}

/* ─────────────────────────── Hero ─────────────────────────── */
.hero { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(52px, 6vw, 92px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.status-pill .mono { font-size: 11px; }

.hero-headline { margin-bottom: 24px; max-width: 17ch; }

.hero-sub {
  font-size: clamp(16.5px, 1.35vw, 19.5px);
  color: var(--ink-dim);
  max-width: 52ch;
  margin-bottom: 20px;
}

.hero-price {
  font-size: 13px;
  color: var(--ink-dim);
  padding-block: 14px;
  border-block: 1px solid var(--rule);
  margin-bottom: 26px;
}
.hero-price strong { color: var(--signal-text); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 30px; }

.hero-trades {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.hero-trades li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Call ticket */
.call-ticket { overflow: hidden; }
.ticket-stamp-time { color: var(--signal-text); font-weight: 500; }

.call-meta {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--rule);
  display: flex; flex-direction: column; gap: 5px;
}
.call-meta div { display: flex; gap: 10px; }
.call-meta dt { color: var(--ink-faint); font-size: 10.5px; min-width: 74px; }
.call-meta dd { margin: 0; color: var(--ink-dim); font-size: 10.5px; }
.call-meta dd.answered { color: var(--live); }

.transcript {
  padding: 18px 16px 12px;
  display: flex; flex-direction: column; gap: 13px;
}
.transcript p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.transcript .role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  margin-right: 9px;
  vertical-align: 1px;
}
.transcript .role.agent  { background: var(--signal-wash); color: var(--signal-text); }
.transcript .role.caller { background: var(--rule-soft); color: var(--ink-dim); }

.typing-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.typing-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-faint);
  animation: typing 1.25s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .30s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40%           { transform: translateY(-3px); opacity: 1; }
}

.ticket-foot.booked {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.booked-meta { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.booked-meta div { display: flex; flex-direction: column; gap: 2px; }
.booked-meta dt { color: var(--ink-faint); font-size: 9.5px; }
.booked-meta dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 500; }

/* ─────────────────────────── CRM strip ─────────────────────────── */
.crm-strip {
  border-block: 1px solid var(--rule);
  background: var(--bg-alt);
  overflow: hidden;
  padding-block: 13px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.crm-track {
  display: inline-flex; gap: 22px;
  white-space: nowrap;
  padding-left: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  animation: marquee 42s linear infinite;
}
.crm-track .sep { color: var(--signal-text); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═════════════════ THE MATH — signature element ═════════════════ */
.math { background: var(--bg); }

.meter-ticket { overflow: hidden; }
/* Perforated top edge — the one piece of paper mimicry on the page. */
.meter-ticket .ticket-head {
  border-top: 3px dotted var(--rule);
  border-radius: 0;
}

.meter-body {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
}

.meter-inputs {
  padding: clamp(24px, 2.6vw, 38px);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 26px;
  justify-content: center;
}

.meter-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.meter-row { display: flex; align-items: center; gap: 16px; }

.meter-out {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 74px;
  text-align: right;
  letter-spacing: .01em;
  text-transform: none;
  flex: none;
}

/* Range inputs — a slotted track with a square signal thumb. */
.meter-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 24px;
  background: transparent;
  cursor: pointer;
}
.meter-row input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
}
.meter-row input[type="range"]::-moz-range-track {
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
}
.meter-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; height: 22px;
  margin-top: -9.5px;
  background: var(--signal);
  border: 0;
  border-radius: 2px;
  transition: transform 140ms var(--ease);
}
.meter-row input[type="range"]::-moz-range-thumb {
  width: 15px; height: 22px;
  background: var(--signal);
  border: 0;
  border-radius: 2px;
}
@media (hover: hover) {
  .meter-row input[type="range"]:hover::-webkit-slider-thumb { transform: scaleY(1.12); }
}
.meter-row input[type="range"]:focus-visible { outline-offset: 6px; }

.meter-readout {
  padding: clamp(24px, 2.6vw, 38px);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 18px;
  justify-content: center;
}
.meter-label { color: var(--ink-dim); font-size: 11px; }

/* The odometer. Digits sit in dark counter windows in both themes. */
.odometer {
  --odo-h: clamp(54px, 6.4vw, 88px);
  display: flex; align-items: stretch; gap: 3px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 700;
  font-variant-numeric: tabular-nums;
  font-size: calc(var(--odo-h) * .56);
  line-height: 1;
  user-select: none;
}
.odo-cur {
  display: grid; place-items: center;
  padding-inline: 4px;
  color: var(--signal);
  font-size: calc(var(--odo-h) * .38);
  align-self: stretch;
}
.odo-digit {
  width: calc(var(--odo-h) * .46);
  height: var(--odo-h);
  overflow: hidden;
  background: var(--odo-cell);
  border-radius: 2px;
  position: relative;
}
.odo-digit.lead-zero b { opacity: .26; }
.odo-reel {
  display: flex; flex-direction: column;
  transform: translateY(calc(var(--d, 0) * var(--odo-h) * -1));
  transition: transform 780ms cubic-bezier(.16,.84,.24,1);
}
.odo-reel b {
  height: var(--odo-h);
  display: grid; place-items: center;
  color: var(--odo-digit);
  font-weight: inherit;
}
/* A hairline across the middle, like the seam in a real counter housing. */
.odo-digit::after {
  content: "";
  position: absolute; inset-inline: 0; top: 50%;
  height: 1px;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}

.meter-payback {
  font-size: 16px;
  color: var(--ink-dim);
  max-width: 40ch;
}
.meter-payback strong { color: var(--ink); font-weight: 600; }

.ticket-foot.note { border-top: 1px dashed var(--rule); }
.ticket-foot.note .mono {
  font-size: 11px;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: .01em;
  color: var(--ink-faint);
  max-width: 84ch;
}

/* ═════════════════ Card grids (handles, proof) ═════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cap-card {
  padding: clamp(22px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.cap-card p { color: var(--ink-dim); font-size: 15.5px; }
@media (hover: hover) {
  .cap-card:hover { border-color: var(--signal); transform: translateY(-2px); }
}

/* ═════════════════ How it works ═════════════════ */
.how { background: var(--bg-alt); border-block: 1px solid var(--rule); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step {
  padding: clamp(22px, 2.2vw, 32px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.step-num {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--signal);
  line-height: 1;
  padding-top: 2px;
  text-transform: none;
}
.step h3 { margin-bottom: 9px; }
.step p { color: var(--ink-dim); font-size: 15.5px; }

/* ═════════════════ CRM ═════════════════ */
.crm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.crm-others {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 26px;
}
.crm-others li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-dim);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 6px 12px;
  background: var(--surface);
}
.crm-note {
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 15px;
  max-width: 46ch;
}

.live-tag {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--live);
}
.crm-feature { padding: clamp(24px, 2.4vw, 34px); }
.crm-name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122, "wght" 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.crm-feature > p { color: var(--ink-dim); font-size: 16px; margin-bottom: 22px; max-width: 40ch; }

/* ═════════════════ Proof ═════════════════ */
.proof { background: var(--bg-alt); border-block: 1px solid var(--rule); }

.placeholder-banner {
  margin-top: 18px;
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--signal-text);
  border: 1px dashed var(--signal-text);
  border-radius: var(--r);
  padding: 7px 12px;
  background: var(--surface);
}

.quote-card {
  margin: 0;
  padding: clamp(22px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 20px;
}
.quote-card blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
}
.quote-card blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 700;
  font-size: 34px;
  line-height: .7;
  color: var(--signal);
  margin-bottom: 12px;
}
.quote-card figcaption {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 3px;
  font-size: 14.5px;
}
.quote-card figcaption .mono { font-size: 11px; }

/* ═════════════════ Pricing ═════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.price-ticket { border-color: var(--signal); }
.price-ticket .ticket-head {
  background: var(--signal-wash);
  border-bottom-color: var(--signal);
  color: var(--signal-text);
}
.price-body { padding: clamp(24px, 2.6vw, 36px); }

.price-figure {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 800;
  font-size: clamp(64px, 9vw, 116px);
  line-height: .88;
  letter-spacing: -.045em;
  margin-bottom: 10px;
}
.price-figure .cur {
  color: var(--signal);
  font-size: .42em;
  vertical-align: .55em;
  margin-right: .04em;
}
.price-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.price-body .tick-list { margin-bottom: 28px; }

.price-aside { display: flex; flex-direction: column; gap: 14px; }
.price-aside .ticket { padding: clamp(22px, 2.2vw, 30px); }
.price-aside h3 { margin-bottom: 12px; }
.price-aside p { color: var(--ink-dim); font-size: 15.5px; }
.price-aside p + p { margin-top: 12px; }
.price-aside strong { color: var(--ink); font-weight: 600; }

.usage-example {
  margin-top: 16px !important;
  padding: 13px 15px;
  background: var(--surface-2);
  border-left: 2px solid var(--live);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 12px !important;
  line-height: 1.65;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ink-dim);
}
.usage-example strong { color: var(--live); }

/* ═════════════════ FAQ ═════════════════ */
.faq { background: var(--bg-alt); border-block: 1px solid var(--rule); }
.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 28px); }

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 40px 19px 0;
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 110, "wght" 700;
  font-size: clamp(16px, 1.35vw, 18.5px);
  letter-spacing: -.01em;
  line-height: 1.35;
  transition: color 180ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -5px;
  border-right: 1.5px solid var(--signal);
  border-bottom: 1.5px solid var(--signal);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 240ms var(--ease);
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
@media (hover: hover) { .faq-item summary:hover { color: var(--signal-text); } }

.faq-answer { padding: 0 46px 22px 0; }
.faq-answer p { color: var(--ink-dim); font-size: 16px; max-width: 62ch; }

/* ═════════════════ Callback ═════════════════ */
.callback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.callback-points {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--ink-dim);
}
.callback-points li::before { content: "▸ "; color: var(--signal-text); }

.form-body {
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 17px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 12px 13px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  resize: vertical;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.field textarea { min-height: 104px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--signal);
  background: var(--surface);
}
.field input.invalid, .field textarea.invalid { border-color: var(--signal); background: var(--signal-wash); }

.form-status { min-height: 17px; font-size: 11.5px; text-transform: none; letter-spacing: .01em; }
.form-status.error   { color: var(--signal-text); }
.form-status.success { color: var(--live); }

.callback-form.is-submitting .btn-label::after {
  content: "…";
  animation: dots 1.1s steps(3) infinite;
}
@keyframes dots { 0% { content: "·"; } 33% { content: "··"; } 66% { content: "···"; } }

.callback-form.sent .form-body > * { display: none; }
.sent-message {
  display: none;
  padding: 8px 2px 12px;
}
.callback-form.sent .sent-message { display: block; }
.sent-message .sent-stamp { margin-bottom: 16px; }
.sent-message p { color: var(--ink-dim); font-size: 16px; }
.sent-message p.sent-head {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 115, "wght" 700;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ═════════════════ Footer ═════════════════ */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
  padding-block: clamp(44px, 5vw, 68px) 26px;
}
.footer-inner { display: flex; flex-direction: column; gap: 34px; }
.footer-top { display: flex; flex-direction: column; gap: 12px; }
.footer-line { color: var(--ink-dim); font-size: 15.5px; max-width: 46ch; }

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  border-block: 1px solid var(--rule);
  padding-block: 28px;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 9px; }
.footer-cols a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--ink-dim);
  transition: color 180ms var(--ease);
}
@media (hover: hover) { .footer-cols a:hover { color: var(--signal-text); } }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; }

/* ═════════════════ Sticky mobile CTA ═════════════════ */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
  transition: transform 300ms var(--ease);
}
.mobile-cta.show { transform: translateY(0); }

/* ═════════════════ Reveal ═════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
.hero-copy > [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.hero-copy > [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.hero-copy > [data-reveal]:nth-child(4) { transition-delay: 170ms; }
.hero-copy > [data-reveal]:nth-child(5) { transition-delay: 210ms; }
.hero-copy > [data-reveal]:nth-child(6) { transition-delay: 250ms; }
.card-grid > [data-reveal]:nth-child(2), .steps > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.card-grid > [data-reveal]:nth-child(3), .steps > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.card-grid > [data-reveal]:nth-child(5) { transition-delay: 70ms; }
.card-grid > [data-reveal]:nth-child(6) { transition-delay: 140ms; }

/* ═════════════════ Responsive ═════════════════ */
@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }

  .hero-grid,
  .crm-grid,
  .faq-grid,
  .callback-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .faq .section-head { position: static; }
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .meter-body { grid-template-columns: 1fr; }
  .meter-inputs { border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .header-actions .btn-signal { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .mobile-cta { display: block; }
  main > section:last-of-type { padding-bottom: 108px; }
  .odometer { --odo-h: clamp(46px, 13vw, 68px); }
  .meter-out { min-width: 62px; font-size: 14px; }
  .ticket-foot.booked { gap: 12px; }
  .booked-meta { gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ═════════════════ Reduced motion ═════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .crm-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  /* Digits snap into place instead of rolling. */
  .odo-reel { transition: none; }
}

/* ═════════════════ Print ═════════════════ */
@media print {
  .site-header, .mobile-cta, .crm-strip { display: none; }
  .ticket { box-shadow: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
