/* ==========================================================
   Conversion Crest: shared site styles
   Mobile-first. Brand colors live in :root below.
   ========================================================== */

/* ---------- Self-hosted fonts (latin subset, variable weight) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
/* Metric-matched fallbacks to reduce layout shift while fonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --navy: #0f1b2d;
  --navy-2: #172a45;
  --orange: #f28c3a;        /* accent: backgrounds and buttons (navy text on it) */
  --orange-dark: #a84a17;   /* accent for text on light backgrounds (AA contrast) */
  --cream: #fbf6ef;
  --cream-2: #f4ebdf;
  --white: #ffffff;
  --ink: #1b2533;
  --muted: #5a6474;
  --line: #e6dccd;
  --on-navy-muted: #b9c4d4;

  --font-head: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.22);
  --gutter: 16px;
  --max: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 72px; /* room for the mobile action bar */
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.45rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }

.sr-only {
  position: absolute; 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: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; color: var(--white); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.75rem;
}
.section { padding: 64px 0; }
.section.alt { background: var(--white); }
.section.tint { background: var(--cream-2); }
.section-intro { color: var(--muted); max-width: 660px; font-size: 1.1rem; }
.center .section-intro, .section-intro.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(242, 140, 58, 0.35);
}
.btn-primary:hover { background: #f59d55; color: var(--navy); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btn-row .btn { flex: 1 1 220px; }

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--orange-dark);
}
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 27, 45, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--white); }
.brand-mark { width: 32px; height: 32px; color: var(--white); }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-name span { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.header-call:hover { color: var(--navy); background: #f59d55; }

.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* Without JavaScript: the menu shows as a simple wrapped row under the logo */
.header-inner { flex-wrap: wrap; }
.nav-toggle { display: none; }
.site-nav { width: 100%; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}
.site-nav li a:not(.btn) {
  display: block;
  padding: 8px 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}
.site-nav li a:not(.btn):hover,
.site-nav li a:not(.btn)[aria-current="page"] { color: var(--orange); }
.site-nav .nav-phone a { color: var(--orange); font-weight: 700; }

/* With JavaScript: hamburger dropdown */
.js .header-inner { flex-wrap: nowrap; }
.js .nav-toggle { display: grid; }
.js .site-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  width: auto;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: none;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.js .site-nav.is-open { display: block; }
.js .site-nav ul { display: block; padding: 8px var(--gutter) 20px; }
.js .site-nav li a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.js .site-nav .btn { margin-top: 16px; width: 100%; }

/* H1 keyword line (styled like the eyebrow) */
.h1-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

/* ---------- Home hero ---------- */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(242, 140, 58, 0.22), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(34, 56, 90, 0.9), transparent 60%),
    var(--navy);
  color: var(--white);
}
.hero { padding: 48px 0 64px; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--orange); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--orange); }
.lead { font-size: 1.15rem; color: var(--on-navy-muted); max-width: 580px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 8px;
  color: var(--on-navy-muted);
  font-size: 0.98rem;
}
.hero-points li { padding-left: 28px; position: relative; }
.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230f1b2d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Decorative mock Google listing */
.hero-visual {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
  padding: 18px 12px;
}
.listing-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.listing-photo {
  height: 150px;
  background:
    radial-gradient(circle at 30% 30%, #ffd9b0 0 12%, transparent 13%),
    linear-gradient(135deg, #f7b877 0%, #e9773a 55%, #b4501a 100%);
  display: grid;
  place-items: center;
}
.plate {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 52%, #f3ece2 53% 64%, #fff 65%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 0 0 10px rgba(255,255,255,0.7);
  position: relative;
}
.plate::after {
  content: "";
  position: absolute; inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #7aa35a 0 22%, #c8452f 23% 48%, #e6a54a 49%);
}
.listing-body { padding: 16px 18px 18px; }
.listing-name { font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; color: var(--navy); }
.listing-rating { margin: 0 0 2px; font-size: 0.92rem; color: var(--muted); }
.stars { color: #e7a321; letter-spacing: 1px; }
.listing-meta { margin: 0 0 6px; font-size: 0.9rem; color: var(--muted); }
.listing-open { margin: 0 0 14px; font-size: 0.9rem; color: #1a7f4b; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1a7f4b; display: inline-block; }
.listing-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.listing-buttons span {
  font-size: 0.78rem; font-weight: 600; text-align: center;
  padding: 8px 0; border-radius: 999px;
  border: 1px solid var(--line); color: var(--navy);
}
.listing-buttons span:first-child { background: var(--navy); color: var(--white); border-color: var(--navy); }
.float-chip {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.chip-a { top: 0; right: -4px; }
.chip-b { top: 24%; left: -8px; animation-delay: -1.5s; }
.chip-c { bottom: 0; right: 8px; background: var(--orange); animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 40px 0 56px; }
.page-hero .lead { max-width: 640px; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--on-navy-muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumbs a { color: var(--on-navy-muted); }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Cards and lists ---------- */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}
.problem-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 20px 8px;
}
.problem-list h3 { font-size: 1.1rem; }
.problem-list p { color: var(--muted); font-size: 0.98rem; }

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.section:not(.alt) .card { background: var(--white); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link .text-link { margin-top: auto; padding-top: 8px; }
.card-link h3 a { color: inherit; text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link { position: relative; }
.card-link h3 a:focus-visible { outline: none; }
.card-link:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.card-link .text-link { position: relative; pointer-events: none; }

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; fill: var(--orange); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.check-list li { padding-left: 30px; position: relative; }
.check-list strong { color: var(--navy); }

.included-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.included-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 58px;
  position: relative;
}
.section.alt .included-item { background: var(--cream); }
.included-item::before {
  content: "";
  position: absolute; left: 18px; top: 20px;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230f1b2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
.included-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.included-item p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.split { display: grid; gap: 32px; align-items: center; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose h2 + p { margin-top: 0; }

.callout {
  background: var(--navy);
  color: var(--on-navy-muted);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.callout h3 { color: var(--white); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Why ---------- */
.why { background: var(--navy-2); color: var(--white); }
.why h2, .why h3 { color: var(--white); }
.why .eyebrow { color: var(--orange); }
.why .section-intro { color: var(--on-navy-muted); }
.why-grid { display: grid; gap: 32px; }
.why-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 16px;
}
.why-list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 22px 22px 8px 64px;
  position: relative;
}
.why-list li::before {
  content: "";
  position: absolute; left: 20px; top: 24px;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230f1b2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.why-list p { color: var(--on-navy-muted); font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 36px;
  display: grid;
  gap: 18px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 12px;
  position: relative;
}
.section.alt .steps li { background: var(--cream); }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font: 700 1.2rem/1 var(--font-head);
  margin-bottom: 14px;
}
.steps p { color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.badge {
  position: absolute;
  top: -13px; left: 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0;
}
.price-from { font-size: 0.85rem; color: var(--muted); margin: 0; }
.price {
  font: 700 1.7rem/1.2 var(--font-head);
  color: var(--navy);
  margin: 0 0 4px;
}
.price-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.price-card ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.price-card li { padding: 6px 0 6px 26px; position: relative; font-size: 0.98rem; }
.price-card li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--orange-dark);
  font-weight: 700;
}
.price-note { color: var(--muted); font-size: 0.95rem; margin-top: 24px; text-align: center; }
.price-card .price-desc:last-of-type { margin-bottom: 16px; }
.skill-grid .card h3 { font-size: 1.1rem; }

.price-band {
  display: grid;
  gap: 24px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.price-band .price { font-size: 2rem; }

/* ---------- Founder (text-only) ---------- */
.founder { display: grid; gap: 28px; align-items: center; }
.quote-card {
  margin: 0;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(242, 140, 58, 0.22), transparent 70%),
    var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.quote-mark { width: 44px; height: 44px; color: var(--orange); margin-bottom: 20px; }
.quote-card blockquote { margin: 0 0 18px; }
.quote-card blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3.6vw, 1.7rem);
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}
.quote-card figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--on-navy-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
}

/* ---------- Restaurant types ---------- */
.type-grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.type-grid li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.25;
}
.type-grid svg {
  flex: none;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--navy);
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 28px; display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.section.alt .faq-list details { background: var(--cream); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; background: var(--orange); color: var(--navy); }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(242, 140, 58, 0.25), transparent 70%),
    var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band .container { max-width: 760px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-navy-muted); font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-row .btn { flex: 0 1 auto; }

.aside-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  padding: 28px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.contact-list a { font-weight: 600; font-size: 1.1rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.contact-card + .contact-card { margin-top: 18px; }
.contact-card h2 { font-size: 1.35rem; }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--muted); }
.mini-steps li { margin-bottom: 8px; }
.mini-steps strong { color: var(--navy); }

.audit-form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.audit-form h2 { font-size: 1.5rem; }
.field-row { display: grid; gap: 0 16px; }
.field { margin: 0 0 18px; }
.field label, .checks legend {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.req { color: var(--orange-dark); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font-body); /* 16px+ prevents iOS zoom */
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #d8ccba;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(242, 140, 58, 0.45);
  background: var(--white);
}
input[aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.field-error { color: #b0281a; font-size: 0.88rem; margin: 6px 0 0; }
textarea { resize: vertical; min-height: 110px; }
.checks { border: 0; padding: 0; display: grid; gap: 8px; }
.checks legend { padding: 0; margin-bottom: 10px; }
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  min-height: 46px;
  margin: 0;
  cursor: pointer;
}
.checks label:has(input:checked) { border-color: var(--orange); background: #fff4ea; }
.checks input { width: 20px; height: 20px; accent-color: var(--orange-dark); flex: none; }
.form-note { font-size: 0.88rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-status { margin: 12px 0 0; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1a7f4b; }
.form-status.is-error { color: #b0281a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; gap: 32px; }
.footer-tag { margin-top: 14px; max-width: 320px; }
.footer-h {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { color: var(--white); text-decoration: none; }
.footer-list a:hover { color: var(--orange); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 27, 45, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform .25s ease;
}
.mobile-bar .btn { width: 100%; }
.mobile-bar.is-hidden { transform: translateY(110%); }

/* ---------- Page hero with illustration ---------- */
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero-figure { display: none; margin: 0; }
.page-hero-figure img { width: 100%; height: auto; max-width: 440px; margin: 0 auto; }

/* ---------- Answer-first intro + small helpers ---------- */
.answer {
  font-size: 1.12rem;
  color: var(--ink);
  border-left: 4px solid var(--orange);
  padding: 2px 0 2px 16px;
  margin-bottom: 1.1em;
  max-width: 720px;
}
.why .answer { color: var(--white); }
.stack > * + * { margin-top: 16px; }
.problem-list.two { margin-top: 28px; }
.related-links { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.related-links a { font-weight: 600; }
.prose ul:not(.check-list), .prose ol { padding-left: 1.25em; color: var(--muted); }
.prose li { margin-bottom: 6px; }

/* ---------- Resources ---------- */
.article-card { display: flex; flex-direction: column; position: relative; }
.article-card .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.article-card h2, .article-card h3 { font-size: 1.25rem; }
.article-card h2 a, .article-card h3 a { color: var(--navy); text-decoration: none; }
.article-card h2 a::after, .article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover { box-shadow: var(--shadow); }
.article-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.article-card .text-link { margin-top: auto; }

.byline { color: var(--on-navy-muted); font-size: 0.95rem; margin: 0; }
.byline a { color: var(--white); }

.article { padding: 48px 0 64px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); margin-top: 1.8em; }
.article-body h3 { margin-top: 1.4em; }
.article-body p, .article-body li { font-size: 1.08rem; line-height: 1.7; }
.article-body ul:not(.check-list), .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; }
.article-body .check-list { margin: 16px 0 20px; }
.key-takeaway {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 28px;
}
.key-takeaway p:last-child { margin: 0; }
.toc {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 28px;
}
.toc h2 { font-size: 1rem; font-family: var(--font-body); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { font-size: 1rem; margin-bottom: 4px; }
.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 0.98rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare tbody th { color: var(--navy); font-weight: 600; }
.cta-box {
  background: var(--navy);
  color: var(--on-navy-muted);
  border-radius: 18px;
  padding: 28px 24px;
  margin: 40px 0;
}
.cta-box h2 { color: var(--white); margin-top: 0; font-size: 1.5rem; }
.cta-box .btn-row { margin-top: 18px; }
.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
}
.author-mark {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy);
}
.author-mark .brand-mark { width: 30px; height: 30px; color: var(--white); }
.author-box p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found .related-links { justify-content: center; }

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 600px) {
  .problem-list, .card-grid, .included-grid, .price-grid.two, .price-grid.four { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .checks legend { grid-column: 1 / -1; }
  .audit-form { padding: 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .price-band { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 36px; }
  .cta-box { padding: 32px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  :root { --gutter: 28px; }
  .section { padding: 96px 0; }

  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .btn-row .btn { flex: 0 0 auto; }
  .hero-visual { max-width: 400px; }
  .page-hero { padding: 64px 0 80px; }
  .page-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
  .page-hero-figure { display: block; }

  .card-grid, .price-grid, .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid.four, .skill-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid.two { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .problem-list.four { grid-template-columns: repeat(4, 1fr); }
  .problem-list.three { grid-template-columns: repeat(3, 1fr); }
  .included-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.featured { transform: translateY(-10px); }

  .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .why-list { grid-template-columns: 1fr 1fr; }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.top { align-items: start; }
  .founder { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .quote-card { padding: 44px 40px; }
  .type-grid { grid-template-columns: repeat(5, 1fr); }

  .steps { position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 50px; left: 12%; right: 12%;
    border-top: 2px dashed var(--line);
  }
  .steps li { z-index: 1; }

  .cta-band { padding: 96px 0; }
  .contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: 48px; }
  .contact-aside { position: sticky; top: 96px; }
  .article { padding: 72px 0 96px; }
}

/* Full desktop navigation (needs a little more room than the layout) */
@media (min-width: 1200px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-actions { display: none; }
  .header-inner, .js .header-inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav {
    position: static; display: block; width: auto; background: none; border: 0;
    box-shadow: none; max-height: none; overflow: visible;
  }
  .site-nav ul, .js .site-nav ul { display: flex; align-items: center; gap: 20px; padding: 0; }
  .site-nav li a:not(.btn), .js .site-nav li a:not(.btn) { padding: 6px 0; border: 0; font-size: 0.95rem; }
  .site-nav .btn, .js .site-nav .btn { margin: 0; width: auto; }
}

/* Keep grid children from forcing horizontal overflow on small phones */
.price-band > *, .split > *, .contact-grid > *, .page-hero-grid > * { min-width: 0; }

/* Very small phones (320px): keep the header on one line */
@media (max-width: 359px) {
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 28px; height: 28px; }
  .header-call { padding: 0 12px; }
  .header-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-inner { gap: 8px; }
}

.price-grid.two { justify-content: center; }
.form-status.is-info {
  color: var(--navy);
  font-weight: 500;
  text-align: left;
  background: #fff4ea;
  border: 1.5px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.form-status a { font-weight: 700; }
.form-status.is-success {
  background: #ecf8f1;
  border: 1.5px solid #1a7f4b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.form-status:focus { outline: none; }

/* Cloudflare Turnstile widget */
.turnstile-wrap { margin: 2px 0 18px; min-height: 65px; }
.turnstile-wrap iframe { max-width: 100%; }

/* Footer privacy link + privacy page */
.footer-bottom a { color: var(--white); }
.footer-bottom a:hover { color: var(--orange); }
.privacy code { font-size: 0.95em; background: var(--cream-2); padding: 1px 6px; border-radius: 4px; }

/* Local business page */
.tag-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.callout h2 { color: var(--white); font-size: clamp(1.25rem, 3vw, 1.5rem); }
.callout a { color: var(--orange); }
