/* Funeral Decisions CRM — site.css
   Ported from design/claudedesign/styles.css (approved prototype).
   Blue-led palette only (the approved default); hero visual: "launch".
   Additions over the prototype: mobile menu (was inline-styled JSX),
   demo form, focus states, reduced-motion. */

/* — Fonts (self-hosted, latin subset, variable woff2) — */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-italic-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* — Palette (blue-led) — */
  --primary: #1d77a8;
  --primary-deep: #155878;
  --primary-soft: #e7f1f7;
  --accent: #6caa3f;
  --accent-deep: #4d8a26;
  --accent-soft: #eef6e4;

  /* Neutrals */
  --ink: #0c2433;
  --ink-2: #3a5365;
  --ink-3: #6b8195;
  --ink-4: #9aabba;
  --surface: #ffffff;
  --surface-2: #f5f9fc;
  --surface-3: #eaf1f6;
  --hairline: #e3ecf2;
  --hairline-2: #d4e0e9;

  /* Semantic */
  --warm: #d4a548;
  --warm-soft: #faf2dd;

  /* Type */
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12, 36, 51, 0.04), 0 1px 1px rgba(12, 36, 51, 0.03);
  --shadow-md: 0 4px 12px rgba(12, 36, 51, 0.06), 0 2px 4px rgba(12, 36, 51, 0.04);
  --shadow-lg: 0 16px 40px rgba(12, 36, 51, 0.08), 0 4px 12px rgba(12, 36, 51, 0.04);
  --shadow-xl: 0 24px 60px rgba(12, 36, 51, 0.10), 0 8px 20px rgba(12, 36, 51, 0.05);

  /* Layout */
  --container: 1200px;
  --container-wide: 1280px;
  --nav-h: 112px;
}

/* — Reset & base — */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* No CSS scroll-behavior: Lenis owns smooth scrolling; site.js falls back
   to window.scrollTo({behavior:'smooth'}) when Lenis is unavailable.
   overflow-x clip (not hidden — hidden would break position:sticky) guards
   against AOS slide transforms opening a horizontal scroll gap. */
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.625rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0; text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: all 180ms ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(29, 119, 168, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(29, 119, 168, 0.30), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-2);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--ink-4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* — Nav — */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  height: var(--nav-h);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 90px;
  flex-shrink: 0;
  transition: transform 200ms;
}
.nav-logo img { height: 90px; width: auto; max-width: none; display: block; }
.nav-logo:hover { transform: translateY(-1px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-md);
  transition: color 150ms;
}
.nav-link:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.nav-phone svg { color: var(--primary); }
.nav-phone:hover { color: var(--primary); }

.nav-burger {
  display: none;
  border: 1px solid var(--hairline-2);
  background: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 150ms, border-color 150ms;
}
.nav-burger:hover { background: var(--surface-2); border-color: var(--hairline); }

/* — Mobile menu (slide-in panel from the right) — */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12,36,51,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 260ms ease;
}
.mobile-menu-overlay[hidden] { display: none; }
.mobile-menu-overlay.open { opacity: 1; }
.mobile-menu {
  background: white;
  width: min(360px, 90vw);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu-overlay.open .mobile-menu { transform: translateX(0); }
.mobile-menu > a {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu-overlay.open .mobile-menu > a { opacity: 1; transform: translateX(0); }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(2) { transition-delay: 40ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(3) { transition-delay: 70ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(4) { transition-delay: 100ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(5) { transition-delay: 130ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(6) { transition-delay: 170ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(7) { transition-delay: 200ms; }
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mobile-menu-head img { height: 44px; width: auto; }
.mobile-menu a:not(.btn) {
  padding: 14px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
}
.mobile-menu a:not(.btn):hover { background: var(--surface-2); }
.mobile-menu .btn-primary { margin-top: 16px; }
.mobile-menu .btn-secondary { margin-top: 4px; }

/* — Hero — */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 9vw, 104px);
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, var(--primary-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 60%, var(--accent-soft) 0%, transparent 70%),
    var(--surface);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary); }
.hero-lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-microtrust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.hero-microtrust-divider {
  width: 1px; height: 14px; background: var(--hairline-2);
}
.hero-microtrust-check {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-microtrust-check svg { color: var(--accent); }

.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* — Hero "launch" illustration (from illustrations.jsx HeroLaunch) — */
.hero-launch {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
}
.hl-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 90%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 20%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%);
}
.hl-svg-back {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hl-trail {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: hl-draw 3.5s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes hl-draw {
  to { stroke-dashoffset: 0; }
}
.hl-spark {
  animation: hl-spark 4s ease-in-out infinite;
  transform-origin: center;
}
.hl-spark.b { animation-delay: 0.4s; }
.hl-spark.c { animation-delay: 1.1s; }
.hl-spark.d { animation-delay: 1.8s; }
@keyframes hl-spark {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1); }
}
.hl-laptop {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  width: 78%;
  animation: hl-float 6s ease-in-out infinite;
}
@keyframes hl-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
.hl-laptop-frame {
  background: linear-gradient(180deg, #e9eef3 0%, #d5dde5 100%);
  padding: 8px 8px 0;
  border-radius: 12px 12px 4px 4px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 40px rgba(12,36,51,0.14),
    0 8px 16px rgba(12,36,51,0.08);
  position: relative;
}
.hl-laptop-camera {
  position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #b6c0c9;
}
.hl-laptop-screen {
  background: white;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(12,36,51,0.06);
}
.hl-laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #d5dde5 0%, #b6c0c9 100%);
  border-radius: 0 0 18px 18px;
  margin: 0 -8%;
  position: relative;
  box-shadow: 0 4px 8px rgba(12,36,51,0.10);
}
.hl-laptop-base::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 24%; height: 5px;
  background: #9ba6b1;
  border-radius: 0 0 8px 8px;
}
.hl-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-2);
  flex-shrink: 0;
}
.hl-bardot { width: 6px; height: 6px; border-radius: 50%; background: var(--hairline-2); }
.hl-bartitle { margin-left: 8px; font-size: 9px; color: var(--ink-3); font-weight: 600; }
.hl-body { display: flex; flex: 1; min-height: 0; }
.hl-side {
  width: 28%;
  background: var(--surface-2);
  border-right: 1px solid var(--hairline);
  padding: 8px 6px;
  display: flex; flex-direction: column; gap: 3px;
}
.hl-side-item {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--ink-3);
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.hl-side-item.active { background: var(--primary-soft); color: var(--primary); }
.hl-side-item i {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}
.hl-main {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hl-card {
  flex: 1;
  background: var(--surface-2);
  border-radius: 5px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hl-stat-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hl-stat-big {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.hl-stat-up {
  font-size: 8px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 2px 5px;
  border-radius: 999px;
}
.hl-stat-label {
  font-size: 7px;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hl-chart {
  flex: 1;
  position: relative;
}
.hl-chart svg { width: 100%; height: 100%; }
.hl-rows {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 4px;
}
.hl-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 8px;
}
.hl-row-av {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}
.hl-row-name { font-weight: 700; color: var(--ink); flex: 1; }
.hl-row-tag {
  font-size: 6.5px;
  padding: 1.5px 4px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.hl-row-tag.b { background: var(--primary-soft); color: var(--primary); }
.hl-float {
  position: absolute;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(12,36,51,0.10), 0 4px 8px rgba(12,36,51,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.hl-float-1 {
  top: 8%; left: -2%;
  animation: hl-f1 7s ease-in-out infinite;
}
.hl-float-2 {
  top: 4%; right: -2%;
  animation: hl-f2 8s ease-in-out infinite;
}
.hl-float-3 {
  bottom: 24%; right: -4%;
  animation: hl-f3 6.5s ease-in-out infinite;
}
@keyframes hl-f1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hl-f2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hl-f3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hl-pop {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.hl-pop.b { background: var(--primary-soft); color: var(--primary); }
.hl-pop.c { background: var(--warm-soft); color: var(--warm); }
.hl-pop-sub {
  display: block;
  font-size: 9px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 1px;
}

/* — Section base — */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
  position: relative;
}
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--surface-2); }
.section-dark {
  background: linear-gradient(180deg, #0c2433 0%, #0a1f2c 100%);
  color: white;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .eyebrow::before { background: var(--accent); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

/* — Trust bar — */
.trustbar {
  padding: 32px 0 48px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trustbar-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.trustbar-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}
.trustbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  min-height: 110px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  transition: box-shadow 200ms, transform 200ms;
}
.trustbar-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.trustbar-logo img {
  max-height: 78px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* — Audience cards — */
.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aud-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 200ms;
  overflow: hidden;
}
.aud-card:hover {
  border-color: var(--hairline-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.aud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 200ms;
}
.aud-card:hover::before { opacity: 1; }
.aud-card[data-tone="accent"]::before { background: var(--accent); }
.aud-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
}
.aud-card[data-tone="accent"] .aud-icon {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.aud-card[data-tone="warm"] .aud-icon {
  background: var(--warm-soft);
  color: var(--warm);
}
.aud-title { font-size: 1.25rem; font-weight: 700; }
.aud-card p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.aud-points { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.aud-points li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.875rem; color: var(--ink-2);
}
.aud-points svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* — 4 pillars — */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: pillar;
}
.pillar {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-increment: pillar;
}
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(29,119,168,0.20);
}
.pillar:nth-child(even) .pillar-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 4px 12px rgba(108,170,63,0.22);
}
.pillar h3 { font-size: 1.0625rem; font-weight: 700; }
.pillar p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }

/* — Stats — */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat { text-align: left; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
  background: linear-gradient(180deg, #ffffff 0%, #cfe8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* — Features grid — */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  transition: background 180ms;
}
.feature:hover { background: var(--surface-2); }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature:nth-child(3n+2) .feature-icon { background: var(--accent-soft); color: var(--accent-deep); }
.feature:nth-child(3n+3) .feature-icon { background: var(--warm-soft); color: var(--warm); }
.feature-body h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.feature-body p { color: var(--ink-2); font-size: 0.875rem; line-height: 1.55; }

/* — Testimonial — */
.testimonial {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: clamp(36px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.testimonial-quote-mark {
  position: absolute;
  top: 32px; right: 36px;
  color: var(--primary-soft);
  pointer-events: none;
  user-select: none;
}
.testimonial-quote-mark svg { display: block; }
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}
.testimonial-quote strong { color: var(--accent-deep); font-weight: 600; }
.testimonial-author {
  display: flex; align-items: center; gap: 16px;
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.testimonial-name { font-weight: 700; color: var(--ink); }
.testimonial-role { font-size: 0.875rem; color: var(--ink-3); }
.testimonial-org {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.testimonial-org strong { color: var(--ink-2); font-weight: 600; }

/* Testimonial figure — static treatment of the prototype's video block
   (no real video exists; see plan.md open questions) */
.testimonial-video {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--primary-soft) 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
}
.testimonial-video-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.testimonial-video-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 36, 51, 0.78);
  color: white;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* — Case studies / outcomes — */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 200ms;
}
.case-card:hover { box-shadow: var(--shadow-md); border-color: var(--hairline-2); }
.case-stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}
.case-card[data-tone="green"] .case-stat { color: var(--accent-deep); }
.case-card[data-tone="warm"] .case-stat { color: var(--warm); }
.case-label {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
}
.case-card p {
  font-size: 0.875rem;
  color: var(--ink-3);
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  margin-top: auto;
}

/* — Final CTA + demo form — */
.cta-card {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--primary-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, var(--accent-soft) 0%, transparent 60%),
    var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card > p {
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* The demo form (new in the static build — brief + decision log 2026-07-21) */
.demo-form {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: left;
}
.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.form-field label .req { color: var(--accent-deep); }
.form-field input,
.form-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 150ms, box-shadow 150ms;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: center;
}
/* Honeypot — visually gone, still in the form for bots */
.form-website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  display: none;
  text-align: center;
}
.form-status.ok {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.form-status.err {
  display: block;
  background: #fdf0ee;
  color: #a03e2d;
  border: 1px solid #f0cec7;
}
.form-status a { text-decoration: underline; font-weight: 600; }
.turnstile-slot { display: flex; justify-content: center; }

/* — Quick-action bar — */
.action-bar {
  background: var(--ink);
  color: white;
  padding: 24px 0;
}
.action-bar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.action-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 180ms;
}
.action-item svg { color: var(--accent); }
.action-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

/* — Footer — */
.footer {
  background: linear-gradient(180deg, #0c2433 0%, #081a26 100%);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 24px;
}
.footer-logo img { height: 84px; width: auto; max-width: none; display: block; }
.footer p { font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contact {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
}
.footer-contact svg { color: var(--accent); flex-shrink: 0; }
.footer-contact:hover { color: white; }
.footer-col h3 {
  color: white;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 150ms;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: white; }
.footer-credit { color: rgba(255, 255, 255, 0.35); }
.footer-credit a { color: rgba(255, 255, 255, 0.6); }

/* — Simple pages (404 / thank-you / privacy) — */
.page-simple {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(64px, 9vw, 112px) 0;
}
.page-simple .container { max-width: 720px; }
.page-simple h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-simple p { color: var(--ink-2); font-size: 1.0625rem; margin-bottom: 16px; }
.page-simple .btn { margin-top: 16px; }
.page-prose h2 { font-size: 1.375rem; margin: 32px 0 12px; }
.page-prose ul { color: var(--ink-2); line-height: 1.7; }

/* — Scroll-reveal stagger (AOS) —
   Grouped reveals get their delay from CSS nth-child rules (90ms steps)
   instead of per-element data-aos-delay attributes; !important beats the
   inline transition-delay AOS sets. Desktop-only: below 1025px the grids
   collapse toward single columns and items reveal one at a time, where a
   stagger just reads as lag. */
@media (min-width: 1025px) {
.audiences > [data-aos]:nth-child(2),
.pillars > [data-aos]:nth-child(2),
.features > [data-aos]:nth-child(2),
.stats > [data-aos]:nth-child(2),
.cases > [data-aos]:nth-child(2),
.trustbar-row > [data-aos]:nth-child(2) { transition-delay: 90ms !important; }
.audiences > [data-aos]:nth-child(3),
.pillars > [data-aos]:nth-child(3),
.features > [data-aos]:nth-child(3),
.stats > [data-aos]:nth-child(3),
.cases > [data-aos]:nth-child(3),
.trustbar-row > [data-aos]:nth-child(3) { transition-delay: 180ms !important; }
.pillars > [data-aos]:nth-child(4),
.features > [data-aos]:nth-child(4),
.trustbar-row > [data-aos]:nth-child(4) { transition-delay: 270ms !important; }
.features > [data-aos]:nth-child(5),
.trustbar-row > [data-aos]:nth-child(5) { transition-delay: 360ms !important; }
.features > [data-aos]:nth-child(6) { transition-delay: 450ms !important; }
.features > [data-aos]:nth-child(7) { transition-delay: 540ms !important; }
.features > [data-aos]:nth-child(8) { transition-delay: 630ms !important; }
.features > [data-aos]:nth-child(9) { transition-delay: 720ms !important; }
}

/* — Responsive — */
@media (max-width: 1024px) {
  .nav-logo { height: 84px; }
  .nav-logo img { height: 84px; }
  .nav-link { padding: 10px 10px; font-size: 0.9rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 360px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .audiences { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonial { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .action-bar-row { grid-template-columns: repeat(2, 1fr); }
  .trustbar-row { grid-template-columns: repeat(3, 1fr); }
  .trustbar-row > :nth-child(n+4) { display: none; }
}
/* Mobile nav treatment: hamburger from 900px down (decision log 2026-07-21) */
@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 720px) {
  :root { --nav-h: 100px; }
  .nav-inner { gap: 12px; padding: 0 16px; }
  .nav-logo { height: 76px; }
  .nav-logo img { height: 76px; }
  .features { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .action-bar-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; min-width: 0; }
  .testimonial { padding: 28px; }
  .trustbar-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  h1 { font-size: 2rem; }
  .demo-form-grid { grid-template-columns: 1fr; }
}

/* — Reduced motion — */
@media (prefers-reduced-motion: reduce) {
  .hl-trail { animation: none; stroke-dashoffset: 0; }
  .hl-spark, .hl-laptop, .hl-float, .hero-badge-dot { animation: none !important; }
  .btn, .aud-card, .trustbar-logo, .action-item { transition: none; }
  .mobile-menu-overlay, .mobile-menu, .mobile-menu > a { transition: none; }
  /* AOS is disabled in site.js under reduced motion (it strips data-aos
     attributes); this covers any element it misses */
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* — Utility — */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.muted { color: var(--ink-3); }

/* ============================================================
   Subpage components — added for the helpmorefamilies.com
   consolidation (products.html, pricing.html, home #about).
   Same tokens, same voice as the components above.
   ============================================================ */

/* — Page hero (compact header band for subpages) — */
.page-hero {
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(900px 400px at 85% -10%, var(--primary-soft), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; }
.page-hero p {
  max-width: 640px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
}

/* — Product sections (products.html) — */
.prod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.prod-grid[data-flip] { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.prod-grid[data-flip] > .prod-body { order: 2; }
.prod-body .eyebrow { margin-bottom: 14px; }
.prod-body h2 { margin-bottom: 16px; }
.prod-body p { color: var(--ink-2); line-height: 1.65; margin-bottom: 14px; }
.prod-body p strong { color: var(--ink); }
.prod-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.prod-aside {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.section-alt .prod-aside { box-shadow: var(--shadow-sm); }
.prod-aside h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.prod-aside > p { color: var(--ink-3); font-size: 0.875rem; margin-bottom: 18px; }
.price-list { margin: 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
}
.price-row dt { color: var(--ink-2); font-size: 0.9375rem; }
.price-row dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.price-row dd small { display: block; text-align: right; font-weight: 500; color: var(--ink-3); }

/* — Plan / option cards (pricing.html tiers, products.html lead options) — */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.plan:hover { box-shadow: var(--shadow-md); border-color: var(--hairline-2); transform: translateY(-2px); }
.plan[data-featured] { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.plan-name { font-size: 1.0625rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan-price .per { color: var(--ink-3); font-size: 0.875rem; }
.plan-desc { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.plan-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-points li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.plan-points svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.plan .btn { justify-content: center; }
.plan-note { font-size: 0.8125rem; color: var(--ink-3); text-align: center; }
.plan-note a { color: var(--primary); font-weight: 600; }

/* — Feature comparison table (pricing.html) — */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.compare th, .compare td {
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  color: var(--ink-2);
  vertical-align: middle;
}
.compare thead th {
  border-top: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
}
.compare th[scope="row"], .compare td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  max-width: 320px;
}
.compare tbody tr:nth-child(even) td, .compare tbody tr:nth-child(even) th { background: var(--surface-2); }
.compare .tick { color: var(--accent-deep); }
.compare .na { color: var(--ink-4); }
.compare-foot { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-3); }

/* — Small quote cards (pricing.html) — */
.quote-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.quote-card blockquote {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.quote-card figcaption { font-size: 0.875rem; color: var(--ink-3); }
.quote-card figcaption strong { color: var(--ink); font-weight: 700; }

/* — About section (home #about) — */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-body p { color: var(--ink-2); line-height: 1.7; margin-bottom: 16px; }
.about-body p strong { color: var(--ink); }
.about-quote {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin: 0;
}
.about-quote blockquote {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.about-quote figcaption { font-size: 0.9375rem; color: var(--ink-3); }
.about-quote figcaption strong { display: block; color: var(--ink); font-weight: 700; }

/* — Mobile-menu stagger for the two added links — */
.mobile-menu-overlay.open .mobile-menu > a:nth-child(8) { transition-delay: 230ms; }
.mobile-menu-overlay.open .mobile-menu > a:nth-child(9) { transition-delay: 260ms; }

/* — Responsive — */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .prod-grid, .prod-grid[data-flip] { grid-template-columns: 1fr; }
  .prod-grid[data-flip] > .prod-body { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .plans, .plans-2, .quote-cards { grid-template-columns: 1fr; }
}

/* — Testimonial video play button + click-to-load embed (ported from the
     prototype now that the real Anne Rowan video exists — SproutVideo) — */
.testimonial-video-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  transition: transform 200ms;
  position: relative;
  z-index: 2;
}
/* Play triangle path is drawn centroid-centered in its viewBox, so plain
   flex centering is optically correct — no nudge needed */
.testimonial-video:hover .testimonial-video-play { transform: scale(1.05); }
.testimonial-video.playing { aspect-ratio: 16 / 9; }
.testimonial-video.playing::after { content: none; }
.testimonial-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

/* — Nav underline: sliding paddle indicators (Fireshow treatment) —
   JS (site.js) drives both bars via transform + width transitions;
   CSS just defines the look. Primary tracks the active link, hover
   tracks pointer/keyboard focus. */
.nav-links { position: relative; }
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  opacity: 0;
  transform: translateX(0);
  pointer-events: none;
  will-change: transform, width;
}
.nav-indicator--primary {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(29, 119, 168, 0.4);
}
.nav-indicator--hover { background: var(--hairline-2); }
.nav-link.is-active { color: var(--primary); }
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--primary); }
