/* Pregnancy funnel v3 — backbone fonts, living gradients, question path */

@property --funnel-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

body {
  background: #05040a;
}

.page--pregnancy.page--funnel-v3 {
  --pg-bg: transparent;
  --pg-rose: #e11d8f;
  --pg-violet: #7c3aed;
  --pg-teal: #0d9488;
  --pg-gold: #c8a4dc;
  --pg-text: #f4f0f6;
  --pg-text-soft: rgba(244, 240, 246, 0.72);
  --pg-line: rgba(255, 255, 255, 0.1);
  --pg-font-display: var(--font-body);
  --pg-font-ui: var(--font-body);
  min-height: 100dvh;
  background: transparent;
  color: var(--pg-text);
  font-family: var(--pg-font-ui);
  overflow-x: hidden;
  position: relative;
}

/* Funnel backdrop — CSS stars + silhouette (no WebGL, no canvas) */
.funnel-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #05040a;
}

.funnel-scene__stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.72;
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 15% 62%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 22% 28%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 31% 8%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 38% 78%, rgba(255, 255, 255, 0.58), transparent),
    radial-gradient(1px 1px at 48% 22%, rgba(255, 255, 255, 0.62), transparent),
    radial-gradient(1px 1px at 55% 52%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 64% 16%, rgba(255, 255, 255, 0.68), transparent),
    radial-gradient(1.2px 1.2px at 71% 68%, rgba(255, 255, 255, 0.52), transparent),
    radial-gradient(1px 1px at 79% 38%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 86% 12%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 91% 72%, rgba(255, 255, 255, 0.48), transparent),
    radial-gradient(1px 1px at 94% 44%, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 42% 92%, rgba(255, 255, 255, 0.38), transparent),
    radial-gradient(1.2px 1.2px at 58% 6%, rgba(255, 255, 255, 0.7), transparent);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.funnel-scene__stars::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 6% 42%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 26% 18%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 36% 58%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 52% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 68% 82%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 82% 56%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 96% 24%, rgba(255, 255, 255, 0.42), transparent);
  background-size: 100% 100%;
  animation: funnel-stars-twinkle-slow 9s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: no-preference) {
  .funnel-scene__stars {
    animation: funnel-stars-twinkle 6s ease-in-out infinite alternate;
  }
}

@keyframes funnel-stars-twinkle {
  from { opacity: 0.55; }
  to { opacity: 0.88; }
}

@keyframes funnel-stars-twinkle-slow {
  from { opacity: 0.35; }
  to { opacity: 0.65; }
}

/* Падающая звезда — слева→вправо, вниз; слой 2 (над backdrop, под виньеткой и текстом) */
.funnel-scene__shooting-star {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 8%;
  width: min(190px, 34vw);
  height: 1.5px;
  opacity: 0;
  pointer-events: none;
  transform-origin: 100% 50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(255, 255, 255, 0.48) 100%
  );
  transform: translate(0, 0) rotate(46deg);
  will-change: transform, opacity;
}

.page--funnel-v3.is-hero-shooting.is-shooting-star-armed .funnel-scene__shooting-star {
  animation: funnel-shooting-star 1.4s ease-out 0.65s 1 forwards;
}

@keyframes funnel-shooting-star {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(46deg);
  }
  15% {
    opacity: 0.52;
  }
  85% {
    opacity: 0.32;
    transform: translate(44vw, 42vh) rotate(46deg);
  }
  100% {
    opacity: 0;
    transform: translate(48vw, 46vh) rotate(46deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-scene__stars,
  .funnel-scene__stars::after {
    animation: none;
    opacity: 0.65;
  }

  .funnel-scene__shooting-star {
    display: none;
  }
}

/* Мягкий переход слева → прозрачнее справа (без mask — иначе видны вертикальные полосы). */
.funnel-scene__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    #05040a 0%,
    #05040a 36%,
    rgba(5, 4, 10, 0.92) 48%,
    rgba(5, 4, 10, 0.55) 62%,
    rgba(5, 4, 10, 0.12) 78%,
    transparent 100%
  );
}

.funnel-scene__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 95% at 50% 50%, transparent 52%, rgba(5, 4, 10, 0.28) 100%),
    radial-gradient(ellipse 70% 50% at 88% 35%, transparent 40%, rgba(90, 60, 120, 0.06) 100%);
}

/* Chrome */
.page--funnel-v3 .site-chrome {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
}

.page--funnel-v3 .brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--pg-font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pg-text-soft);
}

.brand-mark__sigil {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: conic-gradient(from var(--funnel-angle), var(--pg-rose), var(--pg-violet), var(--pg-teal), var(--pg-rose));
  box-shadow: 0 0 20px rgba(225, 29, 143, 0.45);
  animation: funnel-angle-spin 12s linear infinite;
}

@keyframes funnel-angle-spin {
  to { --funnel-angle: 360deg; }
}

.page--funnel-v3 .ui-lang-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--pg-line);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.page--funnel-v3 .ui-lang-btn {
  font-family: var(--pg-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--pg-text-soft);
  cursor: pointer;
}

.page--funnel-v3 .ui-lang-btn[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pg-text);
}

/* Funnel chapters */
.experience-intake {
  position: relative;
  z-index: 5;
}

.funnel {
  position: relative;
}

.funnel__chapter {
  --handoff: 0;
  position: relative;
  padding: clamp(40px, 5vh, 64px) clamp(20px, 4vw, 48px);
}

.funnel__chapter--hero {
  min-height: 0;
  padding-top: clamp(24px, 4vh, 48px);
  padding-bottom: clamp(32px, 5vh, 56px);
}

.funnel__chapter--hero .funnel__stage-3d {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

/* Maternal contour — 7 bp: xl base · lg ≤1023 · tb ≤860 · md ≤767 · sm ≤639 · xs ≤479 · 2xs ≤390 */
.funnel-maternal {
  --maternal-w: min(34vw, 380px);
  --maternal-h: min(72vh, 620px);
  --maternal-bottom: clamp(32px, 8vh, 100px);
  --maternal-alpha: 0.22;
  position: absolute;
  right: 0;
  left: auto;
  bottom: var(--maternal-bottom);
  z-index: 5;
  width: var(--maternal-w);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

.funnel-maternal picture {
  display: block;
  line-height: 0;
}

.funnel-maternal__art {
  display: block;
  --maternal-art-w: min(var(--maternal-w), calc(var(--maternal-h) * 471 / 1024));
  width: var(--maternal-art-w);
  height: auto;
  max-height: var(--maternal-h);
  flex-shrink: 0;
  object-fit: contain;
  object-position: right bottom;
  opacity: var(--maternal-alpha);
  background: transparent;
}

@media (max-width: 1023px) {
  .funnel-maternal {
    --maternal-w: min(36vw, 360px);
    --maternal-h: min(70vh, 580px);
    --maternal-alpha: 0.21;
  }
}

@media (max-width: 860px) {
  .funnel-maternal {
    --maternal-w: min(32vw, 320px);
    --maternal-h: min(68vh, 520px);
    --maternal-bottom: clamp(28px, 7vh, 88px);
    --maternal-alpha: 0.2;
  }
}

@media (max-width: 767px) {
  .funnel-maternal {
    --maternal-w: min(40vw, 300px);
    --maternal-h: min(64vh, 480px);
    --maternal-alpha: 0.19;
  }

}

@media (max-width: 639px) {
  .funnel-maternal {
    --maternal-w: min(44vw, 260px);
    --maternal-h: min(58vh, 440px);
    --maternal-bottom: clamp(24px, 6vh, 72px);
    --maternal-alpha: 0.18;
  }
}

@media (max-width: 479px) {
  .funnel-maternal {
    --maternal-w: min(48vw, 220px);
    --maternal-h: min(52vh, 400px);
    --maternal-alpha: 0.17;
  }

}

@media (max-width: 390px) {
  .funnel-maternal {
    --maternal-w: min(52vw, 190px);
    --maternal-h: min(48vh, 360px);
    --maternal-bottom: 20px;
    --maternal-alpha: 0.16;
  }
}

.site-footer {
  position: relative;
  z-index: 6;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vh, 56px) clamp(20px, 4vw, 48px) clamp(48px, 8vh, 80px);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__lead {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(244, 240, 246, 0.52);
}

.site-footer__legal {
  margin: 0 0 16px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(244, 240, 246, 0.36);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin: 0 0 16px;
  font-size: 0.75rem;
}

.site-footer__links a {
  color: rgba(220, 180, 230, 0.72);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: rgba(248, 244, 252, 0.9);
  text-decoration: underline;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 246, 0.28);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 4, 10, 0.72);
  backdrop-filter: blur(6px);
}

.legal-modal__dialog {
  position: relative;
  max-width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 14px;
  border: 1px solid rgba(200, 140, 190, 0.22);
  background: #120e18;
  color: rgba(248, 244, 252, 0.9);
  font-size: 0.88rem;
  line-height: 1.55;
}

.legal-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: rgba(248, 244, 252, 0.65);
  font-size: 1.5rem;
  cursor: pointer;
}

body.legal-modal-open {
  overflow: hidden;
}

.funnel-faq {
  margin: 24px 0 0;
  padding: 0;
}

.funnel-faq__item {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pg-line);
}

.funnel-faq__q {
  font-family: var(--pg-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.funnel-faq__a {
  margin: 0;
  color: var(--pg-text-soft);
  line-height: 1.6;
}

.funnel__chapter-scroll,
.funnel__stage-3d {
  position: relative;
  height: auto;
  min-height: 0;
}

@media (max-width: 900px) {
  .funnel__chapter--hero .funnel__stage-3d {
    grid-template-columns: 1fr;
  }
}

.funnel__inner--3d {
  position: relative;
  z-index: 2;
  width: 100%;
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.funnel__chapter:not(.is-visible) .funnel__inner--3d {
  opacity: 0.55;
  transform: translateY(12px);
}

.funnel__chapter.is-active-chapter .funnel__inner--3d {
  opacity: 1;
  transform: translateY(0);
}

.funnel__chapter-glow {
  position: absolute;
  inset: 12% 8%;
  border-radius: 48px;
  opacity: calc(0.06 + var(--chapter-progress) * 0.12);
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(124, 58, 237, 0.12), transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  transition: opacity 0.3s;
}

.funnel__chapter--hero .funnel__chapter-glow {
  background: radial-gradient(ellipse 65% 55% at 28% 38%, rgba(180, 80, 140, 0.1), transparent 70%);
  opacity: 0.08;
}

.funnel__chapter--promise .funnel__chapter-glow,
.funnel__chapter--steps .funnel__chapter-glow,
.funnel__chapter--topics .funnel__chapter-glow,
.funnel__chapter--closing .funnel__chapter-glow {
  background: radial-gradient(ellipse 70% 60% at 40% 45%, rgba(124, 58, 237, 0.1), transparent 72%);
}

.funnel__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.funnel__inner--narrow { max-width: 720px; }
.funnel__inner--center { text-align: center; }

.funnel__eyebrow {
  font-family: var(--pg-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pg-text-soft);
  margin: 0 0 20px;
}

.funnel__title {
  font-family: var(--pg-font-ui);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: rgba(248, 244, 252, 0.96);
}

.funnel__h2 {
  font-family: var(--pg-font-ui);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
}

.funnel__lead,
.funnel__prose {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--pg-text-soft);
  margin: 0 0 28px;
  max-width: 52ch;
}

.funnel__inner--center .funnel__prose,
.funnel__inner--center .funnel__lead {
  margin-left: auto;
  margin-right: auto;
}

.funnel__lead--compact {
  font-size: 1rem;
  margin-bottom: 32px;
}

.funnel-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.funnel-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--pg-text-soft);
}

.funnel-trust svg {
  width: 18px;
  height: 18px;
  color: var(--pg-rose);
  flex-shrink: 0;
}

.funnel-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.funnel-step {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--pg-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
}

.funnel-step__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--pg-rose), var(--pg-violet));
  color: #fff;
}

.funnel-step__title {
  font-family: var(--pg-font-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  font-weight: 500;
}

.funnel-step__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pg-text-soft);
}

.funnel-topics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.funnel-topic {
  text-align: left;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--pg-line);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  color: inherit;
  font-family: inherit;
}

.funnel-topic:hover {
  border-color: rgba(225, 29, 143, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.funnel-topic__label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.funnel-topic__hint {
  display: block;
  font-size: 12px;
  color: var(--pg-text-soft);
}

.funnel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: var(--pg-font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.funnel-cta--primary {
  color: rgba(252, 246, 255, 0.96);
  background: linear-gradient(135deg, rgba(180, 55, 125, 0.55) 0%, rgba(105, 55, 175, 0.52) 100%);
  border: 1px solid rgba(200, 140, 190, 0.28);
  box-shadow: 0 8px 24px rgba(60, 20, 50, 0.22);
}

.funnel-cta--primary:hover {
  transform: translateY(-1px);
  filter: none;
  background: linear-gradient(135deg, rgba(195, 65, 135, 0.6) 0%, rgba(115, 60, 185, 0.56) 100%);
}

.funnel-cta--secondary {
  width: 100%;
  margin-top: 8px;
  color: var(--pg-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--pg-line);
}

.funnel-cta--submit {
  width: 100%;
  margin-top: 16px;
}

#marketingFunnel.is-dimmed {
  opacity: 0.35;
  filter: saturate(0.7);
  pointer-events: none;
  transition: opacity 0.4s, filter 0.4s;
}

/* Question path — backbone intake modal (outside collapsed .experience-intake) */
.question-path {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(12px, 4vh, 32px) clamp(12px, 3vw, 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.question-path[hidden] {
  display: none !important;
}

.question-path__backdrop {
  position: fixed;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(6, 4, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.question-path__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(860px, 100%);
  margin: auto;
  animation: path-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes path-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.question-path .input-section {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  max-width: none;
  --form-shell-width: 100%;
  --form-font: var(--pg-font-ui, var(--font-body));
  font-family: var(--form-font);
  --form-muted: rgba(194, 158, 218, 0.68);
  --form-hint-color: rgba(168, 138, 200, 0.52);
  --form-border: rgba(140, 100, 175, 0.22);
  --form-bg: rgba(16, 10, 24, 0.62);
  --form-focus-border: rgba(200, 90, 160, 0.42);
  --form-focus-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(124, 58, 237, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
  background:
    radial-gradient(ellipse 120% 70% at 50% -30%, rgba(124, 58, 237, 0.14), transparent 58%),
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(225, 29, 143, 0.1), transparent 52%),
    linear-gradient(165deg, rgba(18, 12, 26, 0.97) 0%, rgba(10, 8, 16, 0.98) 100%);
  border: 1px solid rgba(160, 110, 190, 0.18);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(220, 180, 240, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.question-path #chartForm {
  text-align: left;
  font-family: var(--form-font);
}

.question-path #chartForm .form-label,
.question-path #chartForm input.form-control,
.question-path #chartForm textarea.form-control,
.question-path #chartForm .field-error,
.question-path #chartForm .city-hint,
.question-path #chartForm .pick-input,
.question-path #chartForm .form-option__text,
.question-path #chartForm .suggest-dropdown,
.question-path #chartForm .suggest-name,
.question-path #chartForm .suggest-empty {
  font-family: var(--form-font);
}

.question-path #chartForm .form-label {
  font-size: var(--form-label-size);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--form-muted);
}

.question-path #chartForm input.form-control,
.question-path #chartForm textarea.form-control {
  font-size: var(--form-fc-size);
  background: var(--form-bg);
  border-color: var(--form-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.question-path #chartForm .form-control::placeholder {
  color: rgba(150, 130, 180, 0.42);
  font-style: normal;
}

.question-path #chartForm input.form-control:focus,
.question-path #chartForm textarea.form-control:focus {
  border-color: var(--form-focus-border);
  background: rgba(20, 12, 30, 0.78);
  box-shadow: var(--form-focus-shadow);
}

.question-path #chartForm .city-hint {
  color: var(--form-hint-color);
}

.question-path #chartForm .form-extras {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(140, 100, 175, 0.14);
}

.question-path #chartForm .form-option__text {
  color: rgba(210, 198, 228, 0.78);
  font-size: var(--form-fc-size-sm);
}

.question-path #chartForm .form-option__mark {
  border-color: rgba(150, 110, 185, 0.32);
  background: rgba(14, 10, 22, 0.5);
}

.question-path #chartForm .form-option input:checked + .form-option__mark {
  border-color: rgba(200, 90, 160, 0.48);
  background: rgba(124, 58, 237, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.question-path #chartForm .form-option input:checked + .form-option__mark::after {
  border-color: rgba(240, 210, 235, 0.92);
}

.question-path #chartForm .pick-input {
  border-color: var(--form-border);
  background: var(--form-bg);
}

.question-path #chartForm .pick-input:focus {
  border-color: var(--form-focus-border);
}

.question-path__more {
  margin: 4px 0 2px;
  text-align: left;
}

.question-path .btn-toggle-coords {
  display: inline-block;
  margin: 8px 0 0;
  padding: 0;
  font-family: var(--form-font);
  font-size: var(--form-fc-size-sm);
  font-weight: 400;
  color: rgba(176, 152, 205, 0.62);
  border: none;
  border-bottom: 1px solid rgba(150, 110, 185, 0.28);
  border-radius: 0;
}

.question-path .btn-toggle-coords:hover {
  color: rgba(220, 190, 235, 0.88);
  border-bottom-color: rgba(200, 90, 160, 0.45);
}

.question-path .coordinates-row.visible {
  margin-top: 10px;
}

.question-path__submit {
  margin-top: calc(var(--form-stack) + 4px);
  padding: var(--form-btn-pad, 14px) var(--form-field-pad-x, 16px);
  min-height: var(--form-btn-min-h, 46px);
  font-family: var(--form-font);
  font-size: var(--form-btn-size, 1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--form-radius, 12px);
  color: rgba(252, 246, 255, 0.96);
  background: linear-gradient(
    135deg,
    rgba(180, 50, 120, 0.52) 0%,
    rgba(110, 55, 175, 0.5) 55%,
    rgba(124, 58, 237, 0.42) 100%
  );
  border: 1px solid rgba(200, 130, 190, 0.28);
  box-shadow: 0 10px 28px rgba(80, 20, 60, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.question-path__submit:hover {
  background: linear-gradient(
    135deg,
    rgba(200, 60, 130, 0.58) 0%,
    rgba(120, 60, 185, 0.55) 55%,
    rgba(140, 70, 240, 0.48) 100%
  );
  border-color: rgba(220, 150, 210, 0.36);
  box-shadow: 0 12px 32px rgba(90, 25, 70, 0.28);
  transform: none;
}

.question-path__submit:active {
  transform: scale(0.99);
  box-shadow: 0 6px 18px rgba(80, 20, 60, 0.2);
}

.question-path__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 0 var(--form-stack, 12px);
}

.question-path__close,
.technical-veil__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px;
  font-family: var(--pg-font-ui, var(--font-body));
  font-size: 26px;
  font-weight: 200;
  line-height: 1;
  color: rgba(165, 158, 180, 0.72);
  cursor: pointer;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.question-path__close:hover,
.technical-veil__close:hover {
  color: rgba(215, 208, 228, 0.92);
}

.question-path__fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.question-path-open {
  overflow: hidden;
}

.page--pregnancy.page--intake-collapsed .experience-intake {
  display: none;
}

/* Loading */
.experience-loading {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(6, 5, 10, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.experience-loading.is-active {
  opacity: 1;
  visibility: visible;
}

.experience-loading__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(200, 140, 200, 0.9);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.45), 0 0 8px rgba(225, 29, 143, 0.35);
  animation: pg-pulse 2.8s ease-in-out infinite;
}

@keyframes pg-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

.experience-loading__text {
  font-family: var(--pg-font-ui);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--pg-text-soft);
}

/* Surface verdict */
.experience-surface {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 40px);
}

.experience-surface__question {
  font-family: var(--pg-font-ui);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
}

.experience-surface__moment {
  font-size: 14px;
  color: var(--pg-text-soft);
  margin: 0 0 32px;
}

.experience-verdict__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pg-rose);
  margin: 0 0 8px;
}

.experience-verdict__headline {
  font-family: var(--pg-font-ui);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.3;
}

.experience-verdict__sub {
  color: var(--pg-text-soft);
  line-height: 1.6;
  margin: 0 0 32px;
}

.experience-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 32px;
}

.experience-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--pg-line);
  background: rgba(255, 255, 255, 0.04);
}

.experience-card__kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pg-text-soft);
  margin: 0 0 8px;
}

.experience-card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.experience-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.experience-btn-veil,
.experience-btn-ghost {
  font-family: var(--pg-font-ui);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.experience-btn-veil {
  border: 1px solid rgba(200, 140, 190, 0.28);
  color: rgba(252, 246, 255, 0.94);
  background: linear-gradient(135deg, rgba(180, 55, 125, 0.45) 0%, rgba(105, 55, 175, 0.42) 100%);
}

.experience-btn-ghost {
  border: 1px solid var(--pg-line);
  background: transparent;
  color: var(--pg-text);
}

.experience-disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pg-text-soft);
}

/* Technical veil — full-screen chart; hides funnel + verdict underneath */
.page--pregnancy.page--veil-open .funnel-scene,
.page--pregnancy.page--veil-open .site-chrome,
.page--pregnancy.page--veil-open #experienceSurface {
  visibility: hidden;
  pointer-events: none;
}

.technical-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #05040a;
  color: var(--pg-text);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.technical-veil.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.technical-veil[hidden] {
  display: none !important;
}

.technical-veil__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 24px);
  border-bottom: 1px solid var(--pg-line);
  background: rgba(6, 5, 10, 0.95);
  backdrop-filter: blur(12px);
}

.technical-veil__title {
  font-family: var(--pg-font-display);
  font-size: 1.25rem;
  margin: 0;
  min-width: 0;
}

.technical-veil__body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) 48px;
}

.page--veil-open .technical-veil .result-column {
  width: 100%;
  max-width: 920px;
}

.page--veil-open .technical-veil .chart-question-frame {
  margin-top: 12px;
}

.page--veil-open .technical-veil .chart-visual {
  isolation: isolate;
}
