/* ==========================================================================
   DaveWays Front Desk — design tokens + base + components
   Vanilla CSS, no preprocessor, no build step.
   Used by the AI-receptionist pages only (home, /plumbers/, /how-it-works/,
   /pricing/, /demo/, /missed-call-calculator/, /about/, /contact/,
   /thank-you/, /hvac/, legal pages, 404). Trades kit pages,
   Resources articles and the international (au/ca/uk/ae) pages keep using
   site.css unchanged — see PROGRESS.md.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Color — Option B, sampled from the Front Desk demo prototype */
  --navy: #082c4c;
  --navy-deep: #061f36;
  --blue: #0e5f92;
  --blue-tint: #eaf4fa;
  --orange: #f36f21;
  --orange-dark: #b8490a; /* darkened from #d9570c: that shade failed AA text contrast (3.95:1) on white/soft backgrounds for .eyebrow/.step-num/.sub-brand text */
  --orange-tint: #fdeee3;
  --ink: #132735;
  --muted: #60717d;
  --hairline: #d8e0e5;
  --soft: #f4f7f8;
  --white: #ffffff;
  --success: #1a7f4b;
  --error: #c53030;
  --warning: #a15c07;

  /* Type — Inter for body, Manrope for headlines */
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Manrope", "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.7rem + 2vw, 3rem);
  --step-5: clamp(2.5rem, 1.9rem + 3vw, 4.25rem);

  /* Space (8px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(4, 35, 60, 0.08);
  --shadow-2: 0 4px 16px rgba(4, 35, 60, 0.10);
  --shadow-3: 0 20px 60px rgba(4, 35, 60, 0.12);

  --transition: 180ms ease;
  --section-pad: var(--sp-9);
  --sticky-bar-h: 64px;
}

@media (max-width: 900px) {
  :root { --section-pad: var(--sp-7); }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img, svg, audio, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; margin: 0 0 var(--sp-4); color: var(--navy); }
h1 { font-size: calc(var(--step-4) * 0.95); }
h2 { font-size: calc(var(--step-3) * 0.95); }
h3 { font-size: calc(var(--step-2) * 0.9); font-weight: 700; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--navy); color: var(--white); padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--sp-5); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
section { padding-block: var(--section-pad); }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.eyebrow {
  display: inline-block; font-family: var(--font-heading); font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0; text-transform: none; color: var(--orange-dark);
  margin-bottom: var(--sp-3);
}
.section-navy .eyebrow { color: #7fb8e0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: inherit; font-weight: 700; font-size: var(--step-0);
  padding: 14px 24px; min-height: 44px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--navy); } /* white-on-orange failed AA (2.95:1); navy passes at 4.82:1 */
.btn-primary:hover { background: var(--orange-dark); color: var(--white); } /* darker bg flips text to white: navy would drop to 2.71:1 here */
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-tel { background: var(--navy); color: var(--white); }
.btn-tel:hover { background: var(--navy-deep); }
.btn-on-navy.btn-secondary { color: var(--white); border-color: var(--white); }
.btn-on-navy.btn-secondary:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.btn-hero-tel {
  font-size: var(--step-3); padding: 20px 36px; margin-top: 16px;
  max-width: 100%; white-space: normal; text-align: center; line-height: 1.3;
}
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---- Header / nav ---- */
.topbar {
  background: var(--navy); color: var(--white); text-align: center;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em;
  padding: var(--sp-2) var(--sp-4);
}
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-3); }
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.wordmark img { height: 44px; width: auto; }
.wordmark .sub-brand {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); background: var(--orange-dark);
  padding: 4px 14px; border-radius: 999px; line-height: 1.4;
}
.wordmark.on-dark img { background: var(--white); padding: 6px 10px; border-radius: var(--radius-sm); }
.site-footer .wordmark { align-items: flex-start; }
.wordmark.on-dark .sub-brand { color: var(--navy-deep); background: #ffb37a; }
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--blue); }
.main-nav a { white-space: nowrap; }
@media (min-width: 1150px) and (max-width: 1299px) { .main-nav ul { gap: var(--sp-4); } }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }
@media (min-width: 1150px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 560px) {
  /* The sticky bottom bar already gives mobile visitors a call CTA, so drop
     the header's tel button here to stop it colliding with the wordmark. */
  .header-actions .btn-tel { display: none; }
  .wordmark img { height: 36px; }
  .wordmark .sub-brand { font-size: 1rem; padding: 3px 10px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: var(--white);
  padding: var(--sp-5); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); }
.mobile-menu .wordmark.on-dark .sub-brand { color: var(--navy-deep); } /* was #ffb37a: same as the pill background, so "Front Desk" was invisible */
.mobile-menu-close {
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: var(--white); cursor: pointer;
}
.mobile-menu-links { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.mobile-menu-links a { color: var(--white); text-decoration: none; font-size: var(--step-2); font-weight: 700; }

/* ---- Sticky mobile action bar ---- */
.sticky-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4);
  background: var(--white); border-top: 1px solid var(--hairline); box-shadow: var(--shadow-3);
}
.sticky-actions .btn { flex: 1; white-space: nowrap; padding-inline: 12px; }
body.has-sticky-actions { padding-bottom: calc(var(--sticky-bar-h) + var(--sp-4)); }
@media (min-width: 1150px) {
  .sticky-actions { display: none; }
  body.has-sticky-actions { padding-bottom: 0; }
}

/* ---- Cards ---- */
.card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: var(--sp-5); box-shadow: var(--shadow-1);
}
.card h2 { font-size: calc(var(--step-2) * 0.9); font-weight: 700; } /* matches .card's usual h3 sizing, for cards used as a page's first section (no h2 above them) */
.card-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Feature grid ("What you get") ---- */
.section-features { background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 70%); }
.feature-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: var(--sp-6); box-shadow: var(--shadow-2); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-tint); color: var(--orange-dark);
  font-family: var(--font-heading); font-weight: 800; font-size: var(--step-0);
  margin-bottom: var(--sp-4);
}
.feature-card h3 { font-size: calc(var(--step-1) * 0.9); margin-bottom: var(--sp-2); }
.feature-card p { color: var(--muted); margin-bottom: 0; }

/* ---- Stat list (highlighted facts, e.g. the "sound familiar" missed-call stats) ---- */
.stat-list { list-style: none; margin: var(--sp-4) 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.stat-list li {
  background: var(--soft); border-left: 4px solid var(--orange);
  padding: var(--sp-3) var(--sp-4); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy);
}
.stat-list li strong { color: var(--orange-dark); }
.stat-list-source { color: var(--muted); font-size: var(--step--1); margin-top: var(--sp-2); }

/* ---- Stat grid (tile version of the above, with one stat highlighted) ---- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin: var(--sp-4) 0; }
@media (max-width: 599px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-tile {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: var(--sp-4); box-shadow: var(--shadow-1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.stat-tile .stat-num {
  display: block; font-family: var(--font-heading); font-weight: 800;
  font-size: var(--step-2); color: var(--navy); line-height: 1.05; margin-bottom: var(--sp-2);
}
.stat-tile p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.stat-tile.is-highlight {
  grid-column: span 2; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-color: transparent; box-shadow: var(--shadow-3);
}
@media (max-width: 599px) { .stat-tile.is-highlight { grid-column: span 1; } }
.stat-tile.is-highlight .stat-num { color: var(--white); font-size: var(--step-3); }
.stat-tile.is-highlight p { color: rgba(255,255,255,0.92); font-weight: 600; }

/* ---- Callout ---- */
.callout {
  background: var(--soft); border-left: 4px solid var(--orange);
  padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700; color: var(--navy);
}
.section-navy .callout { background: rgba(255,255,255,0.06); color: var(--white); border-left-color: var(--orange); }

/* ---- Pricing cards ---- */
.pricing-card {
  background: var(--white); border: 2px solid var(--hairline); border-radius: var(--radius-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
}
.pricing-card h2 { font-size: calc(var(--step-2) * 0.9); font-weight: 700; } /* plan-name headings promoted from h3: pricing's h1 has no h2 above them */
.pricing-card.is-featured { border-color: var(--orange); box-shadow: var(--shadow-2); position: relative; }
.pricing-card.is-featured::before {
  content: "Recommended"; position: absolute; top: -14px; left: var(--sp-5);
  background: var(--orange); color: var(--white); font-size: var(--step--1); font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
}
/* Keep prices on one line across cards: the featured card's pitch line renders after the price, and
   plan names reserve two lines side by side ("Managed Front Desk + Google Ads" wraps, the others don't). */
.pricing-card .plan-pitch { order: 1; }
.pricing-card > ul, .pricing-card > .btn { order: 2; }
@media (min-width: 700px) { .card-grid.cols-3 .pricing-card :is(h2, h3) { line-height: 1.2; min-height: 2.4em; } }
.pricing-card .price { font-family: var(--font-heading); font-size: var(--step-4); font-weight: 800; color: var(--navy); }
.pricing-card .price small { font-size: var(--step-0); font-weight: 600; color: var(--muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.pricing-card ul li { padding-left: 1.6em; position: relative; }
.pricing-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px;
  background: var(--success); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid var(--hairline); padding-block: var(--sp-4); }
.faq-item summary {
  font-family: var(--font-heading); cursor: pointer; font-weight: 700; color: var(--navy); font-size: var(--step-1);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--orange-dark); flex: none;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: var(--sp-3); color: var(--muted); }

/* ---- Comparison table ---- */
.compare-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-md); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--hairline); }
table.compare th { background: var(--soft); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
table.compare td.yes { color: var(--success); font-weight: 700; }
table.compare td.no { color: var(--muted); }
table.compare th.is-featured, table.compare td.is-featured { background: var(--orange-tint); }
table.compare th.is-featured { color: var(--navy); } /* --muted on orange-tint was 4.46:1, just under AA */
table.compare td.yes.is-featured { color: #166b3f; } /* --success on orange-tint was 4.43:1, just under AA */
table.compare td.no.is-featured { color: var(--navy); } /* --muted on orange-tint was under AA too */

/* ---- Timeline / flow steps ---- */
.timeline { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 800px) { .timeline { grid-template-columns: repeat(var(--steps, 3), 1fr); align-items: stretch; } }
.timeline-step {
  background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--blue);
  border-radius: var(--radius-md); padding: var(--sp-4); position: relative;
}
.timeline-step.is-highlight { border-top-color: var(--orange); }
.timeline-step .step-num { color: var(--orange-dark); font-weight: 800; font-size: var(--step--1); }
.timeline-step h3 { margin: var(--sp-2) 0 var(--sp-1); font-size: calc(var(--step-1) * 0.9); font-weight: 800; } /* was h4: skipped a level after the section h2 */
.timeline-step p { color: var(--muted); margin: 0; font-size: var(--step--1); }

/* ---- Vertical step list (for longer sequences, e.g. 7-step setup) ---- */
.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step-list li {
  counter-increment: step; position: relative; padding: 0 0 var(--sp-6) var(--sp-9);
  border-left: 2px solid var(--hairline); margin-left: 19px;
}
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before {
  content: counter(step); position: absolute; left: -20px; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: var(--step--1);
}
.step-list h3 { margin: 0 0 var(--sp-1); font-size: calc(var(--step-0) * 0.9); font-weight: 800; } /* was h4: skipped a level after the section h2 */
.step-list p { color: var(--muted); margin: 0; }

/* ---- Audio player ---- */
.audio-player { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--sp-4); box-shadow: var(--shadow-2); }
.audio-player-head { display: flex; align-items: center; gap: var(--sp-3); }
.audio-play {
  width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--white);
  border: none; display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer;
}
.audio-play svg { width: 20px; height: 20px; }
.audio-meta strong { display: block; color: var(--navy); }
.audio-meta span { color: var(--muted); font-size: var(--step--1); }
.audio-waveform { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin: var(--sp-3) 0; }
.audio-waveform span { width: 4px; background: var(--blue); border-radius: 2px; opacity: 0.55; }
.audio-player audio { width: 100%; margin-top: var(--sp-2); }
.audio-transcript summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: var(--step--1); }
.audio-transcript p { color: var(--muted); margin-top: var(--sp-2); }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.field label { font-weight: 700; color: var(--navy); font-size: var(--step--1); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--hairline); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field .hint { color: var(--muted); font-size: var(--step--1); }
.field .error { color: var(--error); font-size: var(--step--1); min-height: 1.2em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-checkbox { display: flex; flex-direction: row; align-items: flex-start; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field-checkbox input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--blue); }
.field-checkbox label { font-weight: 400; font-size: var(--step--1); color: var(--ink); }
.field-checkbox label a { color: var(--blue); }
.field-checkbox[aria-invalid="true"] input,
.field-checkbox input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.field-checkbox .error { color: var(--error); font-size: var(--step--1); min-height: 1.2em; flex-basis: 100%; margin-left: 26px; }
.form-status { margin-top: var(--sp-4); font-weight: 700; }
.form-status-error { color: var(--error); }
.form-status-ok { color: var(--success); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.site-footer h2 { color: var(--white); font-size: calc(var(--step--1) * 0.9); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-3); } /* was h3: on thin pages (thank-you, 404) with no other heading, h1->h3 skipped a level */
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-7); padding-top: var(--sp-5); font-size: var(--step--1); color: rgba(255,255,255,0.6); }
.footer-legal-banner { background: var(--orange-tint); color: var(--orange-dark); text-align: center; font-weight: 700; padding: var(--sp-2); font-size: var(--step--1); }

/* ---- Hero photo carousel (same asset set + behavior as site.css) ---- */
.hero-carousel { position: relative; aspect-ratio: 16 / 9; }
.hero-carousel-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center; opacity: 0; transition: opacity 900ms ease;
}
.hero-carousel-slide.is-active { opacity: 1; }
.hero-carousel-dots { position: absolute; left: 0; right: 0; bottom: var(--sp-4); display: flex; justify-content: center; gap: var(--sp-2); z-index: 2; }
.hero-carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,0.45); cursor: pointer; }
.hero-carousel-dots button.is-active { background: var(--white); }
@media (prefers-reduced-motion: reduce) { .hero-carousel-slide { transition: none; } }

.hero-fullbleed { position: relative; overflow: hidden; background: var(--navy); }
.hero-fullbleed .hero-carousel { position: absolute; inset: 0; aspect-ratio: auto; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(6, 31, 54, 0.78); }
.hero-overlay-content { position: relative; z-index: 2; max-width: 640px; }
.hero-overlay-content .eyebrow { color: #ffb37a; }
.hero-overlay-content h1 { color: var(--white); }
.hero-overlay-content p { color: rgba(255,255,255,0.92); }
.hero-overlay-content .trust-line { color: rgba(255,255,255,0.75); }
.hero-overlay-content .trust-line strong { color: var(--white); }
@media (min-width: 900px) {
  .hero-fullbleed { min-height: 560px; display: flex; align-items: center; }
  .hero-scrim { background: linear-gradient(100deg, rgba(6,31,54,0.92) 0%, rgba(6,31,54,0.82) 35%, rgba(6,31,54,0.4) 68%, rgba(6,31,54,0.12) 100%); }
}

/* ---- Mobile hero helpers ---- */
.hero { padding-block: var(--sp-9) var(--sp-8); }
.trust-line { color: var(--muted); font-size: var(--step--1); margin-top: var(--sp-3); }
.trust-line strong { color: var(--navy); }
@media (max-width: 700px) {
  .hero { padding-block: var(--sp-7) var(--sp-6); }
  h1 { font-size: var(--step-3); }
}

/* ---- Managed-service positioning (2026-09-24) ---- */
.topbar a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 4px; }
.check-list { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.check-list li { padding-left: 1.7em; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px;
  background: var(--success); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/60% no-repeat;
}
.team-split { margin-top: var(--sp-5); align-items: start; }
.team-split .team-card { border: 2px solid var(--orange); }
.founding-callout {
  margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5);
  background: var(--orange-tint); border-left: 4px solid var(--orange-dark); border-radius: var(--radius-sm);
}
.placeholder-callout { border: 2px dashed var(--orange-dark); }
.plan-pitch { font-weight: 700; color: var(--navy); }


/* ---- Legal documents (Terms, Privacy, SMS Terms), 2026-09-24 ----
   Everything in Manrope. A modest page title, compact section headings with
   a hairline above each so long documents are easy to scan, and body text at
   a comfortable reading size. Replaces the Terms page's old inline style. */
.legal-doc { font-family: var(--font-heading); }
.legal-doc h1 {
  font-size: clamp(1.9rem, 1.55rem + 1.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 var(--sp-2);
}
.legal-doc h1 + p { color: var(--muted); font-size: 0.9rem; margin-bottom: var(--sp-6); }
.legal-doc h2 {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  margin: var(--sp-6) 0 var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 130px; /* keeps #founding / #cancellation clear of the sticky header */
}
.legal-doc h3 { font-size: 1.05rem; font-weight: 700; margin: var(--sp-5) 0 var(--sp-2); }
.legal-doc p, .legal-doc li { font-size: 0.975rem; line-height: 1.7; font-weight: 400; }
.legal-doc li { margin-bottom: var(--sp-2); }
.legal-doc ul { padding-left: 1.2em; }
.legal-doc strong { font-weight: 700; }
@media (max-width: 700px) {
  .legal-doc h1 { font-size: 1.85rem; }
  .legal-doc h2 { font-size: 1.1rem; margin-top: var(--sp-5); padding-top: var(--sp-4); }
  .legal-doc p, .legal-doc li { font-size: 0.95rem; }
}

/* Logo tagline: real text under the logo image, set flush to its bottom-right edge */
.wordmark { width: fit-content; }
.wordmark-tagline {
  align-self: flex-end; margin-top: -10px; margin-right: 2px; /* includes .wordmark gap: 4px */
  font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem; font-weight: 600; line-height: 1; letter-spacing: 0.01em;
  color: #0a224d; white-space: nowrap;
}
.wordmark.on-dark .wordmark-tagline { margin-top: -1px; margin-right: 0; font-size: 0.74rem; color: rgba(255,255,255,0.9); }
@media (max-width: 560px) { .wordmark-tagline { font-size: 0.7rem; margin-top: -9px; } .wordmark.on-dark .wordmark-tagline { margin-top: -1px; } }
/* Footer tagline: as large as fits under the logo (44px desktop; phones bump the logo from 36px to 40px to make room) */
.site-footer .wordmark.on-dark .wordmark-tagline { font-size: 0.76rem; }
@media (max-width: 560px) { .site-footer .wordmark.on-dark img { height: 40px; } .site-footer .wordmark.on-dark .wordmark-tagline { font-size: 0.68rem; } }
/* Tuck the tagline into the empty band under the letters (the logo image has ~13% clear space below the "y" descender) and end it under the "s". */
