/* =========================================================================
   SAVI Coaching — shared site styles
   Brand tokens + Newsletter signup bar + Footer
   (SAVI 2026 brand kit: black/white base, gold primary, teal/coral accents)
   ========================================================================= */

:root {
  /* Base */
  --savi-black: #0E0E0C; /* soft black, not true black (Mark 2026-09-25) */
  --savi-ink:   #141417;
  --savi-white: #FFFFFF;
  --savi-muted: #9A9AA2;
  --savi-line:  rgba(255, 255, 255, 0.12);

  /* Accents */
  --savi-gold:      #F4A94F; /* brand gold confirmed by Mark 2026-09-25 (was #F4A850) */
  --savi-gold-600:  #E4962E; /* hover shade, derived from #F4A94F */
  --savi-teal:      #4FC7C0;
  --savi-coral:     #F55B73;

  /* Type — Inter everywhere (Mark 2026-09-25); --font-display kept as an alias so headings/buttons can still be tuned separately */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Spacing + shape system (Mark 2026-09-26): one 8px scale, one card padding, one card radius, one grid gap */
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 40px; --space-6: 48px;
  --card-pad: 28px; --radius-card: 16px; --radius-ctl: 8px; --grid-gap: 20px;
  --hero-h: clamp(44px, 7vw, 96px); /* Apple-scale hero headline (Mark 2026-09-26) */
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
}

/* ------------------------------------------------------------------ *
 * NEWSLETTER SIGNUP BAR (site-wide, sits above the header)
 * ------------------------------------------------------------------ */
.savi-newsbar {
  position: relative; /* anchors the dismiss X at the page edge */
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
}
.savi-newsbar[hidden] { display: none; }

.savi-newsbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px; /* bar height tuned by Mark 2026-09-25 */
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.savi-newsbar__msg {
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}
.savi-newsbar__msg strong { color: var(--savi-gold); font-weight: 600; }

.savi-newsbar__form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 1 auto;
}

.savi-field {
  appearance: none;
  border: 1px solid var(--savi-line);
  background: rgba(255, 255, 255, 0.035); /* a touch darker, same warm tone as --savi-black (Mark 2026-09-25) */
  color: var(--savi-white);
  font: inherit;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 8px;
  min-width: 220px;
  transition: border-color .15s ease, background .15s ease;
}
.savi-field::placeholder { color: var(--savi-muted); }
.savi-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55); /* brightens toward white on focus, not gold (Mark 2026-09-25) */
  background: rgba(255, 255, 255, 0.06);
}

.savi-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--savi-gold);
  color: var(--savi-black); /* button text = page background (Mark 2026-09-25) */
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .05s ease;
}
.savi-btn:hover { background: var(--savi-gold-600); }
.savi-btn:active { transform: translateY(1px); }
.savi-btn[disabled] { opacity: .6; cursor: default; }

/* Compact field + button inside the bar only (footer/site buttons keep full size) */
.savi-newsbar .savi-field {
  font-size: 15.5px;
  line-height: 1.2;
  padding: 6px 12px;
  min-width: 190px;
  border-radius: 6px;
}
/* Footer Subscribe shares the bar's look: gold outline, 1px, weight 500 */
.savi-footer__signup .savi-btn { border-width: 1px; font-weight: 500; font-size: 12px; }
.savi-newsbar .savi-btn {
  font-size: 13.5px;
  line-height: 1.2;
  padding: 6px 14px;
  border-radius: 6px;
  border-width: 1px; /* thinner outline than the standard 1.5px gold-ghost (Mark 2026-09-25) */
  font-weight: 500; /* lighter than the standard 600 button weight */
}

.savi-newsbar__dismiss {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); /* right-aligned on the page (Mark 2026-09-25) */
  background: none;
  border: 0;
  color: var(--savi-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 4px;
}
.savi-newsbar__dismiss:hover { color: var(--savi-white); }

/* Shared success/error message (used by bar + footer) */
.savi-form-note { font-size: 13px; margin: 0; }
.savi-form-note.is-ok  { color: var(--savi-teal); }
.savi-form-note.is-err { color: var(--savi-coral); }

@media (max-width: 720px) {
  .savi-quote { white-space: normal !important; max-width: 100% !important; } /* one-line quotes may wrap on phones */
  .savi-nowrap { white-space: normal !important; }
  .savi-newsbar__inner { flex-direction: column; gap: 10px; text-align: center; }
  .savi-newsbar__form { width: 100%; }
  .savi-field { flex: 1; min-width: 0; }
  .savi-newsbar__dismiss { top: 6px; right: 10px; transform: none; }
}

/* ==================================================================== *
 * PAGE FOUNDATION + REUSABLE SECTION COMPONENTS
 * (used by Home and every other page)
 * ==================================================================== */
* { box-sizing: border-box; }
body.savi-page {
  margin: 0;
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.savi-page a:not(.savi-btn) { color: inherit; }
img { max-width: 100%; }

.savi-container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.savi-section { padding: 104px 0; }
.savi-section--tight { padding: 64px 0; }
.savi-section--alt { background: var(--savi-black); } /* the lighter #0E0E0C tint is retired — everything sits on #0E0E0C (Mark 2026-09-25) */
.savi-section--light { background: #FFFFFF; color: #16161A; }
.savi-section--light .savi-h2 { color: #16161A; }
.savi-section--light .savi-lead { color: #5A5A62; }
.savi-section--light .savi-course-grid img { border-color: #E7E7E7; }
.savi-section--light .savi-btn--ghost { color: #16161A; border-color: #D0D0D6; }
.savi-section--light .savi-btn--ghost:hover { background: #16161A; border-color: #16161A; color: #fff; }

/* Two-color secondary button (Mark 2026-09-24): transparent fill, gold outline.
   Use for secondary actions; keep ONE solid primary per screen (Apple direction). */
.savi-btn--gold-ghost { background: transparent; border: 1.5px solid var(--savi-gold); color: var(--savi-gold); }
.savi-btn--gold-ghost:hover { background: var(--savi-gold); color: var(--savi-black); }
/* Teal / coral outline buttons (Community + Consulting tabs, Mark 2026-09-26) — same recipe as gold-ghost */
.savi-btn--teal-ghost  { background: transparent; border: 1.5px solid var(--savi-teal);  color: var(--savi-teal); }
.savi-btn--teal-ghost:hover  { background: var(--savi-teal);  color: var(--savi-black); }
.savi-btn--coral-ghost { background: transparent; border: 1.5px solid var(--savi-coral); color: var(--savi-coral); }
.savi-btn--coral-ghost:hover { background: var(--savi-coral); color: var(--savi-black); }
/* On white sections the filled buttons take white text — text always matches the page background */
.savi-section--light .savi-btn:not(.savi-btn--ghost):not(.savi-btn--gold-ghost):not(.savi-btn--teal-ghost):not(.savi-btn--coral-ghost) { color: #FFFFFF; }
.savi-section--light .savi-btn--gold-ghost:hover,
.savi-section--light .savi-btn--teal-ghost:hover,
.savi-section--light .savi-btn--coral-ghost:hover { color: #FFFFFF; }

/* Testimonial cards on light sections */
.savi-section--light .savi-testi { background: #fff; border-color: #E7E7EA; }
.savi-section--light .savi-testi__quote { color: #33333A; }
.savi-section--light .savi-testi__name { color: #16161A; }
.savi-section--light .savi-testi__role { color: #6E6E76; }

.savi-section--light .savi-layers li { background: #fff; border-color: #E7E7E7; color: #33333A; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.savi-section--light .savi-quote { color: #16161A; }
.savi-lead strong { color: #FFFFFF; }
.savi-section--light .savi-lead strong { color: #16161A; }

.savi-eyebrow { /* Apple-style (Mark 2026-09-26): plain sentence text, no caps/tracking, neutral colour, sits close above the heading */
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: #FFFFFF; margin: 0 0 12px;
}
.savi-section--light .savi-eyebrow { color: #16161A; }
.savi-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.08; /* +4px (Mark 2026-09-25) */
  margin: 0 0 16px; letter-spacing: -.01em;
}
.savi-lead { font-size: 18px; line-height: 1.6; color: #C9C9CF; margin: 0 auto; max-width: 640px; }
.savi-center { text-align: center; }
.savi-nowrap { white-space: nowrap; } /* keep a phrase on one line (wraps again on phones) */

.savi-btn--light { background: var(--savi-white); color: var(--savi-black); }
.savi-btn--light:hover { background: #EDEDED; }
.savi-btn--lg { padding: 14px 30px; font-size: 16px; border-radius: 10px; }
.savi-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.savi-btn-row.savi-center { justify-content: center; }

/* ---- Pill badge + hero screenshot (membership etc.) ---- */
.savi-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(244,169,79,.12); color: var(--savi-gold);
  border: 1px solid rgba(244,169,79,.35);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.savi-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--savi-coral); }
.savi-hero-shot { max-width: 1000px; width: 100%; margin: 42px auto 0; border-radius: 16px; display: block; }

/* ---- HERO (video background) ---- */
.savi-hero { position: relative; min-height: calc(82vh + 20px); /* +20px (Mark 2026-09-25) */ display: flex; align-items: center; overflow: hidden; }
.savi-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(1.25); }
.savi-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.14) 100%);
}
.savi-hero__inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: 60px 20px; }
.savi-hero__logo { width: 190px; height: auto; margin: 0 auto 22px; display: block; }
.savi-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.025em; /* 84px cap (Mark 2026-09-26) */
  margin: 0 0 30px; text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

/* ---- TABS (SAVI method culture/systems + membership) ---- */
.savi-tabs__nav { display: inline-flex; gap: 6px; padding: 6px; border: 1px solid var(--savi-line); border-radius: 999px; margin: 0 auto 34px; }
.savi-tab {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: #C9C9CF;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 9px 22px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.savi-tab.is-active { background: var(--savi-gold); color: #1A1206; }
/* Tabs on a white panel */
.savi-section--light .savi-tabs__nav { border-color: #D0D0D6; }
.savi-section--light .savi-tab { color: #5A5A62; }
.savi-section--light .savi-tab.is-active { color: #FFFFFF; }
.savi-tab--coral.is-active { background: var(--savi-coral); } /* Consulting tab uses the coral accent (Mark 2026-09-25) */
.savi-tab--teal.is-active { background: var(--savi-teal); } /* Community tab uses the teal accent (Mark 2026-09-25) */
.savi-tabpanel { display: none; }
.savi-tabpanel.is-active { display: block; animation: saviFade .25s ease; }
@keyframes saviFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- LENS grid (S A V I) ---- */
.savi-lens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.savi-lens {
  background: transparent; border: 1px solid var(--savi-line); border-radius: 16px; padding: var(--card-pad); /* no fill (Mark 2026-09-25) */
  text-align: left;
}
.savi-lens { border-left-width: 3px; }
/* Letter colour follows the card's left border (Mark 2026-09-25): S teal, A coral, V gold, I white */
.savi-lens.l-teal  { border-left-color: var(--savi-teal); }
.savi-lens.l-coral { border-left-color: var(--savi-coral); }
.savi-lens.l-gold  { border-left-color: var(--savi-gold); }
.savi-lens.l-white { border-left-color: var(--savi-white); }
.savi-lens.l-teal  .savi-lens__letter { color: var(--savi-teal); }
.savi-lens.l-coral .savi-lens__letter { color: var(--savi-coral); }
.savi-lens.l-gold  .savi-lens__letter { color: var(--savi-gold); }
.savi-lens.l-white .savi-lens__letter { color: var(--savi-white); }
.savi-lens__letter { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--savi-gold); line-height: 1; }

/* SAVI Method explainer video */
.savi-method-video {
  max-width: 840px; margin: 34px auto 30px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--savi-line); background: var(--savi-black);
}
.savi-method-video video { width: 100%; display: block; }
.savi-lens__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 10px 0 10px; }
.savi-lens__body { color: #B7B7BE; font-size: 14.5px; line-height: 1.55; margin: 0; }
.savi-quote {
  font-family: var(--font-display); font-size: clamp(16px, 2.2vw, 24px); font-weight: 600; font-style: italic;
  text-align: center; margin: 40px auto 0; max-width: 760px; color: #fff;
}
.savi-quote span { color: var(--savi-gold); }

/* ---- COURSE marquee + grid ---- */
.savi-course-banner { width: 100%; border-radius: var(--radius-card); display: block; margin: 0 0 26px; }
.savi-course-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.savi-course-grid img { border-radius: 10px; border: 1px solid var(--savi-line); display: block; width: 100%; }

/* ---- TEAM ---- */
.savi-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.savi-team-card { background: transparent; border: 1px solid var(--savi-line); /* no fill (Mark 2026-09-25) */ border-radius: 16px; overflow: hidden; text-align: center; }
.savi-team-card img { width: 100%; height: 240px; object-fit: cover; object-position: top center; background: #1c1c22; display: block; }
.savi-team-card__body { padding: 18px 16px 22px; }
.savi-team-card__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 4px; }
.savi-team-card__bio { color: #B7B7BE; font-size: 14px; line-height: 1.55; margin: 12px 0 0; }
.savi-section--light .savi-team-card__bio { color: #3A3A42; } /* darker on the white panel for legibility (Mark 2026-09-25) */
.savi-team-card__role { color: var(--savi-gold); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 0; }

/* ---- TESTIMONIALS ---- */
.savi-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
/* Tiles are outline-only — no #131317 fill anywhere (Mark 2026-09-25) */
.savi-testi { background: transparent; border: 1px solid var(--savi-line); border-radius: 16px; padding: var(--card-pad); }
.savi-testi__quote { font-size: 15.5px; line-height: 1.6; color: #E4E4EA; margin: 0 0 18px; }
.savi-testi__name { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0; }
.savi-testi__role { color: #9A9AA2; font-size: 13px; margin: 2px 0 0; }

/* ---- FAQ accordion ---- */
.savi-faq { max-width: 780px; margin: 0 auto; }
.savi-faq__item { border-bottom: 1px solid var(--savi-line); }
.savi-faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 22px 40px 22px 0; position: relative;
}
.savi-faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--savi-gold); font-size: 24px; }
.savi-faq__item.is-open .savi-faq__q::after { content: "\2013"; }
.savi-faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.savi-faq__a-inner { padding: 0 0 22px; color: #B7B7BE; font-size: 15px; line-height: 1.6; }

/* ---- Feature grid (membership "what's inside") ---- */
.savi-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); text-align: left; }
.savi-feature { background: transparent; border: 1px solid var(--savi-line); border-radius: 16px; padding: var(--card-pad); }
.savi-feature__icon {
  width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--savi-gold); font-size: 26px; margin-bottom: 14px; /* bare emoji, no tile (Mark 2026-09-25) */
}
.savi-feature__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.savi-feature__body { color: #B7B7BE; font-size: 14.5px; line-height: 1.55; margin: 0; }
/* Feature cards on a white panel */
.savi-section--light .savi-feature { background: #FFFFFF; border-color: #E7E7EA; }
.savi-section--light .savi-feature__title { color: #16161A; }
.savi-section--light .savi-feature__body { color: #5A5A62; }

/* ---- Pricing ---- */
.savi-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); align-items: stretch; text-align: left; } /* equal-height cards (Mark 2026-09-26) */
.savi-plan { background: transparent; border: 1px solid var(--savi-line); border-radius: var(--radius-card); padding: var(--card-pad); position: relative; display: flex; flex-direction: column; }
.savi-plan__list { flex: 1; }
.savi-plan .savi-btn { margin-top: auto; }
.savi-plan--featured { border: 2px solid var(--savi-gold); }
.savi-plan__badge {
  position: absolute; top: -13px; left: 26px; background: var(--savi-gold); color: #1A1206;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px;
}
.savi-plan__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 10px; }
.savi-plan__price { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.savi-plan__price small { font-size: 16px; font-weight: 500; color: var(--savi-muted); }
.savi-plan__note { color: var(--savi-muted); font-size: 13px; margin: 6px 0 22px; }
.savi-plan__list { list-style: none; margin: 0 0 26px; padding: 0; }
.savi-plan__list li { position: relative; padding: 8px 0 8px 28px; font-size: 14.5px; color: #D6D6DC; line-height: 1.45; border-top: 1px solid rgba(255,255,255,.06); }
.savi-plan__list li:first-child { border-top: 0; }
.savi-plan__list li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--savi-teal); font-weight: 700; }
.savi-plan__list li.head { color: var(--savi-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding-left: 0; }
.savi-plan__list li.head::before { content: ""; }
.savi-plan .savi-btn { width: 100%; }
.savi-pricing-note { text-align: center; color: var(--savi-muted); font-size: 14px; margin: 26px auto 0; }
.savi-pricing-note a { color: var(--savi-gold); text-decoration: underline; }

@media (max-width: 900px) {
  .savi-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .savi-feature-grid { grid-template-columns: 1fr; } }

/* ---- Product grid (Courses page) ---- */
.savi-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.savi-product { background: transparent; border: 1px solid var(--savi-line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.savi-product img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #1c1c22; }
.savi-product__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.savi-product__name { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; margin: 0; }
.savi-product__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.savi-product__price s { color: var(--savi-muted); font-weight: 500; font-size: 14px; margin-left: 6px; }
.savi-product .savi-btn { margin-top: auto; }

/* ---- Numbered layer list (LockLeft / RDS) ---- */
/* Email field on a white panel */
.savi-section--light .savi-field { background: #F3F3F5; border-color: #D0D0D6; color: #16161A; }
.savi-section--light .savi-field::placeholder { color: #6E6E76; }
.savi-section--light .savi-field:focus { background: #FFFFFF; border-color: #8A8A91; }

/* ---- WHITE-PANEL VARIANTS for FAQ, split columns, team cards (Mark 2026-09-25: alternate B/W sections) ---- */
.savi-section--light .savi-faq__item { border-bottom-color: #E7E7EA; }
.savi-section--light .savi-faq__q { color: #16161A; }
.savi-section--light .savi-faq__a-inner { color: #5A5A62; }
.savi-section--light .savi-split__col { background: #FFFFFF; border-color: #E7E7EA; }
.savi-section--light .savi-split__col h3 { color: #16161A; }
.savi-section--light .savi-split__col ul { color: #5A5A62; }
.savi-section--light .savi-team-card { border-color: #E7E7EA; }
.savi-section--light .savi-team-card__name { color: #16161A; }

/* ---- COMMUNITY FEED CARD (animated Skool thread; markup in home + membership, logic in community-feed.js) ---- */
.savi-scfeed { background: #fdfdfd; border-radius: var(--radius-card); width: 100%; max-width: 480px; box-shadow: 0 4px 32px rgba(0,0,0,0.10); overflow: hidden; }
.savi-scfeed .sc-feed { height: 420px; overflow: hidden; position: relative; background: #fdfdfd; }
.savi-scfeed .sc-panel { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: #fdfdfd; overflow: hidden; }
.savi-scfeed .sc-panel-a { left: 0%; }
.savi-scfeed .sc-panel-b { left: 100%; }
.savi-scfeed .sc-track { position: absolute; width: 100%; top: 0; }
.savi-scfeed .sc-orig { background: #fff; padding: 14px 16px 10px; border-bottom: 1px solid #e5e5ea; }
.savi-scfeed .sc-orig-top { display:flex; align-items:flex-start; gap:10px; margin-bottom:8px; }
.savi-scfeed .sc-av { border-radius:50%; flex-shrink:0; position:relative; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff; font-size:11px; }
.savi-scfeed .sc-av-lg { width:38px; height:38px; }
.savi-scfeed .sc-av-md { width:32px; height:32px; font-size:10px; }
.savi-scfeed .sc-lv { position:absolute; bottom:-1px; right:-1px; background:#5856d6; border-radius:50%; width:15px; height:15px; display:flex; align-items:center; justify-content:center; font-size:7px; font-weight:700; color:#fff; border:1.5px solid #fff; }
.savi-scfeed .sc-meta-sub { font-size:11px; color:#8e8e93; margin-top:1px; display:flex; align-items:center; gap:4px; }
.savi-scfeed .sc-dot-red { width:5px; height:5px; background:#ff3b30; border-radius:50%; display:inline-block; flex-shrink:0; }
.savi-scfeed .sc-dot-orange { width:5px; height:5px; background:#ff9500; border-radius:50%; display:inline-block; flex-shrink:0; }
.savi-scfeed .sc-orig-icons { display:flex; gap:10px; color:#c7c7cc; font-size:15px; }
.savi-scfeed .sc-orig-footer { display:flex; align-items:center; gap:10px; margin-top:10px; padding-top:8px; border-top:1px solid #e5e5ea; }
.savi-scfeed .sc-like-orig, .savi-scfeed .sc-comments-orig { display:flex; align-items:center; gap:5px; background:#f2f2f7; border:none; border-radius:7px; padding:5px 10px; font-size:12px; font-weight:600; color:#3a3a3c; cursor:pointer; font-family:inherit; }
.savi-scfeed .sc-reply-wrap { background:#fdfdfd; padding:5px 8px; }
.savi-scfeed .sc-reply-card { background:#fff; border-radius:10px; padding:10px 12px; border:1px solid #e5e5ea; }
.savi-scfeed .sc-reply-card.sc-pinned { border:1.5px solid #ffc431; }
.savi-scfeed .sc-action-row { display:flex; align-items:center; gap:12px; margin-top:7px; }
.savi-scfeed .sc-like-btn { display:flex; align-items:center; gap:4px; background:none; border:none; cursor:pointer; padding:0; }
.savi-scfeed .sc-thumb { width:19px; height:19px; }
.savi-scfeed .sc-cursor { display:inline-block; width:2px; height:1em; background:#1c1c1e; vertical-align:text-bottom; animation:sc-blink 0.7s step-end infinite; margin-left:1px; }
@keyframes sc-blink { 0%,100%{opacity:1}50%{opacity:0} }
.savi-scfeed .sc-dc  { background: linear-gradient(135deg,#a0522d,#cd853f); }
.savi-scfeed .sc-mc  { background: linear-gradient(135deg,#2c5f8a,#4a90d9); }
.savi-scfeed .sc-th  { background: linear-gradient(135deg,#3a6ea5,#5b9bd5); }
.savi-scfeed .sc-jk  { background: linear-gradient(135deg,#c0392b,#e74c3c); }
.savi-scfeed .sc-jk2 { background: #b0b0b8; }
.savi-scfeed .sc-rc  { background: linear-gradient(135deg,#5a3a8a,#7b5cb8); }
.savi-scfeed .sc-tc  { background: linear-gradient(135deg,#1a6a4a,#2ea87a); }

/* Pricing cards on a white panel */
.savi-section--light .savi-plan { border-color: #E7E7EA; }
.savi-section--light .savi-plan__list li { color: #33333A; border-top-color: #E7E7EA; }
.savi-section--light .savi-plan__price small, .savi-section--light .savi-plan__note, .savi-section--light .savi-plan__list li.head, .savi-section--light .savi-pricing-note { color: #6E6E76; }

/* ---- PINNED HERO (Apple-style): the hero sticks at the top; everything after it scrolls up over it ---- */
.savi-hero-pin { position: sticky; top: 0; z-index: 0; min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; }
.savi-hero-pin ~ section, .savi-hero-pin ~ footer { position: relative; z-index: 1; }
.savi-hero-pin ~ section:not(.savi-section--light), .savi-hero-pin ~ footer { background-color: var(--savi-black); } /* opaque so nothing shows through while sliding over the hero */
/* Frosted panel (Apple-style): 85% white over a blurred view of whatever is beneath it (Mark 2026-09-26) */
.savi-frost { background: rgba(255,255,255,.6) !important; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; } /* same height as the pinned hero, content centred (Mark 2026-09-26) */
.savi-frost .savi-container { width: 100%; }
.savi-hero-pin + .savi-frost { box-shadow: 0 -24px 60px rgba(0,0,0,.10); }
.savi-hero-pin + section { box-shadow: 0 -24px 60px rgba(0,0,0,.28); }

/* ---- SIMPLE CHECK LIST: big, airy, two columns on desktop, one on phones ---- */
.savi-list-simple { list-style: none; margin: 44px auto 0; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: column; grid-template-rows: repeat(4, auto); gap: 20px 48px; text-align: left; }
.savi-list-simple li { position: relative; padding-left: 38px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: #16161A; }
.savi-list-simple li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--savi-gold); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4A94F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.savi-section:not(.savi-section--light) .savi-list-simple li { color: #FFFFFF; }
@media (max-width: 640px) { .savi-list-simple { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 12px; } }

/* ---- STATEMENT BLOCK (Apple-style): a few big plain sentences, nothing else ---- */
.savi-statement { max-width: 820px; margin: 0 auto; padding: 24px 0; }
.savi-statement p { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.02em; color: #16161A; margin: 0; }
.savi-statement p + p { margin-top: 1.1em; }
.savi-section:not(.savi-section--light) .savi-statement p { color: #FFFFFF; }

/* ---- TESTIMONIAL WALL (shared: home, membership) — dark by default, white-panel variant below; logic in testimonial-wall.js ---- */
.savi-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); max-width: 1200px; margin: 0 auto; overflow: hidden; height: 900px; position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 90%, transparent 100%); }
.savi-wall__col { cursor: grab; user-select: none; display: flex; flex-direction: column; gap: 20px; overflow-y: hidden; position: relative; text-align: left; }
.savi-wall__col.dragging { cursor: grabbing; }
.savi-wall__card { background: transparent; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-card); padding: var(--card-pad); flex-shrink: 0; }
.savi-wall__stars { color: #FFCE00; font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; }
.savi-wall__title { font-size: 15px; font-weight: 700; color: #FFFFFF; margin: 0 0 10px; }
.savi-wall__quote { font-size: 15px; line-height: 1.7; color: #C9C9CF; margin: 0 0 20px; }
.savi-wall__quote strong { color: #FFFFFF; }
.savi-wall__meta { display: flex; align-items: center; gap: 12px; }
.savi-wall__av { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; color: var(--savi-black); }
.savi-wall .av-gold { background: var(--savi-gold); } .savi-wall .av-teal { background: var(--savi-teal); } .savi-wall .av-coral { background: var(--savi-coral); }
.savi-wall__name { font-size: 14px; font-weight: 600; color: #FFFFFF; margin: 0; }
.savi-wall__role { font-size: 12px; color: #8A8A91; margin: 1px 0 0; }
.savi-section--light .savi-wall__card { background: #FFFFFF; border-color: #E7E7EA; }
.savi-section--light .savi-wall__title { color: #16161A; }
.savi-section--light .savi-wall__quote { color: #33333A; }
.savi-section--light .savi-wall__quote strong { color: #16161A; }
.savi-section--light .savi-wall__av { color: #FFFFFF; }
.savi-section--light .savi-wall__name { color: #16161A; }
.savi-section--light .savi-wall__role { color: #6E6E76; }
@media (max-width: 900px) { .savi-wall { grid-template-columns: repeat(2, 1fr); height: 640px; } .savi-wall__col:nth-child(3) { display: none; } }
@media (max-width: 600px) { .savi-wall { grid-template-columns: 1fr; height: 520px; } .savi-wall__col:nth-child(2) { display: none; } .savi-wall__card { padding: 20px; } .savi-wall__quote { font-size: 14px; } }

/* ---- small label above a feature title (training page pillars) + ✕ list variant + stat strip ---- */
.savi-feature__label { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--savi-gold); margin: 0 0 8px; }
.savi-checks--x .savi-checks__ico { border-color: var(--savi-coral); color: var(--savi-coral); font-size: 13px; font-weight: 700; }
.savi-stats { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin: 26px auto 0; }
.savi-stats > div { border: 1px solid var(--savi-line); border-radius: 16px; padding: 18px 28px; min-width: 150px; text-align: center; }
.savi-stats strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--savi-gold); }
.savi-stats span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--savi-muted); }

/* ---- BEFORE / AFTER list: ✕ problems in column 1, ✓ answers in column 2, rows aligned ---- */
.savi-beforeafter__heads { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); max-width: 1100px; margin: 0 auto 12px; }
.savi-beforeafter__heads span { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--savi-muted); padding-left: 20px; }
.savi-beforeafter__heads span:last-child { color: var(--savi-teal); }
.savi-checks.savi-beforeafter { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); max-width: 1100px; }
.savi-checks.savi-beforeafter li { flex: none; min-width: 0; }
.savi-beforeafter .ba-x .savi-checks__ico { border-color: var(--savi-coral); color: var(--savi-coral); font-size: 13px; font-weight: 700; }
.savi-beforeafter .ba-check .savi-checks__ico { border-color: var(--savi-teal); }
.savi-beforeafter .ba-check .savi-checks__ico svg { stroke: var(--savi-teal); }
.savi-beforeafter .ba-x { color: #B7B7BE; }
.savi-beforeafter .ba-check { color: #FFFFFF; }
@media (max-width: 720px) { .savi-checks.savi-beforeafter { grid-template-columns: 1fr; } .savi-beforeafter__heads { display: none; } }

/* ---- TRAINING HERO (matches the live savitraining hero): tall, centred, big three-line headline with gold key words ---- */
.savi-training-hero { min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; padding: 80px 0; }
.savi-training-hero .savi-container { width: 100%; }
.savi-training-hero__h { font-size: clamp(40px, 6.2vw, 84px); /* 84px cap (Mark 2026-09-26) */ font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 18px auto 28px; max-width: 1100px; }
.savi-training-hero__h span { color: var(--savi-gold); }
.savi-training-hero__p { font-size: 20px; max-width: 820px; color: #B7B7BE; }
.savi-training-hero .savi-btn-row { margin-top: 36px !important; }
@media (max-width: 720px) { .savi-training-hero { min-height: 0; padding: 56px 0; } .savi-training-hero__p { font-size: 17px; } }

/* ---- TEXT LINK: a secondary call to action that doesn't compete with the section's button ---- */
.savi-textlink { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--savi-gold); text-decoration: none; }
.savi-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.savi-textlink::after { content: " \2192"; }

/* ---- PAGE HERO STAGE (tall, centred; same recipe as the training hero) + PROSE block for long-form copy ---- */
.savi-hero-stage { min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; padding: 80px 0; }
.savi-hero-stage .savi-container { width: 100%; }
.savi-hero-stage__h { font-size: var(--hero-h); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 18px auto 28px; max-width: 1100px; }
.savi-hero-stage__p { font-size: 20px; max-width: 820px; color: #B7B7BE; }
.savi-hero-stage__sub { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.01em; color: #FFFFFF; max-width: 900px; margin: 0 auto; } /* mission statement as a true sub-headline (Mark 2026-09-26) */
.savi-section--light .savi-hero-stage__sub { color: #16161A; }
@media (max-width: 720px) { .savi-hero-stage__sub br { display: none; } }
@media (max-width: 720px) { .savi-hero-stage { min-height: 0; padding: 56px 0; } .savi-hero-stage__p { font-size: 17px; } }
.savi-prose { max-width: 720px; margin: 0 auto; text-align: left; }
.savi-prose__kicker { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--savi-gold); margin: 0 0 24px; }
.savi-prose p { font-size: 19px; line-height: 1.7; color: #33333A; margin: 0 0 24px; }
.savi-prose__pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px) !important; line-height: 1.15 !important; color: #16161A !important; margin: 40px 0 !important; }
.savi-section:not(.savi-section--light) .savi-prose p { color: #C9C9CF; }
.savi-section:not(.savi-section--light) .savi-prose__pull { color: #FFFFFF !important; }

/* White-panel variants for the training-page components */
.savi-section--light .savi-beforeafter .ba-x { color: #6E6E76; }
.savi-section--light .savi-beforeafter .ba-check { color: #16161A; }
.savi-section--light .savi-beforeafter__heads span { color: #8A8A91; }
.savi-section--light .savi-beforeafter__heads span:last-child { color: var(--savi-teal); }
.savi-section--light .savi-stats > div { border-color: #E7E7EA; }
.savi-section--light .savi-stats span { color: #6E6E76; }

.savi-beliefs .savi-feature__body { font-size: 15.5px; } /* About "what we believe" tiles: +1px (Mark 2026-09-26) */

/* ---- SAVI SYNC block (reusable; markup lives in home.html between the SAVI SYNC markers) ---- */
.savi-sync__grid { grid-template-columns: repeat(4, 1fr); }
.savi-sync .savi-feature__title { font-size: 18px; }
@media (max-width: 1000px) { .savi-sync__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .savi-sync__grid { grid-template-columns: 1fr; } }

/* ---- CHECKLIST TILES (outline tiles with a gold check; Mark 2026-09-25) ---- */
.savi-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); list-style: none; margin: 0 auto; padding: 0; max-width: 980px; text-align: left; }
.savi-checks li { flex: 0 1 calc(33.333% - 10px); min-width: 280px; display: flex; align-items: center; gap: 14px; background: transparent; border: 1px solid var(--savi-line); border-radius: 16px; padding: 16px 20px; font-size: 16px; line-height: 1.45; color: #E4E4EA; }
.savi-checks__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--savi-gold); display: inline-flex; align-items: center; justify-content: center; }
.savi-checks__ico svg { width: 16px; height: 16px; fill: none; stroke: var(--savi-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.savi-section--light .savi-checks li { border-color: #E7E7EA; color: #33333A; }

.savi-layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.savi-layers li { display: flex; align-items: center; gap: 14px; background: transparent; border: 1px solid var(--savi-line); border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.savi-layers li .n { font-family: var(--font-display); font-weight: 700; color: var(--savi-gold); font-size: 18px; min-width: 30px; }

.savi-layers--split { grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
@media (max-width: 900px) { .savi-layers--split { grid-auto-flow: row; grid-template-rows: none; } }

/* ---- Simple table (events) ---- */
.savi-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.savi-table th { text-align: left; font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--savi-muted); padding: 0 16px 12px; }
.savi-table td { padding: 16px; border-top: 1px solid var(--savi-line); }
.savi-table tr td:last-child { text-align: right; font-weight: 600; }

/* ---- Two-column split (problem / who it's for) ---- */
.savi-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap); text-align: left; }
.savi-split__col { background: transparent; border: 1px solid var(--savi-line); border-radius: 16px; padding: var(--card-pad); }
.savi-split__col h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 14px; }
.savi-split__col ul { margin: 0; padding-left: 20px; color: #B7B7BE; line-height: 1.7; font-size: 15px; }

@media (max-width: 900px) {
  .savi-product-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-layers, .savi-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .savi-product-grid { grid-template-columns: 1fr; } }

/* ---- YouTube embed (responsive 16:9 card) ---- */
.savi-video-embed {
  max-width: 900px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--savi-line); background: var(--savi-black);
}
.savi-video-embed { position: relative; aspect-ratio: 16 / 9; background: #2A2A2E; border-color: #3A3A42; } /* dark-grey frame, not black (Mark 2026-09-27) */
.savi-video-embed iframe, .savi-video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; object-fit: cover; background: #2A2A2E; }

/* ---- Media placeholder (for videos/graphics still to come from GHL) ---- */
.savi-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: transparent; border: 2px dashed rgba(255,255,255,.18); border-radius: 16px;
  padding: 48px 24px; color: var(--savi-muted); text-align: center;
}
.savi-placeholder--video { aspect-ratio: 16 / 9; max-width: 840px; margin: 0 auto; }
.savi-placeholder .lbl { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #C9C9CF; }
.savi-placeholder .sub { font-size: 13px; max-width: 380px; }
.savi-placeholder .ico { font-size: 30px; color: var(--savi-gold); }
.savi-section--light .savi-placeholder { background: #F3F3F5; border-color: #D8D8DC; color: #8A8A90; }
.savi-section--light .savi-placeholder .lbl { color: #444; }

/* ---- Legal pages (privacy / terms) ---- */
.savi-legal { max-width: 780px; margin: 0 auto; font-size: 15.5px; line-height: 1.7; color: #C9C9CF; }
.savi-legal h2 { font-family: var(--font-display); color: #fff; font-size: 26px; margin: 44px 0 8px; }
.savi-legal h3 { font-family: var(--font-display); color: var(--savi-gold); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 34px 0 10px; }
.savi-legal p { margin: 0 0 14px; }
.savi-legal ul { margin: 0 0 14px; padding-left: 22px; }
.savi-legal li { margin-bottom: 6px; }
.savi-legal a { color: var(--savi-gold); }
.savi-legal .updated { color: var(--savi-muted); font-size: 13.5px; }

/* Footer legal links */
.savi-footer__legal { color: var(--savi-muted); font-size: 12px; margin: 4px 0 0; }
.savi-footer__legal a { color: var(--savi-muted); text-decoration: none; }
.savi-footer__legal a:hover { color: var(--savi-gold); }

/* ---- CTA band ---- */
.savi-cta-band { text-align: center; padding: 70px 0; } /* a third shorter than a standard 104px section (Mark 2026-09-25) */
.savi-cta-band .savi-h2 { margin-bottom: 22px; }

@media (max-width: 900px) {
  .savi-lens-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-course-grid { grid-template-columns: repeat(3, 1fr); }
  .savi-team-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .savi-section { padding: 60px 0; }
  .savi-lens-grid { grid-template-columns: 1fr; }
  .savi-course-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------------ *
 * HEADER / TOP TOOLBAR (sticky)
 * ------------------------------------------------------------------ */
.savi-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--savi-white);
  border-bottom: 1px solid #ECECEC;
  font-family: var(--font-body);
}
.savi-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.savi-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.savi-logo img { height: 52px; width: auto; display: block; }
/* Small three-stripe mark in the dark nav (Apple-style, Mark 2026-09-26) */
.savi-logo--mark { margin-right: 6px; opacity: .95; transition: opacity .15s ease; }
.savi-logo--mark:hover { opacity: 1; }
.savi-logo--mark img { height: 22px; width: auto; display: block; } /* white horizontal wordmark (Mark 2026-09-26) */
/* Let's Talk as the nav's one button */
/* Inverted nav for white-topped pages (membership): white band, dark links, black wordmark + button */
.savi-header--dark.savi-header--light { background: #FFFFFF; }
.savi-header--dark.savi-header--light .savi-nav > li > a { color: #16161A; }
.savi-header--dark.savi-header--light .savi-nav > li > a:hover { color: #16161A; }
.savi-header--dark.savi-header--light .savi-logo--mark img { filter: invert(1); }
.savi-header--dark.savi-header--light .savi-nav-toggle { color: #16161A; }
.savi-header--dark.savi-header--light .savi-header__cta .savi-btn,
.savi-header--dark.savi-header--light .savi-nav .savi-mobile-cta .savi-btn { color: #16161A; border-color: rgba(0,0,0,.6); }
.savi-header--dark.savi-header--light .savi-header__cta .savi-btn:hover,
.savi-header--dark.savi-header--light .savi-nav .savi-mobile-cta .savi-btn:hover { background: #16161A; border-color: #16161A; color: #FFFFFF; }
@media (max-width: 960px) {
  .savi-header--dark.savi-header--light .savi-nav { background: #FFFFFF; border-left: 1px solid #E7E7EA; }
  .savi-header--dark.savi-header--light .savi-dropdown a { color: #3A3A42; }
  .savi-header--dark.savi-header--light .savi-dropdown a:hover { background: #F5F5F5; color: var(--savi-gold-600); }
}

/* Sonos-style header (Mark 2026-09-26): logo hard left, links centred, Let's Talk hard right, near full-bleed */
.savi-header--dark .savi-header__inner { max-width: none; padding: 0 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.savi-header--dark .savi-logo--mark { justify-self: start; margin-right: 0; }
.savi-header--dark .savi-nav { grid-column: 2; }
.savi-header--dark .savi-header__cta { grid-column: 3; justify-self: end; }
.savi-header--dark .savi-header__cta .savi-btn,
.savi-header--dark .savi-nav .savi-mobile-cta .savi-btn { color: #fff; border-color: rgba(255,255,255,.7); padding: 6px 14px; font-size: 13.5px; }
.savi-header--dark .savi-header__cta .savi-btn:hover,
.savi-header--dark .savi-nav .savi-mobile-cta .savi-btn:hover { background: #fff; border-color: #fff; color: var(--savi-black); }

.savi-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center; /* links sit centred in the header (Mark 2026-09-25) */
}
.savi-nav > li { position: relative; }
.savi-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1B1B1F;
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 600; /* size/weight tuned by Mark 2026-09-25 */
  padding: 10px 12px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.savi-nav > li > a:hover { color: inherit; }

/* Dropdowns (hover on desktop) */
.savi-dropdown {
  position: absolute;
  z-index: 61;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--savi-white);
  border: 1px solid #ECECEC;
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.savi-nav > li.has-dropdown:hover > .savi-dropdown,
.savi-nav > li.has-dropdown:focus-within > .savi-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.savi-dropdown a {
  display: block;
  color: #1B1B1F;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500; /* a touch heavier than regular (Mark 2026-09-25) */
  padding: 9px 12px;
  border-radius: 8px;
}
.savi-dropdown a:hover { background: #F5F5F5; color: var(--savi-gold-600); }

/* Header CTAs */
.savi-header__cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.savi-btn--sm { padding: 8px 15px; font-size: 13.5px; }
.savi-btn--ghost {
  background: transparent;
  color: var(--savi-white);
  border: 1px solid rgba(255, 255, 255, 0.38); /* brighter than --savi-line so the outline reads on black (Mark 2026-09-25) */
}
.savi-btn--ghost:hover { background: rgba(255,255,255,.06); border-color: var(--savi-gold); color: var(--savi-gold); }

/* Mobile menu toggle */
.savi-nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--savi-white);
}
.savi-nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.savi-nav-toggle { color: #1B1B1F; }

@media (max-width: 960px) {
  .savi-nav-toggle { display: inline-flex; }
  .savi-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--savi-white);
    border-left: 1px solid #ECECEC;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 84px 16px 24px;
    transform: translateX(100%);
    transition: transform .22s ease;
    overflow-y: auto;
  }
  .savi-header.is-open .savi-nav { transform: translateX(0); }
  .savi-nav > li > a { padding: 12px 12px; font-size: 16px; }
  .savi-header--dark .savi-header__inner { display: flex; padding: 0 20px; }
  .savi-header--dark .savi-nav .savi-mobile-cta { display: block; margin: 14px 12px 0; }
  .savi-header--dark .savi-nav .savi-mobile-cta .savi-btn { display: inline-flex; padding: 10px 18px; }
  .savi-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px;
  }
  .savi-header__cta { display: none; }
  .savi-nav .savi-mobile-cta { display: block; margin-top: 12px; }
}
.savi-nav .savi-mobile-cta { display: none; } /* CTAs shown inline only on mobile */

/* Header link colors — override the global `a { color: inherit }` rule */
.savi-header .savi-nav > li > a,
.savi-header .savi-dropdown a { color: #1B1B1F; }
.savi-header .savi-dropdown a:hover { color: var(--savi-gold-600); }

/* Main-nav hover: a short underline bar in the link's own colour (Nike-style), not a colour change (Mark 2026-09-26) */
.savi-nav > li > a { position: relative; }
.savi-nav > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.savi-nav > li > a:hover::after, .savi-nav > li > a:focus-visible::after { transform: scaleX(1); }
@media (max-width: 960px) { .savi-nav > li > a::after { display: none; } }

/* Dark/transparent header — every full-nav page (Mark 2026-09-25). Same look as the
   home hero nav: no bar, no logo, white links centred. Landing pages keep the
   plain white logo-only .savi-header. */
.savi-header--dark { position: relative; z-index: 60; /* above sticky heroes so dropdowns always show (Mark 2026-09-25) */ background: transparent; border-bottom: 0; padding-top: 16px; /* breathing room above the links (Mark 2026-09-25: 8px, then +8px) */ }
.savi-header--dark .savi-nav > li > a { color: #fff; }
.savi-header--dark .savi-nav > li > a:hover { color: #fff; }
.savi-header--dark .savi-nav-toggle { color: #fff; }
@media (max-width: 960px) {
  .savi-header--dark .savi-nav { background: var(--savi-black); border-left: 1px solid var(--savi-line); }
  .savi-header--dark .savi-dropdown a { color: #C9C9D0; }
  .savi-header--dark .savi-dropdown a:hover { background: rgba(255,255,255,.06); color: var(--savi-gold); }
}

/* ------------------------------------------------------------------ *
 * FOOTER
 * ------------------------------------------------------------------ */
.savi-footer {
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
}

.savi-footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand + footer signup */
.savi-footer__brand { max-width: 340px; }
.savi-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--savi-white);
  margin: 0 0 4px;
}
.savi-wordmark span { color: var(--savi-gold); }
.savi-footer__tag {
  color: var(--savi-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.savi-footer__signup { display: flex; gap: 8px; max-width: 340px; }
.savi-footer__signup .savi-field { flex: 1; }

/* Link columns */
.savi-footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--savi-muted);
  margin: 0 0 16px;
}
.savi-footer__col ul { list-style: none; margin: 0; padding: 0; }
.savi-footer__col li { margin: 0 0 11px; }
.savi-footer__col a {
  color: var(--savi-white);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .15s ease;
}
.savi-footer__col a:hover { color: var(--savi-gold); }

/* Bottom bar */
.savi-footer__bottom {
  border-top: 1px solid var(--savi-line);
}
.savi-footer__bottom-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.savi-footer__copy { color: var(--savi-muted); font-size: 12px; margin: 0; }

.savi-social { display: flex; gap: 10px; align-items: center; }
.savi-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--savi-line);
  color: var(--savi-white);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.savi-social a:hover { background: var(--savi-white); border-color: var(--savi-white); color: var(--savi-black); } /* inverted on hover, not gold (Mark 2026-09-25) */
.savi-social svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 900px) {
  .savi-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .savi-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .savi-footer__top { grid-template-columns: 1fr; }
  .savi-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
