@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 700;font-display:swap;src:url("b0251af5.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 700;font-display:swap;src:url("b57bb09f.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url("6666e6fb.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url("8ea8f857.woff2") format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url("c6be7e59.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url("e53d0499.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url("408103d3.woff2") format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url("7ecdc3fa.woff2") format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url("bac70e9c.woff2") format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 500;font-display:swap;src:url("f72226d5.woff2") format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
/* ════════════════════════════════════════════
   QUIZ — interactive symptom checker
   ════════════════════════════════════════════ */
.quiz-section {
  padding-top: 8px;
  padding-bottom: 48px;
}

/* ─────── STAGE CARD ─────── */
.quiz-stage {
  background: linear-gradient(165deg, #FDF4E8 0%, #FEF7F0 35%, #FBF3E9 100%);
  border-left: 3px solid var(--accent, #B8572F);
  border-top: 1px solid rgba(184,87,47,0.08);
  border-right: 1px solid rgba(184,87,47,0.08);
  border-bottom: 1px solid rgba(184,87,47,0.08);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 48px -20px rgba(184,87,47,0.22), 0 4px 16px -4px rgba(184,87,47,0.1);
  position: relative;
  overflow: hidden;
}
.quiz-stage::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(184,87,47,0.04) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 100%, rgba(184,87,47,0.03) 0%, transparent 45%);
  pointer-events: none;
  border-radius: inherit;
}
/* ─────── INTRO SCREEN ─────── */
.quiz-intro {
  text-align: center;
  padding: 48px 20px 32px;
}
.quiz-intro-title {
  margin-bottom: 12px;
}
.quiz-intro-sub {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2, #555);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.quiz-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 38px;
  background: var(--accent, #C8613A);
  color: #FFF8F0;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 32px -14px rgba(184,87,47,.55);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s;
}
.quiz-start-btn:hover {
  transform: translateY(-1px);
  background: #C96436;
}
.quiz-start-btn .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}
.quiz-intro-disclaimer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #888);
}

/* ─────── PROGRESS ─────── */
.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(200,97,58,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent, #C8613A);
  border-radius: 3px;
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.quiz-progress-text {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent, #C8613A);
  white-space: nowrap;
}

/* ─────── QUESTION CARD ─────── */
.quiz-question-card {
  transition: opacity .35s ease, transform .35s ease;
}
.quiz-question-card.quiz-exit {
  opacity: 0;
  transform: translateY(-12px);
}
.quiz-question-card.quiz-enter {
  animation: quiz-in .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes quiz-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-question-text {
  font-family: var(--serif);
  font-size: clamp(22px, 5.8vw, 28px);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink, #2A2520);
  margin: 0 0 22px;
  text-wrap: balance;
}

/* ─────── ANSWER CARDS ─────── */
.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-answer {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255,250,244,0.65);
  border: 1px solid rgba(200,97,58,0.12);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink, #2A2520);
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.quiz-answer:hover {
  border-color: rgba(200,97,58,0.35);
  background: rgba(255,248,242,0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184,87,47,0.1);
}
.quiz-answer:disabled {
  pointer-events: none;
  opacity: 0.55;
}
.quiz-answer-selected {
  border-color: var(--accent, #C8613A);
  background: rgba(200,97,58,0.08);
  box-shadow: 0 0 0 1px var(--accent, #C8613A) inset;
}
.quiz-answer-selected:hover {
  border-color: var(--accent, #C8613A);
}

/* ─────── SKIP ─────── */
.quiz-skip {
  display: block;
  margin: 20px auto 0;
  padding: 8px 18px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  cursor: pointer;
  transition: color .2s;
}
.quiz-skip:hover {
  color: var(--ink, #555);
}
.quiz-skip:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ─────── RESULT SCREEN ─────── */
.quiz-result {
  text-align: center;
  padding: 32px 0 16px;
}
.quiz-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent, #C8613A);
  color: #FFF8F0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.quiz-result-title {
  margin-bottom: 16px;
}
.quiz-result-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-2, #555);
  max-width: 38ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}

/* ─────── CTA BLOCK IN RESULT ─────── */
.quiz-cta-block {
  padding: 28px 20px;
  background: rgba(255,250,244,0.5);
  border: 1px solid rgba(200,97,58,0.1);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quiz-cta-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink, #2A2520);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.quiz-cta-block .btn-accent {
  width: 100%;
}
.quiz-max-btn {
  width: 100%;
  margin-top: 0;
}

/* ─────── DISCLAIMER + RESTART ─────── */
.quiz-disclaimer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.quiz-restart-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: none;
  border: 1px solid rgba(200,97,58,0.2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #888);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.quiz-restart-btn:hover {
  border-color: var(--accent, #C8613A);
  color: var(--accent, #C8613A);
}

/* ─────── FOOTER DISCLAIMER ─────── */
.footer-disclaimer {
  margin-top: 16px;
  padding: 12px 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  border-top: 1px solid rgba(0,0,0,0.05);
}
/* ============================================
   Мирида Королёва — лендинг
   Палитра: тёплый крем, уголь, терракота
   ============================================ */

:root {
  --bg: #F5EFE6;
  --bg-2: #EEE5D6;
  --bg-3: #E4D8C3;
  --ink: #29261B;
  --ink-2: #4A4536;
  --ink-3: #817A67;
  --line: rgba(41, 38, 27, 0.12);
  --line-2: rgba(41, 38, 27, 0.06);
  --accent: #B8572F;          /* terracotta */
  --accent-2: #C97A4E;
  --accent-soft: #E8C9B4;
  --leaf: #6B7A4B;
  --card: #FBF7EF;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --stage-w: 430px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0e0d0a;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, #1a1813 0%, #0e0d0a 60%);
}

/* React mount wrapper (#root) — flex-item, не должен распираться содержимым шире экрана */
#root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

/* The 9:16 stage — centered column on desktop, full-bleed on mobile */
.stage {
  width: 100%;
  max-width: var(--stage-w);
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 80px rgba(0,0,0,.35);
}

@media (max-width: 480px) {
  #root { max-width: 100%; min-width: 0; width: 100%; }
  .stage { box-shadow: none; max-width: 100%; width: 100%; min-width: 0; }
  body { background: var(--bg); }
}

/* Sections — all vertical stack */
.section {
  padding: 88px 24px 88px;
  position: relative;
}

.section-tight { padding: 56px 24px; }

/* Typography scale */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px; background: var(--ink-3);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 10.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  word-break: break-word;
  overflow-wrap: break-word;
}

.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.h-section {
  font-size: clamp(30px, 7.6vw, 40px);
  line-height: 1.05;
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.h-section em { font-style: italic; color: var(--accent); font-weight: 350; }

.h-card {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.015em;
}

.body-lg {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.body-md {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.body-sm {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .25s;
  will-change: transform;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 10px 24px -12px rgba(41,38,27,.6);
}
.btn-primary:hover { transform: translateY(-1px); background: #1c1a12; }
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #FFF8F0;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px -10px rgba(184,87,47,.6);
}
.btn-accent:hover { transform: translateY(-1px); background: #a44d28; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn .arrow {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Reveal animations — via IntersectionObserver toggling .revealed.
   Default state is VISIBLE so content always shows even if the observer
   fails (hidden tabs pause animations, disabled JS, etc). We only hide
   while the page is actively animating (html.anim-ready is set after
   bootstrap by the hooks file). */
.anim-ready .reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(14px);
}
.reveal {
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}

/* Hero body: above the fold — always visible, no reveal dance */
.hero-body-static { opacity: 1; }

.reveal-stagger > * {
  transition: opacity .8s cubic-bezier(.2,.8,.2,1);
}
.anim-ready .reveal-stagger:not(.revealed) > * { opacity: 0; }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: .40s; }

/* Animations off */
.no-anim .reveal,
.no-anim .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ─────── HERO ─────── */
.hero {
  min-height: 100vh;
  padding: 72px 24px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
  z-index: 2;
}

.hero-mark {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.hero-mark-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

.hero-body {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.hero-title {
  margin-top: 20px;
  font-weight: 500;
  font-size: clamp(48px, 12vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.hero-title em {
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 90, "WONK" 1;
  text-shadow: 0 2px 24px rgba(184,87,47,.18);
}

.hero-sub {
  margin-top: 26px;
  max-width: 32ch;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-meta {
  display: flex; gap: 24px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta b { color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }

.hero-cta-row {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 40px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; color: var(--ink-3);
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll-hint .line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--ink-3));
  animation: scrollBob 2.2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: scaleY(.5); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Hero decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .7;
  pointer-events: none;
  z-index: 1;
}
.hero-blob-1 { width: 280px; height: 280px; background: var(--accent-soft); top: -40px; right: -80px; }
.hero-blob-2 { width: 220px; height: 220px; background: #DFD4B8; bottom: 120px; left: -70px; opacity: .5; }

.hero-leaf {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 220px;
  color: rgba(184,87,47,.08);
  line-height: 1;
  bottom: -40px; right: -10px;
  z-index: 1;
  pointer-events: none;
  font-weight: 300;
}

/* ─────── PROBLEM / CHECKLIST ─────── */
.problem-intro { margin-bottom: 36px; }
.problem-intro .eyebrow { margin-bottom: 20px; }
.problem-intro p { margin-top: 20px; max-width: 38ch; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .3s cubic-bezier(.2,.8,.2,1), background .25s;
  user-select: none;
}
.check-item:hover { padding-left: 10px; }

.check-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink-3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s;
}
.check-item.checked .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.check-box svg {
  opacity: 0; transform: scale(.5);
  transition: opacity .25s, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.check-item.checked .check-box svg { opacity: 1; transform: scale(1); }

.check-label {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
  transition: color .25s;
}
.check-item.checked .check-label { color: var(--ink-2); }

.check-result {
  margin-top: 28px;
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.check-result-badge {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.check-result-text {
  font-family: var(--serif); font-size: 18px;
  line-height: 1.35; color: var(--ink);
}
.check-result-cta {
  margin-top: 4px;
  align-self: flex-start;
  padding: 12px 18px;
  font-size: 13px;
}

/* ─────── APPROACH ─────── */
.approach-grid {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 32px;
}

.approach-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.approach-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  opacity: .85;
}

.approach-card h3 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.approach-card p {
  margin-top: 12px;
  font-size: 14.5px; line-height: 1.5;
  color: var(--ink-2);
}

.approach-card h3 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.approach-card .corner-leaf {
  position: absolute;
  right: -10px; bottom: -30px;
  width: 100px; height: 100px;
  background: var(--accent-soft);
  border-radius: 50%;
  opacity: .35;
  filter: blur(8px);
}

/* ─────── FLOATERS (plants/veg drifting in backgrounds) ─────── */
.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.floater {
  position: absolute;
  transform: translate(-50%, -50%);
  animation: float 14s ease-in-out infinite;
  opacity: 0.38;
  will-change: transform;
  filter: drop-shadow(0 8px 16px rgba(41, 38, 27, 0.08));
  z-index: 0;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  25%      { transform: translate(-45%, -58%) rotate(4deg); }
  50%      { transform: translate(-55%, -45%) rotate(-2deg); }
  75%      { transform: translate(-48%, -54%) rotate(7deg); }
}
.no-anim .floater { animation: none; }

/* ─────── INTERACTIVITY: ripple + tilt + scroll-focus + scroll-wave ─────── */

/* Ripple */
.ripple-target { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,87,47,.35) 0%, rgba(184,87,47,.15) 40%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ripple-out .65s cubic-bezier(.2,.7,.3,1) forwards;
  mix-blend-mode: multiply;
}
.format-card.featured .ripple,
.final .ripple {
  background: radial-gradient(circle, rgba(255,248,240,.32) 0%, rgba(255,248,240,.12) 40%, transparent 70%);
  mix-blend-mode: screen;
}
@keyframes ripple-out {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(var(--r, 400px)); opacity: 0; background-size: 100%; }
}
/* Use width/height instead so scale works clean */
@keyframes ripple-out {
  0%   { width: 10px; height: 10px; opacity: 1; }
  100% { width: calc(var(--r, 400px) * 2); height: calc(var(--r, 400px) * 2); opacity: 0; }
}

/* Tilt + scroll-focus unified via CSS vars so both can apply to one element */
.tilt, .scroll-focus {
  --tilt-rx: 0deg;
  --tilt-ry: 0deg;
  --focus: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
  transform-style: preserve-3d;
  transform:
    perspective(900px)
    translateY(calc(var(--focus) * -6px))
    scale(calc(1 + var(--focus) * 0.018))
    rotateX(var(--tilt-rx))
    rotateY(var(--tilt-ry));
}
.scroll-focus {
  box-shadow:
    0 calc(var(--focus) * 28px) calc(var(--focus) * 48px - 18px) rgba(41,38,27, calc(var(--focus) * 0.22)),
    0 1px 0 rgba(255,255,255,.4) inset;
}

/* Scroll-wave layer — full-screen fixed, non-interactive */
#__scroll-wave-layer {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.scroll-wave {
  position: absolute;
  left: 50%;
  width: 60vw; max-width: 380px;
  height: 1px;
  transform: translate(-50%, 0);
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  animation: wave-line .85s cubic-bezier(.2,.7,.3,1) forwards;
}
.scroll-wave.up { animation-name: wave-line-up; }
.scroll-wave.touch {
  width: 120px;
  background: radial-gradient(ellipse, rgba(184,87,47,.55), transparent 70%);
  height: 120px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: touch-pulse .9s ease-out forwards;
}
@keyframes wave-line {
  0%   { opacity: 0; transform: translate(-50%, -30px) scaleX(.4); }
  40%  { opacity: .7; transform: translate(-50%, 0) scaleX(1); }
  100% { opacity: 0; transform: translate(-50%, 30px) scaleX(.4); }
}
@keyframes wave-line-up {
  0%   { opacity: 0; transform: translate(-50%, 30px) scaleX(.4); }
  40%  { opacity: .7; transform: translate(-50%, 0) scaleX(1); }
  100% { opacity: 0; transform: translate(-50%, -30px) scaleX(.4); }
}
@keyframes touch-pulse {
  0%   { opacity: .5; transform: translate(-50%,-50%) scale(.2); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.6); }
}

.no-anim .ripple,
.no-anim .scroll-wave { display: none; }
.no-anim .scroll-focus { transform: none; box-shadow: none; }

/* ─────── INVESTIGATION BLOCK (male / couples / signals) ─────── */
.investigation {
  padding: 72px 24px 88px;
  position: relative;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}
.investigation .eyebrow { color: rgba(245,239,230,.55); }
.investigation .eyebrow::before { background: rgba(245,239,230,.55); }
.investigation h2 { color: var(--bg); }
.investigation h2 em { color: var(--accent-2); }

.inv-list {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(245,239,230,.1);
}
.inv-item {
  padding: 22px 4px;
  border-bottom: 1px solid rgba(245,239,230,.1);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
}
.inv-x {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--accent-2);
  font-style: italic;
  font-weight: 300;
  margin-top: 2px;
}
.inv-head {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--bg);
  letter-spacing: -0.01em;
}
.inv-expl {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245,239,230,.65);
}

/* Photo strip in hero */
.hero-portrait {
  position: absolute;
  right: -40px; top: 60px;
  width: 200px; height: 240px;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
  opacity: .85;
  mask-image: linear-gradient(to left, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.85) contrast(1.02);
}

@media (max-width: 380px) {
  .hero-portrait { display: none; }
}

/* ─────── JOURNEY (sticky progression) ─────── */
.journey {
  padding: 88px 0 88px;
}
.journey-head { padding: 0 24px; margin-bottom: 32px; }

.journey-track {
  position: relative;
  padding: 0 24px;
}

.journey-rail {
  position: absolute;
  left: 43px; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.journey-rail-fill {
  position: absolute;
  left: 0; top: 0; width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: height .4s cubic-bezier(.2,.8,.2,1);
}

.journey-step {
  position: relative;
  padding: 22px 0 22px 56px;
  transition: opacity .4s;
  opacity: .35;
}
.journey-step.active { opacity: 1; }

.journey-dot {
  position: absolute;
  left: 14px; top: 28px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.journey-step.active .journey-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(184,87,47,.12);
}

.journey-step h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: -0.015em; line-height: 1.2;
}
.journey-step-num {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 6px; display: block;
}
.journey-step p {
  margin-top: 10px;
  font-size: 14.5px; line-height: 1.5;
  color: var(--ink-2);
}

/* ─────── FORMATS ─────── */
.formats-grid {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
}

.format-card {
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  transition: border-color .25s, box-shadow .3s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.format-card:not(.tilt):hover {
  transform: translateY(-2px);
  border-color: rgba(41,38,27,.25);
  box-shadow: 0 12px 30px -18px rgba(41,38,27,.3);
}
.format-card.tilt:hover { border-color: rgba(41,38,27,.25); }

.format-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.format-card.featured .format-price,
.format-card.featured .format-name,
.format-card.featured .format-desc,
.format-card.featured .format-list li { color: inherit; }
.format-card.featured .format-list li::before { background: var(--accent); }
.format-card.featured .format-desc { color: rgba(245,239,230,.75); }
.format-card.featured .format-list li { color: rgba(245,239,230,.9); }
.format-card.featured .format-tag { background: var(--accent); color: #FFF8F0; border-color: transparent; }

.format-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  background: var(--bg);
}

.format-name {
  font-family: var(--serif); font-size: 23px;
  font-weight: 400; letter-spacing: -0.015em;
  line-height: 1.15;
}
.format-desc {
  margin-top: 10px;
  font-size: 14px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
}
.format-list {
  list-style: none;
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.format-list li {
  font-size: 13.5px;
  padding-left: 18px; position: relative;
  color: var(--ink-2);
}
.format-list li::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.format-price {
  margin-top: 20px;
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--serif);
  white-space: nowrap;
}
.format-price .val { font-size: 22px; font-weight: 450; letter-spacing: -0.02em; white-space: nowrap; }
.format-price .unit { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.format-card.featured .format-price .unit { color: rgba(245,239,230,.6); }
.format-price { flex-wrap: wrap; align-items: baseline; gap: 10px 12px; position: relative; }
.format-price .old-price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(245,239,230,.55);
  white-space: nowrap;
  position: relative;
  display: inline-block;
}
.format-price .old-price::after {
  content: '';
  position: absolute;
  left: -4%; right: -4%;
  top: 52%;
  height: 2.5px;
  background: #E8775A;
  transform: rotate(-9deg);
  border-radius: 2px;
}
.format-card.featured .format-price .val {
  color: #F2855F;
  font-size: 24px;
  font-weight: 600;
}
.format-price .price-promo {
  flex-basis: 100%;
  margin-top: 10px;
  display: inline-block;
  width: fit-content;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #F2855F;
  transform: rotate(-6deg);
  transform-origin: left center;
  text-shadow: 0 2px 12px rgba(242,133,95,.25);
}
/* длинный ярлык (напр. «Скидка постоянным клиентам») — мельче, чтобы влез на 360px */
.format-price .price-promo.is-long {
  font-size: 17px;
}

/* ─────── BOOST CARD (Продление сопровождения) ─────── */
.format-card.boost {
  background: linear-gradient(160deg, #5A6E4A 0%, #4C5E3F 55%, #41512F 100%);
  color: #F3F1E4;
  border-color: #41512F;
  position: relative;
  overflow: hidden;
}
.format-card.boost::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(214,228,176,0.18), transparent 60%);
  pointer-events: none;
}
.format-card.boost .format-name,
.format-card.boost .format-price { color: #F6F4E8; }
.format-card.boost .format-desc { color: rgba(243,241,228,.82); }
.format-card.boost .format-list li { color: rgba(243,241,228,.9); }
.format-card.boost .format-list li::before { background: #C7D69E; }
.format-card.boost .format-tag {
  background: #C7D69E; color: #2F3A22; border-color: transparent;
}
.format-card.boost .format-price .val { color: #DCE7B4; font-size: 24px; font-weight: 600; }
.format-card.boost .format-price .old-price { color: rgba(243,241,228,.5); }
.format-card.boost .format-price .old-price::after { background: #E3C07A; }
.format-card.boost .format-price .price-promo { color: #E3C07A; text-shadow: 0 2px 12px rgba(227,192,122,.25); }

/* ─────── WARM CARD (Вторичная консультация) — тёпло-коричневая подложка ─────── */
.format-card.warm {
  background: linear-gradient(160deg, #6E4A3A 0%, #603A28 55%, #4E2E1E 100%);
  color: #F3ECE6;
  border-color: #4E2E1E;
  position: relative;
  overflow: hidden;
}
.format-card.warm::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(242,133,95,0.20), transparent 60%);
  pointer-events: none;
}
.format-card.warm .format-name,
.format-card.warm .format-price { color: #F6EFE9; }
.format-card.warm .format-desc { color: rgba(243,236,230,.82); }
.format-card.warm .format-list li { color: rgba(243,236,230,.9); }
.format-card.warm .format-list li::before { background: #F2A07F; }
.format-card.warm .format-tag {
  background: #F2855F; color: #FFF8F0; border-color: transparent;
}
.format-card.warm .format-price .val { color: #FFB48F; font-size: 24px; font-weight: 600; }

/* ─────── PHOTO CARDS (Путь к беременности / Детская) — фото фоном + тёмная вуаль ─────── */
.format-card.photo {
  color: #F5EFE9;
  border-color: rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
/* тёмная вуаль под текст: плотнее сверху (tag/name/desc) и снизу (цена), фото читается в середине */
.format-card.photo::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg,
      rgba(24,15,10,.90) 0%,
      rgba(24,15,10,.68) 30%,
      rgba(24,15,10,.64) 55%,
      rgba(18,10,6,.90) 100%),
    rgba(20,12,8,.28);
}
.format-card.photo .format-name,
.format-card.photo .format-price { color: #FBF6F0; text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 2px 14px rgba(0,0,0,.6); }
.format-card.photo .format-desc { color: rgba(248,243,238,.94); text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 10px rgba(0,0,0,.5); }
.format-card.photo .format-list li { color: rgba(248,243,238,.96); text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 10px rgba(0,0,0,.5); }
.format-card.photo .format-list li::before { background: #F2A07F; }
.format-card.photo .format-price .val { color: #FFC9A6; font-size: 24px; font-weight: 600; }
.format-card.photo .format-tag {
  background: rgba(242,133,95,.92); color: #FFF8F0; border-color: transparent;
  backdrop-filter: blur(2px);
}
/* ─── ПАРА (Путь к беременности): светлая, радостная схема — как детская ─── */
.format-card.photo-couple {
  color: #3A2A1E;
  background-color: #EBCBA1;
  background-image: url(fruit/couple.webp);
  background-size: 40% auto;
  background-position: right -2% top 64px;
  background-repeat: no-repeat;
}
.format-card.photo-couple::before {
  background:
    radial-gradient(80% 70% at 88% 40%, rgba(235,203,161,0) 45%, rgba(235,203,161,.3) 100%),
    linear-gradient(180deg, rgba(235,203,161,.5) 0%, rgba(235,203,161,0) 22%);
}
.format-card.photo-couple .format-tag {
  background: rgba(242,133,95,.96); color: #FFF8F0; border-color: transparent;
  backdrop-filter: none;
}
.format-card.photo-couple .format-name { color: #3A2419; text-shadow: none; }
.format-card.photo-couple .format-desc { color: #5A4636; text-shadow: none; max-width: 60%; }
.format-card.photo-couple .format-list li { color: #4A3628; text-shadow: none; max-width: 58%; }
.format-card.photo-couple .format-list li::before { background: #D97A4E; }
.format-card.photo-couple .format-price { position: relative; z-index: 2; }
.format-card.photo-couple .format-price .val { color: #B85C2E; text-shadow: none; }
/* ─── ДЕТСКАЯ: светлая, радостная схема (мультяшный пупс-иллюстрация внизу) ─── */
/* пупс — не фон во всю карточку, а иллюстрация внизу-справа; текст по чистому тёплому полю */
.format-card.photo-baby {
  color: #3A2A1E;
  background-color: #EBCBA1;
  background-image: url(fruit/baby.webp);
  background-size: 56% auto;
  background-position: right -6% bottom -8px;
  background-repeat: no-repeat;
  padding-bottom: 140px; /* карточка заканчивается на облачке, без пустого низа */
}
/* мягкое тёплое свечение снизу, чтобы пупс «сел» в фон без резкой границы */
.format-card.photo-baby::before {
  background:
    radial-gradient(120% 60% at 80% 100%, rgba(235,203,161,0) 40%, rgba(235,203,161,.35) 100%),
    linear-gradient(180deg, rgba(235,203,161,.55) 0%, rgba(235,203,161,0) 30%);
}
.format-card.photo-baby .format-tag {
  background: rgba(242,133,95,.96); color: #FFF8F0; border-color: transparent;
}
.format-card.photo-baby .format-name { color: #3A2419; text-shadow: none; }
.format-card.photo-baby .format-desc { color: #5A4636; text-shadow: none; max-width: 62%; }
.format-card.photo-baby .format-list li { color: #4A3628; text-shadow: none; max-width: 60%; }
.format-card.photo-baby .format-list li::before { background: #D97A4E; }
.format-card.photo-baby .format-price { position: relative; z-index: 2; }
.format-card.photo-baby .format-price .val { color: #B85C2E; text-shadow: none; }

/* объёмное слово «пинка» */
.boost-word {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.5em;
  color: #DCE7B4;
  display: inline-block;
  transform: rotate(-3deg);
  letter-spacing: -0.01em;
  text-shadow:
    0 1px 0 #B7C98A,
    0 2px 0 #9FB372,
    0 3px 0 #889C5E,
    0 4px 6px rgba(0,0,0,.35);
  padding: 0 2px;
}

/* ─────── SOCIAL / REVIEWS ─────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: 22px 10px;
  text-align: center;
}
.stat b {
  font-family: var(--serif);
  font-size: 30px; font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--accent);
  display: block;
  font-variation-settings: "opsz" 144;
}
.stat span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.review-stack {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 28px;
}
.review-card {
  padding: 22px 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
}
.review-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  line-height: 1;
  color: var(--accent);
  position: absolute;
  top: 10px; right: 20px;
  opacity: .35;
}
.review-text {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}
.review-author {
  margin-top: 16px;
  display: flex; align-items: center; gap: 12px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 15px;
  color: var(--accent); font-weight: 450;
}
.review-name {
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.review-meta {
  font-size: 12px; color: var(--ink-3);
}

/* ─────── ABOUT ─────── */
.about-card {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
}

.about-photo {
  aspect-ratio: 3/4;
  background: var(--bg-2) url("62444992.jpg") center top / cover no-repeat;
  position: relative;
  overflow: hidden;
  filter: saturate(1.02) contrast(1.02);
}
.about-photo img {
  display: none;
}
.about-photo-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid var(--line);
}

.about-body { padding: 28px 24px 30px; }
.about-body h3 {
  font-family: var(--serif); font-size: 26px;
  font-weight: 400; letter-spacing: -0.02em;
}
.about-body h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
.about-body p {
  margin-top: 14px;
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2);
}
.about-creds {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.about-cred {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
}

/* ─────── FINAL CTA ─────── */
.final {
  padding: 88px 24px 72px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.final h2 { color: var(--bg); }
.final h2 em { color: var(--accent-2); }
.final .eyebrow { color: rgba(245,239,230,.5); }
.final .eyebrow::before { background: rgba(245,239,230,.5); }
.final p { color: rgba(245,239,230,.7); margin-top: 20px; max-width: 34ch; font-size: 16px; line-height: 1.55; }

.final-blob {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,87,47,.35), transparent 60%);
  filter: blur(30px);
  bottom: -120px; right: -120px;
  pointer-events: none;
}

.magnetic-wrap {
  margin-top: 40px;
  display: flex; justify-content: center;
}

.magnetic-cta {
  position: relative;
  display: inline-flex; align-items: center;
  gap: 14px;
  padding: 22px 32px 22px 28px;
  background: var(--accent);
  color: #FFF8F0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 20px 40px -16px rgba(184,87,47,.55);
  transition: background .2s, box-shadow .3s;
  will-change: transform;
  isolation: isolate;
}
.magnetic-cta:hover { background: #C96436; }
.magnetic-cta .tg-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
}

.final-handle {
  margin-top: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(245,239,230,.55);
}
.final-handle b { color: var(--bg); font-weight: 500; }

.final-sub-links {
  margin-top: 36px;
  display: flex; justify-content: center; gap: 18px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,239,230,.5);
}

.footer-mark {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,230,.1);
  text-align: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,239,230,.35);
}

/* Warm is the default (:root). Class alias for switcher. */
.theme-warm { /* use defaults from :root */ }

/* ─────── DARK THEME OVERRIDES ─────── */
.theme-dark {
  --bg: #181612;
  --bg-2: #221F19;
  --bg-3: #2C2921;
  --ink: #F3EDE0;
  --ink-2: #C9C2B0;
  --ink-3: #8C8673;
  --line: rgba(243,237,224,0.12);
  --line-2: rgba(243,237,224,0.06);
  --accent: #D47A4E;
  --accent-2: #E09670;
  --accent-soft: rgba(212,122,78,0.25);
  --card: #1F1C16;
}
.theme-dark .btn-primary { background: var(--bg); color: var(--ink); }
.theme-dark .btn-primary:hover { background: var(--bg-2); }
.theme-dark .final { background: #0C0B08; }
.theme-dark .final h2 { color: var(--ink); }

/* ─────── SAGE THEME (зелёно-органик) ─────── */
.theme-sage {
  --bg: #EDF0E6;
  --bg-2: #E0E5D3;
  --bg-3: #D1D9BE;
  --ink: #1F2418;
  --ink-2: #44492F;
  --accent: #6B7A4B;
  --accent-2: #839653;
  --accent-soft: #C8D1AE;
  --card: #F5F7EE;
}

/* ─────── LINEN THEME (кремово-серый, премиум) ─────── */
.theme-linen {
  --bg: #F1EFEA;
  --bg-2: #E6E3DC;
  --ink: #24221D;
  --accent: #866C4A;
  --accent-2: #9E8257;
  --accent-soft: #D4C6AE;
  --card: #F8F6F1;
}

/* ════════════════════════════════════════════
   ЖИВЫЕ ОТЗЫВЫ — аудио-плееры с фруктовыми акцентами
   ════════════════════════════════════════════ */
.voices {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--accent-soft) 0%, transparent 55%),
    var(--bg-2);
  overflow: hidden;
}
/* фруктовые акценты — густая декоративная россыпь по всей секции */
.voices-fruits {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.voices-fruit {
  position: absolute;
  filter: drop-shadow(0 12px 24px rgba(41,38,27,.18));
}
.voices-fruit img { display: block; width: 100%; height: auto; }
@media (max-width: 400px) {
  .voices-fruit.hide-sm { display: none; }
  /* на узких экранах чуть уводим фрукты за край, чтобы не давили текст */
  .voices-fruit { filter: drop-shadow(0 8px 16px rgba(41,38,27,.15)); }
}

.voices .reveal, .voices-list { position: relative; z-index: 1; }

.voices-sub {
  margin-top: 14px;
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
}
.voices-sub b { color: var(--accent); font-weight: 600; }

.voices-list {
  display: flex; flex-direction: column;
  gap: 20px;
  margin-top: 34px;
}

/* символ-разделитель между отзывами (не номер) */
.voice-sep {
  align-self: center;
  color: var(--accent);
  opacity: .5;
  font-size: 15px;
  letter-spacing: .4em;
  user-select: none;
}

.voice-card {
  position: relative;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px -22px rgba(41,38,27,.5);
  transition: border-color .25s, box-shadow .35s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.voice-card.is-playing {
  border-color: var(--accent);
  box-shadow: 0 16px 40px -20px rgba(184,87,47,.55);
}

/* крючок — фраза в цель */
.voice-hook {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 5.6vw, 25px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 120, "SOFT" 60, "WONK" 1;
  padding-right: 6px;
}
.voice-hook::before {
  content: '\201C';
  color: var(--accent);
  margin-right: 1px;
  font-size: 1.05em;
}
.voice-hook::after { content: '\201D'; color: var(--accent); margin-left: 1px; }

/* строка управления: play + дорожка + время */
.voice-ctrl {
  margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
}
.voice-play {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border: none; border-radius: 50%;
  background: var(--accent);
  color: #FFF6EE;
  display: grid; place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s;
  box-shadow: 0 6px 18px -6px rgba(184,87,47,.7);
}
.voice-play:hover { transform: scale(1.06); background: var(--accent-2); }
.voice-play:active { transform: scale(.96); }
.voice-play svg { width: 20px; height: 20px; display: block; }
.voice-play .icon-play { margin-left: 2px; }   /* оптическое центрирование треугольника */
/* пульс-кольцо при проигрывании */
.voice-play.is-playing::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: voicePulse 1.8s ease-out infinite;
}
@keyframes voicePulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.4); opacity: 0; }
}
/* мини-спиннер загрузки */
.voice-play.is-loading svg { display: none; }
.voice-play.is-loading::before {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,246,238,.35);
  border-top-color: #FFF6EE;
  border-radius: 50%;
  animation: voiceSpin .7s linear infinite;
}
@keyframes voiceSpin { to { transform: rotate(360deg); } }

.voice-track-wrap { flex: 1; min-width: 0; }
.voice-track {
  position: relative;
  height: 26px;
  display: flex; align-items: center;
  cursor: pointer;
}
/* дорожка-волна: полоски эквалайзера */
.voice-bars {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 3px;
  width: 100%; height: 100%;
  overflow: hidden;
}
.voice-bars span {
  flex: 1;
  min-width: 2px;
  border-radius: 2px;
  background: var(--accent-soft);
  transition: background .15s, transform .25s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
}
.voice-card.is-playing .voice-bars span.on { background: var(--accent); }
.voice-bars span.on { background: var(--accent-2); }

.voice-time {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  min-width: 38px; text-align: right;
}

/* переключатель скорости 1× / 1.5× */
.voice-rate {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 40px; text-align: center;
  transition: border-color .2s, color .2s, background .2s;
}
.voice-rate:hover { border-color: var(--accent); color: var(--accent); }
.voice-rate.is-fast {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFF6EE;
}

/* ════════════════════════════════════════════
   PREMIUM LAYER — editorial / studio
   Lenis + GSAP + custom cursor + grain + glow
   ════════════════════════════════════════════ */

/* ─────── LOADER ─────── */
.premium-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity .35s cubic-bezier(.65,0,.35,1), visibility 0s linear .35s;
}
.premium-loader.done {
  opacity: 0;
  visibility: hidden;
}
.premium-loader-mark {
  width: 88px;
  height: 88px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium-loader-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.premium-loader-mark .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  transform-origin: 50% 50%;
  animation: loader-ring-rotate 2.4s linear infinite;
}
.premium-loader-mark .ring-2 {
  stroke: var(--ink);
  stroke-width: 0.8;
  opacity: .25;
  animation-direction: reverse;
  animation-duration: 3.6s;
}
.premium-loader-mark .letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 38px;
  fill: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  animation: loader-letter-pulse 2.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.premium-loader-meta {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.premium-loader-meta::before,
.premium-loader-meta::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--ink-3);
  opacity: .4;
}
@keyframes loader-ring-rotate {
  to { transform: rotate(360deg); }
}
@keyframes loader-letter-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.94); opacity: .75; }
}

/* ─────── GRAIN OVERLAY ─────── */
.premium-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.16  0 0 0 0 0.15  0 0 0 0 0.10  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* ─────── CUSTOM CURSOR — disabled, mascot serves as cursor ─────── */
.premium-cursor,
.premium-cursor-dot { display: none !important; }

/* Hide system cursor only when mouse is OVER the stage column.
   Outside the stage (in the dark 16:9 letterbox), keep system cursor. */
@media (hover: hover) and (pointer: fine) {
  html.cursor-over-stage .stage,
  html.cursor-over-stage .stage * {
    cursor: none !important;
  }
}

/* ─────── TEXT REVEAL (split by words via JS) ─────── */
/* Note: NO overflow:hidden here — that clips descenders of "у", "д", "р" etc.
   Words slide up from a small offset and fade in instead. */
.split-line {
  display: block;
}
.split-word {
  display: inline-block;
  transform: translateY(0.55em);
  opacity: 0;
  will-change: transform, opacity;
}
.split-word .ws { display: inline-block; width: .25em; }
.is-revealed .split-word {
  animation: word-up 1.05s cubic-bezier(.22,.6,.16,1) both;
}
@keyframes word-up {
  to { transform: translateY(0); opacity: 1; }
}

/* ─────── IMAGE REVEAL (clip-path) ─────── */
.about-photo {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.6s cubic-bezier(.65,0,.35,1);
}
.about-photo.is-revealed {
  clip-path: inset(0 0 0 0);
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(41,38,27,.18) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s cubic-bezier(.65,0,.35,1) .8s;
}
.about-photo.is-revealed::after { opacity: 1; }

/* ─────── ACCENT GLOW (subtle) ─────── */
.hero-mark-dot {
  box-shadow: 0 0 0 0 rgba(184, 87, 47, 0.45);
  animation: pulse 2.4s ease-in-out infinite, dot-glow 2.4s ease-in-out infinite;
}
@keyframes dot-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 87, 47, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(184, 87, 47, 0); }
}

.btn-accent,
.magnetic-cta {
  position: relative;
}
.btn-accent::before,
.magnetic-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(80% 80% at 50% 50%, rgba(184, 87, 47, 0.55), transparent 70%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.2,.8,.2,1);
  z-index: -1;
  pointer-events: none;
}
.btn-accent:hover::before,
.magnetic-cta:hover::before {
  opacity: .65;
}

.format-card.featured {
  position: relative;
}
.format-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(184, 87, 47, 0.18), transparent 60%);
  pointer-events: none;
  opacity: .9;
}

/* ─────── HERO BACKGROUND PARALLAX ─────── */
.hero-blob,
.hero-leaf {
  will-change: transform;
}

/* ─────── SECTION REVEAL via GSAP ScrollTrigger ─────── */
.gsap-fade {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

/* Stage tweaks for premium feel — slight inner shadow on edges (desktop only) */
@media (min-width: 481px) {
  .stage::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(41, 38, 27, 0.04);
    z-index: 100;
  }
}

/* Lenis smooth scroll requires html/body unset */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Reduce-motion guard — kill premium animations entirely */
@media (prefers-reduced-motion: reduce) {
  .split-word { transform: none; opacity: 1; animation: none !important; }
  .about-photo { clip-path: none; }
  .premium-cursor, .premium-cursor-dot { display: none !important; }
  .premium-loader { display: none; }
}

/* ════════════════════════════════════════════
   TOMATO MASCOT — floating ghost companion
   Follows cursor / scroll velocity, semi-transparent
   ════════════════════════════════════════════ */
.tomato-mascot {
  position: fixed;
  top: 0; left: 0;
  width: 44px;
  height: 44px;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Reset button defaults */
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  filter: drop-shadow(0 6px 14px rgba(184, 87, 47, 0.42));
  opacity: 0;
  transition: opacity .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
  transform: translate3d(-200px, -200px, 0);
}
.tomato-mascot.is-ready { opacity: 0.55; }
.tomato-mascot.is-shy.is-ready { opacity: 0.78; }
/* When cursor leaves the stage, mascot fades out */
.tomato-mascot.is-out { opacity: 0; }
.tomato-mascot svg {
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
}
.tomato-mascot .tm-body {
  transform-origin: 50% 60%;
  transform-box: fill-box;
  animation: tm-bob 4.8s ease-in-out infinite;
}
@keyframes tm-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-3px) rotate(2deg); }
}
.tomato-mascot .tm-leaf {
  transform-origin: 50% 100%;
  transform-box: fill-box;
  animation: tm-leaf-sway 4.8s ease-in-out infinite;
}
@keyframes tm-leaf-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(6deg); }
}
.tomato-mascot .tm-cheek {
  fill: #FF7B7B;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.34,1.56,.64,1);
}
.tomato-mascot .tm-eye {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), d .25s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.tomato-mascot .tm-mouth {
  fill: none;
  stroke: #4A1F11;
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: d .35s cubic-bezier(.34,1.56,.64,1);
}

/* SHY state — cheeks pop, smile widens, eyes squint */
.tomato-mascot.is-shy .tm-cheek {
  opacity: 1;
  transform: scale(1.15);
}
.tomato-mascot.is-shy .tm-eye {
  transform: scaleY(0.35);
}
.tomato-mascot.is-shy .tm-body {
  animation-duration: 2.4s;
}

/* SQUISH — short pressed bounce (applied to inner svg, not transform on root) */
.tomato-mascot.is-squish .tm-body {
  animation: tm-squish .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes tm-squish {
  0%   { transform: scale(1); }
  40%  { transform: scale(.82, 1.08); }
  100% { transform: scale(1); }
}

/* On dark sections — invert / brighten so mascot stays visible */
.tomato-mascot.on-dark {
  filter: drop-shadow(0 14px 24px rgba(184, 87, 47, 0.55)) drop-shadow(0 0 18px rgba(255, 138, 92, 0.45));
}

@media (max-width: 480px) {
  .tomato-mascot {
    width: 50px; height: 50px;
  }
}

/* ════════════════════════════════════════════
   CONTENT PATCHES — hide / fix layout issues
   ════════════════════════════════════════════ */

/* Hide top bar "Мирида Королёва · Est. 2018" — redundant */
.hero-top { display: none !important; }

/* Hide scroll hint and the "Узнать больше" ghost button under Hero CTA */
.hero-scroll-hint { display: none !important; }
.hero-cta-row .btn-ghost { display: none !important; }

/* Make hero a bit more breathable now that top bar is gone */
.hero { padding-top: 56px; }
.hero-body { padding-top: 24px; }

/* Format-tag overlap fix — tag becomes static, sits ABOVE the title */
.format-card .format-tag {
  position: static !important;
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}
.format-card { padding-top: 22px; }

/* Bigger "Личка" link in final */
.final-sub-links {
  flex-direction: column;
  align-items: center;
  gap: 14px !important;
}
.final-sub-links .link-personal {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--bg) !important;
  text-decoration: none;
  font-weight: 400;
  padding: 8px 4px;
}
.final-sub-links .link-divider { display: none !important; }

.final-sub-links .channel-pitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 22px 18px 20px;
  border-top: 1px solid rgba(245,239,230,.12);
  width: 100%;
  max-width: 320px;
}
.final-sub-links .cp-text {
  font-family: var(--serif) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: rgba(245,239,230,.82) !important;
  text-align: center !important;
  font-weight: 350 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  text-wrap: balance;
  margin: 0;
}
.final-sub-links .cp-finger {
  font-size: 38px;
  line-height: 1;
  display: inline-block;
  margin: 4px 0 -2px;
  animation: cp-finger-tap 1.6s cubic-bezier(.65,0,.35,1) infinite;
  transform-origin: 50% 0%;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
@keyframes cp-finger-tap {
  0%, 100% { transform: translateY(0) scale(1); }
  20%      { transform: translateY(-6px) scale(1.06); }
  45%      { transform: translateY(8px) scale(.96); }
  70%      { transform: translateY(0) scale(1); }
}
.final-sub-links .link-channel {
  font-family: var(--sans) !important;
  font-size: 15px !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  color: #FFF8F0 !important;
  text-decoration: none;
  background: rgba(184, 87, 47, 0.92);
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 28px -14px rgba(184,87,47,.65);
  font-weight: 500;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.final-sub-links .link-channel:hover {
  transform: translateY(-1px);
  background: #C96436;
}

/* ════════════════════════════════════════════
   CHECKLIST SUMMARY — dynamic, appears before .final
   ════════════════════════════════════════════ */
.check-summary {
  padding: 56px 24px 64px;
  background: linear-gradient(180deg, var(--bg) 0%, #F0E8D8 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  display: block;
}
/* When user has not picked anything yet, hide the count + list, show the empty pitch */
.check-summary .cs-empty-pitch { display: none; }
.check-summary.is-empty .cs-title { display: none; }
.check-summary.is-empty .cs-list { display: none; }
.check-summary.is-empty .cs-pitch-filled { display: none; }
.check-summary.is-empty .cs-empty-pitch { display: block; }
.check-summary:not(.is-empty) .cs-empty-pitch { display: none; }
.cs-empty-pitch {
  font-family: var(--serif);
  font-size: clamp(24px, 6.4vw, 30px);
  line-height: 1.15;
  font-weight: 350;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  margin-top: 14px;
  text-wrap: balance;
}
.cs-empty-pitch em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cs-empty-pitch + .cs-cta { margin-top: 24px; }

.cs-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cs-eyebrow::before {
  content: '';
  width: 18px; height: 1px; background: var(--accent);
}
.cs-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(28px, 7.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 16px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.cs-title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cs-title .cs-word::before {
  content: ' ';
  white-space: pre;
}
.cs-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-list li {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  padding: 10px 14px 10px 38px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  animation: cs-li-in .55s cubic-bezier(.22,.6,.16,1) both;
}
.cs-list li::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
}
.cs-list li::after {
  content: '';
  position: absolute;
  left: 17px; top: 50%;
  width: 7px; height: 4px;
  border-left: 2px solid #FFF8F0;
  border-bottom: 2px solid #FFF8F0;
  transform: translateY(-65%) rotate(-45deg);
}
@keyframes cs-li-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-pitch {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(20px, 5.4vw, 26px);
  line-height: 1.25;
  font-weight: 350;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}
.cs-pitch strong {
  font-style: italic;
  font-weight: 350;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.cs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 28px;
  background: var(--accent);
  color: #FFF8F0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 32px -14px rgba(184,87,47,.55);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .2s;
  position: relative;
  isolation: isolate;
}
.cs-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(80% 80% at 50% 50%, rgba(184,87,47,.55), transparent 70%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.2,.8,.2,1);
  z-index: -1;
}
.cs-cta:hover {
  transform: translateY(-1px);
  background: #C96436;
}
.cs-cta:hover::before { opacity: .65; }

/* ════════════════════════════════════════════
   3D FLOATERS — depth, rotation, scroll-driven
   ════════════════════════════════════════════ */
.fl-3d {
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 1;
  transform-style: preserve-3d;
  filter: drop-shadow(0 14px 22px rgba(41, 38, 27, 0.18)) drop-shadow(0 2px 0 rgba(255,255,255,.35));
  will-change: transform;
  opacity: .9;
}
.fl-3d svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fl-3d.fl-berry { width: 44px; height: 44px; }
.fl-3d.fl-leaf { width: 80px; height: 80px; }
.fl-3d.fl-avocado { width: 60px; height: 60px; }

/* ─────── MAX MESSENGER BUTTON ─────── */
.btn-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: #1A1A24;
  color: #FFF8F0;
  border: 1px solid #2A2A38;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s, box-shadow 0.2s;
  will-change: transform;
}
.btn-max:hover {
  background: #22222E;
  box-shadow: 0 8px 24px rgba(80, 70, 232, 0.18);
}
.btn-max .max-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-max .arrow {
  margin-left: 4px;
  opacity: 0.85;
  transition: transform 0.2s;
}
.btn-max:hover .arrow { transform: translateX(2px); }

/* MAX button in Final section — make it match the magnetic CTA width */
.btn-max-final {
  margin-top: 14px;
  width: 100%;
  max-width: 380px;
  padding: 16px 24px;
  font-size: 15px;
}

/* Phone link under MAX buttons — pill style, always visible */
.hero-phone-link,
.final-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 18px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink, #2A2520);
  text-decoration: none;
  border: 1px solid rgba(200, 97, 58, 0.25);
  border-radius: 12px;
  background: rgba(255, 250, 244, 0.6);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-phone-link::before,
.final-phone-link::before {
  content: '📞';
  font-size: 15px;
  line-height: 1;
}
.hero-phone-link b,
.final-phone-link b {
  color: var(--accent, #C8613A);
  font-family: var(--serif, serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
}
.hero-phone-link:hover,
.final-phone-link:hover {
  border-color: var(--accent, #C8613A);
  background: rgba(255, 250, 244, 0.9);
}

.final-phone-link {
  margin-top: 14px;
  margin-bottom: 6px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────── FAMILY DISCOUNT BANNER ─────── */
.family-discount {
  margin-top: 28px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed var(--accent, #C8613A);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(200,97,58,0.06) 0%, rgba(200,97,58,0.02) 100%);
}
.family-discount-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.family-discount-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.family-discount-text b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink, #2A2520);
  letter-spacing: -0.01em;
}
.family-discount-text b em {
  font-style: normal;
  color: var(--accent, #C8613A);
  font-weight: 600;
}
.family-discount-text span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #555);
}

/* ─────── CENTERED 2-COL METRICS ─────── */
.stats-row.stats-row-2col {
  grid-template-columns: 1fr 1fr;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.hero-meta.hero-meta-2col {
  justify-content: center;
  gap: 48px;
  text-align: center;
}
.hero-meta.hero-meta-2col > div { align-items: center; }

/* ─────── ABOUT DIVIDER ─────── */
.about-divider {
  height: 1px;
  background: var(--line, rgba(0,0,0,0.08));
  margin: 28px 0 24px;
}

/* ─────── HERO AURORA — 3D glass orbs ─────── */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  will-change: transform, border-radius;
  opacity: 0.92;
}

/* Orb 1 — large terracotta sphere */
.aurora-1 {
  width: 260px; height: 260px;
  top: 6%; left: 18%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 220, 195, 0.7) 0%, transparent 35%),
    radial-gradient(circle at 70% 75%, rgba(110, 35, 18, 0.55) 0%, transparent 50%),
    radial-gradient(circle, #E66B45 0%, #C95430 60%, #A03B22 100%);
  box-shadow:
    inset 18px 22px 40px rgba(255, 230, 210, 0.45),
    inset -25px -30px 50px rgba(90, 25, 12, 0.55),
    0 30px 60px -10px rgba(160, 70, 40, 0.4);
  animation: orb-float-1 18s ease-in-out infinite;
}

/* Orb 2 — medium ochre sphere */
.aurora-2 {
  width: 220px; height: 220px;
  top: 42%; left: 52%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 235, 210, 0.65) 0%, transparent 38%),
    radial-gradient(circle at 72% 75%, rgba(70, 45, 25, 0.5) 0%, transparent 50%),
    radial-gradient(circle, #C9A074 0%, #A88560 60%, #7E6342 100%);
  box-shadow:
    inset 15px 18px 35px rgba(255, 240, 220, 0.4),
    inset -22px -28px 45px rgba(60, 40, 25, 0.5),
    0 24px 50px -8px rgba(110, 80, 50, 0.35);
  animation: orb-float-2 22s ease-in-out infinite;
}

/* Orb 3 — large peach sphere */
.aurora-3 {
  width: 290px; height: 290px;
  top: 62%; left: 2%;
  background:
    radial-gradient(circle at 33% 30%, rgba(255, 230, 200, 0.7) 0%, transparent 36%),
    radial-gradient(circle at 70% 75%, rgba(120, 50, 20, 0.55) 0%, transparent 52%),
    radial-gradient(circle, #E89070 0%, #C8693E 60%, #92421F 100%);
  box-shadow:
    inset 20px 24px 42px rgba(255, 235, 215, 0.45),
    inset -28px -34px 55px rgba(100, 35, 12, 0.55),
    0 32px 65px -12px rgba(150, 65, 35, 0.4);
  animation: orb-float-3 16s ease-in-out infinite;
}

/* Curved-path movement + border-radius morphing for liquid feel */
@keyframes orb-float-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
  25%  { transform: translate(70px, 80px) rotate(15deg) scale(1.08);
         border-radius: 56% 44% 52% 48% / 48% 56% 44% 52%; }
  50%  { transform: translate(40px, 180px) rotate(-12deg) scale(0.92);
         border-radius: 44% 56% 46% 54% / 56% 48% 60% 44%; }
  75%  { transform: translate(-50px, 90px) rotate(8deg) scale(1.04);
         border-radius: 50% 50% 60% 40% / 44% 56% 50% 56%; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
}
@keyframes orb-float-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
  30%  { transform: translate(-90px, -70px) rotate(-18deg) scale(1.12);
         border-radius: 54% 46% 50% 50% / 52% 54% 46% 48%; }
  60%  { transform: translate(-130px, 60px) rotate(12deg) scale(0.88);
         border-radius: 46% 54% 54% 46% / 56% 44% 56% 44%; }
  85%  { transform: translate(-40px, 110px) rotate(-6deg) scale(1.05);
         border-radius: 50% 50% 44% 56% / 48% 52% 50% 50%; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
}
@keyframes orb-float-3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
  25%  { transform: translate(110px, -60px) rotate(20deg) scale(0.9);
         border-radius: 52% 48% 56% 44% / 50% 50% 56% 44%; }
  55%  { transform: translate(80px, -150px) rotate(-15deg) scale(1.15);
         border-radius: 44% 56% 48% 52% / 56% 44% 52% 48%; }
  80%  { transform: translate(-30px, -80px) rotate(10deg) scale(1.02);
         border-radius: 50% 50% 50% 50% / 56% 44% 56% 44%; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1);
         border-radius: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none !important; }
}

/* ─────── MAGNETIC BUTTON ─────── */
.btn, .link-channel {
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s, color 0.2s, box-shadow 0.2s;
  will-change: transform;
}

/* ─────── DOT NAVIGATION ─────── */
#dot-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 600px) { #dot-nav { display: none; } }

.dot-nav-item {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(200,97,58,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  flex-shrink: 0;
}
.dot-nav-item.active {
  background: var(--accent, #C8613A);
  transform: scale(1.6);
  box-shadow: 0 0 6px rgba(200,97,58,0.5);
}
.dot-nav-item::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30,20,10,0.82);
  color: #fff;
  font-family: var(--sans, sans-serif);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.dot-nav-item:hover::after { opacity: 1; }
.dot-nav-item:hover { background: rgba(200,97,58,0.6); }

/* ─────── SCROLL PROGRESS BAR (top) ─────── */
#scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent, #C8613A);
  z-index: 99999;
  transform-origin: left;
  pointer-events: none;
}

/* ─────── VERTICAL SCROLL RULER ─────── */
#scroll-ruler {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 2px;
  z-index: 9997;
  pointer-events: none;
}
#scroll-ruler-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200,97,58,0.12);
  border-radius: 2px;
}
#scroll-ruler-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent, #C8613A);
  border-radius: 2px;
  transition: height 0.08s linear;
}
#scroll-ruler-pct {
  position: absolute;
  left: 7px;
  top: 0%;
  font-family: var(--mono, 'Courier New', monospace);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--accent, #C8613A);
  line-height: 1;
  white-space: nowrap;
  transition: top 0.08s linear;
}
@media (max-width: 600px) {
  #scroll-ruler-pct {
    left: auto;
    right: 8px;
    font-size: 10px;
    font-weight: 600;
  }
}
/* ════════════════════════════════════════════
   QUIZ — interactive symptom checker
   ════════════════════════════════════════════ */
.quiz-section {
  padding-top: 8px;
  padding-bottom: 48px;
}

/* ─────── STAGE CARD ─────── */
.quiz-stage {
  background: linear-gradient(165deg, #FDF4E8 0%, #FEF7F0 35%, #FBF3E9 100%);
  border-left: 3px solid var(--accent, #B8572F);
  border-top: 1px solid rgba(184,87,47,0.08);
  border-right: 1px solid rgba(184,87,47,0.08);
  border-bottom: 1px solid rgba(184,87,47,0.08);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 48px -20px rgba(184,87,47,0.22), 0 4px 16px -4px rgba(184,87,47,0.1);
  position: relative;
  overflow: hidden;
}
.quiz-stage::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(184,87,47,0.04) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 100%, rgba(184,87,47,0.03) 0%, transparent 45%);
  pointer-events: none;
  border-radius: inherit;
}
/* ─────── INTRO SCREEN ─────── */
.quiz-intro {
  text-align: center;
  padding: 48px 20px 32px;
}
.quiz-intro-title {
  margin-bottom: 12px;
}
.quiz-intro-sub {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2, #555);
  margin: 0 0 28px;
  letter-spacing: -0.005em;
}
.quiz-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 38px;
  background: var(--accent, #C8613A);
  color: #FFF8F0;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 16px 32px -14px rgba(184,87,47,.55);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s;
}
.quiz-start-btn:hover {
  transform: translateY(-1px);
  background: #C96436;
}
.quiz-start-btn .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}
.quiz-intro-disclaimer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #888);
}

/* ─────── PROGRESS ─────── */
.quiz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(200,97,58,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent, #C8613A);
  border-radius: 3px;
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.quiz-progress-text {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent, #C8613A);
  white-space: nowrap;
}

/* ─────── QUESTION CARD ─────── */
.quiz-question-card {
  transition: opacity .35s ease, transform .35s ease;
}
.quiz-question-card.quiz-exit {
  opacity: 0;
  transform: translateY(-12px);
}
.quiz-question-card.quiz-enter {
  animation: quiz-in .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes quiz-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-question-text {
  font-family: var(--serif);
  font-size: clamp(22px, 5.8vw, 28px);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink, #2A2520);
  margin: 0 0 22px;
  text-wrap: balance;
}

/* ─────── ANSWER CARDS ─────── */
.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-answer {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255,250,244,0.65);
  border: 1px solid rgba(200,97,58,0.12);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink, #2A2520);
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.quiz-answer:hover {
  border-color: rgba(200,97,58,0.35);
  background: rgba(255,248,242,0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184,87,47,0.1);
}
.quiz-answer:disabled {
  pointer-events: none;
  opacity: 0.55;
}
.quiz-answer-selected {
  border-color: var(--accent, #C8613A);
  background: rgba(200,97,58,0.08);
  box-shadow: 0 0 0 1px var(--accent, #C8613A) inset;
}
.quiz-answer-selected:hover {
  border-color: var(--accent, #C8613A);
}

/* ─────── SKIP ─────── */
.quiz-skip {
  display: block;
  margin: 20px auto 0;
  padding: 8px 18px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  cursor: pointer;
  transition: color .2s;
}
.quiz-skip:hover {
  color: var(--ink, #555);
}
.quiz-skip:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ─────── RESULT SCREEN ─────── */
.quiz-result {
  text-align: center;
  padding: 32px 0 16px;
}
.quiz-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent, #C8613A);
  color: #FFF8F0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.quiz-result-title {
  margin-bottom: 16px;
}
.quiz-result-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-2, #555);
  max-width: 38ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}

/* ─────── CTA BLOCK IN RESULT ─────── */
.quiz-cta-block {
  padding: 28px 20px;
  background: rgba(255,250,244,0.5);
  border: 1px solid rgba(200,97,58,0.1);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quiz-cta-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink, #2A2520);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.quiz-cta-block .btn-accent {
  width: 100%;
}
.quiz-max-btn {
  width: 100%;
  margin-top: 0;
}

/* ─────── DISCLAIMER + RESTART ─────── */
.quiz-disclaimer {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.quiz-restart-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: none;
  border: 1px solid rgba(200,97,58,0.2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #888);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.quiz-restart-btn:hover {
  border-color: var(--accent, #C8613A);
  color: var(--accent, #C8613A);
}

/* ─────── FOOTER DISCLAIMER ─────── */
.footer-disclaimer {
  margin-top: 16px;
  padding: 12px 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2, #999);
  border-top: 1px solid rgba(0,0,0,0.05);
}


/* ═══════════════════════════════════════════
   SONG CARD — песня про Мириду
   Автозапуска нет, только по нажатию.
   ═══════════════════════════════════════════ */

.song-card {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  transition: border-color .4s cubic-bezier(.65,0,.35,1),
              box-shadow .4s cubic-bezier(.65,0,.35,1);
}
.song-card.is-playing {
  border-color: var(--accent, #C8613A);
  box-shadow: 0 0 0 1px var(--accent, #C8613A) inset,
              0 18px 50px -20px rgba(200, 97, 58, 0.35);
}

.song-cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-2);
}
.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Кнопка поверх обложки — крупная цель для пальца */
.song-play-over {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(20, 16, 14, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px -8px rgba(0,0,0,.45);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1),
              background .25s ease;
}
.song-play-over:hover { transform: translate(-50%,-50%) scale(1.07); }
.song-play-over:active { transform: translate(-50%,-50%) scale(0.96); }
.song-play-over.is-playing { background: var(--accent, #C8613A); }
.song-play-over svg { width: 26px; height: 26px; }
.song-play-over.is-loading { animation: song-pulse 1s ease-in-out infinite; }

@keyframes song-pulse {
  0%,100% { opacity: 1; }
  50%     { opacity: .55; }
}

.song-body { padding: 28px 24px 30px; }

.song-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent, #C8613A);
  margin: 0 0 10px;
}
.song-title {
  margin: 0 0 12px;
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.28;
}
.song-note {
  margin: 0 0 22px;
  color: var(--ink-2, #666);
  font-size: 15px;
  line-height: 1.6;
}

.song-ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.song-play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease,
              border-color .25s ease, transform .2s ease;
}
.song-play:hover { border-color: var(--accent, #C8613A); }
.song-play:active { transform: scale(.97); }
.song-play.is-playing {
  background: var(--accent, #C8613A);
  border-color: var(--accent, #C8613A);
  color: #fff;
}
.song-play svg { width: 15px; height: 15px; }

.song-track-wrap {
  flex: 1 1 190px;
  min-width: 0;
}
.song-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.song-track::before {
  /* увеличенная зона нажатия, невидимая */
  content: '';
  position: absolute;
  inset: -12px 0;
}
.song-track-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent, #C8613A);
  transition: width .12s linear;
}
.song-time {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3, #999);
}

/* Громкость — только на устройствах с мышью.
   На телефоне громкость крутится кнопками самого телефона. */
.song-vol { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 820px) {
  .song-vol {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    max-width: 220px;
  }
  .song-vol-icon { font-size: 14px; opacity: .6; }
  .song-vol-range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--line);
    border-radius: 999px;
    cursor: pointer;
  }
  .song-vol-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent, #C8613A);
    cursor: pointer;
  }
  .song-vol-range::-moz-range-thumb {
    width: 14px; height: 14px;
    border: none;
    border-radius: 50%;
    background: var(--accent, #C8613A);
    cursor: pointer;
  }
}

/* Десктоп — фото слева, текст справа */
@media (min-width: 820px) {
  .song-card {
    display: grid;
    grid-template-columns: minmax(0, 300px) 1fr;
    align-items: stretch;
  }
  .song-cover { aspect-ratio: auto; height: 100%; }
  .song-body { padding: 36px 34px; align-self: center; }
}
