/* ============================================================
   NBFM Quiz Funnel v3 : Design System
   Sources: DESIGN-SUMMARY.md (tokens) + PLAN.md (anti-AI moves)
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.5; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--coral-primary); outline-offset: 2px; border-radius: 4px; }

/* ---- Tokens ---- */
:root {
  --coral-primary: #E85D2F;
  --coral-deep: #A33B17;
  --coral-soft: #FFE4D6;
  --coral-tint: rgba(232, 93, 47, 0.08);
  --cream-base: #FBF7F2;
  --cream-warm: #F4ECDF;
  --mint-soft: #E8F0E5;
  --ink-black: #111111;
  --ink-soft: #5A5A5A;
  --ink-faint: #8A8A8A;
  --line-soft: #E8DFD2;
  --success: #3D8B5C;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --radius-card: 16px;
  --radius-button: 9999px;
  --radius-image: 24px;
  --shadow-soft: 0 2px 12px rgba(17, 17, 17, 0.06);
  --shadow-card: 0 4px 24px rgba(17, 17, 17, 0.10);
  --shadow-deep: 0 12px 40px rgba(17, 17, 17, 0.14);

  --bg: var(--cream-base);
  --bg-transition: 600ms ease;
}

/* Cluster tint variants */
[data-cluster="1"] { --bg: var(--cream-base); }
[data-cluster="2"] { --bg: var(--cream-warm); }
[data-cluster="3"] { --bg: var(--coral-soft); }
[data-cluster="4"] { --bg: var(--mint-soft); }
[data-cluster="result"] { --bg: var(--cream-base); }

/* ---- Base ---- */
body {
  font-family: var(--font-body);
  color: var(--ink-black);
  background: var(--bg);
  transition: background var(--bg-transition);
  font-feature-settings: 'ss01', 'cv01';
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.font-body { font-family: var(--font-body); font-weight: 400; }
.font-hand { font-family: var(--font-hand); font-weight: 600; }

.text-meta { font-size: 13px; line-height: 1.4; color: var(--ink-soft); font-weight: 500; }
.text-faint { color: var(--ink-faint); }

/* ---- Layout ---- */
.shell { display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  padding: 8px 16px 0;
  background: var(--bg);
  transition: background var(--bg-transition);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--line-soft); }
.topbar__row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  height: 48px;
}
.topbar__back {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 200ms ease;
  flex-shrink: 0;
}
.topbar__back:hover { background: rgba(17, 17, 17, 0.05); color: var(--ink-black); }
.topbar__back[aria-disabled="true"] { opacity: 0; cursor: default; pointer-events: none; }
.topbar__progress {
  height: 4px; border-radius: 2px;
  background: var(--line-soft);
  overflow: hidden;
  margin: 4px 0 8px;
}
.topbar__progress-fill {
  height: 100%;
  background: var(--coral-primary);
  width: 0%;
  border-radius: 2px;
  transition: width 400ms ease-out;
}
.topbar__step {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; min-width: 56px; text-align: right;
  flex-shrink: 0;
}
.topbar__step:empty { display: none; min-width: 40px; }

/* ---- NBFM logo (mask-tinted to brand coral) ---- */
.nbfm-logo {
  display: inline-block;
  background-color: var(--coral-primary);
  -webkit-mask-image: url('assets/nbfm-logo-black.webp');
  mask-image: url('assets/nbfm-logo-black.webp');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  text-decoration: none;
}
.nbfm-logo--bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 22px;
  cursor: default;
  pointer-events: none;
}
.topbar__step { margin-left: auto; }

main {
  flex: 1; display: flex; flex-direction: column;
  padding: 24px 16px 48px;
}

footer.legal-footer {
  padding: 16px;
  font-size: 12px; color: var(--ink-faint); text-align: center;
  border-top: 1px solid var(--line-soft);
}

/* ---- Container widths ---- */
.container { width: 100%; max-width: 720px; margin: 0 auto; }
.container--wide { max-width: 960px; }

/* ============================================================
   SCREEN: INTRO
   ============================================================ */
.intro {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 24px 0 48px;
}
/* intro__logo removed; brand mark now lives persistently in the topbar */
.intro__hero-image {
  width: 100%; max-width: 480px;
  border-radius: var(--radius-image);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.intro__hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: var(--photo-grade); }
.intro__hook {
  font-size: clamp(28px, 5vw, 48px); line-height: 1.05;
  margin-bottom: 16px; max-width: 600px;
}
.intro__sub {
  font-size: 17px; line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 32px; max-width: 520px;
}
.intro__cta {
  margin-bottom: 24px;
}
.intro__trust {
  font-size: 14px; color: var(--ink-soft);
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 12px;
}
.intro__privacy { font-size: 12px; color: var(--ink-faint); }

/* ============================================================
   SCREEN: QUESTION
   ============================================================ */
.question {
  display: flex; flex-direction: column;
  align-items: stretch; padding-top: 24px;
}
.question__text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 32px); line-height: 1.15;
  text-align: center; margin: 32px 0 32px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.answers { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 0 auto; width: 100%; }
.answer-card {
  display: flex; align-items: center; gap: 16px;
  width: 100%; min-height: 64px;
  padding: 18px 22px;
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-card);
  text-align: left; font-size: 16px; font-weight: 500;
  color: var(--ink-black);
  transition: all 200ms ease;
}
.answer-card:hover, .answer-card:focus-visible {
  border-color: var(--coral-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.answer-card.is-tapped {
  background: var(--coral-tint);
  border-color: var(--coral-primary);
  transform: scale(1.03);
}
.answer-card__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: var(--coral-primary);
}
.answer-card__text { flex: 1; }

.question__helper {
  text-align: center; font-size: 14px; color: var(--ink-soft);
  max-width: 480px; margin: -16px auto 20px;
}

/* Multi-select (checkbox) answer cards */
.answer-card--checkbox { justify-content: flex-start; }
.answer-card__check {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--line-soft); border-radius: 6px;
  transition: all 200ms ease; position: relative;
}
.answer-card--checkbox.is-selected .answer-card__check {
  background: var(--coral-primary); border-color: var(--coral-primary);
}
.answer-card--checkbox.is-selected .answer-card__check::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 6px; height: 11px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}
.answer-card--checkbox.is-selected {
  background: var(--coral-tint); border-color: var(--coral-primary);
}
.multi-continue { display: flex; justify-content: center; margin-top: 24px; }
.multi-continue .btn:disabled { opacity: 0.45; pointer-events: none; }

/* Inline text input that replaces an answer card when "Anders, namelijk..." is tapped */
.answer-text-wrap {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
  padding: 18px 22px;
  background: var(--white);
  border: 1.5px solid var(--coral-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  animation: screenEnter 240ms ease-out;
}
.answer-text-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-soft);
  border-radius: 12px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--ink-black);
}
.answer-text-input:focus { border-color: var(--coral-primary); outline: none; }
.answer-text-submit { height: 48px; padding: 0 20px; font-size: 15px; align-self: flex-start; }

/* Q8 : 5-button scale */
.scale-row {
  display: flex; gap: 12px; justify-content: center;
  max-width: 420px; margin: 0 auto;
}
.scale-button {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  font-weight: 700; font-size: 18px;
  color: var(--ink-black);
  transition: all 200ms ease;
}
.scale-button:hover { border-color: var(--coral-primary); transform: translateY(-2px); }
.scale-button.is-tapped { background: var(--coral-primary); color: var(--white); border-color: var(--coral-primary); transform: scale(1.1); }
.scale-labels {
  display: flex; justify-content: space-between;
  max-width: 420px; margin: 12px auto 0;
  font-size: 13px; color: var(--ink-soft);
}

/* ============================================================
   SCREEN: INTERLUDE
   ============================================================ */
.interlude { padding: 24px 0 48px; }
.interlude__opener {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4.5vw, 38px); line-height: 1.1;
  margin-bottom: 32px; max-width: 540px;
}
.interlude__photo {
  border-radius: var(--radius-image);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
  max-width: 520px;
}
.interlude__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: var(--photo-grade); }
.interlude__photo--bleed-right { margin-right: -16px; margin-left: 24%; max-width: none; }
.interlude__photo--centered { margin-left: auto; margin-right: auto; aspect-ratio: 5 / 4; }
.interlude__photo--centered img { object-position: center 30%; }
.interlude__photo--full-bleed {
  margin-left: -16px; margin-right: -16px;
  border-radius: 0;
  aspect-ratio: 1 / 1;
  max-width: none;
}
.interlude__photo--full-bleed img { object-position: center 40%; }
.interlude__proof {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.interlude__proof--coral { background: var(--coral-soft); box-shadow: none; }
.interlude__proof-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; margin-bottom: 8px;
}
.interlude__proof-body { font-size: 16px; line-height: 1.5; color: var(--ink-black); }
.interlude__proof-list { list-style: none; padding: 0; }
.interlude__proof-list li {
  padding: 12px 0; font-size: 16px; line-height: 1.4;
  display: flex; gap: 12px; align-items: flex-start;
  border-top: 1px solid var(--line-soft);
}
.interlude__proof-list li:first-child { border-top: none; }
.interlude__proof-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral-primary); flex-shrink: 0; margin-top: 10px;
}
.interlude__resolution {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; line-height: 1.3; margin-bottom: 28px;
}
.interlude__continue { display: flex; justify-content: center; }

/* Hand-annotation */
.hand-circle {
  position: relative; display: inline-block;
}
.hand-circle::before {
  content: ''; position: absolute;
  inset: -8px -12px;
  border: 2.5px solid var(--coral-primary);
  border-radius: 50%;
  transform: rotate(-3deg) scale(1, 0.7);
  pointer-events: none;
  animation: drawCircle 600ms ease-out 400ms backwards;
}
@keyframes drawCircle {
  from { opacity: 0; transform: rotate(-3deg) scale(0.6, 0.4); }
  to { opacity: 1; transform: rotate(-3deg) scale(1, 0.7); }
}

/* ============================================================
   SCREEN: LOADING
   ============================================================ */
.loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center;
  min-height: 60vh;
}
.loading__ring {
  width: 80px; height: 80px;
  border: 4px solid var(--line-soft);
  border-top-color: var(--coral-primary);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin-bottom: 32px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading__status {
  font-size: 18px; color: var(--ink-black); font-weight: 500;
  min-height: 28px;
  transition: opacity 300ms ease;
}
.loading__particles {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.loading__particle {
  position: absolute; width: 8px; height: 8px;
  background: var(--coral-primary); border-radius: 50%;
  opacity: 0.3;
  animation: drift 8s linear infinite;
}
@keyframes drift {
  0% { transform: translateY(100vh); }
  100% { transform: translateY(-20vh); }
}

/* ============================================================
   SCREEN: PROJECTED CHART
   ============================================================ */
.chart-screen { padding: 16px 0 48px; }
.chart-screen__heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 36px); line-height: 1.1;
  margin-bottom: 8px; text-align: center;
}
.chart-screen__sub {
  font-size: 16px; color: var(--ink-soft);
  margin-bottom: 32px; text-align: center;
}
.chart-canvas-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.chart-canvas-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/confetti.jpg') center/cover;
  opacity: 0.10;
  pointer-events: none;
  filter: var(--photo-grade);
}
.chart-svg { width: 100%; height: 280px; position: relative; }
.chart-legend {
  display: flex; gap: 20px; justify-content: center;
  margin-bottom: 16px; font-size: 14px; flex-wrap: wrap;
}
.chart-legend__item { display: flex; align-items: center; gap: 8px; }
.chart-legend__dot { width: 12px; height: 12px; border-radius: 50%; }
.chart-axis-labels {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 13px; color: var(--ink-soft);
  padding: 0 8px;
}
.chart-annotation {
  position: absolute;
  font-family: var(--font-hand); font-weight: 600;
  color: var(--coral-deep);
  font-size: 22px; line-height: 1.1;
  pointer-events: none;
  animation: fadeUp 600ms ease-out 1800ms backwards;
  transform: rotate(-4deg);
  max-width: 140px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
@keyframes fadeUp {
  from { opacity: 0; transform: rotate(-4deg) translateY(8px); }
  to { opacity: 1; transform: rotate(-4deg) translateY(0); }
}
.chart-compliance {
  font-size: 12px; color: var(--ink-faint);
  text-align: center; margin-bottom: 24px; max-width: 520px;
  margin-left: auto; margin-right: auto; line-height: 1.5;
}

/* ============================================================
   SCREEN: EMAIL CAPTURE
   ============================================================ */
.email-screen { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.email-screen__photo {
  border-radius: var(--radius-image);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  box-shadow: var(--shadow-soft);
}
.email-screen__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: var(--photo-grade); }
.email-screen__heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 34px); line-height: 1.1;
  margin-bottom: 8px;
}
.email-screen__sub {
  font-size: 16px; color: var(--ink-soft); margin-bottom: 24px;
}
.email-form { display: flex; flex-direction: column; gap: 16px; }
.email-form__field { display: flex; flex-direction: column; gap: 6px; }
.email-form__field label { font-size: 14px; font-weight: 600; color: var(--ink-black); }
.email-form__field input {
  height: 56px; padding: 0 18px;
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-card);
  font-size: 16px; color: var(--ink-black);
  transition: all 200ms ease;
}
.email-form__field input:focus { border-color: var(--coral-primary); box-shadow: var(--shadow-soft); outline: none; }
.email-form__field.has-error input { border-color: #d33; }
.email-form__error {
  font-size: 13px; color: #d33;
  min-height: 18px;
}
.email-form__privacy { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ============================================================
   SCREEN: RESULT
   ============================================================ */
.result-screen { padding-top: 16px; }
.result__hero-photo {
  border-radius: var(--radius-image);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-soft);
  background: var(--cream-warm);
}
.result__hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: var(--photo-grade); }
.result__greeting {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px); line-height: 1.05;
  margin-bottom: 16px;
}
.result__match-banner {
  display: inline-block;
  padding: 8px 20px; margin-bottom: 16px;
  background: var(--coral-soft); color: var(--coral-deep);
  border-radius: var(--radius-button);
  font-weight: 700; font-size: 16px;
}
.result__basis {
  font-size: 15px; color: var(--ink-soft); line-height: 1.5;
  margin-bottom: 12px;
}
.result__framing {
  font-size: 16px; color: var(--ink-black); line-height: 1.5;
  margin-bottom: 28px; font-weight: 500;
}
.result__plan-box {
  background: var(--cream-warm);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 32px;
}
.result__plan-heading { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.result__plan-list { list-style: none; padding: 0; }
.result__plan-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; font-size: 15px; line-height: 1.4;
}
.result__plan-list li strong { font-weight: 700; }
.result__plan-list svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.result__bonus-value {
  margin-top: 14px;
  font-size: 13px; color: var(--ink-soft); font-style: italic;
  text-align: center;
}

/* Notes-app testimonial */
.testimonial-notes {
  background: #FFFEF5;
  border-radius: 12px;
  padding: 24px 22px;
  margin: 0 auto 40px;
  max-width: 520px;
  transform: rotate(-1deg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-notes::before {
  content: '';
  position: absolute; top: 14px; left: 16px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #FFD24A;
  box-shadow: 20px 0 0 #ED6C5C, 40px 0 0 #6BCB77;
}
.testimonial-notes__quote {
  font-size: 16px; line-height: 1.5;
  color: var(--ink-black); font-weight: 500;
  margin-top: 28px; margin-bottom: 12px;
  font-style: italic;
}
.testimonial-notes__attr { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* Pricing */
.pricing { margin-bottom: 32px; }
.pricing__heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
  margin-bottom: 20px; text-align: center;
}
.plan-cards {
  display: flex; flex-direction: column; gap: 12px;
}
.plan-card {
  position: relative;
  display: block; width: 100%; text-align: left;
  padding: 20px 22px;
  background: var(--white);
  border: 2px solid var(--line-soft);
  border-radius: var(--radius-card);
  transition: all 200ms ease;
}
.plan-card:hover { border-color: var(--coral-primary); }
.plan-card--recommended {
  border-color: var(--coral-primary);
}
.plan-card.is-selected {
  border-color: var(--coral-primary);
  background: var(--coral-tint);
  transform: scale(1.01);
  box-shadow: var(--shadow-card);
}
.plan-card__badge {
  position: absolute; top: -10px; right: 16px;
  padding: 4px 12px;
  background: var(--coral-deep); color: var(--white);
  border-radius: var(--radius-button);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.plan-card__name { font-weight: 700; font-size: 17px; }
.plan-card__price-row { display: flex; align-items: baseline; gap: 10px; }
.plan-card__price-old { text-decoration: line-through; color: var(--ink-faint); font-size: 14px; }
.plan-card__price-new { font-weight: 700; font-size: 18px; color: var(--ink-black); }
.plan-card__per-day { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

.social-proof-banner {
  background: var(--coral-soft);
  border-radius: var(--radius-card);
  padding: 16px 20px; margin-bottom: 16px;
  text-align: center; font-weight: 600; font-size: 16px;
  color: var(--coral-deep);
}

.cta-block { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 20px; }
.trust-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 8px;
}
.compliance-footer { font-size: 12px; color: var(--ink-faint); text-align: center; line-height: 1.5; max-width: 480px; margin: 0 auto 32px; }

/* FAQ */
.faq { max-width: 600px; margin: 0 auto; }
.faq__heading { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 16px; text-align: center; }
.faq__item {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq__question {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  font-weight: 600; font-size: 15px; text-align: left;
  color: var(--ink-black);
}
.faq__chevron { transition: transform 200ms ease; flex-shrink: 0; color: var(--ink-soft); }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms ease;
  font-size: 15px; color: var(--ink-soft); line-height: 1.5;
}
.faq__item.is-open .faq__answer { max-height: 200px; padding-top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px;
  background: var(--coral-primary); color: var(--white);
  border-radius: var(--radius-button);
  font-weight: 700; font-size: 16px;
  transition: all 200ms ease;
  white-space: nowrap;
}
.btn:hover { background: var(--coral-deep); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(0); }
.btn--full { width: 100%; max-width: 360px; }
.btn--ghost { background: transparent; color: var(--ink-black); border: 1.5px solid var(--line-soft); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink-black); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================================
   FEEDBACK WIDGET (preview review tool)
   Hidden by default. Enable per-session by adding ?feedback=1
   to the URL. Useful for partner reviews; never visible to
   real visitors or to colleagues sharing the link.
   ============================================================ */
.fb-toggle, .fb-panel, .fb-toast { display: none !important; }
body[data-feedback="on"] .fb-toggle { display: grid !important; }
body[data-feedback="on"] .fb-panel:not([hidden]) { display: flex !important; }
body[data-feedback="on"] .fb-toast { display: block !important; }

.fb-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink-black); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-deep);
  transition: all 200ms ease;
}
.fb-toggle:hover { transform: scale(1.05); background: var(--coral-primary); }
.fb-toggle__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px;
  background: var(--coral-primary); color: var(--white);
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--white);
}

.fb-panel {
  position: fixed; bottom: 88px; right: 20px; z-index: 1000;
  width: calc(100vw - 40px); max-width: 380px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-deep);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  overflow-y: auto;
}
.fb-panel__head { display: flex; justify-content: space-between; align-items: center; }
.fb-panel__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.fb-panel__close {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%; color: var(--ink-soft);
  transition: background 200ms ease;
}
.fb-panel__close:hover { background: rgba(17, 17, 17, 0.06); color: var(--ink-black); }

.fb-panel__current {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  background: var(--coral-soft);
  border-radius: 10px;
}
.fb-panel__current-label { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.fb-panel__current-value { font-size: 14px; color: var(--ink-black); font-weight: 600; }

.fb-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-soft);
  border-radius: 12px;
  font-family: var(--font-body); font-size: 14px;
  resize: vertical; min-height: 80px;
  color: var(--ink-black);
}
.fb-textarea:focus { border-color: var(--coral-primary); outline: none; }

.fb-panel__actions { display: flex; }
.fb-btn-save { height: 44px; padding: 0 20px; font-size: 14px; width: 100%; }

.fb-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 260px; overflow-y: auto;
  padding-right: 4px;
}
.fb-list:empty { display: none; }
.fb-note {
  padding: 10px 12px;
  background: var(--cream-warm);
  border-radius: 10px;
  font-size: 13px; line-height: 1.4;
}
.fb-note__meta { font-size: 11px; color: var(--ink-soft); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.fb-note__delete {
  font-size: 11px; color: var(--ink-faint);
  padding: 2px 6px; border-radius: 4px;
  transition: all 150ms ease;
}
.fb-note__delete:hover { color: #d33; background: rgba(221, 51, 51, 0.08); }
.fb-note__text { color: var(--ink-black); white-space: pre-wrap; word-break: break-word; }

.fb-panel__foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.fb-btn-copy { height: 40px; padding: 0 14px; font-size: 13px; flex: 1; }
.fb-btn-clear {
  font-size: 12px; color: var(--ink-faint);
  padding: 6px 8px; border-radius: 6px;
  transition: color 200ms ease;
}
.fb-btn-clear:hover { color: #d33; }

.fb-panel__hint { font-size: 11px; color: var(--ink-faint); line-height: 1.4; margin-top: 4px; }

.fb-panel__reset {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px; margin-top: 4px;
}
.fb-btn-reset {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-soft); font-weight: 500;
  padding: 6px 10px; border-radius: 6px;
  transition: all 200ms ease;
}
.fb-btn-reset:hover { color: var(--coral-deep); background: var(--coral-soft); }

.fb-toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 20px;
  background: var(--ink-black); color: var(--white);
  border-radius: 24px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transition: all 280ms ease;
  z-index: 1100;
  pointer-events: none;
}
.fb-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.screen-enter {
  animation: screenEnter 280ms ease-out;
}
@keyframes screenEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Photo grade (subtle warm shift across all photos) */
:root { --photo-grade: saturate(1.05) brightness(1.02) contrast(1.02); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  main { padding: 40px 24px 64px; }
  .topbar { padding: 12px 24px 0; }
  .topbar__row { height: 52px; }
  .nbfm-logo--bar { width: 120px; height: 26px; }
  .interlude__photo--bleed-right { margin-right: -32px; margin-left: 28%; }
  .interlude__photo--full-bleed { margin-left: -24px; margin-right: -24px; aspect-ratio: 5 / 3; }
  .plan-cards { flex-direction: row; }
  .plan-card { flex: 1; }
  .email-screen { flex-direction: row; align-items: flex-start; gap: 48px; }
  .email-screen__photo { flex: 0 0 280px; max-height: none; aspect-ratio: 4 / 5; }
  .email-screen__form-wrap { flex: 1; }
  .testimonial-notes { transform: rotate(-1.5deg); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .topbar__progress-fill { transition: none; }
}

/* ============================================================
   NO-JS FALLBACK
   ============================================================ */
.no-js-message {
  padding: 32px;
  text-align: center;
  background: var(--coral-soft);
  border-radius: var(--radius-card);
  margin: 24px;
}
