/* ══════════════════════════════════════════════════════════════
   EatCrayons – Growth Matchmaker
   © Rise Marketing Co., LLC – EatCrayons. 2026.
   ══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
.matchmaker {
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-blur: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 20px rgba(var(--blue-rgb), 0.15), 0 0 40px rgba(var(--blue-rgb), 0.08);
  --spring-snappy: cubic-bezier(0.22, 1.36, 0.36, 1);
  --spring-soft: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── LAYOUT ── */

/* Background — photo + multi-layer depth composition */
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    /* Primary text-legibility gradient — dark left column, clear right for photo */
    linear-gradient(
      to right,
      rgba(8, 10, 18, 0.92) 0%,
      rgba(8, 10, 18, 0.82) 30%,
      rgba(8, 10, 18, 0.65) 48%,
      rgba(8, 10, 18, 0.35) 62%,
      rgba(8, 10, 18, 0.10) 74%,
      rgba(8, 10, 18, 0.02) 100%
    ),
    /* Bottom vignette — grounds the composition */
    linear-gradient(
      to top,
      rgba(8, 10, 18, 0.70) 0%,
      transparent 35%
    ),
    /* Top vignette — frames the header area */
    linear-gradient(
      to bottom,
      rgba(8, 10, 18, 0.50) 0%,
      transparent 18%
    ),
    /* Photo — pushed right so subjects clear the text column */
    url('../images/Therightpartners2.jpg');
  background-size: cover;
  background-position: 90% 10%;
  background-repeat: no-repeat;
}

/* Ambient color pools — brand warmth over the photo */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 8% 70%, rgba(var(--blue-rgb), 0.10) 0%, transparent 100%),
    radial-gradient(ellipse 35% 40% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 30% at 50% 95%, rgba(var(--blue-rgb), 0.05) 0%, transparent 100%);
}

/* Scan-line texture + noise — tactile depth */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.008) 3px,
      rgba(255,255,255,0.008) 4px
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: auto, 200px 200px;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  position: relative;
  z-index: 1;
}

/* ── INTRO — Hero layout ── */
#intro {
  min-height: calc(100vh - 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 52%;
  padding: 40px 0 80px;
}

/* Eyebrow — accent line + uppercase label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.7s var(--spring) both;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue);
  opacity: 0.5;
}

/* Headline — dramatic scale, precision tracking */
.hero-h {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: white;
  margin-bottom: 36px;
  animation: fadeUp 0.7s var(--spring) 0.06s both;
}
.hero-h em {
  font-style: normal;
  color: var(--blue);
}

/* Body paragraphs — controlled hierarchy */
.hero-p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.50);
  max-width: 460px;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--spring) 0.12s both;
}
/* Closing line — slightly brighter to draw the eye */
.hero-p:last-of-type {
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  margin-bottom: 36px;
}

/* Meta badges — pill-chip style */
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  animation: fadeUp 0.7s var(--spring) 0.18s both;
}
.meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.40);
  backdrop-filter: blur(4px);
}
.meta span + span::before { content: none; }

/* ── START BUTTON — Glowing CTA ── */
.btn-start {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid white;
  border-radius: 50px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 0 40px rgba(var(--blue-rgb), 0.12),
    0 8px 32px rgba(0, 0, 0, 0.25);
  transition:
    background 120ms ease,
    border-color 120ms ease,
    transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 200ms ease;
  animation: fadeUp 0.7s var(--spring) 0.22s both;
}
.btn-start:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.92);
  transform: scale(1.03);
  box-shadow:
    0 0 60px rgba(var(--blue-rgb), 0.20),
    0 12px 40px rgba(0, 0, 0, 0.30);
}
.btn-start:active {
  transform: scale(0.97);
  transition-duration: 60ms;
}

.btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-start:hover .btn-arrow {
  transform: translateX(2px);
}
.btn-arrow svg { width: 14px; height: 14px; }

/* ── SURVEY ── */
#survey { padding-top: 56px; }

.chapter-bar {
  margin-bottom: 52px;
}

.chapter-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}

.chapter-section {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}

.chapter-frac {
  font-family: var(--font-body);
  font-size: 11px; color: var(--t3);
  font-variant-numeric: tabular-nums;
}

.chapter-segments {
  display: flex; gap: 3px;
}

.ch-seg {
  flex: 1; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,0.06);
  transition: background 500ms var(--ease-out-expo), box-shadow 500ms var(--ease-out-expo);
  overflow: hidden;
  position: relative;
}
.ch-seg.done { background: rgba(var(--blue-rgb),0.30); }
.ch-seg.active {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(var(--blue-rgb),0.45), 0 0 4px rgba(var(--blue-rgb),0.3);
  animation: segPulse 2.5s ease-in-out infinite;
}

/* ── QUESTION ── */
.q-wrap { animation: questionIn 0.5s var(--ease-out-expo) both; }

.q-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.97);
  margin-bottom: 36px;
}

/* ── MICRO REACTION ── */
.reaction {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 18px;
  background: rgba(var(--blue-rgb),0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--blue-rgb),0.12);
  border-radius: 14px;
  margin-top: 20px;
  animation: reactionSpring 0.45s var(--spring-snappy) both;
}
.reaction-pip {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 6px rgba(var(--blue-rgb),0.4);
  animation: pulse 2s ease infinite;
}
.reaction-text {
  font-family: var(--font-body);
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  font-style: italic; line-height: 1.4;
}

/* ── RADIO CARDS ── */
.radio-grid { display: flex; flex-direction: column; gap: 8px; }

.r-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 320ms var(--spring-soft);
  text-align: left; width: 100%;
  box-shadow: var(--shadow-sm);
}
.r-card:hover {
  border-color: rgba(var(--blue-rgb),0.22);
  background: rgba(255,255,255,0.055);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(var(--blue-rgb),0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.r-card:active { transform: scale(0.995); transition-duration: 80ms; }
.r-card.sel {
  border: 1.5px solid rgba(var(--blue-rgb),0.45);
  background: rgba(var(--blue-rgb),0.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.r-pip {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 320ms var(--spring-snappy);
}
.r-card.sel .r-pip {
  border-color: var(--blue); background: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb),0.15), 0 0 12px rgba(var(--blue-rgb),0.4);
}
.r-card.sel .r-pip::after {
  content: ''; width: 5px; height: 9px;
  background: none; border-radius: 0;
  border-right: 1.5px solid white; border-bottom: 1.5px solid white;
  animation: checkPop 0.25s var(--spring-snappy) both;
}
.r-label {
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 400; color: rgba(255,255,255,0.72);
  line-height: 1.4; letter-spacing: 0.01em;
}
.r-card.sel .r-label { color: rgba(255,255,255,0.95); font-weight: 500; }

/* ── SLIDER ── */
.slider-wrap { padding: 4px 0 20px; }

.slider-display {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--t1);
  margin-bottom: 28px; min-height: 56px;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.slider-display .val {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(var(--blue-rgb),0.2);
  display: inline-block;
}
.slider-display.val-change .val {
  animation: valBump 0.2s var(--spring-snappy) both;
}

input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  border-radius: 100px; outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: white; border: none;
  box-shadow: 0 0 0 3px var(--blue), 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 2px rgba(0,0,0,0.1);
  transition: transform 240ms var(--spring-soft), box-shadow 240ms var(--spring-soft);
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px var(--blue), 0 0 16px rgba(var(--blue-rgb),0.4), 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 2px rgba(0,0,0,0.1);
}
input[type=range]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: white; border: none;
  box-shadow: 0 0 0 3px var(--blue), 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 2px rgba(0,0,0,0.1);
  cursor: pointer;
}
.slider-labels {
  display: flex; justify-content: space-between;
  margin-top: 12px; font-size: 11px; color: var(--t3);
  font-family: var(--font-body); font-variant-numeric: tabular-nums;
}

/* ── SCALE ── */
.scale-row { display: flex; gap: 6px; margin-bottom: 12px; }
.scale-btn {
  flex: 1; padding: 12px 0; min-height: 44px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer; font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.35);
  transition: all 260ms var(--spring-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.scale-btn:hover {
  border-color: rgba(var(--blue-rgb),0.2);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.scale-btn.sel {
  background: linear-gradient(135deg, #448CF7 0%, #5E9DF8 50%, #3B7DE6 100%);
  border-color: transparent; color: white; font-weight: 700;
  box-shadow: 0 2px 8px rgba(var(--blue-rgb),0.35), 0 0 20px rgba(var(--blue-rgb),0.2);
  transform: translateY(-3px);
}
.scale-btn.sel::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: scaleRipple 0.5s var(--ease-out-expo) both;
}
.scale-ends {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--t3); font-family: var(--font-body);
}

/* ── NAV ── */
.nav-row {
  display: flex; align-items: center; gap: 16px;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-back {
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.25); background: none; border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.02em;
  transition: color 200ms ease, transform 200ms ease;
}
.btn-back:hover { color: rgba(255,255,255,0.55); transform: translateX(-2px); }

.btn-next {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240,240,245,1) 100%);
  color: var(--dark);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.9); border-radius: 50px;
  padding: 14px 28px; cursor: pointer;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.1);
  transition: all 320ms var(--spring-soft);
}
.btn-next:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(235,235,240,0.95) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.15);
  transform: scale(1.025) translateY(-1px);
}
.btn-next:active:not(:disabled) { transform: scale(0.97); transition-duration: 60ms; }
.btn-next:disabled {
  opacity: 0.12; cursor: not-allowed;
  filter: grayscale(0.5);
  transform: scale(0.98);
}
.btn-next:hover:not(:disabled) .btn-next-arrow {
  transform: translateX(3px);
}

.btn-next-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: transform 400ms var(--spring-snappy);
}
.btn-next-arrow svg { width: 12px; height: 12px; }

/* ── LOADING ── */
#loading {
  position: fixed; inset: 0;
  background: var(--dark);
  background-image:
    radial-gradient(ellipse at 8% 88%, rgba(var(--orange-rgb),0.10) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 10%, rgba(var(--blue-rgb),0.08) 0%, transparent 52%);
  z-index: 100;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.loading-inner { text-align: left; width: 320px; }

.loading-title {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--t1); margin-bottom: 40px;
}

.loading-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

.loading-step {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.loading-step.show { opacity: 1; transform: translateY(0); }

.step-pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); flex-shrink: 0;
  transition: all 300ms var(--spring);
}
.loading-step.active .step-pip {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(var(--blue-rgb),0.6);
  animation: pulse 1s ease infinite;
}
.loading-step.done .step-pip { background: var(--blue); opacity: 0.4; }

.step-label {
  font-family: var(--font-body);
  font-size: 14px; color: var(--t3);
  transition: color 300ms ease;
}
.loading-step.active .step-label { color: var(--t1); }
.loading-step.done .step-label { color: var(--t3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.15); }

.loading-line {
  height: 2px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden;
}
.loading-line-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), #5E9DF8);
  transition: width 180ms ease;
  box-shadow: 0 0 12px rgba(var(--blue-rgb),0.5), 0 0 4px rgba(var(--blue-rgb),0.3);
}

/* ── RESULTS ── */
#result { padding-top: 56px; animation: fadeUp 0.5s var(--spring) both; }

.result-top { margin-bottom: 48px; }

.score-block {
  display: flex; align-items: flex-end; gap: 16px;
  margin-bottom: 28px;
}

.score-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--t1);
  font-variant-numeric: tabular-nums;
  transition: color 600ms ease;
}
.score-num.blue { color: var(--blue); }
.score-num.green { color: #3ecf8e; }
.score-num.red { color: #f06060; }

.score-meta {
  padding-bottom: 10px;
}
.score-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t3); margin-bottom: 6px;
}
.score-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.score-badge.green { background: rgba(62,207,142,0.1); border: 1px solid rgba(62,207,142,0.25); color: #3ecf8e; }
.score-badge.blue { background: rgba(var(--blue-rgb),0.1); border: 1px solid rgba(var(--blue-rgb),0.25); color: var(--blue); }
.score-badge.dim { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--t3); }
.badge-pip { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.score-badge.green .badge-pip { background: #3ecf8e; animation: pulse 2s ease infinite; }
.score-badge.blue .badge-pip { background: var(--blue); animation: pulse 2s ease infinite; }

.result-divider { height: 1px; background: var(--border); margin: 28px 0; }

.r-hed {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.06; color: var(--t1); margin-bottom: 18px;
}
.r-hed em { font-style: normal; color: var(--blue); }

.r-body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.75;
  color: var(--t2); max-width: 520px;
}

/* ── INSIGHTS ── */
.insights { display: flex; flex-direction: column; gap: 10px; margin: 40px 0; }
.insight {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.6; color: var(--t2);
  animation: fadeUp 0.4s var(--spring) both;
}
.insight:nth-child(2) { animation-delay: 0.05s; }
.insight:nth-child(3) { animation-delay: 0.1s; }
.insight:nth-child(4) { animation-delay: 0.15s; }
.i-pip { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.i-pip.pos { background: #3ecf8e; box-shadow: 0 0 6px rgba(62,207,142,0.5); }
.i-pip.neg { background: #f06060; box-shadow: 0 0 6px rgba(240,96,96,0.4); }
.i-pip.neu { background: var(--blue); box-shadow: 0 0 6px rgba(var(--blue-rgb),0.4); }

/* ── OFFER CARD ── */
.offer-card {
  border: 1px solid rgba(var(--blue-rgb),0.2);
  border-radius: 24px; padding: 40px;
  margin: 0 0 20px;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(var(--blue-rgb),0.08) 0%, rgba(var(--blue-rgb),0.02) 60%, transparent 100%);
}
.offer-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb),0.5), transparent);
}
.offer-eyebrow {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; opacity: 0.85;
}
.offer-hed {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.1; color: var(--t1); margin-bottom: 14px;
}
.offer-hed em { font-style: normal; color: var(--blue); }
.offer-body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.7; color: var(--t2);
  max-width: 400px; margin-bottom: 28px;
}
.perks { display: flex; flex-direction: column; gap: 9px; margin-bottom: 32px; }
.perk {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; color: var(--t2);
}
.perk-dash { color: var(--blue); font-size: 16px; font-weight: 300; }

/* ── CTA BUTTON ── */
.btn-offer {
  display: inline-flex; align-items: center; gap: 12px;
  background: white; color: var(--dark);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  border: 1.5px solid white; border-radius: 50px;
  padding: 14px 28px; cursor: pointer; text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, transform 400ms var(--spring);
}
.btn-offer:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.88); transform: scale(1.02); }
.btn-offer:active { transform: scale(0.97); }
.btn-offer-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-offer-arrow svg { width: 14px; height: 14px; }

/* ── NO MATCH CARD ── */
.no-match-card {
  border: 1px solid var(--border); border-radius: 24px;
  padding: 36px; margin-bottom: 20px;
}
.no-match-hed {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--t1); margin-bottom: 12px;
}
.no-match-body { font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: var(--t2); }

/* ── BREAKDOWN ── */
.breakdown {
  border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; background: rgba(255,255,255,0.02);
}
.bk-title {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t3); margin-bottom: 20px;
}
.bk-row {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.bk-row:last-child { border-bottom: none; }
.bk-name { font-family: var(--font-body); font-size: 13px; color: var(--t2); flex: 1; min-width: 100px; }
.bk-track { flex: 1.4; height: 2px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.bk-fill { height: 100%; border-radius: 100px; width: 0; transition: width 1s var(--ease) 0.4s; }
.bk-fill.hi { background: #3ecf8e; }
.bk-fill.mid { background: var(--orange); }
.bk-fill.lo { background: #f06060; }
.bk-pct { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--t3); font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }

/* ── UTILITY ── */
.matchmaker .hidden { display: none !important; }

/* ── FOOTER ── */
.matchmaker footer {
  background: rgba(8, 10, 18, 0.95);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.matchmaker footer .footer-copy,
.matchmaker footer .footer-right,
.matchmaker footer .footer-nav-links a {
  color: rgba(255,255,255,0.85);
}
.matchmaker footer .footer-nav-links a:hover {
  color: white;
}
.matchmaker footer .social-icons a {
  color: rgba(255,255,255,0.85);
}
.matchmaker footer .social-icons a:hover {
  color: white;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes popIn { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.45; transform:scale(0.7); } }
@keyframes reactionIn { from { opacity:0; transform:translateY(8px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }

@keyframes checkPop {
  from { transform: rotate(45deg) translateY(-1px) scale(0); opacity: 0; }
  to { transform: rotate(45deg) translateY(-1px) scale(1); opacity: 1; }
}
@keyframes questionIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes segPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(var(--blue-rgb),0.45), 0 0 4px rgba(var(--blue-rgb),0.3); }
  50% { box-shadow: 0 0 18px rgba(var(--blue-rgb),0.6), 0 0 6px rgba(var(--blue-rgb),0.4); }
}
@keyframes scaleRipple {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(2.5); opacity: 0; }
}
@keyframes reactionSpring {
  0% { opacity: 0; transform: translateY(12px) scale(0.92); filter: blur(3px); }
  60% { opacity: 1; transform: translateY(-2px) scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes valBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-bg {
    background-image: none;
    background-color: var(--dark);
  }
  .wrap {
    padding: 120px 28px 80px;
  }
  #intro {
    min-height: calc(100vh - 240px);
    max-width: 100%;
    padding: 24px 0 60px;
  }
  .hero-h {
    font-size: clamp(2.6rem, 9vw, 3.6rem);
  }
  .hero-p {
    font-size: 15px;
    max-width: 100%;
  }
  .meta {
    gap: 8px;
  }
  .meta span {
    padding: 5px 12px;
    font-size: 10px;
  }
  .r-card {
    padding: 16px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .scale-btn {
    min-height: 40px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 500px) {
  .wrap {
    padding: 100px 20px 60px;
  }
  #intro {
    min-height: calc(100vh - 200px);
    padding: 16px 0 48px;
  }
  .hero-h {
    font-size: clamp(2.2rem, 10vw, 3rem);
    letter-spacing: -0.04em;
  }
  .eyebrow::before {
    width: 20px;
  }
  .btn-start {
    padding: 14px 24px;
    font-size: 15px;
  }
  .ch-seg { height: 3px; }
  .q-text { margin-bottom: 28px; }
  .nav-row { margin-top: 36px; padding-top: 24px; }
  .reaction { border-radius: 12px; }
  .scale-row { gap: 4px; }
  .scale-btn { font-size: 12px; border-radius: 8px; min-height: 38px; }
  .offer-card, .no-match-card { padding: 28px 22px; }
  .score-num { font-size: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .matchmaker *, .matchmaker *::before, .matchmaker *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
