/* ═══════════════════════════════════════════════════════════
   UpKept v2 — Styles
   Brand: NAVY #0F2847 · GOLD #C9A961 · OFF_WHITE #F5F1E8
   Mobile-first: 375 → 768 → 1200
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand palette */
  --navy:           #0F2847;
  --navy-deep:      #0A1C33;
  --off-white:      #F5F1E8;
  --gold:           #C9A961;
  --gold-dim:       #9F8649;
  --gray-body:      #8A8E97;
  --red-alert:      #D45D4E;

  /* Semantic tokens */
  --bg:             var(--off-white);
  --surface:        #FFFFFF;
  --surface-warm:   #ECE6D6;
  --text:           var(--navy);
  --text-mid:       #555B68;
  --text-light:     var(--gray-body);
  --text-on-dark:   var(--off-white);
  --border-soft:    #DDD4BD;
  --border-gold:    var(--gold-dim);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale (8px base) */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* Layout */
  --container: 1180px;
  --gutter: 20px;

  /* Radius (design system: 4px max for UI) */
  --r-sm: 4px;
  --r-md: 6px; /* used sparingly for cards only */
  --r-pill: 999px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ─── Typography helpers ─── */
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--s-4);
}
.kicker--center { display: block; text-align: center; }
.kicker--on-dark { color: var(--gold); }

/* Example label — used to mark sample/illustrative content
   so visitors don't mistake mockups for real testimonials. */
.example-pill {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--gold-dim);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: transparent;
  line-height: 1.2;
}
.example-pill--on-dark {
  color: var(--gold);
  border-color: rgba(201, 169, 97, 0.5);
}
.example-pill--floating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.section-heading {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}
.section-heading--on-dark { color: var(--off-white); }
.section-heading--center { text-align: center; margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 100ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 18px 32px; font-size: 0.9375rem; }

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--navy);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #B39650;
  border-color: #B39650;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--off-white);
}

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(245, 241, 232, 0.4);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════ */

.announce {
  background: var(--navy-deep);
  color: var(--off-white);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 10px var(--gutter);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
}
.announce__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}
.announce__text strong { color: var(--gold); font-weight: 700; }
.announce__count { color: var(--off-white); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 640px) {
  .announce__count { display: block; width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-soft);
  padding: var(--s-4) var(--gutter) var(--s-5);
  gap: 2px;
}
.nav__links.is-open { display: flex; }

.nav__link {
  display: block;
  padding: 14px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-soft);
}
.nav__link:last-child { border-bottom: none; }
.nav__link--cta {
  color: var(--navy);
  font-weight: 700;
}

@media (min-width: 768px) {
  .nav__toggle { display: none; }
  .nav__links {
    display: flex;
    flex-direction: row;
    position: static;
    border: none;
    padding: 0;
    gap: var(--s-6);
    align-items: center;
  }
  .nav__link {
    padding: 0;
    border: none;
    font-size: 0.875rem;
  }
  .nav__link:hover { color: var(--navy); }
  .nav__link--cta {
    padding: 9px 18px;
    border: 2px solid var(--navy);
    border-radius: var(--r-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: background 180ms ease, color 180ms ease;
  }
  .nav__link--cta:hover {
    background: var(--navy);
    color: var(--off-white);
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--off-white);
  padding: var(--s-8) 0 var(--s-9);
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

.hero__headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--off-white);
  margin-bottom: var(--s-5);
}
.hero__headline-accent { color: var(--gold); }

.hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.78);
  max-width: 560px;
  margin-bottom: var(--s-6);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__trust li {
  position: relative;
  padding-left: var(--s-4);
}
.hero__trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--gold);
}

@media (min-width: 768px) {
  .hero { padding: var(--s-9) 0 var(--s-10); }
}

/* ═══════════════════════════════════════════════════════════
   ROOFER MATH
   ═══════════════════════════════════════════════════════════ */

.math {
  background: var(--bg);
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--border-soft);
}

.math__grid {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

@media (min-width: 768px) {
  .math__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }
}

.math__stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--gold-dim);
  padding: var(--s-6);
  border-radius: var(--r-sm);
}
.math__stat--accent {
  background: var(--navy);
  color: var(--off-white);
  border: 1px solid var(--gold-dim);
  border-top: 3px solid var(--gold);
}

.math__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: var(--s-3);
}
.math__stat--accent .math__num { color: var(--gold); }

/* Phrase variant — for cards where the headline is words, not a number.
   Slightly smaller so two short phrases fit without crowding. */
.math__num--phrase {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  line-height: 1.05;
}
.math__num-soft {
  display: inline-block;
  margin-top: 4px;
  color: rgba(245, 241, 232, 0.78);
  font-weight: 800;
}

.math__label {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--s-2);
  color: var(--text);
}
.math__stat--accent .math__label { color: var(--off-white); }

.math__note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-light);
}
.math__stat--accent .math__note { color: rgba(245, 241, 232, 0.65); }

/* ═══════════════════════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════════════════════ */

.problem {
  background: var(--navy-deep);
  color: var(--off-white);
  padding: var(--s-9) 0;
}

.problem__inner {
  display: grid;
  gap: var(--s-7);
}

@media (min-width: 900px) {
  .problem__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--s-8);
    align-items: start;
  }
}

.problem__lead .section-heading { margin-bottom: var(--s-5); }

.problem__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.78);
  margin-bottom: var(--s-4);
  max-width: 50ch;
}
.problem__body:last-of-type { margin-bottom: 0; }

.problem__panel {
  background: var(--navy);
  border: 1px solid var(--gold-dim);
  border-top: 3px solid var(--gold);
  padding: var(--s-6);
  border-radius: var(--r-sm);
}

.problem__panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
}

.problem__list {
  margin-bottom: var(--s-5);
}
.problem__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--s-3);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.88);
}
.check {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   VOICE IN ACTION
   ═══════════════════════════════════════════════════════════ */

.voice {
  padding: var(--s-9) 0;
  background: var(--bg);
}

.voice__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 65ch;
  margin: var(--s-4) 0 var(--s-7);
}

.voice__grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 900px) {
  .voice__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
}

.voice-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: var(--s-5);
  padding-top: calc(var(--s-5) + 22px);
  display: flex;
  flex-direction: column;
}

.voice-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: var(--s-4);
}

.voice-card__stars {
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.voice-card__stars--mid { color: var(--gold); }
.voice-card__stars--low { color: var(--red-alert); }
.voice-card__stars-empty {
  color: var(--border-soft);
}

.voice-card__meta {
  text-align: right;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.voice-card__meta strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}
.voice-card__meta span {
  color: var(--text-light);
  font-size: 0.75rem;
}

.voice-card__review {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: var(--s-4);
}

.voice-card__divider {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: var(--s-3) 0;
  border-top: 1px dashed var(--border-soft);
  margin-bottom: var(--s-3);
}

.voice-card__response {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}
.voice-card__response em {
  font-style: normal;
  color: var(--gold-dim);
  font-weight: 600;
}

.voice__footnote {
  margin-top: var(--s-7);
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   SCOREBOARD
   ═══════════════════════════════════════════════════════════ */

.scoreboard {
  background: var(--surface-warm);
  padding: var(--s-9) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.scoreboard__inner {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 900px) {
  .scoreboard__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
  }
}

.scoreboard__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: var(--s-4) 0 var(--s-5);
  max-width: 50ch;
}

.scoreboard__bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: var(--s-3);
  font-size: 0.9375rem;
  color: var(--text);
}
.scoreboard__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
}

/* Mock scorecard */
.scoreboard__mock {
  perspective: 1200px;
}

.mock-card {
  background: var(--navy);
  color: var(--off-white);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-sm);
  padding: var(--s-6);
  position: relative;
}

.mock-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
  margin-bottom: var(--s-5);
}

.mock-card__brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.mock-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--off-white);
}
.mock-card__date {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 500;
}

.mock-card__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}

.mock-card__rating-num {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.mock-card__rating-num span { font-size: 1.5rem; margin-left: 4px; }
.mock-card__rating-label {
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mock-card__delta {
  display: inline-block;
  margin-left: 6px;
  color: var(--gold);
  font-weight: 700;
}

.mock-card__velocity-num {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--off-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.mock-card__velocity-label {
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mock-card__chart {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(201, 169, 97, 0.18);
}
.mock-card__chart-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 241, 232, 0.5);
  margin-bottom: var(--s-3);
}
.mock-card__chart svg {
  width: 100%;
  height: 60px;
  overflow: visible;
}

.mock-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.mock-metric {
  text-align: left;
}
.mock-metric__num {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.mock-metric__label {
  display: block;
  font-size: 0.6875rem;
  color: rgba(245, 241, 232, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-card__insight {
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--gold);
  padding: var(--s-4);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.mock-card__insight-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}
.mock-card__insight-body {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--off-white);
}

/* ═══════════════════════════════════════════════════════════
   TIERS
   ═══════════════════════════════════════════════════════════ */

.tiers {
  background: var(--bg);
  padding: var(--s-9) 0;
}

.tiers__heading {
  text-align: center;
  margin-inline: auto;
  max-width: 26ch;
}

.tiers__sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
  max-width: 56ch;
  margin: var(--s-4) auto var(--s-7);
}

.tiers__grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 900px) {
  .tiers__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.tier--featured {
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--off-white);
  transform: translateY(0);
}

@media (min-width: 900px) {
  .tier--featured { transform: translateY(-12px); }
}

.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.tier__head {
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--border-soft);
}
.tier--featured .tier__head { border-bottom-color: rgba(201, 169, 97, 0.3); }

.tier__name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--s-3);
}
.tier__name--on-dark { color: var(--gold); }

.tier__pitch {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: var(--s-5);
  min-height: 3.5em;
}
.tier__pitch--on-dark { color: rgba(245, 241, 232, 0.78); }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tier__amount {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.tier__period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}
.tier__price--on-dark .tier__amount { color: var(--gold); }
.tier__price--on-dark .tier__period { color: rgba(245, 241, 232, 0.55); }

.tier__activation {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: var(--s-3);
  line-height: 1.5;
}
.tier__activation--on-dark { color: rgba(245, 241, 232, 0.55); }

.tier__annual {
  display: block;
  margin-top: var(--s-3);
  padding: 10px 12px;
  background: rgba(201, 169, 97, 0.08);
  border-left: 2px solid var(--gold);
  font-size: 0.8125rem;
  color: var(--text-mid);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.45;
  text-decoration: none;
  transition: background 180ms ease, border-left-width 100ms ease;
}
.tier__annual strong {
  color: var(--text);
  font-weight: 700;
}
.tier__annual span {
  color: var(--gold-dim);
  font-weight: 600;
}
.tier__annual em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
  margin-left: 2px;
}
.tier__annual--link {
  cursor: pointer;
}
.tier__annual--link:hover {
  background: rgba(201, 169, 97, 0.16);
}
.tier__annual--on-dark {
  background: rgba(201, 169, 97, 0.14);
  color: rgba(245, 241, 232, 0.78);
}
.tier__annual--on-dark strong { color: var(--off-white); }
.tier__annual--on-dark span { color: var(--gold); }
.tier__annual--on-dark.tier__annual--link:hover {
  background: rgba(201, 169, 97, 0.24);
}

.tier__cta-note {
  margin-top: var(--s-3);
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.45;
  text-align: center;
}
.tier__cta-note--on-dark {
  color: rgba(245, 241, 232, 0.55);
}

.tier__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.tier__features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.tier__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}
.tier__features--on-dark li { color: rgba(245, 241, 232, 0.84); }

.tier__guarantee {
  background: rgba(201, 169, 97, 0.12);
  border-left: 3px solid var(--gold);
  padding: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.45;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.tier__availability {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: italic;
}

.tier__cta { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   FOUNDING COHORT
   ═══════════════════════════════════════════════════════════ */

.founding {
  background: var(--navy-deep);
  color: var(--off-white);
  padding: var(--s-9) 0;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.founding__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}

.founding__head .section-heading {
  margin-inline: auto;
  max-width: 26ch;
}

.founding__hl {
  color: var(--gold);
  font-style: italic;
}

.founding__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.78);
  margin: var(--s-4) auto 0;
  max-width: 60ch;
}

.founding__spots {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding: 10px 18px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.32);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
}
.founding__spots strong { color: var(--gold); font-weight: 700; }
.founding__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

.founding__grid {
  display: grid;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
@media (min-width: 768px) {
  .founding__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
}

.founding-card {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--r-sm);
  padding: var(--s-5);
  text-align: center;
}
.founding-card--featured {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--gold);
}

.founding-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.founding-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.founding-card__name--featured { color: var(--gold-dim); }

.founding-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--s-3);
}
.founding-card__amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--off-white);
  line-height: 1;
}
.founding-card--featured .founding-card__amount { color: var(--navy); }

.founding-card__period {
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.6);
  font-weight: 500;
}
.founding-card--featured .founding-card__period { color: var(--text-light); }

.founding-card__sub {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.65);
  margin-bottom: var(--s-3);
}
.founding-card--featured .founding-card__sub { color: var(--text-mid); }

.founding-card__save {
  font-size: 0.8125rem;
  color: var(--gold);
  padding-top: var(--s-3);
  border-top: 1px dashed rgba(201, 169, 97, 0.3);
}
.founding-card__save strong { color: var(--gold); font-weight: 800; }
.founding-card--featured .founding-card__save { color: var(--gold-dim); }
.founding-card--featured .founding-card__save strong { color: var(--gold-dim); }

/* Strikethrough "was" price */
.founding-card__was {
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.4);
  margin-bottom: var(--s-2);
  line-height: 1.3;
}
.founding-card__was s { text-decoration-color: rgba(201, 169, 97, 0.6); }
.founding-card--featured .founding-card__was { color: var(--text-light); }
.founding-card--featured .founding-card__was s { text-decoration-color: var(--gold-dim); }

/* Inline save callout on sub line */
.founding-card__save-inline {
  color: var(--gold);
  font-weight: 700;
}
.founding-card--featured .founding-card__save-inline { color: var(--gold-dim); }

/* Feature list within founding cards */
.founding-card__features {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0;
  text-align: left;
  border-top: 1px dashed rgba(201, 169, 97, 0.25);
  padding-top: var(--s-4);
}
.founding-card__features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.82);
}
.founding-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 1px;
}
.founding-card--featured .founding-card__features li { color: var(--navy); }
.founding-card--featured .founding-card__features li::before { background: var(--gold-dim); }
.founding-card__features--dim li { color: rgba(245, 241, 232, 0.4); }
.founding-card__features--dim li::before { background: rgba(245, 241, 232, 0.2); }

/* Guarantee badge inside card */
.founding-card__guarantee {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  text-align: left;
  margin-top: var(--s-3);
}
.founding-card--featured .founding-card__guarantee {
  color: var(--gold-dim);
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--gold-dim);
}

/* Small note below CTA */
.founding-card__note {
  margin-top: var(--s-3);
  font-size: 0.6875rem;
  color: rgba(245, 241, 232, 0.38);
  line-height: 1.4;
  text-align: center;
}
.founding-card--featured .founding-card__note { color: var(--text-light); }

/* Waitlist card variant */
.founding-card--waitlist {
  opacity: 0.65;
  border-style: dashed;
}
.founding-card__badge--dim {
  background: rgba(201, 169, 97, 0.1);
  color: rgba(245, 241, 232, 0.5);
  border: 1px solid rgba(201, 169, 97, 0.25);
}
.founding-card__name--dim { color: rgba(245, 241, 232, 0.5); }
.founding-card__amount--dim { color: rgba(245, 241, 232, 0.4); }
.founding-card__waitlist-note {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(245, 241, 232, 0.38);
  text-align: center;
  margin-top: var(--s-4);
  line-height: 1.4;
}

.founding__benefits {
  display: grid;
  gap: var(--s-6);
  padding: var(--s-6);
  background: rgba(15, 40, 71, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-7);
}
@media (min-width: 768px) {
  .founding__benefits {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-7);
  }
}

.founding__col-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.founding__col ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: var(--s-3);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.85);
}
.founding__col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
}

.founding__cta {
  text-align: center;
}
.founding__cta-note {
  margin-top: var(--s-4);
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.55);
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   AUDIT DELIVERABLE
   ═══════════════════════════════════════════════════════════ */

.audit {
  background: var(--navy-deep);
  color: var(--off-white);
  padding: var(--s-9) 0;
}

.audit__inner {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 900px) {
  .audit__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
  }
}

.audit__copy .section-heading { color: var(--off-white); }

.audit__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.78);
  margin: var(--s-4) 0 var(--s-5);
  max-width: 52ch;
}

.audit__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.audit__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.85);
}
.audit__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
}
.audit__list strong { color: var(--off-white); font-weight: 700; }

/* Audit doc mockup */
.audit__mock {
  position: relative;
  display: flex;
  justify-content: center;
}
.audit__pages {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.audit__pages::before,
.audit__pages::after {
  content: '';
  position: absolute;
  width: 86%;
  height: 100%;
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: var(--r-sm);
}
.audit__pages::before {
  top: 16px; left: 12%;
  transform: rotate(2deg);
}
.audit__pages::after {
  top: 8px; left: 8%;
  transform: rotate(-1.4deg);
}

.audit-doc {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: var(--off-white);
  color: var(--navy);
  padding: var(--s-6);
  border-radius: var(--r-sm);
  border: 1px solid var(--gold-dim);
}

.audit-doc__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
}
.audit-doc__brand {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.audit-doc__line {
  color: var(--gold-dim);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
}

.audit-doc__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--s-3);
}

.audit-doc__title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
  color: var(--navy);
}

.audit-doc__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: var(--s-5);
}
.audit-doc__num {
  font-size: 1.625rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--navy);
}
.audit-doc__num span { color: var(--gold); font-size: 1rem; margin-left: 2px; }
.audit-doc__lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.audit-doc__bars {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.audit-doc__bar {
  position: relative;
  height: 24px;
  background: rgba(159, 134, 73, 0.18);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
}
.audit-doc__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: var(--r-sm);
}
.audit-doc__bar em {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  font-style: normal;
}

.audit-doc__foot {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */

.how {
  background: var(--bg);
  padding: var(--s-9) 0;
}

.how__steps {
  margin-top: var(--s-7);
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 768px) {
  .how__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }
}

.how__step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: var(--s-6);
  border-radius: var(--r-sm);
  position: relative;
}

.how__num {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-soft);
}

.how__title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: var(--s-3);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.how__body p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */

.faq {
  background: var(--surface-warm);
  padding: var(--s-9) 0;
}

.faq__inner { max-width: 760px; margin: 0 auto; }

.faq__list {
  margin-top: var(--s-6);
  border-top: 1px solid var(--border-soft);
}

.faq__item {
  border-bottom: 1px solid var(--border-soft);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { display: none; }
.faq__q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }

.faq__a {
  padding-bottom: var(--s-5);
}
.faq__a p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 65ch;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════ */

.cta-bottom {
  background: var(--navy);
  color: var(--off-white);
  padding: var(--s-9) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.cta-bottom__inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-bottom__headline {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--off-white);
  margin-bottom: var(--s-5);
}

.cta-bottom__sub {
  color: rgba(245, 241, 232, 0.7);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: var(--s-6);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-bottom__scarcity {
  margin-top: var(--s-5);
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.55);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.scarcity-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--navy-deep);
  color: var(--off-white);
  padding: var(--s-7) 0;
  border-top: 1px solid rgba(201, 169, 97, 0.18);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: center;
}
@media (min-width: 768px) {
  .site-footer__brand { align-items: flex-start; }
}

.site-footer__logo { height: 22px; opacity: 0.9; }

.site-footer__tagline {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.55);
}

.site-footer__meta {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.6);
  display: flex;
  gap: var(--s-3);
  align-items: center;
}
.site-footer__meta a { color: var(--gold); }
.site-footer__meta a:hover { color: var(--off-white); }

/* ═══════════════════════════════════════════════════════════
   LARGE SCREENS
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 1200px) {
  .hero { padding: var(--s-10) 0; }
  .math, .problem, .voice, .scoreboard, .tiers, .audit, .how, .faq, .cta-bottom {
    padding-top: var(--s-10);
    padding-bottom: var(--s-10);
  }
}
