/* ==========================================================================
   Keystone Design System
   Brand: Beautiful websites for local businesses — built to last, easy to love.
   ========================================================================== */

:root {
  /* ----------------------------------------------------------------
     Color tokens — Forest & Honey palette (April 2026 refresh)
     Variable names retained as --coral* etc. for backward compatibility
     across the codebase; the values are now the new green palette.
     ---------------------------------------------------------------- */
  --coral:        #2D4A2B;  /* Primary action — deep forest green */
  --coral-ink:    #1F3320;  /* Hover/dark variant — deeper forest */
  --coral-tint:   #B8C7B0;  /* Light forest tint — subtle accents */
  --blush:        #F5EBD3;  /* Soft section background — pale honey-oat */
  --paper:        #F8F2E5;  /* Page background — warm cream */
  --espresso:     #1F2419;  /* Primary text — slightly green-tinted dark */
  --stone:        #5A6358;  /* Secondary text — green-tinted gray */
  --moss:         #4F6B52;  /* Retail accent (kept) */
  --honey:        #C9963F;  /* Secondary accent — rich honey gold */
  --honey-deep:   #8A6320;  /* Darker honey for text on tints */
  --pink:         #D4537E;  /* Personal services accent (kept) */
  --error:        #C63F3F;

  /* Typography */
  --font-serif:   'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale (rem-based) */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1160px;
  --content-max:   720px;

  /* Shadows (used sparingly) */
  --shadow-sm: 0 1px 2px rgba(58, 35, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(58, 35, 24, 0.08);
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.35; }
p  { color: var(--espresso); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-ink);
  background: var(--coral-tint);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--stone);
  max-width: 640px;
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section {
  padding: var(--space-3xl) 0;
}
.section-sm { padding: var(--space-2xl) 0; }
.narrow { max-width: var(--content-max); margin: 0 auto; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--coral);
  color: var(--paper);
}
.btn-primary:hover { background: var(--coral-ink); }
.btn-secondary {
  background: transparent;
  color: var(--coral-ink);
  border: 1.5px solid var(--coral);
  padding: 11.5px 24.5px;
}
.btn-secondary:hover { background: var(--coral-tint); }
.btn-ghost {
  background: transparent;
  color: var(--coral-ink);
  padding: 8px 0;
  font-weight: 500;
}
.btn-ghost::after { content: ' \2192'; transition: transform 0.15s ease; display: inline-block; }
.btn-ghost:hover::after { transform: translateX(3px); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 242, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(110, 99, 93, 0.12);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 28px; height: 28px; }
.logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--espresso);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
  font-size: 0.95rem;
  color: var(--stone);
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--coral-ink); }

/* Hero */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--paper);
}
.hero-inner { text-align: center; max-width: 840px; margin: 0 auto; padding: 0 var(--space-lg); }
.hero h1 { margin-bottom: var(--space-lg); }
.hero .lead { margin: 0 auto var(--space-xl); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Trust band */
.trust-band {
  padding: var(--space-lg) 0;
  background: var(--blush);
  border-top: 1px solid var(--coral-tint);
  border-bottom: 1px solid var(--coral-tint);
}
.trust-band p {
  text-align: center;
  font-size: 0.9rem;
  color: var(--coral-ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero price line — surfaces pricing without sacrificing CTAs */
.hero-price {
  font-size: 0.95rem;
  color: var(--stone);
  margin: 0 auto var(--space-lg);
  max-width: 640px;
}
.hero-price strong {
  color: var(--coral-ink);
  font-weight: 600;
}

/* Founding offer band — replaces empty trust-band claim with the real $750 offer */
.trust-band-offer {
  padding: var(--space-md) 0;
}
.trust-band-offer p {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--espresso);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  line-height: 1.5;
}
.trust-band-offer strong { color: var(--coral-ink); font-weight: 600; }
.founding-tag {
  display: inline-block;
  background: var(--honey);
  color: var(--espresso);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.founding-link {
  color: var(--coral);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.founding-link:hover { border-bottom-color: var(--coral); }
@media (max-width: 600px) {
  .trust-band-offer p { font-size: 0.9rem; }
}

/* Section header */
.section-head {
  text-align: center;
  max-width: var(--content-max);
  margin: 0 auto var(--space-2xl);
}
.section-head h2 { margin-bottom: var(--space-md); }
.section-head p {
  color: var(--stone);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto;
}

/* Inline body link — used in prose where a button would feel too heavy */
.inline-link {
  color: var(--coral-ink);
  border-bottom: 1px solid var(--coral-tint);
  transition: border-color 0.15s ease;
}
.inline-link:hover { border-bottom-color: var(--coral); }

/* Live-build note under the templates grid */
.templates-live-note {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 1rem;
  color: var(--stone);
}
.templates-live-note .btn-ghost { font-weight: 600; }

/* Card grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Problem/approach card */
.card {
  background: var(--paper);
  border: 1px solid rgba(110, 99, 93, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card.card-blush { background: var(--blush); border-color: transparent; }
.card:hover { border-color: var(--coral-tint); }
.card h3 { margin-bottom: var(--space-sm); }
.card p { color: var(--stone); font-size: 0.98rem; }
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

/* Problem section (darker) */
.problem-section {
  background: var(--blush);
}

/* Template preview */
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .template-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .template-grid { grid-template-columns: 1fr; } }
.template-card {
  background: var(--paper);
  border: 1px solid rgba(110, 99, 93, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.15s ease;
}
.template-card:hover { transform: translateY(-2px); border-color: var(--coral); }
.template-meta { padding: var(--space-md) var(--space-md) var(--space-lg); }
.template-meta .niche {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}
.template-meta .name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 4px;
}
.template-meta .desc { font-size: 0.85rem; color: var(--stone); }

/* ==========================================================================
   Per-template preview mockups (.tpv = template preview visual)
   Goal: communicate each template's identity in one glance.
   Each thumbnail uses minimal text and clean typographic hierarchy.
   ========================================================================== */
.tpv {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-sans);
  gap: 6px;
}

/* ---- MAINLINE — industrial dark + coral ---- */
.tpv-mainline {
  background: #1A1410;
  background-image: linear-gradient(115deg, transparent 50%, rgba(216, 83, 31, 0.85) 100%);
  color: #F4EFE8;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  padding: 20px;
}
.tpv-mainline .tpv-eyebrow {
  font-family: 'IBM Plex Mono', monospace, sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.65);
}
.tpv-mainline .tpv-headline {
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #F4EFE8;
}
.tpv-mainline .tpv-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: #D8531F;
}

/* ---- WORKSITE — editorial cream centered serif ---- */
.tpv-worksite {
  background: #F1ECE2;
}
.tpv-worksite .tpv-vol {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 10px;
  color: #6F5B45;
  letter-spacing: 0.04em;
}
.tpv-worksite .tpv-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.025em;
  color: #1C1812;
  line-height: 1;
  margin: 4px 0 6px;
}
.tpv-worksite .tpv-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 11px;
  color: #A84820;
  letter-spacing: 0.02em;
}
.tpv-worksite .tpv-rule-w {
  width: 40px;
  height: 1px;
  background: #A84820;
  margin-top: 8px;
  opacity: 0.6;
}

/* ---- HARVEST — rustic warm cream ---- */
.tpv-harvest {
  background: #F4ECD8;
  background-image: radial-gradient(rgba(44,35,24,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}
.tpv-harvest .tpv-orn {
  font-size: 11px;
  color: #8A9A7B;
  letter-spacing: 0.3em;
  font-family: var(--font-serif);
}
.tpv-harvest .tpv-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 36px);
  color: #2E2318;
  line-height: 1;
  margin: 4px 0;
  letter-spacing: 0.01em;
}
.tpv-harvest .tpv-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  color: #4C5A3E;
}

/* ---- SLATE — minimal lowercase Cormorant ---- */
.tpv-slate {
  background: #FAF8F4;
}
.tpv-slate .tpv-meta {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: #6D6A64;
}
.tpv-slate .tpv-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 38px);
  color: #131211;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
  margin-top: 4px;
}
.tpv-slate .tpv-roman {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: #A8794A;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---- BLOOM — feminine pink + Playfair ---- */
.tpv-bloom {
  background: linear-gradient(180deg, #FDF8F4 0%, #F4D9E0 100%);
}
.tpv-bloom .tpv-whisper {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: #C87A92;
}
.tpv-bloom .tpv-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 40px);
  color: #813B52;
  line-height: 1;
  margin: 2px 0 4px;
}
.tpv-bloom .tpv-sub {
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #C87A92;
  font-weight: 500;
}
.tpv-bloom .tpv-floral-mini {
  margin-top: 6px;
  display: block;
  width: 64px;
  height: auto;
  color: #C87A92;
  opacity: 0.85;
}

/* ---- STUDIO — zen warm tones with photo strip ---- */
.tpv-studio {
  background: #F5EFE3;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}
.tpv-studio .tpv-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-right: 1px solid rgba(45, 40, 32, 0.12);
  border-bottom: 1px solid rgba(45, 40, 32, 0.12);
}
.tpv-studio .tpv-cell:nth-child(2n) { border-right: none; }
.tpv-studio .tpv-cell:nth-child(n+3) { border-bottom: none; }
.tpv-studio .tpv-cell-name {
  background: #E8DCC4;
  flex-direction: column;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #2D2820;
}
.tpv-studio .tpv-cell-name .ks {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B7C5E;
  font-weight: 500;
  margin-bottom: 4px;
}
.tpv-studio .tpv-cell-name .nm {
  font-size: 22px;
  line-height: 1;
}
.tpv-studio .tpv-cell-photo {
  background-size: cover;
  background-position: center;
}
.tpv-studio .tpv-cell-photo.p1 { background-image: url('https://images.pexels.com/photos/6454060/pexels-photo-6454060.jpeg?auto=compress&cs=tinysrgb&w=300'); }
.tpv-studio .tpv-cell-photo.p2 { background-image: url('https://images.pexels.com/photos/3822864/pexels-photo-3822864.jpeg?auto=compress&cs=tinysrgb&w=300'); }
.tpv-studio .tpv-cell-quote {
  background: #6B7C5E;
  color: #F5EFE3;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

/* ---- SHOPFRONT — playful butter ---- */
.tpv-shopfront {
  background: linear-gradient(180deg, #FDF6E3 0%, #F8EEC6 100%);
  padding: 22px;
}
.tpv-shopfront .tpv-tag {
  display: inline-block;
  background: #B04A2E;
  color: #F8EEC6;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.tpv-shopfront .tpv-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 30px);
  color: #6E2A14;
  line-height: 1;
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}
.tpv-shopfront .tpv-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  color: #B04A2E;
  margin-bottom: 6px;
}
.tpv-shopfront .tpv-sign {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2F5F3A;
  color: #F8EEC6;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tpv-shopfront .tpv-sign .dot { color: #C7DFB4; font-size: 8px; }

/* ---- AISLE — clean ecommerce ---- */
.tpv-aisle {
  background: #FFF;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tpv-aisle .tpv-topbar {
  background: #243B2E;
  color: #FFF;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tpv-aisle .tpv-deliv-pill {
  background: #C66A42;
  color: #FFF;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.tpv-aisle .tpv-prods {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}
.tpv-aisle .tpv-prods span {
  background: #FAF8F3;
  border-radius: 4px;
  border: 1px solid #E8E3D8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}
.tpv-aisle .tpv-stars {
  font-style: normal;
  font-size: 9px;
  color: #E8A11C;
  letter-spacing: 1px;
}

/* Process timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 1px solid rgba(110, 99, 93, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}
.step-week {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--coral);
  margin-bottom: 6px;
}
.step-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 6px;
}
.step-desc { font-size: 0.87rem; color: var(--stone); line-height: 1.5; }

/* Pricing preview */
.pricing-box {
  background: var(--blush);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 760px) { .pricing-box { grid-template-columns: 1fr; } }
.price-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--coral-ink);
  line-height: 1.1;
  font-weight: 500;
}
.price-value .small { font-size: 0.55em; color: var(--stone); }
.price-divider {
  height: 1px;
  background: var(--coral-tint);
  margin: var(--space-md) 0;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 760px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border: 1px solid rgba(110, 99, 93, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.testimonial .quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--espresso);
  margin-bottom: var(--space-md);
}
.testimonial .attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--stone);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--coral-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--coral-ink);
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  max-width: var(--content-max);
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid rgba(110, 99, 93, 0.15);
  padding: var(--space-md) 0;
}
.faq summary {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--espresso);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--coral);
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: var(--space-sm);
  color: var(--stone);
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  background: var(--espresso);
  color: var(--paper);
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  border-radius: var(--radius-xl);
  margin: 0 var(--space-lg);
  max-width: calc(var(--container-max) - 2 * var(--space-lg));
  margin: 0 auto;
}
.final-cta h2 { color: var(--paper); margin-bottom: var(--space-md); }
.final-cta p { color: rgba(252, 248, 242, 0.72); max-width: 520px; margin: 0 auto var(--space-xl); font-size: 1.1rem; }
.final-cta .btn-primary { background: var(--coral); color: var(--paper); }
.final-cta .btn-primary:hover { background: var(--honey); color: var(--espresso); }
.final-cta .small-note { margin-top: var(--space-md); font-size: 0.9rem; color: rgba(252, 248, 242, 0.5); }

/* Contact form (lives inside .final-cta) */
.contact-form {
  max-width: 540px;
  margin: 0 auto var(--space-md);
  text-align: left;
  display: grid;
  gap: 10px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 540px) {
  .cf-row { grid-template-columns: 1fr; }
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 15px;
  background: rgba(252, 248, 242, 0.06);
  color: var(--paper);
  border: 1px solid rgba(252, 248, 242, 0.18);
  border-radius: var(--radius-md);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(252, 248, 242, 0.45); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(252, 248, 242, 0.1);
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--coral-tint) 50%), linear-gradient(135deg, var(--coral-tint) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.contact-form select option { background: var(--espresso); color: var(--paper); }
.contact-form textarea { resize: vertical; min-height: 80px; font-family: var(--font-sans); }
.cf-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 1rem;
}
.cf-thanks {
  display: none;
  text-align: center;
  padding: 18px 14px;
  background: rgba(216, 90, 48, 0.15);
  border: 1px solid var(--coral);
  border-radius: var(--radius-md);
  color: var(--coral-tint);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: var(--space-md);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--stone); font-size: 0.95rem; transition: color 0.15s ease; }
.footer-col ul a:hover { color: var(--coral-ink); }
.footer-brand p { color: var(--stone); font-size: 0.95rem; max-width: 280px; }
.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(110, 99, 93, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--stone);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ==========================================================================
   Mobile menu (CSS-only, checkbox toggle)
   The HTML pattern:
     <input type="checkbox" id="mn-toggle" class="mn-toggle">
     <label for="mn-toggle" class="hamburger" aria-label="Menu"><span></span></label>
     <ul class="nav-links">...</ul>
   ========================================================================== */
.mn-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  margin-left: auto;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease;
  position: relative;
}
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after  { position: absolute; top: 7px; }

/* Open state */
.mn-toggle:checked ~ .hamburger span { background: transparent; }
.mn-toggle:checked ~ .hamburger span::before { transform: translateY(7px) rotate(45deg); }
.mn-toggle:checked ~ .hamburger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Responsive — mobile-first niceties
   ========================================================================== */
@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 12px var(--space-md);
    gap: 8px;
  }
  .hamburger { display: flex; }
  /* Hide the desktop CTA next to nav; mobile menu has it inside */
  .nav-inner > .btn { display: none; }
  .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.2s ease;
    padding: 0;
    border-top: 1px solid rgba(110, 99, 93, 0);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    color: var(--espresso);
    border-bottom: 1px solid rgba(110, 99, 93, 0.1);
  }
  .mn-toggle:checked ~ .nav-links {
    max-height: 460px;
    padding: 8px 0 16px;
    border-top-color: rgba(110, 99, 93, 0.12);
  }
  .mn-toggle:checked ~ .nav-links::after {
    content: 'Book a free chat';
    display: block;
    background: var(--coral);
    color: var(--paper);
    text-align: center;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    margin: 12px 4px 4px;
    font-weight: 500;
  }
  /* Tighten hero spacing on phones */
  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; min-width: 160px; }

  /* Section padding tighter */
  .section { padding: var(--space-2xl) 0; }

  /* Pricing box stacks text above CTA */
  .pricing-box { padding: var(--space-xl); }
  .price-value { font-size: 1.6rem; }

  /* Final CTA padding tighter */
  .final-cta { padding: var(--space-2xl) var(--space-md); }
}

/* Touch-target minimums everywhere */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .footer-col ul a { padding: 4px 0; display: inline-block; }
  .faq summary { min-height: 48px; }
}
