/* ============================================================
   Sanctuary Insurance Company, shared foundation stylesheet
   Pass 1 homepage. Locks the design system every inner page inherits.
   Reference: SafetyWing Nomad Insurance (Awwwards Nominee Dec 2025),
   structural clone, content-swapped. Tokens role-mapped in
   design/brands/sanctuary.md (single brand swap = Sanctuary red).
   No em/en dashes anywhere. Mobile-first (375 base).
   ============================================================ */

/* ---------- Self-hosted Plus Jakarta Sans (latin subset, weights actually used) ----------
   Subset WOFF2, font-display: swap, served first-party so a real CSP (script/style/font-src 'self')
   holds and the Africa-data payload stays tiny (~48KB for all four weights vs a render-blocking
   Google Fonts round trip). Only the latin subset ships: the site is English-only. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pjs-400.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/pjs-500.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/pjs-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;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pjs-700.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;
}
/* Metric-matched fallback so the swap from system-ui to Plus Jakarta Sans does not shift layout (CLS). */
@font-face {
  font-family: "PJS Fallback";
  src: local("Arial");
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 102%;
}

/* ---------- Design tokens (role-mapped; provenance in design/brands/sanctuary.md) ---------- */
:root {
  /* CANVAS, dark trustworthy ground (ref role bluewood #273C49 -> Sanctuary charcoal) */
  --canvas: #20262B;        /* kit: sanctuary canvas */
  --canvas-2: #2A3137;      /* kit: sanctuary lifted dark band */

  /* SURFACE, light cards / inputs on canvas (ref pale-teal + white) */
  --surface: #FFFFFF;       /* kit: sanctuary card surface */
  --surface-2: #F4EDED;     /* kit: sanctuary pale warm surface */

  /* INK, text */
  --ink: #231F20;           /* kit: sanctuary ink on light (brand charcoal) */
  --ink-soft: #5A5557;      /* kit: sanctuary muted ink */
  --ink-inverse: #FFFFFF;   /* kit: sanctuary ink on dark */
  --ink-inverse-soft: #C4CCD2; /* derived: muted ink on dark canvas */

  /* LINE, hairline / real 3D button edge */
  --line: #BF1217;          /* kit: button bottom-edge (same-hue darker than accent) */
  --line-soft: #E4DDDD;     /* kit: hairline on light surfaces */
  --line-dark: rgba(255,255,255,.12); /* derived: hairline on dark */

  /* ACCENT, THE single brand-anchored swap: ref teal -> Sanctuary logo red */
  --accent: #EE1D23;        /* kit: sanctuary RED (logo, exact) */
  --accent-deep: #C8161B;   /* kit: red hover/pressed */

  /* SECONDARY WARM, kept from reference (easy-buy / pricing band) */
  --warm: #EDCE68;          /* kit: warm yellow */
  --warm-soft: #F7E9B8;     /* kit: warm tint */
  --warm-deep: #D9B645;     /* derived: warm edge */

  /* BENTO PASTELS, coverage grid (warm only, subordinate to red) */
  --bento-1: #F4A9C0;       /* pink */
  --bento-2: #EDCE68;       /* yellow */
  --bento-3: #F4C9A9;       /* peach */
  --bento-4: #DCC7B0;       /* sand */

  --grey: #808285;          /* kit: mid grey (logo subtext) */

  /* Type */
  --font: "Plus Jakarta Sans", "PJS Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* fluid scale, mobile-first; clamps tested at 375 + 1280 */
  --fs-display: clamp(2rem, 1.3rem + 3.2vw, 3.1rem);   /* h1 ~ 49.6px desktop (ref 46.4) */
  --fs-h2: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
  --fs-body: 1rem;          /* 16px */
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;

  /* Shape */
  --radius: 12px;           /* ref cardShape radius */
  --radius-sm: 10px;        /* quote-tool inputs (softened from ref square) */
  --radius-lg: 16px;        /* media */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 0.5rem + 3vw, 2.5rem);

  /* Motion (Emil constants) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Shadows (soft, restrained) */
  --shadow-card: 0 10px 30px rgba(20,26,30,.10);
  --shadow-float: 0 18px 50px rgba(20,26,30,.22);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: clip;        /* contain any intentional full-bleed; never a page-level scrollbar */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* the in-page-anchor focus target should never sit under the sticky nav (WCAG 2.4.11) */
:target, [id] { scroll-margin-top: 5rem; }
main:focus { outline: none; }

/* ---------- Skip link (first focusable; visible only on focus) ---------- */
.skip-link {
  position: fixed; top: .6rem; left: 50%; transform: translate(-50%, -160%);
  z-index: 200; background: var(--accent-deep); color: #fff;
  padding: .7rem 1.2rem; border-radius: var(--radius); font-weight: 700; font-size: var(--fs-small);
  box-shadow: 0 6px 24px rgba(0,0,0,.3); transition: transform .18s var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline: 2px solid #fff; outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-small);
  transition: transform .12s var(--ease-out), background-color .16s var(--ease-out), color .16s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
/* Primary CTA fill uses --accent-deep (#C8161B): white-on-red clears WCAG AA at 5.86:1,
   where the exact logo red #EE1D23 sits at 4.34:1 (just under). Still unmistakably
   Sanctuary red; the logo red --accent stays the brand anchor for accents/outlines/ticks
   that sit on light or dark grounds. Recorded in design/brands/sanctuary.md. */
.btn-primary {
  background: var(--accent-deep); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 3px 0 var(--line);
}
.btn-primary:hover { background: #AE1217; }
.btn-ghost {
  background: transparent; color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: .92;
}
.btn-ghost:hover { opacity: 1; }
.btn-warm {
  background: var(--warm); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 var(--warm-deep);
}
.btn-warm:hover { background: var(--warm-deep); }
.btn-lg { padding: .95em 1.7em; font-size: var(--fs-body); }
.btn-link {
  font-weight: 600; font-size: var(--fs-small);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
  transition: opacity .16s var(--ease-out);
}
.btn-link:hover { opacity: .65; }

/* ============================================================
   SHARED SHELL, nav, scroll-spy pill, footer
   (markers reused by every inner page)
   ============================================================ */

/* ----- Sticky dark nav, rounded container with side gutters ----- */
.site-nav { position: sticky; top: 0; z-index: 60; padding-top: .7rem; }
.site-nav .nav-inner {
  display: flex; align-items: center; gap: 1rem;
  background: var(--canvas-2);
  border-radius: var(--radius);
  padding: .6rem .8rem .6rem 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
}
.nav-brand { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.nav-brand img { height: 28px; width: auto; }
.nav-tag {
  font-size: var(--fs-xs); color: var(--ink-inverse-soft);
  border-left: 1px solid var(--line-dark); padding-left: .55rem; font-weight: 500;
}
.nav-links { display: none; gap: .25rem; margin-inline: auto; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--ink-inverse); font-size: var(--fs-small); font-weight: 500;
  padding: .5rem .7rem; border-radius: 8px;
  transition: background-color .16s var(--ease-out);
}
.nav-links > li > a:hover, .nav-links > li > button:hover { background: rgba(255,255,255,.07); }
.nav-links .caret { width: .6em; opacity: .7; }
.nav-cta { display: none; flex: 0 0 auto; }
.nav-burger {
  margin-left: auto; display: inline-flex; flex-direction: column; gap: 4px;
  padding: .55rem; border-radius: 8px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--ink-inverse); border-radius: 2px; transition: transform .2s var(--ease-out), opacity .2s var(--ease-out); }
.nav-dropdown { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-float);
  padding: .5rem; min-width: 260px; display: none;
  grid-template-columns: 1fr 1fr; gap: .15rem; z-index: 70;
}
.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { display: grid; }
.nav-menu a { font-size: var(--fs-small); padding: .5rem .6rem; border-radius: 8px; color: var(--ink); }
.nav-menu a:hover { background: var(--surface-2); }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--canvas);
  padding: 1.2rem var(--gutter) 2rem;
  transform: translateY(-100%); transition: transform .32s var(--ease-out);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer .md-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.mobile-drawer .md-top img { height: 30px; }
.md-close { font-size: 1.8rem; color: var(--ink-inverse); line-height: 1; padding: .2rem .6rem; }
.mobile-drawer nav a { display: block; color: var(--ink-inverse); font-size: 1.2rem; font-weight: 600; padding: .75rem 0; border-bottom: 1px solid var(--line-dark); }
.mobile-drawer .md-sub { padding-left: 1rem; }
.mobile-drawer .md-sub a { font-size: 1rem; font-weight: 500; opacity: .85; border-bottom: none; padding: .45rem 0; }
.mobile-drawer .btn { margin-top: 1.4rem; width: 100%; }

/* ----- Floating scroll-spy section pill (secondary signature device) ----- */
.scrollspy {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(140%);
  z-index: 55; display: flex; align-items: center; gap: .15rem;
  background: var(--canvas-2); color: var(--ink-inverse);
  border-radius: 999px; padding: .35rem .4rem;
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
  max-width: calc(100vw - 2rem);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
  opacity: 0;
}
.scrollspy.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.scrollspy .ss-links { display: none; align-items: center; gap: .1rem; }
.scrollspy .ss-links a {
  font-size: var(--fs-xs); font-weight: 500; color: var(--ink-inverse-soft);
  padding: .4rem .6rem; border-radius: 999px; white-space: nowrap;
  transition: color .16s var(--ease-out), background-color .16s var(--ease-out);
}
.scrollspy .ss-links a.active { color: var(--ink-inverse); background: rgba(255,255,255,.10); }
.scrollspy .ss-top { font-size: var(--fs-xs); font-weight: 600; padding: .45rem .7rem; border-radius: 999px; background: rgba(255,255,255,.08); white-space: nowrap; }
.scrollspy .ss-cta { font-size: var(--fs-xs); font-weight: 700; padding: .5rem .9rem; border-radius: 999px; background: var(--accent-deep); color: #fff; white-space: nowrap; }

/* ----- Footer (dark) ----- */
.site-footer { background: var(--canvas); color: var(--ink-inverse); padding: 3rem 0 2rem; }
/* clear the floating scroll-spy pill so it never covers the legal line on its resting strip */
@media (min-width: 980px) { .site-footer { padding-bottom: 5.5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand img { height: 34px; margin-bottom: .9rem; }
.footer-brand p { color: var(--ink-inverse-soft); font-size: var(--fs-small); max-width: 30ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
.footer-cols .footer-h { font-size: var(--fs-small); font-weight: 700; margin-bottom: .8rem; color: var(--ink-inverse); }
.footer-cols a, .footer-cols li { font-size: var(--fs-small); color: var(--ink-inverse-soft); padding: .25rem 0; display: block; transition: color .16s var(--ease-out); }
.footer-cols a:hover { color: var(--ink-inverse); }
.footer-trust { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.footer-trust .chip { font-size: var(--fs-xs); color: var(--ink-inverse-soft); display: inline-flex; align-items: center; gap: .4rem; }
.footer-trust .chip b { color: var(--ink-inverse); font-weight: 700; }
.footer-legal-row { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; }
.footer-legal { font-size: var(--fs-xs); color: var(--ink-inverse-soft); max-width: 62ch; }
.footer-legal-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-legal-links a { font-size: var(--fs-xs); color: var(--ink-inverse-soft); transition: color .16s var(--ease-out); }
.footer-legal-links a:hover { color: var(--ink-inverse); }

/* ============================================================
   HERO, layered 2D parallax illustrated scene (THE signature)
   ============================================================ */
.hero { position: relative; overflow: clip; background: var(--canvas); isolation: isolate; }
.hero-scene { position: relative; height: min(94vh, 760px); min-height: 540px; }
.hero-layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-layer img, .hero-layer svg { width: 100%; height: 100%; }

/* sky: warm coded gradient (our own asset, never SafetyWing art) */
.hl-sky {
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(237,206,104,.55) 0%, rgba(237,206,104,0) 42%),
    radial-gradient(140% 90% at 20% 0%, rgba(244,169,192,.30) 0%, rgba(244,169,192,0) 40%),
    linear-gradient(180deg, #2E3942 0%, #232A30 60%, var(--canvas) 100%);
}
.hl-sun { /* soft warm sun glow */ }
.hl-sun .sun {
  position: absolute; top: 8%; right: 12%; width: clamp(90px, 16vw, 200px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,233,184,.95) 0%, rgba(237,206,104,.55) 38%, rgba(237,206,104,0) 70%);
}
/* protection canopy device (rebuilt dome motif, coded SVG) */
.hl-canopy { display: grid; place-items: start center; }
.hl-canopy svg { width: min(86%, 760px); height: auto; margin-top: clamp(1rem, 4vh, 3rem); opacity: .9; }
/* midground silhouette band (rolling land) */
.hl-mid svg { position: absolute; bottom: 0; width: 100%; height: auto; }
/* foreground subject: feathered family photo */
.hl-fg { display: flex; align-items: flex-end; justify-content: center; }
.hl-fg .subject {
  position: relative; width: min(72%, 540px); aspect-ratio: 3/2.0;
  margin-bottom: clamp(0px, 2vh, 26px);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 42%, #000 58%, transparent 86%);
          mask-image: radial-gradient(120% 100% at 50% 42%, #000 58%, transparent 86%);
}
.hl-fg .subject img { width: 100%; height: 100%; object-fit: cover; border-radius: 160px 160px 18px 18px; }
/* floating reassurance glyphs (foreground, faster drift) */
.hl-float .glyph { position: absolute; opacity: .9; }
.hl-float .glyph svg { width: 100%; height: 100%; }
.hl-float .g1 { top: 22%; left: 8%; width: clamp(34px,5vw,52px); }
.hl-float .g2 { top: 16%; right: 18%; width: clamp(30px,4.5vw,46px); }
.hl-float .g3 { top: 46%; right: 7%; width: clamp(30px,4.5vw,46px); }

/* hero copy floats top-left */
.hero-copy {
  position: absolute; z-index: 5; top: clamp(1.2rem, 5vh, 3rem); left: 0; right: 0;
}
.hero-copy .wrap { max-width: var(--maxw); }
.hero-copy .eyebrow { color: var(--warm); font-weight: 600; font-size: var(--fs-small); margin-bottom: .6rem; }
.hero-copy h1 { color: var(--ink-inverse); max-width: 16ch; }
.hero-copy .lede { color: var(--ink-inverse-soft); font-size: clamp(1rem,.95rem + .3vw,1.15rem); max-width: 34ch; margin-top: 1rem; }
.hero-chip {
  display: inline-flex; align-items: baseline; gap: .5rem; margin-top: 1.3rem;
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  padding: .7rem 1rem; color: var(--ink-inverse);
}
.hero-chip .big { font-size: 1.7rem; font-weight: 700; color: var(--warm); }
.hero-chip .lbl { font-size: var(--fs-small); color: var(--ink-inverse-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.4rem; }
.hero-actions .btn-link { color: var(--ink-inverse); }
.hero-cue {
  position: absolute; bottom: 1rem; left: 0; right: 0; z-index: 5;
  text-align: center; color: var(--ink-inverse-soft); font-size: var(--fs-small);
}
.hero-cue span { display: inline-flex; align-items: center; gap: .4rem; animation: cue 2.2s var(--ease-out) infinite; }
@keyframes cue { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.section.on-dark { background: var(--canvas); color: var(--ink-inverse); }
.section.on-light { background: var(--surface); color: var(--ink); }
/* Below-fold bands skip render + defer their image work until near the viewport
   (helps INP and keeps below-fold images off the LCP critical path on slow data).
   contain-intrinsic-size reserves height so the scrollbar and CLS stay stable. */
.lifeband, #plans, #quote, #coverage, #faq, .cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.section-head { margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.section-head .eyebrow { font-size: var(--fs-small); font-weight: 600; color: var(--accent); margin-bottom: .5rem; }
.section.on-dark .section-head .eyebrow { color: var(--warm); }
.section-head h2 { max-width: 20ch; }
.section-head p { margin-top: .7rem; max-width: 56ch; color: var(--ink-soft); }
.section.on-dark .section-head p { color: var(--ink-inverse-soft); }

/* reveal (calm: section container fade/lift once) */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }

/* ============================================================
   LIFE-BAND, full-bleed illustrated/photographic scene
   ============================================================ */
.lifeband { position: relative; overflow: clip; }
.lifeband .band-media { position: relative; height: clamp(320px, 50vh, 520px); }
.lifeband .band-media img { width: 100%; height: 100%; object-fit: cover; }
.lifeband .band-tint {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(32,38,43,.78) 0%, rgba(32,38,43,.35) 48%, rgba(32,38,43,.10) 100%);
}
.lifeband .band-copy { position: absolute; inset: 0; display: flex; align-items: center; }
.lifeband .band-copy .wrap { color: var(--ink-inverse); }
.lifeband .band-copy h2 { max-width: 18ch; }
.lifeband .band-copy p { margin-top: .8rem; max-width: 38ch; color: var(--ink-inverse-soft); }

/* ============================================================
   PLANS, two/three-up illustrated product cards
   ============================================================ */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.plan-card {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); overflow: clip;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
  position: relative;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.plan-card .pc-media { position: relative; aspect-ratio: 16/10; }
.plan-card .pc-media img { width: 100%; height: 100%; object-fit: cover; }
.plan-card.featured { outline: 2px solid var(--accent); outline-offset: -2px; }
.plan-tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--accent-deep); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: .3rem .65rem; border-radius: 8px;
}
.plan-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { margin-bottom: .3rem; }
.plan-body .pc-sub { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: 1rem; }
.plan-list { display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.plan-list li { display: flex; gap: .55rem; font-size: var(--fs-small); align-items: flex-start; }
.plan-list .tick { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.plan-foot { margin-top: auto; display: flex; gap: .7rem; flex-wrap: wrap; }
.plan-foot .btn { flex: 1 1 auto; }

/* ============================================================
   QUOTE TOOL, motor quick-quote (working slice) on warm band
   ============================================================ */
.quote-band { background: var(--warm); color: var(--ink); }
.quote-layout { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: start; }
.quote-left { display: grid; gap: 1.4rem; align-content: start; }
.quote-tool {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-card);
}
.quote-step { margin-bottom: 1.3rem; }
.quote-step:last-child { margin-bottom: 0; }
.quote-step .step-label { font-size: var(--fs-small); font-weight: 700; margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.quote-step .step-label .num {
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent-deep); color: #fff;
  display: inline-grid; place-items: center; font-size: var(--fs-xs); font-weight: 700;
}
.opt-row { display: grid; grid-template-columns: 1fr; gap: .55rem; }
.opt-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opt {
  border: 1px solid var(--line-soft); background: var(--surface);
  border-radius: var(--radius-sm); padding: .7rem .8rem; text-align: left;
  font-size: var(--fs-small); transition: border-color .16s var(--ease-out), background-color .16s var(--ease-out);
  display: flex; flex-direction: column; gap: .15rem; line-height: 1.3;
}
.opt .opt-sub { font-size: var(--fs-xs); color: var(--ink-soft); }
.opt[aria-pressed="true"] { border-color: var(--accent); background: #FDECEC; }
.opt[aria-pressed="true"] .opt-name { color: var(--accent-deep); font-weight: 700; }
.opt-row.cols-3 .opt { text-align: center; align-items: center; }
.quote-field { display: flex; flex-direction: column; gap: .4rem; }
.quote-field input {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: .75rem .85rem; font-size: var(--fs-body); width: 100%;
  text-transform: uppercase; letter-spacing: .04em;
}
.quote-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* result card (floating) */
.quote-result {
  background: var(--canvas); color: var(--ink-inverse);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-float);
  position: relative;
}
.quote-result .qr-term-toggle { display: inline-flex; gap: .2rem; background: rgba(255,255,255,.08); border-radius: 999px; padding: .25rem; margin-bottom: 1rem; }
.quote-result .qr-term-toggle button { font-size: var(--fs-xs); padding: .35rem .7rem; border-radius: 999px; color: var(--ink-inverse-soft); font-weight: 600; }
.quote-result .qr-term-toggle button[aria-pressed="true"] { background: var(--warm); color: var(--ink); }
.quote-result .qr-head { font-size: var(--fs-small); color: var(--ink-inverse-soft); }
.quote-result .qr-figure { font-size: 2rem; font-weight: 700; color: var(--warm); margin: .2rem 0 .1rem; }
.quote-result .qr-figure .cur { font-size: 1.1rem; vertical-align: super; }
.quote-result .qr-meta { font-size: var(--fs-small); color: var(--ink-inverse-soft); }
.quote-result .qr-lines { display: grid; gap: .5rem; margin: 1rem 0; }
.quote-result .qr-lines li { display: flex; gap: .5rem; font-size: var(--fs-small); align-items: flex-start; color: var(--ink-inverse-soft); }
.quote-result .qr-lines .tick { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--warm); }
.quote-result .qr-actions { display: grid; gap: .6rem; }
.quote-result .qr-actions .btn { width: 100%; }
.quote-note { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 1rem; line-height: 1.5; }
.eyebrow-accent { color: var(--accent-deep); }
.btn-link-inverse { color: var(--ink-inverse); }
.quote-band .qb-intro h2 { max-width: 18ch; }
.quote-band .qb-intro p { margin-top: .7rem; max-width: 42ch; color: #6b5d2f; }
.quote-band .qb-intro .qb-points { margin-top: 1.2rem; display: grid; gap: .5rem; }
.quote-band .qb-intro .qb-points li { display: flex; gap: .5rem; font-size: var(--fs-small); align-items: flex-start; }
.quote-band .qb-intro .qb-points .tick { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }

/* ============================================================
   COVERAGE, colourful bento grid
   ============================================================ */
.bento-toggle { display: inline-flex; gap: .2rem; background: var(--canvas-2); border-radius: 999px; padding: .3rem; margin-bottom: 1.6rem; }
.bento-toggle button { font-size: var(--fs-small); font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px; color: var(--ink-inverse-soft); }
.bento-toggle button[aria-pressed="true"] { background: var(--accent-deep); color: #fff; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.bento-tile {
  border-radius: var(--radius); padding: 1.1rem; color: var(--ink);
  display: flex; flex-direction: column; gap: .5rem; min-height: 130px;
}
.bento-tile .b-icon { width: 28px; height: 28px; }
.bento-tile h3 { font-size: 1.05rem; }
.bento-tile .b-fig { font-size: var(--fs-small); font-weight: 700; margin-top: auto; }
.bento-tile .b-desc { font-size: var(--fs-small); color: rgba(35,31,32,.72); }
.bento-tile.t-pink { background: var(--bento-1); }
.bento-tile.t-yellow { background: var(--bento-2); }
.bento-tile.t-peach { background: var(--bento-3); }
.bento-tile.t-sand { background: var(--bento-4); }
.bento-tile.t-lead { grid-column: span 2; background: var(--canvas-2); color: var(--ink-inverse); justify-content: flex-start; gap: .7rem; }
.bento-tile.t-lead h3 { font-size: var(--fs-h3); }
.bento-tile.t-lead .b-desc { color: var(--ink-inverse-soft); }
.bento-tile.t-lead .b-fig { margin-top: .2rem; color: var(--warm); }
.bento-footnote { margin-top: 1.4rem; background: var(--canvas-2); border-radius: var(--radius); padding: .9rem 1.1rem; color: var(--ink-inverse-soft); font-size: var(--fs-small); display: flex; gap: .6rem; align-items: flex-start; }
.bento-footnote .tick { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--warm); }

/* ============================================================
   FAQ, search-led, accordion, white band with faint marks
   ============================================================ */
.faq-band { position: relative; overflow: clip; }
.faq-marks { position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 0; }
.faq-marks svg { position: absolute; }
.faq-marks .m1 { top: 8%; left: -2%; }
.faq-marks .m2 { top: 60%; right: -1%; }
.faq-marks .m3 { bottom: 6%; left: 6%; }
.faq-count { font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: 1.4rem; }
.faq-inner { position: relative; z-index: 1; max-width: 820px; }
.faq-search { position: relative; margin-bottom: 1.8rem; }
.faq-search input {
  width: 100%; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1rem 3rem 1rem 3rem; font-size: var(--fs-body); background: var(--surface);
}
.faq-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.faq-search .icon-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-soft); }
.faq-search .icon-spark { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--accent); }
.faq-list { display: grid; gap: .7rem; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.05rem 1.2rem; font-weight: 600; font-size: var(--fs-body); }
.faq-q .chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ink-soft); transition: transform .22s var(--ease-out); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease-out); }
.faq-a .faq-a-inner { padding: 0 1.2rem 1.15rem; color: var(--ink-soft); font-size: var(--fs-small); }
.faq-empty { color: var(--ink-soft); font-size: var(--fs-small); padding: 1rem 0; }

/* ============================================================
   CLOSING CTA band
   ============================================================ */
.cta-band { background: var(--canvas); color: var(--ink-inverse); text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: .9rem auto 0; max-width: 44ch; color: var(--ink-inverse-soft); }
.cta-band .cta-actions { margin-top: 1.6rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE, tablet + desktop
   ============================================================ */
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 2fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-layout { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-tile.t-lead { grid-column: span 1; grid-row: span 2; }
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .scrollspy .ss-links { display: flex; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .quote-layout { grid-template-columns: 1.05fr 1fr; gap: 2rem; }
  .quote-result { position: sticky; top: 5rem; }
  .bento { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .bento-tile.t-lead { grid-column: span 2; grid-row: span 2; }
  .hero-copy .lede { max-width: 30ch; }
}

/* ============================================================
   REDUCED MOTION, layers at rest, no scroll-linked transform
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cue span { animation: none; }
  .hero-layer { transform: none !important; }
  * { scroll-behavior: auto !important; }
}
