/* Smart Serve: shared styles. Same brand as the pitch decks. */

:root {
  --ink: #121A2B;
  --paper: #F6F4EF;
  --paper-alt: #EDE9E1;
  --card: #FFFDF9;
  --line: #E4E0D6;
  --line-strong: #D7D2C6;
  --orange: #FF7A2F;
  --orange-text: #B8430F;
  --orange-soft: #FBE9DC;
  --body: #3D4558;
  --muted: #5B6270;
  --dark-body: #C9CFDB;
  --dark-muted: #8A93A6;
  --dark-raised: #1B2438;
  --dark-line: #2A3550;
  --alert: #A0360A;

  --font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", Courier, ui-monospace, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 24px;
  --gutter: 16px;
  --header-h: 68px;
  --focus: var(--orange-text);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* ---------- 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(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.375rem, 7vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 4.6vw, 3rem); }
h3 { font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.01em; }
p, ul, ol, dl, figure { margin: 0; }
a { color: inherit; }
strong { color: var(--ink); font-weight: 700; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--orange); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 26, 43, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  --focus: var(--orange);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(18, 26, 43, 0.9); backdrop-filter: blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; min-height: var(--header-h); }
.wordmark {
  display: inline-flex; align-items: baseline; gap: 2px;
  color: var(--paper); font-family: var(--font-head); font-weight: 800;
  font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.wordmark-dot { width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--orange); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; }
.nav-list a {
  display: inline-block; padding: 8px 0; color: var(--dark-body);
  font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--paper); }
.nav-list a[aria-current="page"], .nav-list a.is-active { color: var(--paper); border-bottom-color: var(--orange); }
.nav-toggle { display: none; }

/* No JS: links simply wrap under the wordmark. With JS on small screens: a menu button. */
@media (max-width: 899.98px) {
  .site-nav { width: 100%; padding-bottom: 12px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -8px; padding: 0;
    background: transparent; border: 0; border-radius: 10px; color: var(--paper); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .js .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 20px; }
  .js .site-nav.is-open { display: flex; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--dark-line); }
  .js .nav-list a[aria-current="page"], .js .nav-list a.is-active { color: var(--orange); border-bottom-color: var(--dark-line); }
  .js .nav-cta { align-self: stretch; }
}
@media (min-width: 900px) { .site-nav { gap: 28px; } }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #FF8A47; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #1F2A42; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(246, 244, 239, 0.45); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange-text); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px;
}
.text-link::after { content: "→"; transition: transform 0.15s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: var(--header-h); }
.section--alt { background: var(--paper-alt); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark, .hero, .cta-band { background: var(--ink); color: var(--dark-body); --focus: var(--orange); }
.section--dark h1, .section--dark h2, .section--dark h3,
.hero h1, .hero h2, .cta-band h2 { color: var(--paper); }
.section--dark strong, .hero strong, .cta-band strong { color: var(--paper); }

.section-head { max-width: 820px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > * + * { margin-top: 16px; }
.eyebrow {
  display: block; color: var(--orange-text);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.section--dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.55; color: var(--body); }
.section--dark .lead, .hero .lead, .cta-band .lead { color: var(--dark-body); }
.kicker { margin-top: clamp(28px, 4vw, 44px); color: var(--ink); font-size: clamp(1.125rem, 2vw, 1.3125rem); font-weight: 700; line-height: 1.45; }
.section--dark .kicker { color: var(--paper); }
.note { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.section--dark .note, .hero .note, .cta-band .note { color: var(--dark-muted); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--orange-text); font-weight: 600; }

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(64px, 10vw, 128px); }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -25%; width: min(900px, 120vw); aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(255, 122, 47, 0.36), rgba(18, 26, 43, 0) 62%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero h1 { max-width: 15ch; }
.hero-sub { margin-top: 20px; max-width: 34ch; color: var(--dark-body); font-size: clamp(1.1875rem, 2.6vw, 1.5rem); line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.hero-meta { margin-top: 20px; color: var(--dark-muted); font-size: 0.9375rem; }
.hero-meta a { color: var(--paper); font-weight: 600; text-underline-offset: 3px; }
.hero-price {
  display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 24px;
  padding: 10px 18px; border: 1px solid var(--dark-line); border-radius: 999px; background: var(--dark-raised);
  color: var(--paper); font-weight: 700;
}
.hero-price span { color: var(--dark-muted); font-weight: 500; font-size: 0.9375rem; }
.hero--page h1 { max-width: 18ch; font-size: clamp(2.25rem, 6vw, 4rem); }
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }

/* Hero text rises in. Only when JS is on, so content never depends on it. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero-rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.card p { color: var(--body); }
.card--dark { background: var(--ink); border-color: var(--ink); color: var(--dark-body); --focus: var(--orange); }
.card--dark h3, .card--dark strong { color: var(--paper); }
.card--dark p { color: var(--dark-body); }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-text);
}
.icon-tile svg { width: 28px; height: 28px; }
.pill {
  align-self: flex-start; display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-text); font-size: 0.875rem; font-weight: 700; line-height: 1.4;
}
.card--dark .pill, .section--dark .pill { background: var(--dark-line); color: var(--orange); }
.pill--muted { background: #E9E5DC; color: var(--muted); }
.pill--progress { background: var(--paper-alt); color: var(--body); border: 1px solid var(--line-strong); }

.topline { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 6px solid var(--orange); }
.topline p { color: var(--body); }
.topline .text-link { align-self: flex-start; margin-top: 4px; }

/* ---------- Five-step flow ---------- */
.flow { display: grid; gap: 16px; }
.flow-step {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.flow-num {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--orange); color: var(--ink);
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 800;
}
.flow-step p { color: var(--body); font-size: 1rem; }
/* Connectors: down arrows when stacked, right arrows in a row */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; left: 47px; bottom: -17px; width: 2px; height: 18px; background: var(--orange-text);
}
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .flow-step:not(:last-child)::after { left: auto; right: -21px; top: 47px; bottom: auto; width: 18px; height: 2px; }
  .flow-step:not(:last-child)::before {
    content: ""; position: absolute; right: -24px; top: 43px; z-index: 1;
    border: 5px solid transparent; border-left: 7px solid var(--orange-text);
  }
}

/* ---------- Big-number stat cards ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.stat-num {
  color: var(--ink); font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
}
.stat-label { color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.stat-note { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.stat--feature { background: var(--ink); border-color: var(--ink); }
.stat--feature .stat-num { color: var(--orange); }
.stat--feature .stat-label { color: var(--paper); }
.stat--feature .stat-note { color: var(--dark-body); }

/* Two-bar chart (Glyde direct bookings) */
.bars-figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.bars-title { color: var(--ink); font-weight: 700; margin-bottom: 20px; }
.bars { display: flex; align-items: flex-end; justify-content: center; gap: clamp(28px, 8vw, 72px); height: 260px; border-bottom: 3px solid var(--ink); }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; width: clamp(104px, 28vw, 150px); }
.bar-value { margin-bottom: 8px; color: var(--body); font-family: var(--font-head); font-size: clamp(2.25rem, 6vw, 3.25rem); font-weight: 800; line-height: 1.1; }
.bar-fill { width: 100%; height: var(--h); background: var(--line-strong); border-radius: 12px 12px 0 0; }
.bar--after .bar-value { color: var(--orange-text); }
.bar--after .bar-fill { background: var(--orange); }
.bar-labels { display: flex; justify-content: center; gap: clamp(28px, 8vw, 72px); margin-top: 10px; }
.bar-labels span { width: clamp(104px, 28vw, 150px); text-align: center; color: var(--body); font-size: 0.9375rem; font-weight: 500; }
.bars-caption { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.bars-caption strong { color: var(--ink); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse > :first-child { order: 2; }
}
.split-copy > * + * { margin-top: 16px; }
.split-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }

/* ---------- Bands ---------- */
.band--orange { background: var(--orange); color: var(--ink); padding-block: clamp(64px, 9vw, 112px); --focus: var(--ink); }
.band--orange h2 { max-width: 18ch; color: var(--ink); font-size: clamp(2.125rem, 6vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.band--orange p { margin-top: 24px; max-width: 36ch; color: var(--ink); font-size: clamp(1.1875rem, 2.6vw, 1.5rem); font-weight: 500; line-height: 1.4; }

.cta-band { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px); }
.cta-band::before {
  content: ""; position: absolute; bottom: -35%; right: -20%; width: min(860px, 120vw); aspect-ratio: 1;
  background: radial-gradient(circle at 60% 60%, rgba(255, 122, 47, 0.32), rgba(18, 26, 43, 0) 62%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { max-width: 16ch; font-size: clamp(2.25rem, 6.4vw, 4.25rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; }
.cta-band .lead { margin-top: 20px; max-width: 40ch; }

/* ---------- Example labels (every mockup carries one) ---------- */
.example-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.875rem; font-weight: 500; line-height: 1.4; text-align: center;
}
.example-tag {
  flex: none; padding: 2px 8px; border-radius: 6px;
  background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero .example-label, .section--dark .example-label { color: var(--dark-muted); }
.hero .example-tag, .section--dark .example-tag { background: var(--dark-line); color: var(--orange); }

/* ---------- Phone with a conversation ---------- */
.phone {
  width: 100%; max-width: 340px; padding: 14px;
  background: #0B1220; border-radius: 44px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-screen {
  display: flex; flex-direction: column; gap: 10px; min-height: 440px;
  padding: 20px 16px 24px; background: #F5F7F6; border-radius: 32px; color: var(--ink);
}
.phone-notch { width: 96px; height: 22px; margin: -6px auto 6px; background: #0B1220; border-radius: 0 0 14px 14px; }
.phone-head { text-align: center; margin-bottom: 6px; }
.phone-name { color: var(--ink); font-weight: 700; font-size: 1rem; }
.phone-time { color: var(--muted); font-size: 0.8125rem; }
.msg {
  max-width: 86%; padding: 10px 14px; border-radius: 18px;
  font-size: 0.9375rem; line-height: 1.4; color: var(--ink); overflow-wrap: break-word;
}
.msg--in { align-self: flex-start; background: #E2E8EA; border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--orange); border-bottom-right-radius: 6px; }
.msg--system { align-self: center; max-width: 100%; padding: 4px 10px; background: transparent; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.msg strong { color: var(--ink); }
.msg-tag { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 700; opacity: 0.75; }

/* Messages appear one by one when the phone scrolls into view */
.reveal-on .phone.reveal .msg { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal-on .phone.reveal.is-visible .msg { opacity: 1; transform: none; }
.reveal-on .phone.reveal.is-visible .msg:nth-child(4) { transition-delay: 0.25s; }
.reveal-on .phone.reveal.is-visible .msg:nth-child(5) { transition-delay: 0.6s; }
.reveal-on .phone.reveal.is-visible .msg:nth-child(6) { transition-delay: 0.95s; }
.reveal-on .phone.reveal.is-visible .msg:nth-child(7) { transition-delay: 1.3s; }
.reveal-on .phone.reveal.is-visible .msg:nth-child(8) { transition-delay: 1.65s; }

/* ---------- Invoice with overcharges caught ---------- */
.invoice {
  width: 100%; max-width: 520px; padding: clamp(22px, 4vw, 36px);
  background: #FBFAF4; border: 1px solid #CCC8BA; border-radius: 8px;
  box-shadow: 0 24px 48px -28px rgba(18, 26, 43, 0.35);
  font-family: var(--font-mono); color: var(--ink); font-size: 0.9375rem; line-height: 1.45;
}
.invoice-vendor { font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.02em; }
.invoice-meta { color: var(--muted); }
.invoice hr { margin: 16px 0; border: 0; border-top: 2px dashed #CCC8BA; }
.invoice-line + .invoice-line { margin-top: 14px; }
.invoice-item { overflow-wrap: anywhere; }
.invoice-flag { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; color: var(--alert); font-weight: 700; }
.invoice-flag::before { content: "✕"; font-size: 0.8125rem; }
.invoice-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--alert); font-weight: 700; font-size: 1.0625rem; }
.invoice-stamp {
  display: inline-block; margin-top: 14px; padding: 4px 10px; border: 2px solid var(--orange-text); border-radius: 6px;
  color: var(--orange-text); font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Google profile, before and after ---------- */
.compare { display: grid; gap: 20px; width: 100%; }
@media (min-width: 760px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gbp { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.gbp-name { color: var(--ink); font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.gbp-list { display: grid; gap: 10px; }
.gbp-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); }
.gbp-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: transparent;
}
.gbp-list--bad li::before {
  border-color: #C9C3B6;
  background: linear-gradient(45deg, transparent 44%, #A39E92 44%, #A39E92 56%, transparent 56%),
              linear-gradient(-45deg, transparent 44%, #A39E92 44%, #A39E92 56%, transparent 56%);
}
.gbp--after { background: var(--ink); border-color: var(--ink); }
.gbp--after .gbp-name { color: var(--paper); }
.gbp--after .gbp-list li { color: var(--dark-body); }
.gbp--after .gbp-list li::before {
  border-color: var(--orange); background: var(--orange);
  box-shadow: inset 0 0 0 3px var(--ink);
}
.gbp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gbp-actions span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--paper); font-size: 0.875rem; font-weight: 600; }
.gbp--after .pill { background: var(--orange); color: var(--ink); }

/* ---------- Checkup scorecard ---------- */
.scorecard { width: 100%; max-width: 460px; padding: clamp(22px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 48px -32px rgba(18, 26, 43, 0.4); }
.scorecard-title { color: var(--ink); font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; }
.scorecard-sub { color: var(--muted); font-size: 0.9375rem; }
.scorecard-rows { display: grid; gap: 0; margin-top: 16px; }
.scorecard-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.grade { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.grade--good { background: #E3EFE6; color: #24553A; }
.grade--fix { background: var(--orange-soft); color: var(--orange-text); }
.grade--urgent { background: var(--ink); color: var(--paper); }
.scorecard-fixes { margin-top: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--paper); }
.scorecard-fixes p { color: var(--ink); font-weight: 700; }
.scorecard-fixes ol { margin-top: 8px; padding-left: 1.2em; color: var(--body); font-size: 0.9375rem; }
.scorecard-fixes li + li { margin-top: 4px; }

/* ---------- Offer and price cards ---------- */
.offer { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3.4vw, 40px); background: var(--card); border: 1px solid #DDD8CC; border-radius: var(--radius-lg); }
.offer h3 { font-size: clamp(1.625rem, 3vw, 2rem); font-weight: 800; }
.offer p { color: var(--body); }
.offer .price { color: var(--ink); font-size: 1.3125rem; font-weight: 700; line-height: 1.3; }
.offer .fit { color: var(--muted); font-size: 0.9375rem; }
.offer .text-link { margin-top: auto; align-self: flex-start; }
.offer--dark { background: var(--ink); border-color: var(--ink); --focus: var(--orange); }
.offer--dark h3 { color: var(--paper); }
.offer--dark p, .offer--dark .fit { color: var(--dark-body); }
.offer--dark .price { color: var(--orange); }
.offer--dark .pill { background: var(--dark-line); color: var(--orange); }
.offer--dark .text-link { color: var(--orange); }
.offer--dark .checklist li { color: var(--dark-body); }
.offer-spacer { flex: 1; }

.price-card { display: grid; gap: 24px; padding: clamp(28px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 860px) { .price-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.price-big { color: var(--ink); font-family: var(--font-head); font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price-plus { display: block; margin-top: 10px; color: var(--ink); font-family: var(--font-head); font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 700; }
.price-terms { margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }
.price-card .hero-actions { margin-top: 24px; }
.alt-offer { margin-top: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--paper-alt); border: 1px solid var(--line); }
.alt-offer h3 { font-size: 1.1875rem; }
.alt-offer p { margin-top: 6px; color: var(--body); }
.alt-offer .alt-price { color: var(--ink); font-weight: 700; }

/* ---------- Checklists ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; color: var(--body); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange);
}
.checklist li::after {
  content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 12px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checklist strong { color: var(--ink); }
.checklist--2 { gap: 14px 32px; }
@media (min-width: 760px) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--dark .checklist li, .card--dark .checklist li { color: var(--dark-body); }
.section--dark .checklist strong, .card--dark .checklist strong { color: var(--paper); }

/* ---------- Three steps to start ---------- */
.steps3 { display: grid; gap: 32px; counter-reset: s3; }
@media (min-width: 860px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.step3 { display: flex; flex-direction: column; gap: 10px; }
.step3-num { color: var(--orange-text); font-family: var(--font-head); font-size: clamp(4rem, 9vw, 6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.step3 h3 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); }
.step3 p { color: var(--body); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  color: var(--ink); font-family: var(--font-head); font-size: 1.1875rem; font-weight: 700; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-text);
  font-family: var(--font-body); font-size: 1.375rem; font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq-body { padding: 0 24px 22px; color: var(--body); }
.faq-body > * + * { margin-top: 10px; }

/* ---------- Values, partner and caveat cards ---------- */
.value-num { color: var(--orange-text); font-family: var(--font-head); font-size: 1rem; font-weight: 800; letter-spacing: 0.1em; }
.statement { max-width: 22ch; color: var(--ink); font-family: var(--font-head); font-size: clamp(2rem, 5.6vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.statement em { font-style: normal; color: var(--orange-text); }
.caveats { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius-lg); background: var(--paper-alt); border: 1px solid var(--line); }
.caveats h3 { margin-bottom: 14px; }
.caveats ul { display: grid; gap: 10px; padding-left: 1.2em; color: var(--body); }
.partner { gap: 12px; }
.partner h3 { font-size: 1.25rem; }
.partner .pill { margin-top: auto; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: clamp(36px, 6vw, 64px); align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 48px -36px rgba(18, 26, 43, 0.35); }
.form-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.form-intro { margin-top: 8px; color: var(--muted); }
.form-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: var(--ink); font-weight: 700; font-size: 1rem; }
.optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #FFFFFF; color: var(--ink); border: 1.5px solid #B9B4A8; border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 1px; border-color: var(--ink); }
.field-hint { color: var(--muted); font-size: 0.875rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.form-fine { color: var(--muted); font-size: 0.875rem; }
.form-fine a { color: var(--orange-text); font-weight: 600; }
.form-status { border-radius: var(--radius-sm); font-weight: 600; line-height: 1.45; }
.form-status:not(:empty) { margin-top: 16px; padding: 14px 16px; }
.form-status--error { background: #FBE4DA; color: #7A2A08; border: 1px solid #E9B49B; }
.form-status--info { background: var(--paper-alt); color: var(--ink); border: 1px solid var(--line-strong); }
/* Email backup shown in the status box when the form can't send */
.form-status-title { font-size: 1.0625rem; font-weight: 700; }
.form-status-text { margin-top: 4px; font-weight: 500; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form-status-actions .btn { flex: 1 1 auto; }
.form-status-alt { margin-top: 12px; font-size: 0.9375rem; font-weight: 500; }
.form-status-alt a { color: inherit; font-weight: 700; overflow-wrap: anywhere; }
#visit-form, #scorecard { scroll-margin-top: calc(var(--header-h) + 16px); }

.booking { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--dark-body); --focus: var(--orange); }
.booking h2, .booking h3 { color: var(--paper); font-size: 1.375rem; }
.booking .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding-block: 56px 32px; --focus: var(--orange); }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.footer-tagline { margin-top: 12px; max-width: 32ch; color: var(--dark-body); }
.footer-location { margin-top: 6px; color: var(--dark-muted); }
.footer-email { margin-top: 2px; }
.footer-nav { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-heading { color: var(--paper); font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-nav ul { display: grid; gap: 4px; margin-top: 12px; padding: 0; list-style: none; }
.footer-nav a, .footer-bottom a, .footer-email a { display: inline-block; padding: 4px 0; color: var(--dark-body); text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover, .footer-email a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.9375rem; }

/* ---------- Example math ---------- */
ul.math-list { display: grid; gap: 8px; padding-left: 1.25em; list-style: disc; color: var(--body); font-size: clamp(1.0625rem, 2vw, 1.25rem); }
.math-list li::marker { color: var(--orange-text); }
.money-stack { display: grid; gap: 16px; min-width: 0; }
.money { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); }
.money-num { font-family: var(--font-head); font-size: clamp(2.75rem, 9vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.money p:not(.money-num) { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.4; }
.money--orange { background: var(--orange); color: var(--ink); }
.money--orange .money-num, .money--orange p { color: var(--ink); }
.money--ink { background: var(--ink); }
.money--ink .money-num { color: var(--paper); }
.money--ink p:not(.money-num) { color: var(--dark-body); }

/* Bold text on dark cards */
.offer--dark strong, .gbp--after strong, .booking strong, .money--ink strong { color: var(--paper); }

/* Card links (404 page) */
a.card { color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
a.card:hover { border-color: var(--orange-text); transform: translateY(-2px); }

/* ---------- Reveal on scroll (hidden start state only exists once JS adds .reveal-on) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
.reveal-on .reveal-group > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-on .reveal-group > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-on .reveal-group > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-on .reveal-group > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-on .reveal-group > .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .hero-rise { animation: none; }
  .reveal-on .reveal, .reveal-on .phone.reveal .msg { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header, .nav-toggle, .cta-band::before, .hero::before { display: none; }
  .reveal, .msg { opacity: 1 !important; transform: none !important; }
}
