/* ══════════════════════════════════════════════
   EVOLVEE ASSESSMENT — White Theme
   Matches landing page design system.
   ══════════════════════════════════════════════ */

:root {
  --accent: #fc5f2b;
  --accent-hover: #e8521f;

  --layer-metabolic: #c8a87e;
  --layer-emotional: #4A6FA5;
  --layer-dopamine: #4A7C59;
  --layer-awareness: #7B5EA7;

  --container: 720px;
  --container-wide: 840px;
}


/* ══════════════════════════════════
   PROGRESS BAR
   ══════════════════════════════════ */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s ease;
  z-index: 100;
}


/* ══════════════════════════════════
   QUIZ
   ══════════════════════════════════ */

.quiz-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  background: #ffffff;
}

.quiz-card {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.question-number {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  margin-bottom: 16px;
}

.question-text {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 600;
  color: #18181b;
  line-height: 1.35;
  margin-bottom: 36px;
}

/* ── Answer options ── */

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.option {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  color: #3f3f46;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option:hover {
  border-color: #d4d4d8;
  background: #fafafa;
  transform: translateY(-1px);
}

.option.selected {
  border-color: var(--accent);
  background: rgba(252, 95, 43, 0.04);
}

.option.selected::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  pointer-events: none;
}

/* ── Open text (Q15) ── */

.open-text {
  width: 100%;
  min-height: 120px;
  padding: 18px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  color: #18181b;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border 0.2s ease;
  margin-bottom: 36px;
}

.open-text:focus {
  border-color: var(--accent);
}

.open-text::placeholder {
  color: #a1a1aa;
}

/* ── Quiz navigation ── */

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.quiz-nav .btn-back {
  background: transparent;
  border: 1px solid #e4e4e7;
  color: #71717a;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-nav .btn-back:hover {
  border-color: #d4d4d8;
  color: #18181b;
}

.quiz-nav .btn-back.hidden {
  visibility: hidden;
}

.quiz-nav .btn-next {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: 9999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.3;
  pointer-events: none;
}

.quiz-nav .btn-next.active {
  opacity: 1;
  pointer-events: auto;
}

.quiz-nav .btn-next.active:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.quiz-nav .btn-next--results {
  background: var(--accent);
  color: #ffffff;
}

.quiz-nav .btn-next--results.active:hover {
  background: var(--accent-hover);
}

.quiz-nav .btn-next.always-active {
  opacity: 1;
  pointer-events: auto;
}


/* ══════════════════════════════════
   RESULTS PAGE
   ══════════════════════════════════ */

/* Base page background */
body {
  background-color: #f6f3ee !important;
}

/* Quiz page stays white */
body:has(#quiz-wrap:not([style*="display: none"])) {
  background-color: #ffffff !important;
}

.results-wrap {
  display: none;
  padding: 0 0 100px;
  max-width: 960px;
  margin: 0 auto;
}

.results-wrap.active {
  display: block;
}

/* ── Scroll reveal ── */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}


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

.r-hero {
  text-align: center;
  padding: 80px 32px 64px;
  position: relative;
}

/* Decorative background blur */
.r-hero::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(252, 95, 43, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.r-hero > * {
  position: relative;
  z-index: 1;
}

.r-hero-pre {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #a1a1aa;
  margin-bottom: 24px;
}

.r-score {
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--layer-metabolic), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: inline-block;
}

.r-score.counted {
  animation: scorePulse 0.5s ease;
}

@keyframes scorePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.r-score-of {
  font-size: 14px;
  color: #a1a1aa;
  margin-bottom: 28px;
}

.r-score-note {
  font-size: 12px;
  color: #d4d4d8;
}

/* Tier badges */

.tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 28px;
  border-radius: 9999px;
}

.tier-badge--high {
  background: rgba(220, 38, 38, 0.07);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.tier-badge--moderate {
  background: rgba(200, 168, 126, 0.1);
  color: #b8860b;
  border: 1px solid rgba(200, 168, 126, 0.2);
}

.tier-badge--low {
  background: rgba(22, 163, 74, 0.07);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.r-hero-sub {
  max-width: 520px;
  margin: 28px auto 0;
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.7;
  text-align: center;
}

.r-hero-text {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 16px;
  color: #52525b;
  line-height: 1.8;
  text-align: center;
}

/* ── Seesaw (positive framing in hero) ── */

.r-seesaw {
  max-width: 560px;
  margin: 28px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.r-seesaw-strong {
  font-size: 15px;
  color: #3f3f46;
  line-height: 1.75;
  padding: 16px 20px;
  background: rgba(22, 163, 74, 0.04);
  border-left: 3px solid rgba(22, 163, 74, 0.3);
  border-radius: 0 12px 12px 0;
  margin: 0;
}

.r-seesaw-strong strong {
  color: #18181b;
}

.r-seesaw-pivot {
  font-size: 15px;
  color: #52525b;
  line-height: 1.75;
  padding: 16px 20px;
  background: rgba(252, 95, 43, 0.04);
  border-left: 3px solid rgba(252, 95, 43, 0.3);
  border-radius: 0 12px 12px 0;
  margin: 0;
}

.r-seesaw-pivot strong {
  color: #18181b;
}

.r-seesaw-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}


/* ══════════════════════════════════
   SECTIONS
   ══════════════════════════════════ */

.r-section {
  margin-top: 48px;
  padding: 0 24px;
  border-top: none;
}

.r-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.r-section-head {
  margin-bottom: 28px;
}

.r-section-head h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: #18181b;
  line-height: 1.2;
  margin-bottom: 10px;
}

.r-section-head p {
  font-size: 15px;
  color: #71717a;
  line-height: 1.7;
  max-width: 560px;
}


/* ══════════════════════════════════
   LAYER DETAIL (per-layer analysis)
   ══════════════════════════════════ */

.layer-detail {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.layer-detail:hover {
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.layer-detail--primary {
  padding: 32px 36px;
  margin: 0 0 12px 0;
  background: #ffffff;
  border: 1px solid rgba(252, 95, 43, 0.18);
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(252, 95, 43, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ── Header row ── */

.ld-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.ld-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ld-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ld-name {
  font-size: 18px;
  font-weight: 700;
  color: #18181b;
  margin: 0;
}

.ld-sub {
  font-weight: 400;
  color: #a1a1aa;
  font-size: 15px;
}

.ld-primary-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(252, 95, 43, 0.08);
  padding: 4px 12px;
  border-radius: 9999px;
}

.ld-fraction {
  font-size: 28px;
  font-weight: 700;
  color: #18181b;
  white-space: nowrap;
}

.ld-fraction span {
  font-size: 16px;
  font-weight: 400;
  color: #a1a1aa;
}

/* ── Progress bar ── */

.ld-bar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ld-bar {
  flex: 1;
  height: 10px;
  background: #e4e4e7;
  border-radius: 9999px;
  overflow: hidden;
}

.ld-bar-fill {
  height: 100%;
  border-radius: 9999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ld-bar-pct {
  font-size: 14px;
  font-weight: 600;
  color: #3f3f46;
  min-width: 36px;
  text-align: right;
}

/* ── Layer content ── */

.ld-mechanism {
  font-size: 14px;
  color: #71717a;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f4f4f5;
  font-style: italic;
}

.ld-opening {
  font-size: 15px;
  color: #3f3f46;
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 500;
}

/* Mirror blocks — What you tell yourself / What you feel */

.ld-mirror-block {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: rgba(24, 24, 27, 0.02);
  border-left: 3px solid #e4e4e7;
  border-radius: 0 12px 12px 0;
}

.ld-mirror-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  margin-bottom: 16px;
}

.ld-mirror-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ld-mirror-list li {
  font-size: 14px;
  color: #52525b;
  line-height: 1.7;
  padding: 12px 16px;
  position: relative;
  background: white;
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ld-mirror-list li::before {
  content: none;
}

.ld-feeling-list li {
  font-style: normal;
}

.ld-rationalization-list li {
  font-style: normal;
  color: #71717a;
}

/* Cost block */

.ld-cost {
  margin-top: 24px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: rgba(24, 24, 27, 0.03);
  border-radius: 12px;
  border-left: 3px solid #e4e4e7;
}

.ld-cost-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  margin-bottom: 10px;
}

.ld-cost p {
  font-size: 14px;
  color: #3f3f46;
  line-height: 1.75;
  margin: 0;
  font-weight: 500;
}

/* Origin block */

.ld-origin {
  margin-top: 16px;
}

.ld-origin-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  margin-bottom: 10px;
}

.ld-origin p {
  font-size: 14px;
  color: #71717a;
  line-height: 1.8;
  margin: 0;
  font-style: italic;
}


/* ── What becomes possible (layer detail) ── */

.ld-possibility {
  margin-top: 20px;
  padding: 20px 24px;
  background: rgba(22, 163, 74, 0.04);
  border-radius: 12px;
  border-left: 3px solid rgba(22, 163, 74, 0.25);
}

.ld-possibility-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #16a34a;
  margin-bottom: 10px;
}

.ld-possibility p {
  font-size: 14px;
  color: #3f3f46;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}


/* ══════════════════════════════════
   PRIMARY INTERFERENCE DEEP DIVE
   ══════════════════════════════════ */

.r-body {
  margin-bottom: 32px;
}

.r-body p {
  font-size: 15px;
  color: #52525b;
  line-height: 1.8;
  margin-bottom: 16px;
}

.r-body p:last-child {
  margin-bottom: 0;
}

/* ── Primary insight possibility ── */

.r-possibility {
  padding: 24px 28px;
  background: rgba(22, 163, 74, 0.04);
  border-left: 3px solid rgba(22, 163, 74, 0.25);
  border-radius: 0 12px 12px 0;
  margin-bottom: 32px;
}

.r-possibility-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #16a34a;
  margin-bottom: 12px;
}

.r-possibility p {
  font-size: 15px;
  color: #3f3f46;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

/* ── Domain framing ── */

.domain-framing {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(252, 95, 43, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}

.domain-framing p {
  font-size: 16px;
  color: #52525b;
  line-height: 1.8;
  margin: 0;
}

.domain-framing strong {
  color: #18181b;
}

/* ── Cost of inaction ── */

.cost-of-inaction {
  margin-top: 24px;
  padding: 28px 32px;
  background: rgba(220, 38, 38, 0.03);
  border-left: 3px solid rgba(220, 38, 38, 0.2);
  border-radius: 0 12px 12px 0;
}

.cost-of-inaction-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  margin-bottom: 12px;
}

.cost-of-inaction p {
  font-size: 15px;
  color: #52525b;
  line-height: 1.8;
  margin: 0;
}



/* ══════════════════════════════════
   CTA SECTION
   ══════════════════════════════════ */

/* ── Brand north star pullquote ── */

.r-insight-quote {
  margin-bottom: 40px;
  padding: 44px 40px;
  background: linear-gradient(135deg, rgba(200, 168, 126, 0.07) 0%, rgba(252, 95, 43, 0.05) 100%);
  border-radius: 24px;
  border: 1px solid rgba(200, 168, 126, 0.2);
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.r-iq-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 4vw, 32px);
  font-style: italic;
  color: #18181b;
  line-height: 1.35;
  margin-bottom: 14px;
  margin-top: 0;
}

.r-iq-context {
  font-size: 15px;
  color: #71717a;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Gap bridge ── */

.r-gap {
  margin-bottom: 40px;
}

.r-gap p {
  font-size: 16px;
  color: #52525b;
  line-height: 1.8;
  margin-bottom: 12px;
}

.r-gap p:last-child {
  margin-bottom: 0;
}

.r-gap strong {
  color: #18181b;
}

/* ── Offer + booking section ── */

.r-offer {
  text-align: center;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #18181b;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

/* Copy block above Calendly */
.r-offer-copy {
  background: #18181b;
  border-radius: 24px 24px 0 0;
  padding: 56px 40px 40px;
  text-align: center;
}

/* Full offer block has rounded bottom too (email section is inside) */
.r-offer {
  border-radius: 24px;
  overflow: hidden;
  background: #18181b;
}

.r-offer-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.r-offer-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  margin-bottom: 32px;
}

.r-offer-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

/* Calendly block */
.r-booking-block {
  background: #ffffff;
  overflow: hidden;
  border-top: none;
}

.r-booking-block .calendly-inline-widget {
  display: block;
}

/* ── Nurture CTA variant ── */

.r-offer--nurture .r-offer-copy {
  padding-bottom: 24px;
}

.r-nurture-form-wrap {
  padding: 32px 40px 48px;
  background: #ffffff;
  text-align: center;
}

.r-nurture-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.r-nurture-form input {
  flex: 1;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #18181b;
  outline: none;
  transition: border 0.2s ease;
}

.r-nurture-form input:focus {
  border-color: var(--accent);
}

.r-nurture-form input::placeholder {
  color: #a1a1aa;
}

.r-nurture-submit {
  padding: 14px 28px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.r-nurture-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.r-nurture-or {
  font-size: 13px;
  color: #a1a1aa;
  margin: 20px 0 12px;
}

.r-nurture-alt {
  font-size: 14px;
  color: #71717a;
  line-height: 1.6;
}

.r-nurture-alt a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.r-nurture-alt a:hover {
  text-decoration: underline;
}

/* Mirror session email gate */
.r-mirror-email-wrap {
  margin-top: 24px;
  text-align: center;
}

.r-mirror-email-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.r-mirror-email-form input {
  flex: 1;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #18181b;
  outline: none;
  transition: border 0.2s ease;
}

.r-mirror-email-form input:focus {
  border-color: var(--accent);
}

.r-mirror-email-form input::placeholder {
  color: #a1a1aa;
}

.r-mirror-email-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.r-mirror-email-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .r-nurture-form {
    flex-direction: column;
  }

  .r-nurture-form-wrap {
    padding: 24px 20px 36px;
  }

  .r-mirror-email-form {
    flex-direction: column;
  }
}

/* ── CTA button ── */

.cta-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cta-btn--gold {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(252, 95, 43, 0.3);
}

.cta-btn--gold:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(252, 95, 43, 0.35);
}


/* ══════════════════════════════════
   SHARE + PDF ACTIONS
   ══════════════════════════════════ */

.results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e4e4e7;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  color: #3f3f46;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
}

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

/* Copy feedback toast */

.copy-feedback {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #18181b;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 200;
}

.copy-feedback.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ══════════════════════════════════
   LIQUID METAL BUTTON
   ══════════════════════════════════ */

.btn-liquid {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease, color 0.4s ease;
  z-index: 0;
  font-family: inherit;
}
.btn-liquid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(160deg, #3a3a3a 0%, #0a0a0a 30%, #1a1a1a 50%, #2a2a2a 70%, #0a0a0a 100%);
  z-index: -2;
}
.btn-liquid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(255,255,255,0.06) 0%, transparent 50%);
  opacity: 0.8;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.btn-liquid:hover::after { opacity: 1; }
.btn-liquid:hover {
  transform: translateY(-2px);
  color: #fff;
}
.btn-liquid:active {
  transform: translateY(0) scale(0.98);
}
.btn-liquid .btn-liquid-shine {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.08) 55%, transparent 70%);
  background-size: 200% 100%;
  animation: liquidShimmer 3s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes liquidShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.btn-liquid-wrap {
  position: relative;
  display: inline-block;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(160deg, #fc5f2b 0%, #e8521f 40%, #ff8f6b 60%, #fc5f2b 100%);
  box-shadow:
    0 0 0 1px rgba(252,95,43,0.3),
    0 4px 16px rgba(252,95,43,0.25),
    0 12px 24px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-liquid-wrap:hover {
  box-shadow:
    0 0 0 1px rgba(252,95,43,0.4),
    0 6px 20px rgba(252,95,43,0.35),
    0 16px 32px rgba(0,0,0,0.3);
}


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

.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid #e4e4e7;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.footer p {
  font-size: 12px;
  color: #a1a1aa;
}


/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

@media (max-width: 768px) {
  .r-offer-copy {
    padding: 40px 24px 32px;
  }
  .r-section {
    padding: 0 16px;
  }
  .layer-detail {
    padding: 24px 20px;
  }
  .layer-detail--primary {
    padding: 24px 20px;
  }
  .r-insight-quote {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .quiz-wrap {
    padding: 48px 16px 32px;
  }

  .question-text {
    font-size: 20px;
  }

  .option {
    padding: 16px 18px;
    font-size: 14px;
    min-height: 44px;
    gap: 4px;
  }
  .option-label {
    font-size: 10px;
  }

  .quiz-nav .btn-back,
  .quiz-nav .btn-next {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
  }

  /* Results */
  .r-hero {
    padding: 48px 0 40px;
  }

  .r-seesaw {
    margin: 24px 16px 0;
  }

  .r-seesaw-strong,
  .r-seesaw-pivot {
    font-size: 14px;
    padding: 14px 16px;
  }

  .r-section {
    margin-top: 40px;
    padding-top: 40px;
  }

  .r-section-head {
    margin-bottom: 28px;
  }

  .layer-detail {
    padding: 28px 0;
  }

  .layer-detail--primary {
    padding: 28px 0;
    margin: 0;
  }

  .ld-head {
    flex-wrap: wrap;
  }

  .ld-name {
    font-size: 16px;
  }

  .ld-fraction {
    font-size: 24px;
  }

  .ld-recs li {
    font-size: 13px;
    padding-left: 32px;
  }

  .ld-rec-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .plan-card {
    padding-top: 32px;
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .r-offer {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .results-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-secondary {
    justify-content: center;
    min-height: 44px;
  }
}


/* ══════════════════════════════════
   EMAIL GATE (score teaser + capture)
   ══════════════════════════════════ */

.email-gate {
  display: none;
  min-height: 100vh;
  padding: 60px 24px 80px;
  background: #f6f3ee;
}

.email-gate.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.gate-pre {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #a1a1aa;
  margin-bottom: 20px;
}

.gate-score {
  font-size: clamp(64px, 12vw, 100px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--layer-metabolic), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.gate-score-of {
  font-size: 14px;
  color: #a1a1aa;
  margin-bottom: 36px;
}

/* Layer bars teaser */
.gate-layers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.gate-layer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.gate-layer-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.gate-layer-name {
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
  flex: 1;
}

.gate-layer-pct {
  font-size: 13px;
  font-weight: 600;
  color: #71717a;
}

.gate-bar {
  height: 6px;
  background: #e4e4e7;
  border-radius: 9999px;
  overflow: hidden;
}

.gate-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gate CTA */
.gate-form-wrap {
  padding: 36px 32px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.gate-cta {
  font-size: 18px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 6px;
}

.gate-cta-sub {
  font-size: 14px;
  color: #71717a;
  margin-bottom: 24px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-form input {
  width: 100%;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #18181b;
  outline: none;
  transition: border 0.2s ease;
}

.gate-form input:focus {
  border-color: var(--accent);
}

.gate-form input::placeholder {
  color: #a1a1aa;
}

.gate-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.gate-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .gate-form-wrap {
    padding: 28px 20px;
  }
}
