/* ============================================
   WEALTH SHIELD ASSESSMENT
   Design System: Quiet Luxury / Editorial
   Brand: Coach Josh Gripo — Wealth Architect
   ============================================ */

/* ----- 1. Design Tokens ----- */
:root {
  /* Brand Colors */
  --deep-ink: #0D0D1A;
  --midnight: #1A1A2E;
  --navy: #16213E;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --sand: #F5F0E8;
  --sand-dark: #EDE6D9;
  --slate: #4A4A5A;
  --fwd-orange: #E87722;
  --dark-green: #183028;
  --white: #FFFFFF;

  /* Status Colors */
  --status-critical: #C0392B;
  --status-critical-bg: rgba(192, 57, 43, 0.08);
  --status-warning: #E87722;
  --status-warning-bg: rgba(232, 119, 34, 0.08);
  --status-good: #1B7A4A;
  --status-good-bg: rgba(27, 122, 74, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', Calibri, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 13, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 13, 26, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 13, 26, 0.1);
  --shadow-card: 0 2px 12px rgba(13, 13, 26, 0.06);
  --shadow-card-hover: 0 6px 24px rgba(13, 13, 26, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ----- 2. Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  background-color: var(--sand);
  min-height: 100vh;
  /* Subtle noise texture for depth */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
}

img, svg { display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ----- 3. Typography ----- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-ink);
  line-height: 1.2;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.375rem, 4vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ----- 4. Layout ----- */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.screen {
  display: none;
  min-height: 100vh;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.screen.active {
  display: block;
  animation: screenEnter var(--duration-slow) var(--ease-out) both;
}

@keyframes screenEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- 5. Components ----- */

/* Brand Badge */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.brand-badge__icon {
  display: flex;
  align-items: center;
}

.brand-badge__icon svg {
  width: 14px;
  height: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--fwd-orange);
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.25);
}

.btn--primary:hover {
  background: #D06A1E;
  box-shadow: 0 6px 24px rgba(232, 119, 34, 0.35);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232, 119, 34, 0.2);
}

.btn--lg {
  padding: 18px var(--space-xl);
  font-size: 1.0625rem;
}

.btn--full {
  width: 100%;
}

.btn--ghost {
  color: var(--slate);
  font-size: 0.9375rem;
  font-weight: 400;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
}

.btn--ghost:hover {
  background: rgba(13, 13, 26, 0.04);
}

.btn--ghost svg {
  width: 16px;
  height: 16px;
}

.btn--outline {
  color: var(--slate);
  font-size: 0.9375rem;
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: var(--space-sm);
}

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

.btn--outline svg {
  width: 16px;
  height: 16px;
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Trust Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-xl);
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.8;
}

.trust-bar__divider {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--gold);
  flex-shrink: 0;
}

/* ----- 6. Screen: Landing ----- */
.landing-hero {
  text-align: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.landing-hero__headline {
  margin-bottom: var(--space-lg);
  color: var(--dark-green);
}

.landing-hero__subheadline {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.stat-cards__lead-in {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.stat-cards {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.stat-cards__source {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--slate);
  opacity: 0.6;
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--gold);
  text-align: left;
}

.stat-card__number {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--fwd-orange);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

.landing-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.6;
}

/* ----- 7. Screen: Quiz ----- */
.quiz-progress {
  margin-bottom: var(--space-2xl);
}

.quiz-progress__bar {
  width: 100%;
  height: 4px;
  background: var(--sand-dark);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.quiz-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width var(--duration-normal) var(--ease-out);
}

.quiz-progress__label {
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.6;
}

.quiz-question {
  margin-bottom: var(--space-xl);
}

.quiz-question__text {
  margin-bottom: var(--space-sm);
  color: var(--dark-green);
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
}

.quiz-question__subtext {
  font-size: 0.9375rem;
  color: var(--slate);
  opacity: 0.7;
  margin-bottom: var(--space-xl);
}

/* Answer Cards */
.answer-cards {
  display: grid;
  gap: var(--space-md);
}

.answer-card {
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  color: var(--deep-ink);
  line-height: 1.5;
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.answer-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: transparent;
  transition: background var(--duration-fast) var(--ease-out);
}

.answer-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.answer-card:active {
  transform: translateY(0) scale(0.995);
}

.answer-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: var(--shadow-card-hover);
}

.answer-card.selected::before {
  background: var(--gold);
}

/* Question enter animation */
.quiz-question--enter {
  animation: questionEnter var(--duration-normal) var(--ease-out) both;
}

@keyframes questionEnter {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz-question--exit {
  animation: questionExit var(--duration-fast) var(--ease-in-out) both;
}

@keyframes questionExit {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

.quiz-question--enter-back {
  animation: questionEnterBack var(--duration-normal) var(--ease-out) both;
}

@keyframes questionEnterBack {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Quiz Navigation */
.quiz-nav {
  padding-top: var(--space-md);
}

#btn-back {
  display: none;
}

#btn-back.visible {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ----- 8. Screen: Results ----- */
#results .container {
  padding-top: var(--space-lg);
}

/* Score Display */
.score-display {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.score-gauge {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-lg);
}

.score-gauge__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-gauge__track {
  fill: none;
  stroke: var(--sand-dark);
  stroke-width: 8;
}

.score-gauge__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 1.2s var(--ease-out), stroke 0.5s;
}

.score-gauge__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-gauge__number {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--deep-ink);
  line-height: 1;
}

.score-gauge__label {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate);
  opacity: 0.5;
  margin-top: 4px;
}

.score-display__title {
  font-size: 1.125rem;
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.score-display__verdict {
  font-size: 1.0625rem;
  color: var(--deep-ink);
  max-width: 400px;
  margin: 0 auto;
  font-weight: 400;
}

/* Score color states */
.score-gauge--critical .score-gauge__fill { stroke: var(--status-critical); }
.score-gauge--critical .score-gauge__number { color: var(--status-critical); }

.score-gauge--warning .score-gauge__fill { stroke: var(--fwd-orange); }
.score-gauge--warning .score-gauge__number { color: var(--fwd-orange); }

.score-gauge--good .score-gauge__fill { stroke: var(--status-good); }
.score-gauge--good .score-gauge__number { color: var(--status-good); }

/* Hospitalization Impact — dominant element */
.hosp-impact {
  text-align: center;
  background: #FFF0F0;
  border: 1px solid rgba(192, 57, 43, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  margin-bottom: var(--space-2xl);
  animation: findingEnter var(--duration-slow) var(--ease-out) both;
  animation-delay: 400ms;
}

.hosp-impact__number {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4.5rem, 15vw, 6rem);
  color: var(--fwd-orange);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hosp-impact__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  color: var(--dark-green);
  line-height: 1.4;
  max-width: 480px;
  margin: 0 auto;
}

/* Findings */
.findings {
  margin-bottom: var(--space-2xl);
}

.finding {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--status-critical);
  animation: findingEnter var(--duration-slow) var(--ease-out) both;
}

.finding:nth-child(2) { animation-delay: 150ms; }
.finding:nth-child(3) { animation-delay: 300ms; }

.finding--warning { border-left-color: var(--fwd-orange); }
.finding--good { border-left-color: var(--status-good); }

@keyframes findingEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.finding__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: var(--space-sm);
}

.finding__text {
  font-size: 0.9375rem;
  color: var(--deep-ink);
  line-height: 1.65;
}

.finding__number {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--fwd-orange);
}

/* Shields */
.shields {
  margin-bottom: var(--space-2xl);
}

.shields__title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.shields__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.shield-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.shield-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.shield-card__icon svg {
  width: 24px;
  height: 24px;
}

.shield-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--deep-ink);
  letter-spacing: 0.02em;
}

.shield-card__status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 100px;
}

/* Shield status states */
.shield-card--critical .shield-card__icon {
  background: var(--status-critical-bg);
  color: var(--status-critical);
}
.shield-card--critical .shield-card__status {
  background: var(--status-critical-bg);
  color: var(--status-critical);
}

.shield-card--warning .shield-card__icon {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}
.shield-card--warning .shield-card__status {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}

.shield-card--good .shield-card__icon {
  background: var(--status-good-bg);
  color: var(--status-good);
}
.shield-card--good .shield-card__status {
  background: var(--status-good-bg);
  color: var(--status-good);
}

/* Recommended Focus */
.recommended-focus {
  background: var(--midnight);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  color: var(--sand);
}

.recommended-focus__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.recommended-focus__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.recommended-focus__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.8);
}

/* Testimonials */
.testimonials {
  margin-bottom: var(--space-2xl);
}

.testimonials__title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.testimonials__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-md);
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.testimonial-card__stars {
  font-size: 1rem;
  color: var(--fwd-orange);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--fwd-orange);
  opacity: 0.25;
  line-height: 1;
  position: absolute;
  top: 44px;
  right: var(--space-lg);
  pointer-events: none;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--deep-ink);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate);
}

.testimonials__source {
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate);
  opacity: 0.5;
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  .testimonials__track {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .testimonial-card {
    flex: none;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--sand-dark);
}

.cta-section__headline {
  color: var(--dark-green);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
}

.cta-section__subheadline {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: var(--space-xl);
}

/* Value Stack */
.value-stack {
  text-align: left;
  margin-bottom: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.value-stack__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.9375rem;
  color: var(--deep-ink);
  line-height: 1.5;
  padding: var(--space-sm) 0;
}

.value-stack__item + .value-stack__item {
  border-top: 1px solid rgba(13, 13, 26, 0.04);
}

.value-stack__check {
  flex-shrink: 0;
  color: var(--status-good);
  margin-top: 1px;
}

/* Guarantee Box */
.guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.guarantee-box__icon {
  flex-shrink: 0;
  color: var(--gold);
}

.guarantee-box p {
  font-size: 0.875rem;
  color: var(--deep-ink);
  line-height: 1.6;
  font-style: italic;
}

.cta-section__scarcity {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-top: var(--space-lg);
  font-style: italic;
}

.cta-section__credibility {
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.6;
  margin-top: var(--space-sm);
}

/* Secondary CTA (low-commitment path) */
.secondary-cta {
  margin-top: var(--space-2xl);
}

.secondary-cta__divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.secondary-cta__divider::before,
.secondary-cta__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand-dark);
}

.secondary-cta__divider-text {
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.5;
  text-transform: lowercase;
}

.secondary-cta__text {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: var(--space-md);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--outline svg {
  margin-right: var(--space-sm);
}

/* Link button (inline text button) */
.link-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn:hover {
  color: var(--gold-light);
}

/* Share Section */
.share-section {
  text-align: center;
  padding-bottom: var(--space-xl);
}

/* ----- 9. Screen: Lead Capture ----- */
.lead-form {
  padding-top: var(--space-lg);
}

.lead-form__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.lead-form__shield-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gold-dim);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.lead-form__title {
  color: var(--dark-green);
  margin-bottom: var(--space-sm);
}

.lead-form__subtitle {
  font-size: 0.9375rem;
  color: var(--slate);
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--deep-ink);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  color: var(--deep-ink);
  background: var(--white);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--slate);
  opacity: 0.4;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-input.error {
  border-color: var(--status-critical);
  box-shadow: 0 0 0 3px var(--status-critical-bg);
}

/* Phone Input */
.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix {
  position: absolute;
  left: var(--space-lg);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  pointer-events: none;
  z-index: 1;
}

.form-input--phone {
  padding-left: 60px;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--status-critical);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.lead-form__next-steps {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.5;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
}

.lead-form__privacy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate);
  opacity: 0.5;
  margin-top: var(--space-md);
}

/* Submit Button Loading State */
.btn--loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn--loading .btn__arrow {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ----- 10. Confirmation ----- */
.confirmation {
  text-align: center;
  padding-top: var(--space-3xl);
}

.confirmation__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--status-good-bg);
  color: var(--status-good);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  animation: confirmPop var(--duration-slow) var(--ease-out) both;
}

@keyframes confirmPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.confirmation__title {
  color: var(--status-good);
  margin-bottom: var(--space-md);
}

.confirmation__message {
  font-size: 1.0625rem;
  color: var(--deep-ink);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.confirmation__note {
  font-size: 0.875rem;
  color: var(--slate);
  opacity: 0.7;
}

/* ----- 11. Footer ----- */
.site-footer {
  background: var(--midnight);
  padding: var(--space-xl) 0;
  text-align: center;
}

.site-footer__text {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: var(--space-xs);
}

.site-footer__copyright {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
}

/* ----- 12. Responsive ----- */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .screen {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
  }

  .landing-hero {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }

  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-card {
    border-left: none;
    border-top: 3px solid var(--gold);
    text-align: center;
  }

  .answer-card {
    padding: var(--space-lg) var(--space-xl);
  }

  .score-gauge {
    width: 200px;
    height: 200px;
  }

  .score-gauge__number {
    font-size: 4rem;
  }

  .cta-section {
    padding: var(--space-2xl) 0;
  }
}

/* ----- 13. Utility ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared toast for share button feedback */
.share-toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--deep-ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: var(--space-md) var(--space-xl);
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 100;
}

.share-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
