/* =========================================================
   SELVARA — Quiz Funnel
   Premium wellness × clinical precision
   ========================================================= */

:root {
  /* Palette */
  --teal: #0C7C84;
  --teal-dark: #0A666C;
  --teal-darker: #084A50;
  --teal-light: #E8F3F4;
  --teal-light-2: #D4E9EB;
  --bg: #F7F6F2;
  --bg-2: #EFEDE5;
  --paper: #FFFFFF;
  --ink: #1F1A14;
  --ink-2: #3A342C;
  --ink-3: #5F5951;
  --ink-4: #8B857D;
  --line: rgba(31, 26, 20, 0.10);
  --line-2: rgba(31, 26, 20, 0.06);
  --warn: #C46D3E;
  --warn-soft: #F4E4D6;

  /* Type */
  --font-display: 'Zodiak', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur: 440ms;
  --dur-slow: 680ms;

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(31, 26, 20, 0.04), 0 0 0 1px rgba(31, 26, 20, 0.04);
  --shadow: 0 4px 18px -6px rgba(31, 26, 20, 0.10), 0 0 0 1px rgba(31, 26, 20, 0.06);
  --shadow-lg: 0 20px 60px -20px rgba(12, 124, 132, 0.25), 0 0 0 1px rgba(31, 26, 20, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(12, 124, 132, 0.05), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(12, 124, 132, 0.04), transparent 60%),
    var(--bg);
}

/* ========== PROGRESS BAR ========== */
.progress-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(31, 26, 20, 0.06);
  z-index: 100;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transition: width 600ms var(--ease);
  will-change: width;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-indicator {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  font-feature-settings: 'tnum' 1;
}

/* ========== STAGE / STEPS ========== */
.stage {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px 72px;
  position: relative;
}

.step {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.step.is-leaving {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
}
.step[hidden] { display: none; }

/* ========== TYPOGRAPHY ========== */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}
.display--xl {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display--lg {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.display--md {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
}
.display--sm {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.display em {
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 400;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 48ch;
  margin: 20px 0 0;
}
.lede--tight {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 16px;
}
.lede em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--teal-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 7px 12px 7px 10px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.15);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.15); }
  50%      { box-shadow: 0 0 0 7px rgba(12, 124, 132, 0.05); }
}
.eyebrow--light {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

/* ========== WELCOME ========== */
.step--welcome {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 72vh;
}
.welcome-inner { max-width: 640px; }

.welcome-meta {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin: 40px 0 36px;
  padding: 24px 28px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
.meta-item { flex: 1; }
.meta-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.meta-num span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-4);
  margin-left: 3px;
  letter-spacing: 0;
}
.meta-label {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.meta-divider {
  width: 1px;
  background: var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.trust-item svg {
  color: var(--teal);
}

/* Welcome aside — floating biomarker cards */
.welcome-aside {
  position: relative;
  height: 460px;
}
.card-stack {
  position: absolute;
  inset: 0;
}
.biomarker-card {
  position: absolute;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}
.biomarker-card--1 {
  top: 20px;
  left: 0;
  animation-delay: 0s;
  transform: rotate(-2deg);
}
.biomarker-card--2 {
  top: 170px;
  right: 0;
  animation-delay: 1.4s;
  transform: rotate(1.5deg);
}
.biomarker-card--3 {
  bottom: 20px;
  left: 32px;
  animation-delay: 2.8s;
  transform: rotate(-1deg);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}
.biomarker-card--1 { --r: -2deg; }
.biomarker-card--2 { --r: 1.5deg; }
.biomarker-card--3 { --r: -1deg; }

.bc-label {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.bc-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-top: 6px;
  margin-bottom: 14px;
}
.bc-value--warn { color: var(--warn); }
.bc-bar {
  height: 4px;
  background: var(--teal-light);
  border-radius: 4px;
  overflow: hidden;
}
.bc-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  animation: fillBar 2s var(--ease-out) forwards;
}
.bc-bar-fill--warn { background: var(--warn); }
@keyframes fillBar {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* ========== Q HEAD ========== */
.q-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.q-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-feature-settings: 'tnum' 1;
}
.q-note {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 15px;
}
.q-note strong { color: var(--ink); font-weight: 600; }
.q-note-count {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ========== OPTIONS ========== */
.options {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 720px;
}
.options--stack { grid-template-columns: 1fr; }
.options--grid-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 820px;
}
.options--grid-goals {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  max-width: 920px;
}
.options--chips {
  display: flex;
  flex-wrap: wrap;
  max-width: 820px;
}

.option {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  padding: 18px 22px;
  border-radius: var(--radius);
  transition:
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.option:hover {
  border-color: var(--teal);
  background: #FFFDF9;
}
.option:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.18);
}
.option:active { transform: scale(0.995); }

.option-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 500;
  line-height: 1.35;
}
.option-label strong {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.option-sub {
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 400;
}
.option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
}
.option.is-selected {
  border-color: var(--teal);
  background: var(--teal-light);
  box-shadow: 0 0 0 1px var(--teal) inset, 0 6px 18px -6px rgba(12, 124, 132, 0.22);
}
.option.is-selected .option-check {
  background: var(--teal);
  border-color: var(--teal);
}
.option.is-selected .option-check::after {
  content: '';
  position: absolute;
  left: 7px; top: 3px;
  width: 5px; height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.option.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Tile variant (age) */
.option--tile {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 10px;
  gap: 4px;
  min-height: 110px;
}
.tile-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tile-sub {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.option--tile.is-selected .tile-value { color: var(--teal-dark); }

/* Goal variant */
.option--goal {
  flex-direction: row;
  padding: 16px 18px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 68px;
}
.goal-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.option--goal.is-selected .goal-icon {
  background: var(--teal);
  color: white;
}
.goal-label {
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.3;
}

/* Chip variant */
.option--chip {
  display: inline-flex;
  width: auto;
  padding: 11px 18px;
  margin: 0;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  min-height: 0;
  border: 1px solid var(--line);
}
.options--chips { gap: 10px; }
.option--chip.is-selected {
  box-shadow: 0 0 0 1px var(--teal) inset;
}
.option--chip-none {
  margin-left: auto;
  color: var(--ink-3);
}

/* ========== STEP NAV ========== */
.step-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  max-width: 920px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

/* ========== BUTTONS ========== */
.btn {
  appearance: none;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.22);
}

.btn--primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 6px 20px -8px rgba(12, 124, 132, 0.55), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn--primary:hover:not(:disabled) {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(12, 124, 132, 0.65), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn--primary:active:not(:disabled) { transform: translateY(0); }
.btn--primary:disabled {
  background: var(--ink-4);
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-3);
  padding: 12px 18px;
}
.btn--ghost:hover {
  color: var(--ink);
  background: rgba(31, 26, 20, 0.04);
}

.btn--lg {
  font-size: 16px;
  padding: 18px 32px;
}
.btn--xl {
  font-size: 17px;
  padding: 22px 40px;
}
.btn--sm {
  font-size: 13px;
  padding: 10px 16px;
}

/* ========== LOADING ========== */
.step--loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-inner {
  text-align: center;
  max-width: 460px;
}
.loading-ring {
  display: inline-block;
  margin-bottom: 28px;
}
.loading-arc {
  transform-origin: 50% 50%;
  animation: spin 1.4s linear infinite;
}
@keyframes spin {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }
}
.loading-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  text-align: left;
  display: inline-block;
}
.loading-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-4);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 420ms var(--ease);
}
.loading-steps li.is-active {
  opacity: 1;
  transform: translateX(0);
  color: var(--ink-2);
}
.loading-steps li.is-done {
  opacity: 0.7;
  color: var(--teal-dark);
}
.loading-steps li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  position: relative;
}
.loading-steps li.is-done::before {
  background: var(--teal);
  border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}

/* ========== RESULTS ========== */
.step--results {
  max-width: 1080px;
}
.results-hero {
  max-width: 820px;
  margin-bottom: 56px;
}
.reveal-num {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.results-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-bottom: 44px;
}

.panel-group {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line-2);
}
.panel-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.panel-count {
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.panel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp 560ms var(--ease) forwards;
}
.panel:last-child { border-bottom: none; padding-bottom: 4px; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-body { flex: 1; min-width: 0; }
.panel-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.panel-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}
.panel-markers {
  font-size: 12px;
  color: var(--teal-dark);
  margin-top: 8px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* Score card */
.score-card {
  background: linear-gradient(180deg, var(--teal-darker) 0%, var(--teal-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.score-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.score-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.score-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.score-list li {
  opacity: 0;
  transform: translateX(-6px);
  animation: fadeInRight 500ms var(--ease) forwards;
}
.score-list li:nth-child(1) { animation-delay: 0.05s; }
.score-list li:nth-child(2) { animation-delay: 0.12s; }
.score-list li:nth-child(3) { animation-delay: 0.19s; }
.score-list li:nth-child(4) { animation-delay: 0.26s; }
.score-list li:nth-child(5) { animation-delay: 0.33s; }
.score-list li:nth-child(6) { animation-delay: 0.40s; }
@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}
.score-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.score-icon {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.score-title {
  font-size: 15px;
  font-weight: 500;
}
.score-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 36px;
  margin-top: 2px;
}

/* Price block */
.price-block {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.price-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 28px;
}
.price-side { min-width: 200px; }
.price-label {
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-strike {
  font-size: 18px;
  color: var(--ink-4);
  text-decoration: line-through;
  font-weight: 400;
}
.price-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.price-meta {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 10px;
}

.includes-title {
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.include-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ink-3);
}
.guarantee svg { color: var(--teal); flex-shrink: 0; }
.guarantee strong { color: var(--ink-2); font-weight: 600; }

.results-footer {
  text-align: center;
  margin-top: 12px;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-4);
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.site-footer a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer a:hover { color: var(--teal-dark); }
.footer-right { display: flex; gap: 10px; align-items: center; }
.footer-right .sep { color: var(--ink-4); opacity: 0.5; }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .step--welcome {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: auto;
  }
  .welcome-aside { height: 360px; }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .options--grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-block-top {
    flex-direction: column;
    align-items: stretch;
  }
  .btn--xl { width: 100%; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px 20px; }
  .stage { padding: 32px 20px 56px; }
  .welcome-meta {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .meta-divider { display: none; }
  .meta-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .meta-label { margin-top: 0; }

  .welcome-aside { height: 340px; }
  .biomarker-card { width: 240px; padding: 16px 18px; }
  .biomarker-card--1 { top: 10px; left: 0; }
  .biomarker-card--2 { top: 140px; right: 0; }
  .biomarker-card--3 { bottom: 10px; left: 24px; }

  .options--grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .options--grid-goals {
    grid-template-columns: 1fr;
  }
  .option { padding: 16px 18px; }
  .option--tile { padding: 20px 10px; min-height: 96px; }

  .step-nav {
    flex-direction: row;
    gap: 8px;
  }
  .btn--primary { flex: 1; justify-content: center; }
  .btn { padding: 14px 20px; }
  .btn--lg { padding: 16px 24px; width: 100%; }

  .q-head { margin-bottom: 32px; }

  .panel-group, .score-card, .price-block {
    padding: 24px;
    border-radius: var(--radius);
  }
  .price { font-size: 44px; }
  .includes-grid { grid-template-columns: 1fr; gap: 10px; }

  .site-footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-row { gap: 14px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   UPGRADE: Premium value presentation + competitive edge
   ========================================================= */

/* Snappier transitions */
.step {
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
}
.step.is-leaving {
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

/* Make progress bar more prominent */
.progress-container {
  height: 4px;
  background: rgba(31, 26, 20, 0.08);
}
.progress-bar {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  box-shadow: 0 0 12px rgba(12, 124, 132, 0.4);
  transition: width 480ms var(--ease);
}

/* Step indicator: prominent, pill-style */
.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 7px 12px;
  border-radius: 100px;
  transition: opacity 200ms var(--ease);
  font-feature-settings: 'tnum' 1;
}
.step-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 124, 132, 0.18);
}

/* Option selection micro-pulse */
@keyframes optionPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.option.is-selected {
  animation: optionPulse 260ms var(--ease-out);
}
.option--chip.is-selected {
  animation: optionPulse 260ms var(--ease-out);
}

/* ========== WELCOME: social proof ========== */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 10px 18px 10px 10px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
.sp-avatars {
  display: flex;
  flex-shrink: 0;
}
.sp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
}
.sp-avatar:first-child { margin-left: 0; }
.sp-avatar--1 { background: linear-gradient(135deg, #D4E9EB, #0C7C84); }
.sp-avatar--2 { background: linear-gradient(135deg, #F4E4D6, #C46D3E); }
.sp-avatar--3 { background: linear-gradient(135deg, #E8F3F4, #084A50); }
.sp-avatar--4 { background: linear-gradient(135deg, #EFEDE5, #5F5951); }
.sp-copy {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.4;
}
.sp-copy strong {
  color: var(--ink);
  font-weight: 600;
}

/* ========== WELCOME: trust badges (upgraded) ========== */
.trust-row--badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 28px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.trust-badge svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* ========== KIT SECTION (Results) ========== */
.kit-section {
  margin: 8px 0 40px;
}
.kit-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.kit-head .eyebrow--light {
  background: var(--teal-light);
  border: none;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.kit-head .display {
  margin: 0;
}
.kit-head .lede {
  margin-top: 16px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kit-card {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  overflow: hidden;
}
.kit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 124, 132, 0.2);
  box-shadow: var(--shadow);
}
.kit-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  font-feature-settings: 'tnum' 1;
  margin-bottom: 14px;
}
.kit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.kit-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.kit-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.kit-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--teal-dark);
  text-transform: uppercase;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}
.kit-card--highlight {
  background: linear-gradient(180deg, rgba(12, 124, 132, 0.04), rgba(12, 124, 132, 0.01));
  border-color: rgba(12, 124, 132, 0.22);
}
.kit-card--highlight .kit-icon {
  background: var(--teal);
  color: white;
}
.kit-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--paper);
  border: 1px solid rgba(12, 124, 132, 0.25);
  padding: 4px 9px;
  border-radius: 100px;
}

/* ========== COMPARE CALLOUT ========== */
.compare-callout {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: 40px 40px 36px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.compare-callout::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(12, 124, 132, 0.10), transparent 70%);
  pointer-events: none;
}
.compare-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 14px;
  position: relative;
}
.compare-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 820px;
  position: relative;
}
.compare-headline em {
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 400;
}
.strike-red {
  position: relative;
  display: inline-block;
  color: var(--ink-3);
}
.strike-red::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  top: 52%;
  height: 2px;
  background: var(--warn);
  transform: rotate(-3deg);
  transform-origin: center;
}

.compare-table {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line-2);
}
.compare-row:last-child { border-bottom: none; }
.compare-row--head {
  background: #FBFAF6;
}
.compare-cell {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-2);
  border-right: 1px solid var(--line-2);
  display: flex;
  align-items: center;
}
.compare-cell:last-child { border-right: none; }
.compare-row--head .compare-cell {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 18px;
}
.compare-cell--feature {
  font-weight: 500;
  color: var(--ink);
  background: #FBFAF6;
}
.compare-cell--us {
  background: var(--teal-light);
  color: var(--teal-darker);
  font-weight: 600;
}
.compare-row--head .compare-cell--us {
  color: var(--teal-darker);
  background: var(--teal-light-2);
}
.compare-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.dot-check, .dot-x {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.dot-check::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px;
  flex-shrink: 0;
}
.dot-x {
  color: var(--ink-4);
}
.dot-x::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
}

/* ========== PRICE BLOCK UPGRADE ========== */
.price-block--upgraded {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 124, 132, 0.2);
  box-shadow: 0 18px 60px -20px rgba(12, 124, 132, 0.25), 0 0 0 1px rgba(31, 26, 20, 0.04);
}
.urgency-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  background: linear-gradient(90deg, rgba(196, 109, 62, 0.10), rgba(196, 109, 62, 0.04));
  border-bottom: 1px solid rgba(196, 109, 62, 0.15);
  font-size: 13.5px;
  color: var(--ink-2);
}
.urgency-strip strong {
  color: var(--warn);
  font-weight: 600;
}
.urgency-dot {
  width: 8px;
  height: 8px;
  background: var(--warn);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(196, 109, 62, 0.18);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.price-block--upgraded .price-block-top {
  padding: 36px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 0;
}

.price-badge--save {
  background: var(--warn-soft);
  color: var(--warn);
  font-weight: 700;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.cta-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg-2);
  border-radius: 100px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.mini-badge svg {
  color: var(--teal);
}

/* Guarantee (upgraded) */
.guarantee--upgraded {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 20px 36px;
  border-top: none;
  background: linear-gradient(90deg, rgba(12, 124, 132, 0.04), transparent);
}
.guarantee-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.guarantee-body {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ========== RESPONSIVE ADD-ONS ========== */
@media (max-width: 960px) {
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  }
  .compare-callout {
    padding: 28px 24px;
  }
  .cta-stack {
    align-items: stretch;
  }
  .cta-badges {
    justify-content: center;
  }
  .price-block--upgraded .price-block-top {
    padding: 24px;
  }
  .urgency-strip { padding: 12px 24px; }
  .guarantee--upgraded { padding: 18px 24px; }
}

@media (max-width: 720px) {
  .compare-table {
    overflow-x: auto;
  }
  .compare-row {
    min-width: 640px;
    grid-template-columns: 160px repeat(4, 1fr);
  }
  .compare-headline br { display: none; }
  .trust-row--badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kit-grid { grid-template-columns: 1fr; }
  .kit-card { padding: 22px 20px 20px; }
  .kit-ribbon { top: 12px; right: 12px; font-size: 9px; }
  .social-proof {
    width: 100%;
    padding: 8px 14px 8px 8px;
  }
  .sp-avatar { width: 24px; height: 24px; }
  .compare-callout {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .compare-callout::before { width: 180px; height: 180px; top: -40px; right: -40px; }
  .price-block--upgraded .price-block-top {
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .urgency-strip { padding: 12px 18px; font-size: 12.5px; }
  .guarantee--upgraded { padding: 18px; gap: 12px; }
  .guarantee-icon { width: 38px; height: 38px; }
  .cta-stack { gap: 12px; align-items: stretch; }
  .cta-badges { justify-content: flex-start; }
}

/* =========================================================
   VISUAL UPGRADE: Floating images, rounded frames, glass
   ========================================================= */

/* --- Keyframes --- */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 0.6deg)); }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)) scale(1); }
  50%      { transform: translateY(-10px) rotate(calc(var(--r, 0deg) - 0.5deg)) scale(1.01); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-18px) translateX(4px) rotate(calc(var(--r, 0deg) + 1deg)); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in-soft {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Step layering --- */
.step--welcome { position: relative; isolation: isolate; }
.step--with-bg { position: relative; isolation: isolate; }
.step--welcome > .welcome-inner,
.step--welcome > .welcome-aside { position: relative; z-index: 2; }
.step--with-bg > *:not(.step-bg) { position: relative; z-index: 2; }
.step--welcome > .welcome-mesh { z-index: 0; }

/* --- Gradient mesh on welcome --- */
.welcome-mesh {
  position: absolute;
  inset: -40px -20px -40px -20px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(12, 124, 132, 0.18), transparent 62%),
    radial-gradient(700px 420px at 14% 86%, rgba(247, 226, 195, 0.55), transparent 60%),
    radial-gradient(520px 380px at 92% 82%, rgba(12, 124, 132, 0.10), transparent 65%),
    linear-gradient(160deg, rgba(232, 243, 244, 0.55), rgba(247, 246, 242, 0) 55%);
  filter: blur(0.5px);
  border-radius: var(--radius-xl);
}

/* --- Float collage (welcome aside) --- */
.welcome-aside {
  /* Override height for collage */
  height: 520px;
  position: relative;
  z-index: 2;
}
.float-collage {
  position: absolute;
  inset: 0;
}
.float-img {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 60px -20px rgba(12, 124, 132, 0.28),
    0 8px 32px rgba(31, 26, 20, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  background: var(--paper);
  will-change: transform;
  animation: rise-in 700ms var(--ease-out) both, float-gentle 6s ease-in-out infinite;
}
.float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Individual placements — woman (tall), kit (square), doctor (wide), man (portrait) */
.float-img--1 { /* hero-woman */
  top: 0;
  left: 0;
  width: 58%;
  height: 320px;
  --r: -2deg;
  animation-delay: 0s, 200ms;
  animation-duration: 700ms, 7s;
}
.float-img--2 { /* kit-flatlay */
  top: 40px;
  right: 0;
  width: 44%;
  height: 200px;
  --r: 3deg;
  animation-delay: 150ms, 1.2s;
  animation-duration: 700ms, 6s;
}
.float-img--3 { /* doctor-call */
  bottom: 0;
  right: 6%;
  width: 54%;
  height: 190px;
  --r: -1.5deg;
  animation-delay: 300ms, 2.4s;
  animation-duration: 700ms, 8s;
  animation-name: rise-in, float-soft;
}
.float-img--4 { /* hero-man */
  bottom: 20px;
  left: 8%;
  width: 38%;
  height: 180px;
  --r: 2deg;
  animation-delay: 450ms, 3s;
  animation-duration: 700ms, 7.5s;
  animation-name: rise-in, float-slow;
}

/* Floating biomarker chips (glass) */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(12, 124, 132, 0.25), 0 2px 6px rgba(31, 26, 20, 0.06);
  z-index: 3;
  animation: rise-in 700ms var(--ease-out) 500ms both, float-gentle 5.5s ease-in-out infinite 1s;
}
.float-chip--1 {
  top: 200px;
  left: 46%;
  --r: 2deg;
}
.float-chip--2 {
  top: auto;
  bottom: 110px;
  right: 2%;
  --r: -2deg;
  animation-delay: 700ms, 2s;
}
.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.15);
  flex-shrink: 0;
}
.fc-dot--warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(196, 109, 62, 0.15);
}
.fc-label {
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.1;
}
.fc-value {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--teal-dark);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2px;
  line-height: 1;
}

/* --- Step contextual backgrounds --- */
.step-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.step-bg-img {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(12, 124, 132, 0.2);
  opacity: 0.12;
  animation: float-gentle 8s ease-in-out infinite;
}
.step-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Goals step — two lifestyle images low opacity */
.step-bg--goals .step-bg-img--a {
  top: 6%;
  right: -120px;
  width: 260px;
  height: 320px;
  --r: 4deg;
  opacity: 0.09;
}
.step-bg--goals .step-bg-img--b {
  bottom: 8%;
  right: -80px;
  width: 200px;
  height: 240px;
  --r: -3deg;
  opacity: 0.07;
  animation-delay: 2s;
}

/* Symptoms step — corner lab closeup */
.step-bg--symp .step-bg-img--corner {
  top: 2%;
  right: -60px;
  width: 240px;
  height: 240px;
  --r: -5deg;
  opacity: 0.10;
  border-radius: 32px;
}

/* Results step — biomarker abstract low-opacity bg */
.step-bg--results .step-bg-img--biomarker {
  top: -40px;
  right: -80px;
  width: 560px;
  height: 560px;
  --r: 0deg;
  opacity: 0.08;
  border-radius: 40px;
  animation-duration: 12s;
}

/* --- Results hero with media --- */
.results-hero--rich {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: none;
}
.results-hero--rich .results-hero-copy { max-width: 620px; }
.results-hero-media {
  position: relative;
  height: 360px;
}
.float-img--result-1 {
  top: 0;
  right: 10%;
  width: 70%;
  height: 220px;
  --r: 2deg;
  animation: rise-in 700ms var(--ease-out) 200ms both, float-gentle 7s ease-in-out infinite 400ms;
}
.float-img--result-2 {
  top: auto;
  bottom: 0;
  left: 0;
  width: 58%;
  height: 170px;
  --r: -2.5deg;
  animation: rise-in 700ms var(--ease-out) 400ms both, float-soft 6s ease-in-out infinite 1s;
}
.float-img--result-1 img,
.float-img--result-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Kit section showcase (top imagery) --- */
.kit-showcase {
  position: relative;
  height: 300px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 18px;
}
.showcase-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 18px 50px -18px rgba(12, 124, 132, 0.25),
    0 6px 24px rgba(31, 26, 20, 0.08);
  background: var(--paper);
  animation: float-gentle 7s ease-in-out infinite;
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.showcase-img:hover img {
  transform: scale(1.04);
}
.showcase-img--main { --r: -1deg; animation-delay: 0s; }
.showcase-img--supp { --r: 1.5deg; animation-delay: 1s; margin-top: 20px; }
.showcase-img--call { --r: -1.5deg; animation-delay: 2s; margin-top: -10px; }

/* --- Kit card photo (inline mini-image inside some cards) --- */
.kit-card-photo {
  border-radius: 18px;
  overflow: hidden;
  margin: -4px 0 14px;
  height: 130px;
  box-shadow: 0 6px 20px -8px rgba(31, 26, 20, 0.12);
}
.kit-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease);
}
.kit-card:hover .kit-card-photo img { transform: scale(1.05); }

/* --- Glassmorphism on option cards --- */
.option {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.25) blur(12px);
  -webkit-backdrop-filter: saturate(1.25) blur(12px);
  border-color: rgba(31, 26, 20, 0.08);
}
.option:hover {
  background: rgba(255, 253, 249, 0.88);
}
.option.is-selected {
  background: rgba(232, 243, 244, 0.9);
}
.option--chip {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.25) blur(10px);
  -webkit-backdrop-filter: saturate(1.25) blur(10px);
}
.option--chip.is-selected {
  background: rgba(232, 243, 244, 0.92);
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .welcome-aside { height: 420px; }
  .float-img--1 { width: 56%; height: 260px; }
  .float-img--2 { width: 42%; height: 170px; }
  .float-img--3 { width: 54%; height: 160px; }
  .float-img--4 { width: 38%; height: 150px; }
  .float-chip--1 { top: 160px; left: 40%; }
  .float-chip--2 { bottom: 80px; right: 2%; }

  .results-hero--rich {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .results-hero-media { height: 300px; max-width: 520px; }

  .kit-showcase {
    height: 220px;
    gap: 12px;
  }
  .step-bg--goals .step-bg-img--a { width: 200px; height: 240px; }
  .step-bg--goals .step-bg-img--b { display: none; }
  .step-bg--symp .step-bg-img--corner { width: 200px; height: 200px; }
}

@media (max-width: 640px) {
  .welcome-aside { height: 340px; margin-top: 8px; }
  /* Mobile: only show 2 images */
  .float-img--3, .float-img--4 { display: none; }
  .float-img--1 {
    top: 0;
    left: 0;
    width: 62%;
    height: 240px;
    --r: -2deg;
  }
  .float-img--2 {
    top: 60px;
    right: 0;
    width: 44%;
    height: 170px;
    bottom: auto;
  }
  .float-chip--1 {
    top: 210px;
    left: 8%;
    --r: -1deg;
  }
  .float-chip--2 { display: none; }

  .welcome-mesh {
    inset: -20px -12px -20px -12px;
    border-radius: var(--radius-lg);
  }

  /* Results hero on mobile: stack + single image visible */
  .results-hero--rich { gap: 20px; }
  .results-hero-media {
    height: 220px;
  }
  .float-img--result-1 {
    width: 78%;
    height: 160px;
    right: 0;
  }
  .float-img--result-2 {
    width: 60%;
    height: 120px;
    left: 0;
    bottom: 0;
  }

  /* Kit showcase: single image */
  .kit-showcase {
    grid-template-columns: 1fr;
    height: auto;
  }
  .showcase-img--main { height: 180px; }
  .showcase-img--supp,
  .showcase-img--call { display: none; }

  /* Step backgrounds: shrink/move */
  .step-bg--goals .step-bg-img--a {
    width: 140px;
    height: 160px;
    top: 0;
    right: -20px;
    opacity: 0.10;
  }
  .step-bg--symp .step-bg-img--corner {
    width: 140px;
    height: 140px;
    top: 0;
    right: -20px;
    opacity: 0.10;
  }
  .step-bg--results .step-bg-img--biomarker {
    width: 360px;
    height: 360px;
    top: -60px;
    right: -120px;
  }

  .kit-card-photo { height: 140px; }
}

/* =============================================================
   Email Capture Step
   ============================================================= */

.step--email {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding-top: 48px;
}

.email-inner {
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.email-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.email-header .display { margin: 0; }
.email-header .lede { margin: 0; max-width: 36ch; }

/* Form */
.email-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 12px);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder { color: var(--ink-4); }

.input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 124, 132, 0.12);
}

.input--error {
  border-color: #C46D3E;
  box-shadow: 0 0 0 4px rgba(196, 109, 62, 0.12);
}

.input--error:focus {
  border-color: #C46D3E;
  box-shadow: 0 0 0 4px rgba(196, 109, 62, 0.18);
}

/* Error message */
.form-error {
  font-size: 14px;
  color: #C46D3E;
  background: rgba(196, 109, 62, 0.08);
  border: 1px solid rgba(196, 109, 62, 0.2);
  border-radius: var(--radius-md, 12px);
  padding: 10px 14px;
  text-align: left;
}

/* Full-width button */
.btn--full { width: 100%; justify-content: center; }

/* Loading spinner on button */
.btn--loading {
  pointer-events: none;
  opacity: 0.85;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin-btn 600ms linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin-btn {
  to { transform: rotate(360deg); }
}

/* Fine print */
.email-fine-print {
  font-size: 12px;
  color: var(--ink-4);
  margin: 0;
  line-height: 1.5;
}
.email-fine-print a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.email-fine-print a:hover { color: var(--teal); }

/* Trust badges row */
.email-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Back to results */
.email-back-btn {
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 640px) {
  .step--email { padding-top: 24px; }
  .email-inner { gap: 20px; }
}

/* =============================================================
   Success + Cancel Steps (post-checkout)
   ============================================================= */

/* --- Success --- */
.step--success {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding-top: 56px;
}
.success-inner {
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.success-inner .display { margin: 0; }
.success-inner .lede { margin: 0; }

/* Animated checkmark */
.success-icon {
  color: var(--teal);
  margin-bottom: 4px;
}
.success-check-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: circle-draw 600ms var(--ease-out) 200ms forwards;
}
.success-check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: check-draw 400ms var(--ease-out) 700ms forwards;
}
@keyframes circle-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

/* What's next */
.success-next {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}
.success-next-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.success-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.success-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  flex-shrink: 0;
}
.success-steps li strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
}
.success-step-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 2px;
  line-height: 1.4;
}

/* --- Cancel --- */
.step--cancel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding-top: 56px;
}
.cancel-inner {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cancel-inner .display { margin: 0; }
.cancel-inner .lede { margin: 0; }
.cancel-icon {
  color: var(--ink-4);
  margin-bottom: 4px;
}
.cancel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.cancel-actions .btn--primary { width: 100%; }

/* Responsive */
@media (max-width: 640px) {
  .step--success, .step--cancel { padding-top: 32px; }
  .success-inner, .cancel-inner { gap: 20px; }
  .success-next { padding: 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .float-img, .float-chip, .showcase-img, .step-bg-img {
    animation: fade-in-soft 400ms ease-out forwards !important;
    transform: rotate(var(--r, 0deg));
  }
  .spinner { animation-duration: 1200ms; }
  .success-check-circle,
  .success-check-path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}
