/* ============================================================
   Insurance Site Template, design system v3
   Restrained, private-bank aesthetic. Deep navy, quiet brass.
   Theme colors injected by build.js as :root variables.
   ============================================================ */

/* ---------- self-hosted fonts (faster than Google Fonts: no extra
   DNS/TLS round-trips, no render-blocking CSS request, GDPR-clean,
   and the files deploy with the site so GHL-pasted pages keep the
   exact same typography) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Fallback theme (blue / white / beige), overridden by injected theme block */
  --primary: #123a63;
  --primary-dark: #0a2138;
  --primary-light: #1d5288;
  --blue-cta: #1d5288;
  --accent: #d3c3a0;        /* beige / sand */
  --accent-bright: #e9dfc8; /* light sand, for dark backgrounds */
  --accent-deep: #9d8a63;   /* taupe, for light backgrounds */
  --accent-soft: #f3eee1;   /* pale sand fill */
  --cream: #f8f5ee;
  --ink: #1a2634;
  --muted: #566372;
  --paper: #ffffff;
  --ring: rgba(29, 82, 136, 0.3);
  --glow: rgba(211, 195, 160, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* headers are fixed; keep anchored sections from tucking underneath (also a GHL rule) */
[id] { scroll-margin-top: 96px; }

.font-display { font-family: var(--font-display); font-optical-sizing: auto; }

/* ---------- type ---------- */
.h-hero {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  text-wrap: balance;
}
.h-card { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.25; text-wrap: balance; }
.accent-serif {
  position: relative;
  background: linear-gradient(95deg, var(--accent-bright) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent-serif-dark {
  position: relative;
  background: linear-gradient(95deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.headline-rule {
  width: 56px; height: 3px; border-radius: 2px; margin: 1.4rem auto 0;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}
.section-dark .headline-rule, .hero-bg .headline-rule, .stats-band .headline-rule {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary-light);
}
.section-dark .eyebrow, .hero-bg .eyebrow { color: var(--accent-bright); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7;
  transition: width .7s cubic-bezier(.22, 1, .36, 1) .1s; }
.eyebrow-center::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7;
  transition: width .7s cubic-bezier(.22, 1, .36, 1) .1s; }
.anim-ready .eyebrow:not(.in-view)::before,
.anim-ready .eyebrow-center:not(.in-view)::after { width: 0; }
.lede { font-size: clamp(1.05rem, 2vw, 1.18rem); line-height: 1.75; color: var(--muted); text-wrap: pretty; }

/* micro trust line under hero CTAs */
.cta-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.62); letter-spacing: .01em;
  margin: -1.4rem 0 2.4rem;
}
.cta-note svg { flex: none; color: var(--accent-bright); opacity: .9; }

/* assurance row under the final CTA buttons */
.cta-assurance {
  display: flex; flex-wrap: wrap; justify-content: center;
  column-gap: 2rem; row-gap: .8rem; margin-top: 2.1rem;
}
.cta-assurance li {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .95rem 2.2rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(160deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 8px 22px -10px var(--ring);
}
.btn-primary:hover { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); transform: translateY(-1px); box-shadow: 0 12px 28px -10px var(--ring); }
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 10px 30px -12px rgba(4,13,22,.5);
}
.btn-white:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); transform: translateY(-1px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(28,39,51,.2); color: var(--primary); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); transform: translateY(-1px); }

/* ---------- nav ---------- */
.nav-glass {
  background: #ffffff;
  border-bottom: 1px solid rgba(26,38,52,.06);
  box-shadow: 0 1px 20px rgba(10,33,56,.06);
}
.nav-link { position: relative; font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .35rem 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .25s ease; }
.nav-link:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero-bg {
  position: relative;
  background:
    radial-gradient(1000px 600px at 85% -10%, var(--glow) 0%, transparent 55%),
    radial-gradient(800px 520px at -10% 115%, rgba(255,255,255,.06) 0%, transparent 55%),
    radial-gradient(1400px 900px at 50% 120%, var(--primary-light) 0%, transparent 60%),
    linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ring), transparent);
}
.hero-aura { position: absolute; border-radius: 9999px; filter: blur(100px); pointer-events: none; }
.hero-ring { position: absolute; border-radius: 9999px; border: 1px solid rgba(233,223,200,.09); pointer-events: none; }
.hero-beam {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.035) 50%, transparent 58%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- hero check bullets ---------- */
.hero-checks li {
  display: flex; align-items: center; gap: .8rem;
  color: rgba(255,255,255,.92); font-size: .95rem; font-weight: 500;
}
.hc-badge {
  flex: none; width: 27px; height: 27px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--accent-bright), var(--accent));
  color: var(--primary-dark);
  box-shadow: 0 5px 14px -4px var(--glow), inset 0 1px 0 rgba(255,255,255,.5);
}

/* ---------- floating agent tag ---------- */
.agent-tag {
  position: absolute; bottom: -1.6rem; left: 50%;
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.2rem; border-radius: 14px;
  background: linear-gradient(150deg, #ffffff 30%, var(--accent-soft) 130%);
  border: 1px solid rgba(157,138,99,.35);
  box-shadow: 0 24px 48px -16px rgba(4,13,22,.55), 0 2px 8px -2px rgba(4,13,22,.25);
  transform: translateX(-50%);
  animation: agentFloat 4.5s ease-in-out infinite alternate;
}
.agent-tag::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
}
.at-icon {
  flex: none; width: 34px; height: 34px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--primary-light), var(--primary));
  color: #fff; box-shadow: 0 6px 14px -6px var(--ring);
}
@keyframes agentFloat {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-7px); }
}

.headshot-frame { position: relative; }
.headshot-ring {
  padding: 1px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(214,189,138,.55), rgba(255,255,255,.08) 45%, rgba(214,189,138,.25));
  box-shadow: 0 36px 80px -28px rgba(0,0,0,.55);
}
.headshot-ring img { display: block; width: 100%; border-radius: 21px; }
.float-badge {
  position: absolute; background: rgba(255,255,255,.98); border-radius: 12px;
  box-shadow: 0 18px 44px -18px rgba(6,19,31,.4);
  padding: .85rem 1.2rem; border: 1px solid rgba(176,141,62,.2);
}

.trust-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem;
  border-radius: 9999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92); font-size: .84rem; font-weight: 500;
}
.trust-chip svg { color: var(--accent-bright); flex: none; }

/* ---------- carrier marquee ---------- */
.section-cream {
  background:
    radial-gradient(700px 340px at 50% -60px, rgba(255,255,255,.9) 0%, transparent 70%),
    radial-gradient(900px 500px at 110% 110%, rgba(255,255,255,.65) 0%, transparent 60%),
    var(--cream);
}
.marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 4rem; width: max-content; will-change: transform; }
.marquee-track img { height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1) opacity(.45); transition: filter .3s ease; }
.marquee-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats band ---------- */
.stats-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 15% 0%, var(--glow) 0%, transparent 55%),
    linear-gradient(115deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 120%);
}
.stats-watermark {
  position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(10rem, 24vw, 20rem); line-height: 1; color: rgba(255,255,255,.05);
  pointer-events: none; user-select: none;
}
.stat-num {
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff;
  font-variant-numeric: lining-nums tabular-nums; /* digits hold width while counting up */
}
.stat-suffix {
  font-family: var(--font-display); font-weight: 500; font-size: .55em;
  color: var(--accent-bright); margin-left: .1em;
}
.stat-label {
  font-size: .84rem; letter-spacing: .06em; color: rgba(255,255,255,.72); margin-top: .55rem;
}

/* ---------- cards ---------- */
.card {
  position: relative; background: var(--paper);
  border: 1px solid rgba(28,39,51,.08); border-radius: 16px; padding: 2rem;
  box-shadow: 0 2px 12px -8px rgba(6,19,31,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(6,19,31,.18); border-color: var(--ring); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--primary); margin-bottom: 1.2rem;
  border: 1px solid rgba(157,138,99,.22);
  transition: transform .25s ease;
}
.card:hover .card-icon, .pcard:hover .card-icon { transform: translateY(-3px); }
.card-link { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: .95rem; }
.card-link svg { transition: transform .2s ease; color: var(--primary-light); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- steps ---------- */
.step-card {
  position: relative; background: var(--paper); border-radius: 16px; padding: 2.2rem 2rem;
  border: 1px solid rgba(28,39,51,.08); box-shadow: 0 2px 12px -8px rgba(6,19,31,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(6,19,31,.16); }
.step-num {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--primary-light); letter-spacing: .14em;
  display: inline-flex; align-items: center; gap: .8rem;
}
.step-num::after { content: ""; width: 34px; height: 1px; background: var(--ring); }

/* ---------- product carousel ---------- */
.product-kicker { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-light); }
.pcarousel-wrap { position: relative; }
.pcarousel { overflow-x: auto; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.pcarousel::-webkit-scrollbar { display: none; }
.pcarousel-track { display: flex; gap: 1.25rem; padding: .5rem .25rem 1.4rem; }
.pcard {
  flex: 0 0 290px; scroll-snap-align: start; scroll-margin-top: 120px;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--paper); border: 1px solid rgba(26,38,52,.09); border-radius: 16px;
  padding: 1.8rem; cursor: pointer; font: inherit; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(6,19,31,.18); border-color: var(--ring); }
.pcard.active { border-color: var(--primary-light); box-shadow: 0 22px 44px -20px rgba(6,19,31,.22); }
.pcard-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin-bottom: .5rem; display: block; }
.pcard-short { font-size: .86rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; display: block; }
.pcard .card-link { margin-top: auto; }
.pc-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 9999px;
  background: #fff; border: 1px solid rgba(26,38,52,.1);
  box-shadow: 0 12px 26px -10px rgba(6,19,31,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); cursor: pointer; transition: background .2s ease;
}
.pc-arrow:hover { background: var(--accent-soft); }
.pc-prev { left: -12px; } .pc-next { right: -12px; }
@media (max-width: 640px) { .pcard { flex-basis: 82vw; } .pc-prev { left: -8px; } .pc-next { right: -8px; } }
.pdetail { margin-top: .5rem; }
.pdetail-panel {
  display: none; position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(26,38,52,.09); border-radius: 20px;
  box-shadow: 0 26px 60px -28px rgba(6,19,31,.24);
}
.pdetail-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.pdetail-panel.active { display: block; animation: quizIn .35s ease both; }
.pdetail-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: #fff; border: 1px solid rgba(26,38,52,.12); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.pdetail-close:hover { color: var(--ink); background: var(--accent-soft); }

/* ---------- embed placeholder (skeleton form preview) ---------- */
.embed-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; text-align: center; padding: 2.2rem 2rem; color: var(--muted);
  background: radial-gradient(460px 220px at 50% 0%, rgba(255,255,255,.85) 0%, transparent 70%), var(--cream);
}
.embed-placeholder svg { color: var(--primary-light); opacity: .65; }
.ep-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.ep-sub { font-size: .88rem; max-width: 36ch; line-height: 1.6; }
.ep-skel { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.4rem; }
.ep-skel span { height: 40px; border-radius: 9px; background: rgba(26,38,52,.06); border: 1px solid rgba(26,38,52,.05); }
.ep-skel span.ep-half { width: 62%; }
.ep-skel span.ep-btn { background: rgba(29,82,136,.14); border-color: transparent; }

/* ---------- savings showcase (cutouts pop above the tile) ---------- */
.saver-card { position: relative; padding-top: 4.5rem; transition: transform .28s ease; }
.saver-card:hover { transform: translateY(-6px); }
.saver-tile {
  position: relative; border-radius: 26px; aspect-ratio: 1 / 0.72; overflow: visible;
  background: linear-gradient(172deg, var(--accent-soft) 0%, #fff 135%);
  border: 1px solid rgba(157,138,99,.22);
  transition: box-shadow .28s ease;
}
.saver-card:hover .saver-tile { box-shadow: 0 26px 52px -22px rgba(10,33,56,.28); }
.saver-tile img {
  position: absolute; bottom: 0; left: 0; width: 100%; height: auto;
  border-radius: 0 0 26px 26px;
  filter: drop-shadow(0 14px 22px rgba(10,33,56,.22));
}
.saver-pill {
  position: absolute; left: -8px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 12px; padding: .55rem .85rem;
  box-shadow: 0 16px 36px -14px rgba(4,13,22,.4);
  border: 1px solid rgba(26,38,52,.06);
}
.saver-dot {
  flex: none; width: 30px; height: 30px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--accent-bright), var(--accent));
  color: var(--primary-dark);
}
.saver-pill .sp-title { font-weight: 600; font-size: .86rem; line-height: 1.25; color: var(--ink); }
.saver-pill .sp-note { font-size: .76rem; color: var(--muted); line-height: 1.3; }
@media (min-width: 1024px) {
  .saver-card:nth-child(2) { margin-top: 2.75rem; }
  .saver-card:nth-child(4) { margin-top: 2.75rem; }
}

/* ---------- lead magnet 3D mockup images ---------- */
.magnet-img {
  width: 170px; height: 210px; object-fit: contain;
  margin-top: -2.6rem; /* pops above the card edge */
  filter: drop-shadow(0 20px 26px rgba(10,33,56,.3));
  transition: transform .3s ease;
}
.magnet-img-wide {
  width: 265px; height: 200px;
  margin-top: -3rem; margin-left: -3.2rem; /* landscape mockup bursts out of the corner */
}
.card:hover .magnet-img { transform: translateY(-5px) rotate(-1deg); }
@media (max-width: 640px) {
  .magnet-img { margin-top: -1.5rem; }
  .magnet-img-wide { margin-left: 0; width: 240px; }
}

/* ---------- lead magnet modal ---------- */
.magnet-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.magnet-modal[hidden] { display: none; }
.magnet-overlay { position: absolute; inset: 0; background: rgba(6,19,31,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.magnet-card {
  position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: var(--paper); border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(4,13,22,.6);
  animation: quizIn .3s ease both;
}
.magnet-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.magnet-form { padding: 0 1rem; }
.magnet-form iframe { width: 100%; border: none; min-height: 420px; }
.magnet-form .embed-placeholder { border-radius: 14px; margin-bottom: 1rem; }

/* ---------- feature cards + check bullets ---------- */
.card-feature {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, var(--accent-soft) 150%);
  border-color: rgba(157,138,99,.28);
  box-shadow: 0 26px 54px -24px rgba(10,33,56,.22);
}
.card-feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  transform: none;
}
.no-topbar::before { display: none; }
.check-list li { position: relative; padding-left: 1.8rem; line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .16em; width: 18px; height: 18px;
  border-radius: 9999px; background: var(--accent-soft); border: 1px solid rgba(157,138,99,.4);
}
.check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: calc(.16em + 4.5px); width: 10px; height: 10px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- link tree page (one card on navy) ---------- */
.lt-shell {
  background: linear-gradient(172deg, #ffffff 55%, var(--accent-soft) 170%);
  border: 1px solid rgba(157,138,99,.28); border-radius: 26px;
  box-shadow: 0 40px 90px -34px rgba(2,10,20,.75);
  position: relative; overflow: hidden;
}
.lt-shell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--accent));
}
.lt-div { height: 1px; margin: 0 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(26,38,52,.12), transparent); }
/* avatar: dimensions hard-locked so it can never stretch into an oval */
.lt-avatar-ring {
  display: inline-block; padding: 5px; border-radius: 9999px;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent) 45%, var(--primary-light));
  box-shadow: 0 18px 40px -14px rgba(10,33,56,.35);
  animation: avatarGlow 4s ease-in-out infinite alternate;
}
.lt-avatar {
  width: 168px !important; height: 168px !important; max-width: none;
  border-radius: 9999px !important; object-fit: cover; display: block;
  object-position: center 22%; /* portrait headshots keep the face in frame, not the shirt */
  transition: transform .35s ease;
}
.lt-avatar-ring:hover .lt-avatar { transform: scale(1.045); }
@keyframes avatarGlow {
  from { box-shadow: 0 18px 40px -14px rgba(10,33,56,.35); }
  to { box-shadow: 0 18px 46px -12px rgba(10,33,56,.45), 0 0 0 6px rgba(211,195,160,.18); }
}

/* quick actions: gradient-ring buttons that lift, grow, and fill on hover */
.lt-page .lt-action { color: var(--muted); font-weight: 600; }
.lt-action-btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 9999px; color: var(--primary);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, var(--accent-bright), var(--accent) 50%, var(--primary-light)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 6px 16px -8px rgba(10,33,56,.25);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.lt-page .lt-action:hover .lt-action-btn {
  transform: translateY(-4px) scale(1.12);
  background:
    linear-gradient(150deg, var(--primary-light), var(--primary)) padding-box,
    linear-gradient(150deg, var(--accent-bright), var(--accent)) border-box;
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(10,33,56,.45);
}
.lt-page .lt-action:hover { color: var(--primary); }

/* link buttons: navy fill sweep with gold arrow */
.lt-page .lt-link {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(26,38,52,.12); color: var(--ink);
  box-shadow: 0 3px 14px -10px rgba(10,33,56,.15);
  transition: color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.lt-page .lt-link::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, var(--primary-light), var(--primary));
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.lt-page .lt-link > * { position: relative; z-index: 1; }
.lt-page .lt-link:hover { color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(10,33,56,.4); }
.lt-page .lt-link:hover::before { transform: scaleX(1); }
.lt-page .lt-link svg { color: var(--accent-deep); }
.lt-page .lt-link:hover svg { color: var(--accent-bright); }

/* socials pop */
.lt-page .lt-social { color: var(--muted); transition: color .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1); }
.lt-page .lt-social:hover { color: var(--primary); transform: translateY(-4px) scale(1.18); }
.lt-page .lt-qr { border: 1px solid rgba(26,38,52,.08); }

/* staggered entrance for card sections */
.lt-sec { opacity: 0; transform: translateY(16px); animation: ltIn .65s cubic-bezier(.22,1,.36,1) forwards; }
.lt-sec:nth-of-type(1) { animation-delay: .05s; }
.lt-sec:nth-of-type(2) { animation-delay: .15s; }
.lt-sec:nth-of-type(3) { animation-delay: .25s; }
.lt-sec:nth-of-type(4) { animation-delay: .35s; }
.lt-sec:nth-of-type(5) { animation-delay: .45s; }
@keyframes ltIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lt-sec { opacity: 1; transform: none; animation: none; } }

/* ---------- link tree page ---------- */
.lt-action {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  width: 64px; text-decoration: none; color: rgba(255,255,255,.85); font-size: .74rem; font-weight: 500;
}
.lt-action svg {
  width: 52px; height: 52px; padding: 15px; border-radius: 9999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.lt-action:hover svg { background: rgba(255,255,255,.16); border-color: var(--accent); transform: translateY(-3px); }
.lt-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  padding: 1.05rem 1.3rem; min-height: 56px;
  color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lt-link:hover { background: rgba(255,255,255,.13); border-color: var(--accent); transform: translateY(-2px); }
.lt-link svg { flex: none; color: var(--accent-bright); transition: transform .2s ease; }
.lt-link:hover svg { transform: translateX(4px); }
.lt-social {
  display: flex; align-items: center; justify-content: center;
  padding: .45rem; color: rgba(255,255,255,.8);
  transition: transform .2s ease, color .2s ease;
}
.lt-social:hover { color: var(--accent-bright); transform: translateY(-3px); }
.lt-qr {
  display: flex; gap: 1.25rem; align-items: center;
  background: #fff; border-radius: 18px; padding: 1.25rem;
  box-shadow: 0 30px 70px -28px rgba(4,13,22,.6);
}
.lt-qr-code { flex: none; width: 128px; height: 128px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(26,38,52,.1); }
.lt-qr-code svg, .lt-qr-code img { width: 100%; height: 100%; display: block; }

/* ---------- footer map ---------- */
.footer-map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); aspect-ratio: 16 / 10; width: 100%; max-width: 380px; }
.footer-map iframe { width: 100% !important; height: 100% !important; border: 0; display: block; filter: grayscale(.4) contrast(.95); }

/* ---------- sections ---------- */
.section-dark {
  position: relative; color: #fff;
  background:
    radial-gradient(820px 460px at 100% 0%, var(--glow) 0%, transparent 55%),
    linear-gradient(165deg, var(--primary-dark), var(--primary));
}
.divider-accent { width: 48px; height: 2px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--paper); border: 1px solid rgba(28,39,51,.09); border-radius: 12px;
  margin-bottom: .8rem; padding: 0 1.4rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item:hover, .faq-item[open] { border-color: var(--ring); box-shadow: 0 10px 26px -16px rgba(6,19,31,.16); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.2rem 0; font-weight: 600; font-size: 1.02rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex: none; transition: transform .25s ease; color: var(--primary-light); }
.faq-panel { display: none; }
.faq-panel.active { display: block; animation: quizIn .3s ease both; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 1.3rem; color: var(--muted); line-height: 1.7; }

/* ---------- embeds ---------- */
.embed-shell {
  position: relative; background: var(--paper); border: 1px solid rgba(28,39,51,.09);
  border-radius: 18px; box-shadow: 0 28px 70px -30px rgba(6,19,31,.35); overflow: hidden;
}
.embed-shell::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.embed-shell iframe { display: block; width: 100%; border: none; }

/* ---------- apply quiz ---------- */
.quiz-option {
  display: flex; align-items: flex-start; gap: 1rem; width: 100%; text-align: left;
  background: var(--paper); border: 1px solid rgba(28,39,51,.12); border-radius: 14px;
  padding: 1.15rem 1.3rem; cursor: pointer; min-height: 44px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
  font: inherit; color: inherit;
}
.quiz-option:hover { border-color: var(--primary-light); box-shadow: 0 14px 30px -18px rgba(6,19,31,.25); transform: translateY(-2px); }
.quiz-option.selected { border-color: var(--primary-light); background: var(--accent-soft); }
.quiz-option .qo-icon { flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--primary); }
.quiz-option .qo-title { font-weight: 600; font-size: 1.02rem; }
.quiz-option .qo-sub { font-size: .88rem; color: var(--muted); margin-top: .15rem; line-height: 1.5; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizIn .35s ease both; }
@keyframes quizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz-progress { height: 3px; background: rgba(28,39,51,.1); border-radius: 2px; overflow: hidden; }
.quiz-progress > div { height: 100%; background: var(--accent); transition: width .35s ease; }
.product-chip {
  display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 9999px;
  border: 1px solid rgba(28,39,51,.15); font-size: .86rem; font-weight: 500; cursor: pointer;
  background: var(--paper); color: var(--ink); min-height: 40px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.product-chip:hover { border-color: var(--primary-light); color: var(--primary-light); }
.product-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- footer ---------- */
.footer-dark {
  position: relative; color: #fff;
  background:
    radial-gradient(760px 380px at 88% -5%, var(--glow) 0%, transparent 55%),
    radial-gradient(620px 340px at -5% 105%, rgba(255,255,255,.045) 0%, transparent 55%),
    linear-gradient(168deg, var(--primary-dark) 0%, #040d16 95%);
}
.footer-dark::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ring), transparent); }
.footer-watermark {
  position: absolute; right: -1rem; bottom: -2rem;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(9rem, 20vw, 16rem); line-height: 1; color: rgba(255,255,255,.035);
  pointer-events: none; user-select: none;
}
.footer-brand { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: #fff; line-height: 1.2; }
.footer-brand-rule { width: 40px; height: 2px; background: var(--accent); margin: .9rem 0 1rem; }
.footer-link { color: rgba(255,255,255,.68); text-decoration: none; font-size: .93rem; transition: color .2s ease; }
.footer-link:hover { color: var(--accent-bright); }

/* ---------- reveal animations (GSAP toggles) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- mobile menu ---------- */
.mobile-menu { transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); }
.mobile-menu.open { transform: translateX(0); }

/* ============================================================
   Slickness pass: motion, color pop, micro-details
   ============================================================ */

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent), var(--primary-light));
}

/* button sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-white::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .55s ease; pointer-events: none;
}
.btn-primary:hover::after, .btn-white:hover::after { left: 135%; }
.btn-white:hover { box-shadow: 0 0 0 3px var(--ring), 0 14px 34px -12px rgba(4,13,22,.55); }

/* icons flip to gold on hover */
.card:hover .card-icon, .pcard:hover .card-icon, .quiz-option:hover .qo-icon {
  background: linear-gradient(140deg, var(--accent-bright), var(--accent));
  color: var(--primary-dark); border-color: transparent;
}
.qo-icon { transition: background .25s ease, color .25s ease; }

/* step cards: gold bar reveal + gradient numbers */
.step-card { overflow: hidden; }
.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.step-card { position: relative; }
.step-card:hover::before { transform: scaleX(1); }

/* blended blue-to-gold accents */
.headline-rule { background: linear-gradient(90deg, var(--primary-light), var(--accent)); }
.section-dark .headline-rule, .hero-bg .headline-rule, .stats-band .headline-rule {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent)); }
.embed-shell::before { background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--accent)); }

/* FAQ open state pops */
.faq-item { transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease; }
.faq-item:hover { transform: translateX(3px); }
.faq-item[open] { box-shadow: inset 3px 0 0 var(--accent), 0 12px 30px -16px rgba(6,19,31,.2); }

/* carousel arrows go gold */
.pc-arrow:hover { background: linear-gradient(140deg, var(--accent-bright), var(--accent)); color: var(--primary-dark); border-color: transparent; }

/* headshot: container clips the slow entrance zoom */
.headshot-ring { overflow: hidden; }
.headshot-ring img { will-change: transform; }

/* product chips pop */
.product-chip { transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.product-chip:hover { transform: translateY(-2px); }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-light), var(--primary)); border-radius: 6px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
html { scrollbar-color: var(--primary) var(--cream); scrollbar-width: thin; }

/* button arrow nudge */
.btn .btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* scrollspy active nav */
.nav-link.active { color: var(--primary-light); }
.nav-link.active::after { width: 100%; }

/* header Book-a-Call is tablet/desktop only; the sticky bar owns mobile CTAs.
   (.btn's display:inline-flex out-cascades Tailwind's .hidden, so scope it here) */
@media (max-width: 767px) { #site-header .btn-primary { display: none; } }

/* sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 30px -10px rgba(10,33,56,.25); border-top: 1px solid rgba(26,38,52,.08);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-cta.show { transform: translateY(0); }
.mc-call {
  flex: none; display: flex; align-items: center; gap: .45rem;
  padding: .8rem 1.1rem; border-radius: 10px; min-height: 48px;
  border: 1px solid var(--ring); color: var(--primary); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.mc-quote {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: .8rem 1rem; border-radius: 10px; min-height: 48px;
  background: linear-gradient(160deg, var(--primary-light), var(--primary));
  color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none;
  box-shadow: 0 8px 22px -10px var(--ring);
}

/* back to top */
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.4rem; z-index: 44;
  width: 46px; height: 46px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--primary); border: 1px solid rgba(26,38,52,.12);
  box-shadow: 0 12px 28px -10px rgba(10,33,56,.35); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--accent-soft); }
@media (max-width: 1023px) { .to-top { bottom: 5.4rem; } }

/* accessible focus */
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- wow layer ---------- */
/* slow-rotating aurora inside dark sections */
.aurora {
  position: absolute; inset: -45%; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(233,223,200,.09) 55deg, transparent 120deg,
    rgba(46,106,167,.16) 195deg, transparent 255deg,
    rgba(233,223,200,.07) 315deg, transparent 360deg);
  animation: auroraSpin 48s linear infinite;
}
@keyframes auroraSpin { from { transform: rotate(0deg) scale(1); } to { transform: rotate(360deg) scale(1.06); } }

/* periodic shine sweep on hero + final CTAs */
.btn-sheen::after { animation: autoSheen 5.5s ease-in-out 2.5s infinite; }
@keyframes autoSheen { 0% { left: -80%; } 14% { left: 135%; } 100% { left: 135%; } }

/* living gradient on accent words */
.accent-serif, .accent-serif-dark {
  background-size: 200% auto;
  animation: accentShift 7s ease-in-out infinite;
}
@keyframes accentShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* watermark drifts gently */
.stats-watermark { animation: watermarkDrift 10s ease-in-out infinite alternate; }
@keyframes watermarkDrift {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-16px); }
}

/* soft blue wash on white sections */
.section-wash {
  background:
    radial-gradient(760px 340px at 50% -90px, rgba(29,82,136,.06) 0%, transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(211,195,160,.08) 0%, transparent 65%),
    #ffffff;
}

/* calendar crop: hides the booking widget's built-in outer margins */
.cal-crop { overflow: hidden; }

/* form shells glow on approach */
.embed-shell { transition: box-shadow .3s ease; }
.embed-shell:hover { box-shadow: 0 30px 74px -30px rgba(6,19,31,.4), 0 0 0 1px var(--ring); }

/* sticky bar CTA gets the sheen too */
.mc-quote { position: relative; overflow: hidden; }
.mc-quote::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); animation: autoSheen 6s ease-in-out 3s infinite; pointer-events: none;
}

/* carousel cards: slight tilt lift */
.pcard:hover { transform: translateY(-4px) rotate(-.4deg); }

/* savings pills float gently */
.saver-pill { animation: pillFloat 5s ease-in-out infinite alternate; }
.saver-card:nth-child(even) .saver-pill { animation-delay: 1.2s; }
@keyframes pillFloat { from { transform: translateY(0); } to { transform: translateY(-5px); } }

/* marquee band hairlines */
.marquee { border-top: 1px solid rgba(26,38,52,.05); border-bottom: 1px solid rgba(26,38,52,.05); padding: 1.1rem 0; }

/* ---------- calm motion on touch devices (infinite loops stutter on phone GPUs) ---------- */
@media (max-width: 1023px), (hover: none) {
  .agent-tag { animation: none; }
  .saver-pill { animation: none; }
  .hero-ring, .hero-beam { display: none; }
  .hero-aura { filter: blur(60px); }
  .aurora { animation-duration: 70s; inset: -30%; }
  .stats-watermark { animation: none; }
}

/* ---------- mobile fit & finish ---------- */
@media (max-width: 640px) {
  .agent-tag { white-space: normal; max-width: 88%; padding: .7rem 1rem; }
  .stats-watermark { font-size: 8rem; right: -2rem; }
  .footer-watermark { font-size: 7rem; }
  .float-badge { padding: .7rem .95rem; }
  .hero-checks { column-gap: 1rem; }
  .lt-qr { flex-direction: column; text-align: center; }
  .pdetail-panel .lg\:sticky { position: static; }
}
@media (max-width: 1023px) {
  .footer-dark { padding-bottom: 10rem; } /* clear the sticky CTA bar */
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .btn-primary::after, .btn-white::after { display: none; }
  .mobile-cta { transition: none; }
}

/* ---------- polish pass v2 ---------- */
/* shrinking header on scroll */
.header-inner { transition: height .3s ease; }
#site-header { transition: box-shadow .3s ease; }
#site-header.scrolled { box-shadow: 0 2px 26px rgba(10,33,56,.12); }
#site-header.scrolled .header-inner { height: 64px; }
#site-header img { transition: transform .3s ease; transform-origin: left center; }
#site-header.scrolled .header-inner > a img { transform: scale(.82); }

/* carousel progress dots */
.pc-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .25rem; }
.pc-dots button {
  width: 8px; height: 8px; border-radius: 9999px; border: none; cursor: pointer; padding: 0;
  background: rgba(157,138,99,.35); transition: background .25s ease, transform .25s ease;
}
.pc-dots button.on { background: var(--primary-light); transform: scale(1.35); }

/* FAQ topic chips: one-line swipeable row on mobile */
@media (max-width: 767px) {
  #faq-tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
    padding: .25rem .25rem .6rem; margin-left: -.25rem; margin-right: -.25rem;
    scroll-snap-type: x proximity;
  }
  #faq-tabs::-webkit-scrollbar { display: none; }
  #faq-tabs .product-chip { flex: none; scroll-snap-align: start; }
}

/* quiz options: chevron slides in on hover */
.quiz-option { position: relative; padding-right: 2.6rem; }
.quiz-option::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%;
  width: 9px; height: 9px; border-right: 2.5px solid var(--accent-deep); border-bottom: 2.5px solid var(--accent-deep);
  transform: translateY(-50%) rotate(-45deg) translateX(-6px); opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.quiz-option:hover::after { opacity: 1; transform: translateY(-50%) rotate(-45deg) translateX(0); }

/* stats band hairlines */
.stats-band::before, .stats-band::after {
  content: ""; position: absolute; left: 8%; right: 8%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--ring), transparent);
}
.stats-band::before { top: 0; }
.stats-band::after { bottom: 0; }

/* oversized quote mark behind reviews */
.quote-mark {
  position: absolute; top: -1.5rem; left: 2%;
  font-family: var(--font-display); font-size: clamp(10rem, 20vw, 18rem); line-height: 1;
  color: rgba(157,138,99,.14); pointer-events: none; user-select: none;
}

/* savings tiles: organic collage tilt */
.saver-card:nth-child(odd) .saver-tile { transform: rotate(-.7deg); }
.saver-card:nth-child(even) .saver-tile { transform: rotate(.7deg); }
.saver-card:hover .saver-tile { transform: rotate(0deg); }

/* ---------- misc ---------- */
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; height: auto; }


/* ============================================================
   Concierge chat widget (demo). Self-contained, theme-driven.
   Injected site-wide by main.js. Swap the demo brain for the
   real GHL chat widget later without touching this CSS.
   ============================================================ */
.la-chat, .la-chat *, .la-chat *::before, .la-chat *::after { box-sizing: border-box; }
.la-chat {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
/* stack the back-to-top button above the launcher so they never overlap */
.to-top { bottom: calc(1.5rem + 74px); right: 1.5rem; }
@media (max-width: 1023px) {
  /* clear the sticky Call / Apply bar so the launcher never covers its buttons */
  .la-chat { right: 1rem; bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(9rem + env(safe-area-inset-bottom) + 60px); }
}

/* ---------- launcher ---------- */
.la-launch {
  position: relative; width: 60px; height: 60px; border-radius: 9999px;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(150deg, var(--primary-light), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 14px 34px -10px rgba(10,33,56,.55), 0 2px 8px rgba(10,33,56,.28);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease;
}
.la-launch:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 20px 42px -10px rgba(10,33,56,.6); }
.la-launch:active { transform: scale(.96); }
.la-launch svg { width: 27px; height: 27px; transition: transform .3s ease, opacity .25s ease; position: absolute; }
.la-launch .ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.la-chat.open .la-launch .ic-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.la-chat.open .la-launch .ic-close { opacity: 1; transform: rotate(0) scale(1); }
/* pulsing ring to draw the eye before first open */
.la-launch::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(18,58,99,.45); animation: laPulse 2.6s ease-out infinite;
}
.la-chat.open .la-launch::after, .la-chat.engaged .la-launch::after { animation: none; }
@keyframes laPulse { 0%{box-shadow:0 0 0 0 rgba(18,58,99,.4);} 70%{box-shadow:0 0 0 16px rgba(18,58,99,0);} 100%{box-shadow:0 0 0 0 rgba(18,58,99,0);} }
/* unread dot */
.la-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 9999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.la-chat.has-unread .la-badge { transform: scale(1); }

/* greeting teaser bubble */
.la-teaser {
  position: absolute; bottom: 6px; right: 74px; max-width: 232px;
  background: #fff; color: var(--ink); border-radius: 16px 16px 4px 16px;
  padding: 11px 14px; font-size: .84rem; line-height: 1.4; box-shadow: 0 16px 40px -14px rgba(10,33,56,.4);
  border: 1px solid rgba(18,58,99,.08);
  opacity: 0; transform: translateY(8px) scale(.9); transform-origin: bottom right;
  pointer-events: none; transition: opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.la-teaser.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.la-teaser-x {
  position: absolute; top: -7px; left: -7px; width: 20px; height: 20px; border-radius: 9999px;
  background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 12px; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(10,33,56,.3);
}
.la-chat.open .la-teaser { display: none; }

/* ---------- panel ---------- */
.la-panel {
  position: absolute; bottom: 74px; right: 0; width: 380px; max-width: calc(100vw - 2rem);
  height: 580px; max-height: calc(100vh - 6rem); display: flex; flex-direction: column;
  background: var(--cream); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(10,33,56,.55), 0 8px 24px rgba(10,33,56,.2);
  border: 1px solid rgba(255,255,255,.6);
  opacity: 0; transform: translateY(16px) scale(.96); transform-origin: bottom right;
  pointer-events: none; transition: opacity .3s ease, transform .32s cubic-bezier(.34,1.4,.64,1);
}
.la-chat.open .la-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* header */
.la-head {
  position: relative; flex: none; padding: 16px 16px 15px;
  background: linear-gradient(150deg, var(--primary-light), var(--primary) 60%, var(--primary-dark));
  color: #fff; display: flex; align-items: center; gap: 12px; overflow: hidden;
}
.la-head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(120px 120px at 85% -20%, var(--glow), transparent 70%);
}
.la-ava { position: relative; flex: none; width: 44px; height: 44px; border-radius: 9999px;
  border: 2px solid rgba(255,255,255,.55); object-fit: cover; background: var(--primary-light); }
.la-ava-wrap { position: relative; flex: none; }
.la-ava-dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 9999px;
  background: #2ecc71; border: 2px solid var(--primary); }
.la-head-t { position: relative; line-height: 1.2; min-width: 0; }
.la-head-name { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.02rem; }
.la-head-sub { font-size: .74rem; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.la-head-sub b { width: 6px; height: 6px; border-radius: 9999px; background: #2ecc71; display: inline-block; }
.la-close { margin-left: auto; position: relative; flex: none; width: 32px; height: 32px; border-radius: 9999px;
  border: none; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.la-close:hover { background: rgba(255,255,255,.28); }

/* body / messages */
.la-body { flex: 1 1 auto; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.la-body::-webkit-scrollbar { width: 7px; }
.la-body::-webkit-scrollbar-thumb { background: rgba(18,58,99,.22); border-radius: 9999px; }
.la-row { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.la-row.user { flex-direction: row-reverse; }
.la-mini-ava { flex: none; width: 26px; height: 26px; border-radius: 9999px; object-fit: cover; border: 1px solid rgba(18,58,99,.15); align-self: flex-end; }
.la-bubble {
  max-width: 78%; padding: 10px 13px; font-size: .875rem; line-height: 1.48; border-radius: 15px;
  animation: laIn .32s cubic-bezier(.34,1.4,.64,1) both;
}
.la-row.bot .la-bubble { background: #fff; color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 4px 16px -8px rgba(10,33,56,.28); border: 1px solid rgba(18,58,99,.05); }
.la-row.user .la-bubble { background: linear-gradient(150deg, var(--primary-light), var(--primary)); color: #fff; border-bottom-right-radius: 5px; }
.la-bubble strong { font-weight: 600; }
.la-bubble .fine { display: block; margin-top: 7px; font-size: .72rem; color: var(--muted); line-height: 1.4; }
@keyframes laIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* typing */
.la-typing .la-bubble { padding: 13px 15px; }
.la-dots { display: inline-flex; gap: 4px; }
.la-dots i { width: 7px; height: 7px; border-radius: 9999px; background: var(--primary-light); opacity: .5; animation: laBlink 1.2s infinite; }
.la-dots i:nth-child(2){ animation-delay: .2s; } .la-dots i:nth-child(3){ animation-delay: .4s; }
@keyframes laBlink { 0%,60%,100%{ transform: translateY(0); opacity:.4; } 30%{ transform: translateY(-4px); opacity:1; } }

/* quick-reply chips + CTAs */
.la-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 4px 6px 40px; animation: laIn .32s ease both; }
.la-chips.full { padding-left: 4px; }
.la-chip {
  border: 1px solid var(--primary-light); background: #fff; color: var(--primary);
  border-radius: 9999px; padding: 7px 13px; font-size: .8rem; font-weight: 500; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease; line-height: 1.2;
}
.la-chip:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.la-cta {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  border-radius: 10px; padding: 9px 15px; font-size: .84rem; font-weight: 600; cursor: pointer; border: none;
}
.la-cta.primary { background: linear-gradient(150deg, var(--primary-light), var(--primary)); color: #fff; box-shadow: 0 8px 20px -8px rgba(10,33,56,.5); }
.la-cta.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary-light); }
.la-cta svg { width: 15px; height: 15px; }

/* inline lead form */
.la-lead { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid rgba(18,58,99,.1);
  border-radius: 14px; padding: 13px; margin-left: 40px; box-shadow: 0 4px 16px -8px rgba(10,33,56,.25); animation: laIn .32s ease both; }
.la-lead input { width: 100%; border: 1px solid rgba(18,58,99,.2); border-radius: 9px; padding: 9px 11px; font-size: .85rem; color: var(--ink); font-family: inherit; }
.la-lead input:focus { outline: 2px solid var(--primary-light); outline-offset: 1px; border-color: transparent; }
.la-lead button { margin-top: 1px; }

/* footer input */
.la-foot { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid rgba(18,58,99,.08); }
.la-input { flex: 1; border: 1px solid rgba(18,58,99,.16); border-radius: 9999px; padding: 10px 15px; font-size: .875rem;
  color: var(--ink); font-family: inherit; background: var(--cream); }
.la-input:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--ring); }
.la-send { flex: none; width: 40px; height: 40px; border-radius: 9999px; border: none; cursor: pointer; color: #fff;
  background: linear-gradient(150deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, opacity .2s ease; }
.la-send:hover { transform: scale(1.06); } .la-send:disabled { opacity: .4; cursor: default; transform: none; }
.la-send svg { width: 18px; height: 18px; }
.la-disc { flex: none; text-align: center; font-size: .64rem; color: var(--muted); padding: 0 12px 7px; background: #fff; line-height: 1.3; }

@media (max-width: 480px) {
  /* panel is anchored 74px above the raised launcher; keep its top on-screen */
  .la-panel { width: calc(100vw - 1.5rem); height: calc(100vh - 172px); height: calc(100dvh - 172px); }
  .la-teaser { max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .la-launch::after { animation: none; }
  .la-bubble, .la-chips, .la-lead { animation: none; }
  .la-dots i { animation: none; opacity: .6; }
  .la-panel, .la-launch, .la-teaser { transition: opacity .2s ease; }
}
