@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* MOBILE-ONLY PRODUCT CONTRACT: one 320–430px content column, including phone landscape. */
:root {
  color-scheme: light;
  --paper: #fff9f1;
  --paper-soft: #f7efe6;
  --paper-warm: #f1dfd3;
  --paper-rose: #eadce4;
  --ink: #241820;
  --ink-soft: #66535d;
  --ink-faint: #88737d;
  --plum: #4d203d;
  --plum-deep: #38142d;
  --plum-soft: #68405a;
  --terracotta: #b95f49;
  --terracotta-dark: #9d4938;
  --green: #356a55;
  --line: #dfd0c4;
  --line-strong: #c9b5a7;
  --error: #9f3341;
  --shadow: 0 18px 46px rgba(61, 34, 48, 0.12);
  --shadow-soft: 0 10px 30px rgba(61, 34, 48, 0.08);
  --font-display: "Newsreader", Georgia, serif;
  --font-ui: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --page-x: clamp(20px, 6.15vw, 26px);
  --section-y: clamp(52px, 16vw, 72px);
  --tap: 48px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius-card: 20px;
  --radius-control: 15px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: #e8ded4;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: #e8ded4;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-ui);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
label,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: pretty;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 12.3vw, 52px);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 9.3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.026em;
}

h3 {
  margin-bottom: 7px;
  font-size: 25px;
  line-height: 1.08;
}

p {
  color: var(--ink-soft);
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(185, 95, 73, 0.32);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width:min(100%,430px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(77, 32, 61, 0.06), 0 24px 70px rgba(61, 34, 48, 0.16);
}

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px var(--page-x);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 249, 241, 0.98);
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1.05;
  text-decoration: none;
}

.brand-lockup span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.brand-lockup small {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--plum);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.section,
.section-shell {
  padding: var(--section-y) var(--page-x);
  border-bottom: 1px solid var(--line);
}

.section-tone {
  background: var(--paper-soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading > p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 16px;
}

.eyebrow,
.offer-kicker {
  display: block;
  margin: 0 0 15px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.primary-cta,
.secondary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.primary-cta {
  padding: 15px 24px;
  background: var(--plum);
  color: #fffaf3;
  box-shadow: 0 10px 26px rgba(77, 32, 61, 0.18);
}

.primary-cta:active {
  background: var(--plum-deep);
  transform: translateY(1px);
}

.secondary-button {
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--plum);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--plum);
  font-size: 13px;
  font-weight: 650;
}

.section-cta {
  width: 100%;
  margin-top: 26px;
}

.cta-microcopy {
  margin: 15px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

/* Landing hero */
.hero {
  padding-top: 50px;
  background: var(--paper);
}

.hero-copy h1 {
  max-width: 370px;
}

.hero-body {
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.angle-note {
  margin-bottom: 0;
  padding-left: 13px;
  border-left: 2px solid var(--terracotta);
  color: var(--ink-faint);
  font-size: 12px;
}

.hero-mechanism {
  display: grid;
  min-height: 140px;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 34px 0;
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--paper-warm);
}

.hero-mechanism img {
  width: 106px;
  height: 122px;
  object-fit: contain;
}

.hero-mechanism div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-mechanism strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
}

.hero-mechanism span {
  color: var(--ink-faint);
  font-size: 11px;
}

.hero-actions {
  display: grid;
  justify-items: stretch;
  gap: 6px;
}

.hero-actions .text-link {
  justify-content: center;
}

.trust-row {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-faint);
  font-size: 11px;
}

.trust-row img {
  width: 17px;
  height: 17px;
}

/* Two-needs mechanism */
.contrast-pair {
  display: grid;
  gap: 14px;
}

.contrast-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--paper-warm);
}

.contrast-card:nth-child(2) {
  background: var(--paper-rose);
}

.contrast-card img {
  width: 38px;
  height: 38px;
}

.contrast-card h3 {
  font-size: 27px;
}

.contrast-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.pair-connector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffdf8;
  color: var(--ink-soft);
  font-size: 12px;
}

.pair-connector img {
  flex: 0 0 auto;
}

/* Focus cards */
.focus-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.focus-grid,
.option-stack {
  display: grid;
  gap: 12px;
}

.option-stack {
  margin: 0;
  padding: 0;
  border: 0;
}

.focus-card,
.choice-row {
  position: relative;
  display: grid;
  min-height: 105px;
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fffdf8;
}

.focus-card {
  grid-template-columns: 58px minmax(0, 1fr) 22px;
}

.focus-card:not(:has(.focus-art)) {
  grid-template-columns: minmax(0, 1fr) 22px;
}

.choice-row {
  grid-template-columns: minmax(0, 1fr) 22px;
}

.focus-card:has(input:checked),
.choice-row:has(input:checked) {
  border-color: var(--terracotta);
  background: var(--paper-warm);
  box-shadow: 0 0 0 2px rgba(185, 95, 73, 0.1);
}

.focus-card input,
.choice-row input[type="radio"],
.choice-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.focus-card:has(input:focus-visible),
.choice-row:has(input:focus-visible) {
  outline: 3px solid rgba(185, 95, 73, 0.28);
  outline-offset: 2px;
}

.focus-art {
  display: grid;
  width: 54px;
  height: 66px;
  place-items: center;
}

.focus-art img {
  width: 44px;
  height: 58px;
  object-fit: contain;
}

.focus-copy,
.choice-row > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.focus-copy strong,
.choice-row strong {
  color: var(--ink);
  font-size: 15px;
}

.focus-copy small,
.choice-row small {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.42;
}

.focus-check,
.choice-row > i {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
}

.focus-card:has(input:checked) .focus-check,
.choice-row:has(input:checked) > i {
  border: 5px solid var(--terracotta);
}

.multi-choice-row > i {
  border-radius: 6px;
}

.multi-choice-row:has(input:checked) > i {
  position: relative;
  border: 0;
  background: var(--terracotta);
}

.multi-choice-row:has(input:checked) > i::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.choice-row:has(input:disabled:not(:checked)) {
  cursor: not-allowed;
  opacity: 0.48;
}

.focus-form > .primary-cta {
  width: 100%;
  margin-top: 18px;
}

/* Process */
.numbered-heading > span {
  display: none;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.process-list li > div:last-child {
  padding-bottom: 26px;
}

.process-list h3 {
  margin-top: 5px;
  font-size: 24px;
}

.process-list p {
  margin-bottom: 0;
  font-size: 13px;
}

.process-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-rail span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
}

.process-rail i {
  width: 1px;
  min-height: 54px;
  flex: 1;
  background: var(--line-strong);
}

.process-list li:last-child i {
  display: none;
}

/* Free snapshot example */
.sample-snapshot {
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.sample-snapshot header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sample-need {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 17px;
}

.sample-need-charge {
  background: var(--paper-warm);
}

.sample-need-safety {
  background: var(--paper-rose);
}

.sample-need strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
}

.sample-need p {
  margin: 4px 0 0;
  font-size: 12px;
}

.sample-snapshot aside {
  margin-top: 15px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.sample-snapshot aside strong {
  color: var(--terracotta-dark);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-snapshot aside p {
  margin: 8px 0 0;
  font-size: 12px;
}

.sample-snapshot > small {
  display: block;
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 9px;
}

/* Report proof and human review */
.media-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-card);
  background: var(--paper-soft);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(36, 24, 32, 0.88);
  color: #fff9f1;
  font-size: 9px;
}

.report-portfolio-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.sample-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--plum);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.gallery-link {
  width: 100%;
}

.gallery-caption,
.quiet-disclaimer {
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.review-layout {
  display: grid;
  gap: 28px;
}

.review-portrait {
  aspect-ratio: 4 / 5;
}

.review-trust {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.review-trust li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.prototype-note,
.demo-note,
.mock-checkout-note {
  margin: 18px 0 0;
  padding: 14px 15px;
  border: 1px solid #d4b9a8;
  border-radius: 14px;
  background: #f8e8dd;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.prototype-note strong,
.demo-note strong,
.mock-checkout-note strong {
  color: var(--terracotta-dark);
}

.mock-checkout-note p,
.demo-note p {
  margin: 5px 0 0;
  font-size: inherit;
}

/* Offer card */
.main-offer-section {
  background: var(--plum);
}

.offer-card,
.checkout-offer-card {
  padding: 26px 22px;
  border-radius: var(--radius-card);
  background: var(--plum);
  color: #fff9f1;
  box-shadow: var(--shadow);
}

.main-offer-section .offer-card {
  padding: 0;
  box-shadow: none;
}

.offer-card h2,
.checkout-offer-card h2 {
  color: #fff9f1;
}

.offer-description {
  color: #dbc9d2;
  font-size: 15px;
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0;
  padding: 19px 0;
  border-block: 1px solid #765269;
}

.offer-price strong {
  color: #fff9f1;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 500;
  line-height: 0.9;
}

.offer-price span {
  color: #dbc9d2;
  font-size: 11px;
}

.offer-list,
.report-includes ul {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.offer-list li,
.report-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f4e8ee;
  font-size: 12px;
}

.offer-card .primary-cta,
.checkout-offer-card .primary-cta {
  width: 100%;
  background: #e9ac93;
  color: var(--plum);
}

.offer-proof-links {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.offer-proof-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.main-offer-section .offer-proof-links,
.main-offer-section .offer-trust {
  color: #dbc9d2;
}

.offer-trust {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--ink-faint);
  font-size: 10px;
  list-style: none;
  text-align: center;
}

/* FAQ and footer */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 70px;
  display: grid;
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  list-style: none;
}

.faq-list summary::after {
  color: var(--terracotta);
  content: "+";
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding: 0 36px 20px 0;
  font-size: 13px;
}

.final-cta-section {
  text-align: center;
}

.final-cta-section .primary-cta {
  width: 100%;
}

.site-footer {
  padding: 42px var(--page-x) calc(42px + var(--safe-bottom));
  border-top: 1px solid #765269;
  background: var(--plum-deep);
  color: #fff9f1;
}

.footer-inner {
  display: grid;
  gap: 22px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.footer-brand p,
.footer-disclaimer,
.footer-operator {
  margin-bottom: 0;
  color: #ccb8c3;
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: #f4e8ee;
  font-size: 11px;
}

/* Sticky CTAs */
.sticky-cta,
.sticky-form-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  width:min(100%,430px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  border-top: 1px solid #765269;
  background: rgba(56, 20, 45, 0.98);
  box-shadow: 0 -12px 28px rgba(61, 34, 48, 0.2);
}

.sticky-cta {
  transform: translateY(calc(100% + 10px));
  transition: transform 0.18s ease;
}

.sticky-cta.is-visible,
.sticky-form-cta {
  transform: translateY(0);
}

.sticky-cta p {
  min-width: 68px;
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.1;
}

.sticky-cta p strong {
  color: #fff9f1;
  font-family: var(--font-display);
  font-size: 20px;
}

.sticky-cta p span,
.sticky-form-cta > span {
  color: #cdb9c4;
  font-size: 8px;
}

.sticky-cta .primary-cta,
.sticky-form-cta .primary-cta {
  min-height: 50px;
  flex: 1;
  padding: 12px 14px;
  background: #e9ac93;
  color: var(--plum);
  font-size: 12px;
}

/* Ten-screen questionnaire */
.questionnaire {
  min-height: calc(100vh - 68px);
  padding: 24px var(--page-x) calc(118px + var(--safe-bottom));
  background: var(--paper);
}

.questionnaire-header {
  margin-bottom: 24px;
}

.quiet-back {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 12px;
  text-decoration: none;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--terracotta);
}

.question-card {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.question-card h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 9vw, 42px);
  line-height: 1.02;
}

[data-step-heading]:focus {
  outline: none;
}

.question-hint {
  margin-bottom: 26px;
  color: var(--ink-faint);
  font-size: 13px;
}

.focus-choice-row {
  grid-template-columns: 48px minmax(0, 1fr) 20px;
}

.focus-choice-row > img {
  width: 42px;
  height: 52px;
  object-fit: contain;
}

.birth-date-group {
  margin-bottom: 24px;
}

.time-options {
  margin-top: 8px;
  padding: 0;
  border: 0;
}

.time-options legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.grouped-options {
  margin-top: 24px;
}

.grouped-options:first-child {
  margin-top: 0;
}

.grouped-options legend,
.selection-instruction,
.consent-stack > legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.selection-instruction {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.selection-instruction span {
  color: var(--terracotta-dark);
  font-size: 10px;
  font-weight: 600;
}

.compact-choice-row {
  min-height: 70px;
  padding-block: 12px;
}

.selection-helper {
  margin: -8px 0 16px;
  color: var(--ink-soft);
  font-size: 12px;
}

.conditional-other,
.story-field,
.personal-question-field,
.birthplace-fields,
.consent-stack {
  margin-top: 22px;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 9px;
}

.field-meta .character-count {
  flex: 0 0 auto;
  margin: 0;
}

.consent-stack {
  padding: 0;
  border: 0;
}

.consent-stack .consent-row {
  margin-top: 10px;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group label {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.field-group label span {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 400;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  min-height: 56px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
}

.field-group textarea {
  min-height: 126px;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #9b8891;
}

.birth-time-field {
  margin-top: 18px;
}

.character-count,
.field-note {
  margin: 6px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
}

.character-count {
  text-align: right;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.form-actions .primary-cta {
  flex: 1;
}

.form-actions .secondary-button {
  min-width: 90px;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 15px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

.form-error-summary {
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #db9ca5;
  border-radius: 14px;
  background: #fae8eb;
}

.form-error-summary strong,
.form-error-summary p,
.field-error {
  color: var(--error);
}

.form-error-summary p,
.field-error {
  margin: 5px 0 0;
  font-size: 11px;
}

.consent-row {
  display: grid;
  cursor: pointer;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--terracotta);
}

/* Place autocomplete */
.place-autocomplete,
.birthplace-fields {
  position: relative;
}

.place-results {
  position: absolute;
  z-index: 10;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.place-results button {
  width: 100%;
  min-height: 62px;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.place-results button:last-child {
  border-bottom: 0;
}

.place-results button:active,
.place-results button:focus-visible {
  background: var(--paper-warm);
}

.place-results button strong {
  font-size: 13px;
}

.place-results button span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 10px;
}

/* Snapshot result */
.inner-main,
.offer-main,
.order-main,
.result-main {
  padding: 42px var(--page-x) 90px;
}

.result-hero,
.offer-page-heading,
.inner-hero {
  margin-bottom: 30px;
}

.result-hero > p:not(.eyebrow),
.offer-page-heading > p:not(.eyebrow),
.inner-hero > p:not(.eyebrow) {
  font-size: 15px;
}

.demo-chart-marker {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 11px;
  border: 1px solid #c68161;
  border-radius: 999px;
  background: #fff1e8;
  color: #8b442f;
  font-size: 8px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.snapshot-wheel {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.snapshot-wheel-art,
.snapshot-wheel-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.snapshot-wheel figcaption {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.snapshot-facts {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.snapshot-facts > .eyebrow {
  margin-bottom: -3px;
}

.snapshot-fact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fffdf8;
}

.snapshot-fact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 28px;
}

.snapshot-fact-card p {
  margin: 0 0 4px;
  color: var(--terracotta-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.snapshot-fact-card h2 {
  margin-bottom: 5px;
  font-size: 25px;
}

.snapshot-fact-card strong,
.snapshot-fact-card span,
.snapshot-fact-card small {
  display: block;
}

.snapshot-fact-card strong {
  margin-bottom: 9px;
  color: var(--terracotta-dark);
  font-size: 10px;
}

.snapshot-fact-card span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.48;
}

.snapshot-fact-card small {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.45;
}

.snapshot-needs {
  display: grid;
  gap: 14px;
}

.need-result {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-card);
}

.need-result-charge {
  background: var(--paper-warm);
}

.need-result-safety {
  background: var(--paper-rose);
}

.need-result-focus {
  border: 1px solid var(--line);
  background: #fffdf8;
}

.need-result > img {
  width: 38px;
  height: 42px;
  object-fit: contain;
}

.need-result p {
  margin-bottom: 5px;
  color: var(--terracotta-dark);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.need-result h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.need-result span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.chart-result-card,
.locked-sections,
.snapshot-offer-bar,
.personalisation-summary,
.report-includes,
.reviewer-proof {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fffdf8;
}

.chart-result-card summary,
.personalisation-summary summary {
  min-height: 42px;
  display: flex;
  cursor: pointer;
  align-items: center;
  color: var(--plum);
  font-size: 12px;
  font-weight: 650;
}

.birth-summary,
.personalisation-summary dl,
.order-reference {
  margin: 8px 0 0;
}

.birth-summary > div,
.personalisation-summary dl > div,
.order-reference > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.birth-summary dt,
.personalisation-summary dt,
.order-reference dt {
  color: var(--ink-faint);
  font-size: 10px;
}

.birth-summary dd,
.personalisation-summary dd,
.order-reference dd {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.placement-grid > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-soft);
  text-align: center;
}

.placement-grid span {
  display: block;
  color: var(--ink-faint);
  font-size: 8px;
  text-transform: uppercase;
}

.placement-grid strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.provider-note,
.uncertainty-note {
  margin: 16px 0 0;
  padding: 12px 13px;
  border-left: 2px solid var(--terracotta);
  color: var(--ink-faint);
  font-size: 9px;
}

.locked-sections h2 {
  font-size: 30px;
}

.locked-sections > p {
  font-size: 12px;
}

.locked-sections ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.locked-sections li {
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
}

.locked-sections li > span {
  color: var(--terracotta);
  font-size: 9px;
}

.locked-sections li strong {
  font-size: 11px;
}

.snapshot-offer-bar {
  border-color: #cfaa98;
  background: var(--paper-warm);
}

.snapshot-offer-bar > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3px 12px;
  margin-bottom: 16px;
}

.snapshot-offer-bar p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
}

.snapshot-offer-bar strong {
  grid-row: span 2;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
}

.snapshot-offer-bar span {
  color: var(--ink-faint);
  font-size: 9px;
}

.snapshot-offer-bar .primary-cta {
  width: 100%;
}

/* Offer and local checkout */
.report-includes {
  margin-top: 0;
}

.report-includes li {
  color: var(--ink-soft);
}

.reviewer-proof {
  display: grid;
  gap: 18px;
}

.reviewer-proof > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 30%;
}

.reviewer-proof h2 {
  font-size: 30px;
}

.reviewer-proof p:not(.eyebrow) {
  font-size: 12px;
}

.reviewer-proof small {
  display: block;
  color: var(--terracotta-dark);
  font-size: 9px;
}

.checkout-offer-card {
  margin-top: 22px;
}

.order-summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: 20px 0 8px;
  padding: 18px 0;
  border-block: 1px solid #765269;
}

.order-summary-line span {
  color: #f4e8ee;
  font-size: 12px;
}

.order-summary-line strong {
  color: #fff9f1;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
}

.checkout-terms {
  color: #cdb9c4;
  font-size: 10px;
}

.checkout-form {
  margin-top: 20px;
}

.checkout-email-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid #765269;
  border-radius: 14px;
}

.checkout-email-summary span {
  grid-column: 1 / -1;
  color: #cdb9c4;
  font-size: 9px;
}

.checkout-email-summary strong {
  overflow-wrap: anywhere;
  color: #fff9f1;
  font-size: 12px;
}

.checkout-email-summary a {
  color: #efb89f;
  font-size: 10px;
}

.checkout-offer-card .field-group label {
  color: #fff9f1;
}

.payment-placeholder {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed #8e6b80;
  border-radius: 14px;
  color: #cdb9c4;
  font-size: 10px;
}

.centered-link {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}

/* Confirmation */
.order-card {
  text-align: center;
}

.order-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.status-timeline {
  margin: 28px 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.status-timeline li {
  position: relative;
  display: grid;
  min-height: 86px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.status-timeline li:not(:last-child)::after {
  position: absolute;
  top: 28px;
  bottom: 6px;
  left: 10px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.status-timeline img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.status-timeline strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.status-timeline span {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 10px;
}

.order-reference {
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-soft);
  text-align: left;
}

.order-card .primary-cta {
  width: 100%;
}

/* Supporting pages */
.methodology-visual {
  display: grid;
  place-items: center;
  margin: 0 0 28px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--paper-warm);
}

.methodology-visual img {
  width: 190px;
  height: 190px;
}

.methodology-visual figcaption {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 8px;
}

.methodology-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.methodology-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.methodology-list li > span {
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 700;
}

.methodology-list h2 {
  font-size: 25px;
}

.methodology-list p {
  margin-bottom: 0;
  font-size: 12px;
}

.full-sample-pages {
  display: grid;
  gap: 14px;
}

.full-sample-pages article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fffdf8;
}

.full-sample-pages header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--terracotta);
  font-size: 10px;
}

.full-sample-pages img {
  width: 100px;
  height: 100px;
  margin: 24px auto;
  object-fit: contain;
}

.full-sample-pages h2 {
  font-size: 28px;
}

.full-sample-pages p {
  font-size: 12px;
}

.sample-lines {
  display: grid;
  gap: 6px;
}

.sample-lines i {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.sample-lines i:nth-child(2) {
  width: 82%;
}

.sample-lines i:nth-child(3) {
  width: 70%;
}

.sample-lines i:nth-child(4) {
  width: 52%;
}

.inner-cta {
  width: 100%;
  margin-top: 28px;
}

@media (max-width: 350px) {
  :root {
    --page-x: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-body {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-mechanism {
    min-height: 118px;
    grid-template-columns: 96px minmax(0, 1fr);
    margin: 24px 0;
    padding: 14px;
  }

  .hero-mechanism img {
    width: 84px;
    height: 96px;
  }

  .hero-mechanism strong {
    font-size: 24px;
  }

  .question-card {
    padding: 22px 16px;
  }

  .focus-card,
  .focus-choice-row {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    padding: 13px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-header {
    min-height: 58px;
  }

  .hero,
  .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .questionnaire {
    padding-top: 18px;
  }

  .sticky-form-cta {
    padding-top: 7px;
    padding-bottom: calc(7px + var(--safe-bottom));
  }

  .sticky-form-cta .primary-cta {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Living Celestial Story · Direction C2 */
@keyframes celestial-drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -5px); }
}

@keyframes celestial-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-7px, 4px); }
}

@keyframes celestial-drift-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, 6px); }
}

@keyframes celestial-breathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes celestial-dash-drift {
  to { stroke-dashoffset: -40; }
}

@keyframes celestial-node-pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.55); }
}

@keyframes celestial-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes ledger-node-confirm {
  0% { box-shadow: 0 0 0 0 rgba(75, 29, 51, 0.24); transform: translateY(-50%) scale(0.78); }
  65% { box-shadow: 0 0 0 7px rgba(75, 29, 51, 0); transform: translateY(-50%) scale(1.25); }
  100% { box-shadow: none; transform: translateY(-50%) scale(1); }
}

@keyframes ledger-number-confirm {
  0% { box-shadow: 0 0 0 0 rgba(75, 29, 51, 0.24); transform: scale(0.78); }
  65% { box-shadow: 0 0 0 7px rgba(75, 29, 51, 0); transform: scale(1.25); }
  100% { box-shadow: 0 0 0 3px rgba(75, 29, 51, 0.1); transform: scale(1); }
}

.celestial-story-page {
  --celestial-paper: #fbf6ee;
  --celestial-ink: #241b20;
  --celestial-copy: #6b5b54;
  --celestial-muted: #9a8a7c;
  --celestial-line: #e4d8c6;
  --celestial-line-strong: #c9b79c;
  --celestial-plum: #4b1d33;
  --celestial-copper: #a8785c;
  --celestial-gold: #a5813f;
  min-width: 320px;
  background: #e9e0d4;
}

.celestial-story-shell {
  min-height: 100svh;
  overflow: clip;
  background: var(--celestial-paper);
  box-shadow: 0 18px 44px -30px rgba(36, 27, 32, 0.5);
  transition: background-color 600ms ease;
}

.celestial-story-page h1,
.celestial-story-page h2,
.celestial-story-page h3 {
  color: var(--celestial-ink);
  font-weight: 400;
}

.celestial-story-page .content-in {
  animation: celestial-content-in 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* Persistent ten-node header */
.celestial-story-page .questionnaire {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 0 calc(90px + var(--safe-bottom));
  background: var(--celestial-paper);
}

.celestial-story-page .questionnaire-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0;
  padding: 12px 20px 10px;
  background: linear-gradient(180deg, var(--celestial-paper) 74%, rgba(251, 246, 238, 0));
}

.questionnaire-header-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.celestial-story-page .quiet-back {
  min-height: 44px;
  margin: 0;
  padding-right: 10px;
  color: #7a6b60;
  font-size: 13.5px;
}

.progress-step-label {
  color: var(--celestial-muted);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.constellation-progress {
  position: relative;
  height: 16px;
  margin-top: 4px;
}

.constellation-progress-track,
.constellation-progress-fill {
  position: absolute;
  top: 7px;
  left: 3px;
  height: 1px;
}

.constellation-progress-track {
  right: 3px;
  background: var(--celestial-line);
}

.constellation-progress-fill {
  width: calc((100% - 6px) * var(--progress));
  background: var(--celestial-plum);
  transition: width 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.constellation-progress-nodes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.constellation-progress-nodes i {
  width: 6px;
  height: 6px;
  display: block;
  border: 1px solid #d3c4ae;
  border-radius: 50%;
  background: #fffdf9;
  transition: all 260ms ease;
}

.constellation-progress-nodes i.is-complete,
.constellation-progress-nodes i.is-current {
  border-color: var(--celestial-plum);
  background: var(--celestial-plum);
}

.constellation-progress-nodes i.is-current {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px rgba(75, 29, 51, 0.12);
  animation: celestial-breathe 3.4s ease-in-out infinite;
}

/* One SVG composition, reconfigured by step and answer state */
.celestial-scene {
  --body-a-x: -34px;
  --body-a-y: 0px;
  --body-b-x: 34px;
  --body-b-y: 0px;
  --goal-x: 0px;
  --eclipse-x: -34px;
  --eclipse-y: 0px;
  --closeness-scale: 1;
  --story-progress: 1;
  position: relative;
  flex: 0 0 auto;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--celestial-line);
  background: radial-gradient(120% 140% at 22% 12%, #faf3e7 0%, #f2e7d6 60%, #eddfcc 100%);
  color: #8a4a2c;
  transition: height 480ms cubic-bezier(0.22, 0.61, 0.36, 1), background 620ms ease, border-color 620ms ease;
}

.celestial-scene--twilight {
  border-bottom-color: #3a2030;
  background: radial-gradient(130% 150% at 70% 10%, #3e2030 0%, #2c1622 62%, #23121c 100%);
  color: #e7a9a0;
}

.celestial-act-three .celestial-scene {
  background: radial-gradient(120% 140% at 30% 10%, #fcf7ec 0%, #f5eadb 62%, #efe2ce 100%);
  color: #8c6a2b;
}

.celestial-act-three .celestial-dust { color: #b59463; }
.celestial-act-three .celestial-orbits { color: #8c6a2b; }

.celestial-scene--step-1 { height: 156px; }
.celestial-scene--step-2,
.celestial-scene--step-3 { height: 132px; }
.celestial-scene--step-4 { height: 150px; }
.celestial-scene--step-5 { height: 158px; }
.celestial-scene--step-6 { height: 168px; }
.celestial-scene--step-7 { height: 176px; }
.celestial-scene--step-8 { height: 158px; }
.celestial-scene--step-9 { height: 196px; }
.celestial-scene--step-10 { height: 176px; }
.celestial-scene--step-11 { height: 300px; }
.celestial-scene--step-12 { height: 150px; }

.celestial-scene svg {
  display: block;
  overflow: visible;
}

.celestial-scene :is(.celestial-orbits > *, .celestial-patterns > *, .celestial-goal-star, .celestial-eclipse, .celestial-boundary-rings, .celestial-story, .celestial-quality, .celestial-wheel, .celestial-seal, .celestial-bodies) {
  transition: opacity 420ms ease, transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1), stroke-dashoffset 620ms cubic-bezier(0.22, 0.61, 0.36, 1), stroke-width 300ms ease;
}

.celestial-dust {
  color: #b99268;
  opacity: 0.8;
}

.celestial-scene--step-6 .celestial-dust { opacity: 0.32; }

.celestial-scene--twilight .celestial-dust {
  color: #e9c6a8;
}

.celestial-dust circle:nth-child(1),
.celestial-dust circle:nth-child(4),
.celestial-dust circle:nth-child(7) { animation: celestial-drift-a 19s ease-in-out infinite; }
.celestial-dust circle:nth-child(2),
.celestial-dust circle:nth-child(5) { animation: celestial-drift-b 22s ease-in-out infinite; }
.celestial-dust circle:nth-child(3),
.celestial-dust circle:nth-child(6) { animation: celestial-drift-c 17s ease-in-out infinite; }

.celestial-orbits { color: #8a4a2c; }
.celestial-scene--twilight .celestial-orbits { color: #e7a9a0; }
.celestial-orbits > * {
  opacity: 0;
  stroke-width: 0.75;
  transform-origin: 180px 96px;
}

.celestial-scene:is(.celestial-scene--step-1, .celestial-scene--step-2, .celestial-scene--step-3, .celestial-scene--step-4, .celestial-scene--step-5, .celestial-scene--step-6) .celestial-orbits > * { opacity: 0.2; }
.celestial-scene--twilight:is(.celestial-scene--step-4, .celestial-scene--step-5, .celestial-scene--step-6) .celestial-orbits > * { opacity: 0.16; }
.celestial-scene:is(.celestial-scene--step-7, .celestial-scene--step-8, .celestial-scene--step-9, .celestial-scene--step-10) .celestial-orbits > * { opacity: 0.08; }
.celestial-scene:is(.celestial-scene--step-1, .celestial-scene--step-5)[data-active-orbit="o1"] [data-orbit="o1"],
.celestial-scene:is(.celestial-scene--step-1, .celestial-scene--step-5)[data-active-orbit="o2"] [data-orbit="o2"],
.celestial-scene:is(.celestial-scene--step-1, .celestial-scene--step-5)[data-active-orbit="o3"] [data-orbit="o3"],
.celestial-scene:is(.celestial-scene--step-1, .celestial-scene--step-5)[data-active-orbit="o4"] [data-orbit="o4"] {
  opacity: 1;
  stroke-width: 1.6;
  transform: scale(var(--closeness-scale));
}
.celestial-scene--step-5[data-active-orbit="o1"] [data-orbit="o1"],
.celestial-scene--step-5[data-active-orbit="o2"] [data-orbit="o2"],
.celestial-scene--step-5[data-active-orbit="o3"] [data-orbit="o3"],
.celestial-scene--step-5[data-active-orbit="o4"] [data-orbit="o4"] { stroke-width: 1.2; }
.celestial-scene--step-5[data-distance-rhythm][data-active-orbit="o1"] [data-orbit="o1"],
.celestial-scene--step-5[data-distance-rhythm][data-active-orbit="o2"] [data-orbit="o2"],
.celestial-scene--step-5[data-distance-rhythm][data-active-orbit="o3"] [data-orbit="o3"],
.celestial-scene--step-5[data-distance-rhythm][data-active-orbit="o4"] [data-orbit="o4"] { animation: celestial-dash-drift 16s linear infinite; }
.celestial-scene--step-5[data-distance-rhythm="wide"][data-active-orbit="o1"] [data-orbit="o1"],
.celestial-scene--step-5[data-distance-rhythm="wide"][data-active-orbit="o2"] [data-orbit="o2"],
.celestial-scene--step-5[data-distance-rhythm="wide"][data-active-orbit="o3"] [data-orbit="o3"],
.celestial-scene--step-5[data-distance-rhythm="wide"][data-active-orbit="o4"] [data-orbit="o4"] { stroke-dasharray: 6 4; }
.celestial-scene--step-5[data-distance-rhythm="tight"][data-active-orbit="o1"] [data-orbit="o1"],
.celestial-scene--step-5[data-distance-rhythm="tight"][data-active-orbit="o2"] [data-orbit="o2"],
.celestial-scene--step-5[data-distance-rhythm="tight"][data-active-orbit="o3"] [data-orbit="o3"],
.celestial-scene--step-5[data-distance-rhythm="tight"][data-active-orbit="o4"] [data-orbit="o4"] { stroke-dasharray: 2 7; }

.celestial-patterns { color: #8a4a2c; }
.celestial-patterns path {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.celestial-scene--step-2 .celestial-patterns path { opacity: 0.18; }
.celestial-scene--step-2[data-pattern-count="1"] [data-pattern-loop="1"],
.celestial-scene--step-2[data-pattern-count="2"] [data-pattern-loop] {
  opacity: 0.9;
  stroke-dashoffset: 0;
}
.celestial-scene--step-2 [data-pattern-loop="1"] { stroke-width: 1.4; }
.celestial-scene--step-2 [data-pattern-loop="2"] { stroke-width: 1.2; }

.celestial-trail { opacity: 0; }
.celestial-scene--step-1 .celestial-trail { opacity: var(--trail-opacity, 0); }

.celestial-goal-star {
  opacity: 0;
  color: #946f2e;
  stroke-width: 0.9;
  transform: translate(var(--goal-x), var(--goal-y, 0px));
}
.celestial-scene--step-3 .celestial-goal-star { opacity: var(--goal-opacity, 0.35); }
.celestial-scene:is(.celestial-scene--step-4, .celestial-scene--step-5, .celestial-scene--step-6) .celestial-goal-star { opacity: 0.18; }

.celestial-eclipse { opacity: 0; color: #d9b172; }
.celestial-scene--step-4 .celestial-eclipse { opacity: 1; }
.celestial-eclipse-light { opacity: var(--fear-light, 0.12); }
.celestial-scene--step-4 .celestial-eclipse-light { animation: celestial-breathe 9s ease-in-out infinite; }
.celestial-eclipse-shadow {
  fill: #23121c;
  opacity: var(--pain-shadow, 0.4);
  transform: translate(var(--eclipse-x), var(--eclipse-y));
}
.celestial-eclipse-rim { opacity: 0.7; }

.celestial-boundary-rings { opacity: 0; color: #8c6a2b; }
.celestial-scene--step-8 .celestial-boundary-rings,
.celestial-scene--step-10 .celestial-boundary-rings,
.celestial-scene--step-11 .celestial-boundary-rings,
.celestial-scene--step-12 .celestial-boundary-rings { opacity: 1; }
.celestial-boundary-rings circle { opacity: 0.08; stroke-width: 0.6; }
.celestial-scene[data-boundary-count="1"] [data-boundary-ring="1"],
.celestial-scene[data-boundary-count="2"] [data-boundary-ring="1"],
.celestial-scene[data-boundary-count="3"] [data-boundary-ring="1"] { opacity: 0.85; stroke-width: 1.25; }
.celestial-scene[data-boundary-count="2"] [data-boundary-ring="2"],
.celestial-scene[data-boundary-count="3"] [data-boundary-ring="2"] { opacity: 0.7; stroke-width: 1.1; }
.celestial-scene[data-boundary-count="3"] [data-boundary-ring="3"] { opacity: 0.58; stroke-width: 1; }

.celestial-story { opacity: 0; color: #e7a9a0; }
.celestial-story path { stroke-dasharray: 1; stroke-dashoffset: var(--story-progress); }
.celestial-scene--step-6 .celestial-story { opacity: 0.9; }
.celestial-scene--step-7 .celestial-story { opacity: 0.2; }

.celestial-quality {
  opacity: 0;
  color: #8c6a2b;
  transform-origin: 180px 96px;
}
.celestial-scene--step-7 .celestial-quality,
.celestial-scene--step-8 .celestial-quality { opacity: 1; }
.celestial-scene--step-10 .celestial-quality { opacity: 0.3; }
.celestial-scene--step-11 .celestial-quality,
.celestial-scene--step-12 .celestial-quality { opacity: 0.16; transform: scale(0.62); }
.celestial-quality-link { stroke-dasharray: 1; stroke-dashoffset: 1; }
.celestial-scene[data-quality-count="3"] .celestial-quality-link { stroke-dashoffset: 0; }
.celestial-quality [data-quality-node] { fill: none; stroke: #d3bb94; stroke-width: 1; }
.celestial-scene[data-quality-count="1"] [data-quality-node="1"],
.celestial-scene[data-quality-count="2"] [data-quality-node="1"],
.celestial-scene[data-quality-count="2"] [data-quality-node="2"],
.celestial-scene[data-quality-count="3"] [data-quality-node] { fill: #8c6a2b; }
.celestial-quality-halo { opacity: 0; }
.celestial-quality-halo[data-quality-halo="1"] { transform-origin: 180px 52px; }
.celestial-quality-halo[data-quality-halo="2"] { transform-origin: 238px 124px; }
.celestial-quality-halo[data-quality-halo="3"] { transform-origin: 122px 124px; }
.celestial-scene[data-quality-count="1"] [data-quality-halo="1"],
.celestial-scene[data-quality-count="2"] [data-quality-halo="1"],
.celestial-scene[data-quality-count="2"] [data-quality-halo="2"],
.celestial-scene[data-quality-count="3"] [data-quality-halo] { opacity: 0.7; }
.celestial-scene--step-7[data-quality-count="3"] .celestial-quality-halo { animation: celestial-node-pulse 3.2s ease-in-out infinite; }
.celestial-scene--step-7[data-quality-count="3"] [data-quality-halo="2"] { animation-delay: 0.4s; }
.celestial-scene--step-7[data-quality-count="3"] [data-quality-halo="3"] { animation-delay: 0.8s; }

.celestial-wheel {
  opacity: 0;
  color: #8c6a2b;
  transform-origin: 180px 96px;
}
.celestial-scene--step-9 .celestial-wheel,
.celestial-scene--step-11 .celestial-wheel,
.celestial-scene--step-12 .celestial-wheel { opacity: 1; }
.celestial-scene--step-11 .celestial-wheel { transform: scale(1.06); }
.celestial-wheel-outer,
.celestial-wheel-inner { stroke-dasharray: 1; stroke-dashoffset: 1; }
.celestial-scene[data-has-birth-date="true"] .celestial-wheel-outer,
.celestial-scene--step-11 .celestial-wheel-outer,
.celestial-scene--step-12 .celestial-wheel-outer { stroke-dashoffset: 0; }
.celestial-scene[data-has-birth-city="true"] .celestial-wheel-inner,
.celestial-scene--step-11 .celestial-wheel-inner,
.celestial-scene--step-12 .celestial-wheel-inner { stroke-dashoffset: 0; }
.celestial-wheel-ticks { opacity: var(--wheel-precision, 0.15); }
.celestial-wheel-houses { opacity: var(--house-opacity, 0); }
.celestial-wheel-hub { opacity: 0; }
.celestial-scene[data-has-birth-date="true"] .celestial-wheel-hub { opacity: 0.5; }
.celestial-scene:is(.celestial-scene--step-11, .celestial-scene--step-12) .celestial-wheel-hub { opacity: 0.7; }
.celestial-aspects { color: #b87f86; opacity: 0; }
.celestial-scene--step-11 .celestial-aspects,
.celestial-scene--step-12 .celestial-aspects { opacity: 0.5; }
.celestial-planet { opacity: 0; }
.celestial-planet--moon { fill: #8c6a2b; }
.celestial-planet--venus { fill: #b87f86; }
.celestial-planet--mars { fill: #4b1d33; }
.celestial-scene[data-has-birth-date="true"] .celestial-planet--moon,
.celestial-scene[data-has-birth-city="true"] .celestial-planet--venus,
.celestial-scene[data-time-certainty]:not([data-time-certainty=""]) .celestial-planet--mars,
.celestial-scene--step-11 .celestial-planet,
.celestial-scene--step-12 .celestial-planet { opacity: 1; }

.celestial-seal { opacity: 0; color: #8c6a2b; }
.celestial-scene--step-10 .celestial-seal { opacity: 1; }
.celestial-seal-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.celestial-scene[data-consent-ready="partial"] .celestial-seal-ring,
.celestial-scene[data-consent-ready="complete"] .celestial-seal-ring { stroke-dashoffset: 0; }
.celestial-seal-star { opacity: 0.15; transform: scale(0.82); transform-origin: 180px 96px; }
.celestial-scene[data-consent-ready="complete"] .celestial-seal-star { opacity: 1; transform: scale(1); }

.celestial-bodies { opacity: 0; }
.celestial-scene--step-1 .celestial-bodies,
.celestial-scene--step-2 .celestial-bodies,
.celestial-scene--step-3 .celestial-bodies,
.celestial-scene--step-4 .celestial-bodies,
.celestial-scene--step-5 .celestial-bodies { opacity: 1; }
.celestial-scene--step-6 .celestial-bodies { opacity: 0.35; }
.celestial-body--a { color: #4b1d33; transform: translate(var(--body-a-x), var(--body-a-y)); }
.celestial-body--b { color: #b87f86; transform: translate(var(--body-b-x), var(--body-b-y)); }
.celestial-scene--twilight .celestial-body--a { color: #f2cda9; }
.celestial-body--a [data-ambient] { animation: celestial-drift-a 18s ease-in-out infinite; }
.celestial-body--b [data-ambient] { animation: celestial-drift-b 21s ease-in-out infinite; }

/* Ledger Rail question and answer system */
.celestial-story-page .question-card {
  flex: 1 1 auto;
  padding: 4px 20px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.celestial-story-page .question-intro .eyebrow,
.celestial-story-page .offer-page-heading .eyebrow,
.celestial-story-page .result-hero + .eyebrow {
  margin: 0 0 8px;
  color: var(--celestial-copper);
  font-size: 10.5px;
  letter-spacing: 0.18em;
}

.celestial-story-page .question-card h1 {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.celestial-story-page .question-hint {
  margin: 0 0 22px;
  color: var(--celestial-copy);
  font-size: 14.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.celestial-story-page .snapshot-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.celestial-story-page .option-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0 0 0 24px;
  border: 0;
}

.celestial-story-page .option-stack::before {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: #c9b79c;
  content: "";
}

.celestial-story-page .option-stack > legend:not(.sr-only) {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 0 8px 0;
  color: var(--celestial-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.celestial-story-page .option-stack > legend:not(.sr-only)::before {
  position: absolute;
  top: 5px;
  left: -23px;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--celestial-plum);
  box-shadow: 0 0 0 3px var(--celestial-paper);
  content: "";
}

.celestial-story-page .selection-instruction {
  display: block;
}

.celestial-story-page .selection-instruction > span {
  display: block;
  margin-top: 3px;
  color: var(--celestial-muted);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.celestial-story-page .choice-row,
.celestial-story-page .compact-choice-row,
.celestial-story-page .focus-choice-row {
  position: relative;
  min-height: 52px;
  display: block;
  padding: 14px 4px 14px 0;
  border: 0;
  border-bottom: 1px solid #ede3d4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.celestial-story-page .choice-row > span {
  display: block;
  gap: 0;
}

.celestial-story-page .choice-row strong {
  display: block;
  color: #2b2126;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty;
  transition: color 180ms ease, font-weight 180ms ease;
}

.celestial-story-page .choice-row small {
  display: block;
  margin-top: 4px;
  color: #7a6b60;
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}

.celestial-story-page .situation-choice-row strong {
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.25;
}

.celestial-story-page .choice-row > i,
.celestial-story-page .multi-choice-row > i {
  position: absolute;
  top: 50%;
  left: -21px;
  z-index: 3;
  width: 9px;
  height: 9px;
  border: 1px solid #c9b79c;
  border-radius: 50%;
  background: var(--celestial-paper);
  transform: translateY(-50%);
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.celestial-story-page .choice-row:has(input:checked) {
  border-color: #dfd1bd;
  background: linear-gradient(90deg, #f5ebe0 0%, rgba(245, 235, 224, 0) 92%);
  box-shadow: none;
}

.celestial-story-page .choice-row:has(input:checked) strong {
  color: var(--celestial-plum);
  font-weight: 500;
}

.celestial-story-page .choice-row:has(input:checked) > i,
.celestial-story-page .multi-choice-row:has(input:checked) > i {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--celestial-plum);
}

.celestial-story-page .multi-choice-row:has(input:checked) > i.has-selection-order {
  position: absolute;
  top: 14px;
  left: -27px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--celestial-paper);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-style: normal;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(75, 29, 51, 0.1);
  transform: none;
}

.celestial-story-page .multi-choice-row:has(input:checked) > i::after { content: none; }

.celestial-story-page .choice-row.is-just-selected > i {
  animation: ledger-node-confirm 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.celestial-story-page .choice-row.is-just-selected > i.has-selection-order {
  animation-name: ledger-number-confirm;
}

.celestial-story-page .choice-row:has(input:focus-visible) {
  outline: 2px solid var(--celestial-plum);
  outline-offset: 2px;
}

.celestial-story-page .choice-row:has(input:disabled:not(:checked)) {
  cursor: not-allowed;
  opacity: 0.42;
}

.celestial-story-page .quality-grid {
  grid-template-columns: 1fr;
}

.ledger-completion {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 35px;
  gap: 8px;
  margin: 0;
  padding: 8px 4px 0 16px;
  color: #8d7c6e;
  font-size: 12.5px;
  line-height: 1.45;
}

.ledger-completion::before {
  position: absolute;
  top: 12px;
  left: -21px;
  z-index: 3;
  width: 10px;
  height: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--celestial-plum);
  color: #fff;
  content: "✓";
  font-size: 7px;
}

.celestial-story-page .grouped-options {
  margin-top: 0;
}

.celestial-story-page .selection-helper {
  margin: 0 0 -16px;
  color: var(--celestial-copy);
  font-size: 12.5px;
}

/* Fields become part of the same vertical record. */
.celestial-story-page .field-group,
.celestial-story-page .birthplace-fields,
.celestial-story-page .consent-stack {
  position: relative;
}

.celestial-story-page .story-field,
.celestial-story-page .personal-question-field,
.celestial-story-page .birth-date-group,
.celestial-story-page .birth-time-field,
.celestial-story-page .final-details-grid,
.celestial-story-page .birthplace-fields,
.celestial-story-page .consent-stack {
  margin-top: 0;
  padding-left: 24px;
}

.celestial-story-page .story-field::before,
.celestial-story-page .personal-question-field::before,
.celestial-story-page .birth-date-group::before,
.celestial-story-page .birth-time-field::before,
.celestial-story-page .birthplace-fields::before,
.celestial-story-page .consent-stack::before {
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: #c9b79c;
  content: "";
}

.celestial-story-page .story-field::after,
.celestial-story-page .personal-question-field::after,
.celestial-story-page .birth-date-group::after,
.celestial-story-page .birth-time-field::after,
.celestial-story-page .birthplace-fields::after,
.celestial-story-page .consent-stack::after {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--celestial-plum);
  box-shadow: 0 0 0 3px var(--celestial-paper);
  content: "";
}

.celestial-story-page .conditional-other {
  margin: -16px 0 0 24px;
  padding: 13px 8px 0 16px;
  border-left: 1px solid #c9b79c;
}

.celestial-story-page .field-group label,
.celestial-story-page .time-options legend,
.celestial-story-page .consent-stack > legend {
  margin-bottom: 6px;
  color: #4c3f44;
  font-size: 13px;
  font-weight: 400;
}

.celestial-story-page .story-field > label,
.celestial-story-page .personal-question-field > label,
.celestial-story-page .consent-stack > legend {
  color: var(--celestial-ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
}

.celestial-story-page .consent-stack > legend > span {
  display: block;
  margin-top: 4px;
  color: var(--celestial-muted);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.celestial-story-page .field-group input,
.celestial-story-page .field-group textarea,
.celestial-story-page .field-group select {
  min-height: 48px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--celestial-line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--celestial-ink);
  box-shadow: none;
}

.celestial-story-page .field-group textarea {
  min-height: 142px;
  padding-top: 14px;
  line-height: 1.65;
}

.celestial-story-page .field-grid {
  gap: 24px;
}

.celestial-story-page .field-meta,
.celestial-story-page .character-count,
.celestial-story-page .field-note {
  color: #7a6b60;
  font-size: 12px;
  line-height: 1.45;
}

.celestial-story-page .prototype-note {
  margin: -10px 0 0 24px;
  border-radius: 8px;
  font-size: 11.5px;
}

.celestial-story-page .consent-stack {
  padding-top: 18px;
  border-top: 1px solid #e7dccb;
}

.celestial-story-page .consent-row {
  min-height: 48px;
  margin: 0;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid #e7dccb;
  border-radius: 0;
  background: transparent;
  color: #4c3f44;
  font-size: 12.5px;
  line-height: 1.5;
}

.celestial-story-page .consent-row input {
  accent-color: var(--celestial-plum);
}

.celestial-story-page .form-error-summary {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #c98e86;
  border-left: 3px solid #a63d2f;
  border-radius: 6px;
  background: #fbeee9;
}

.celestial-story-page .field-error {
  color: #8a3325;
  font-size: 13px;
}

.celestial-story-page .form-privacy {
  justify-content: flex-start;
  margin: 26px 0 0;
  color: var(--celestial-muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.celestial-story-page .sticky-form-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: min(100%, 430px);
  display: block;
  margin: 0 auto;
  padding: 16px 20px calc(16px + var(--safe-bottom));
  border: 0;
  background: linear-gradient(180deg, rgba(251, 246, 238, 0) 0%, rgba(251, 246, 238, 0.97) 30%, var(--celestial-paper) 100%);
  box-shadow: none;
}

.celestial-story-page .sticky-form-cta .primary-cta,
.celestial-story-page .snapshot-offer-bar .primary-cta,
.celestial-story-page .checkout-form .primary-cta {
  width: 100%;
  min-height: 54px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--celestial-plum);
  color: #fdf8f1;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Snapshot reveal and offer */
.celestial-result,
.celestial-offer {
  background: var(--celestial-paper);
}

.celestial-result .result-hero {
  padding: 6px 20px 10px;
  border: 0;
  background: transparent;
}

.assembled-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid #cbbba2;
  border-radius: 999px;
  color: #8a7357;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.celestial-result .result-hero h1,
.celestial-offer .offer-page-heading h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.celestial-result .result-hero > p:not(.assembled-chip):not(.demo-chart-marker):not(.wheel-caption),
.celestial-offer .offer-page-heading > p:not(.eyebrow) {
  margin: 0 0 8px;
  color: var(--celestial-copy);
  font-size: 14.5px;
  line-height: 1.6;
}

.snapshot-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.celestial-result .demo-chart-marker {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a3325;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.replay-reveal {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d8cbb8;
  border-radius: 6px;
  background: transparent;
  color: #7a6b60;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wheel-caption {
  margin: 10px 0 0 !important;
  color: #7a6b60 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

.calculated-wheel {
  margin: 22px 20px 0;
  padding: 14px;
  border: 1px solid #e0d4c2;
  border-radius: 10px;
  background: #f8f2e8;
}

.calculated-wheel .snapshot-wheel-art {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.calculated-wheel figcaption {
  margin-top: 8px;
  color: #7a6b60;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

.celestial-fact-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 20px 0;
}

.celestial-fact-stack > .eyebrow {
  margin: 0;
}

.celestial-story-page .snapshot-fact-card {
  display: block;
  margin: 0;
  padding: 18px;
  border: 1px solid #e2d8c4;
  border-radius: 10px;
  box-shadow: none;
}

.snapshot-fact-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.snapshot-fact-heading p {
  margin: 0;
  color: #8a7357;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}

.celestial-story-page .snapshot-fact-card h2 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.celestial-story-page .snapshot-fact-card > strong {
  display: block;
  margin: 3px 0 0;
  color: var(--celestial-muted);
  font-size: 12px;
  font-weight: 400;
}

.celestial-story-page .snapshot-fact-card > p {
  margin: 10px 0 0;
  color: #4c3f44;
  font-size: 14.5px;
  line-height: 1.6;
}

.celestial-story-page .snapshot-fact-card > small {
  display: block;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2d8c4;
  color: #8d7c6e;
  font-size: 12px;
  line-height: 1.55;
}

.celestial-story-page .snapshot-fact-moon { background: #f4efe4; border-top: 2px solid #d9b172; }
.celestial-story-page .snapshot-fact-venus { background: #fffdf9; border-top: 2px solid #c58c93; }
.celestial-story-page .snapshot-fact-mars { border-color: #4b1d33; background: #4b1d33; }
.celestial-story-page .snapshot-fact-mars :is(h2, p, strong, small) { color: #fbf6ee; }
.celestial-story-page .snapshot-fact-mars .snapshot-fact-heading p,
.celestial-story-page .snapshot-fact-mars .snapshot-fact-icon { color: rgba(255, 253, 249, 0.72); }
.celestial-story-page .snapshot-fact-mars > small { border-color: rgba(255, 253, 249, 0.22); }

.celestial-result .birth-check-card,
.celestial-result .uncertainty-note,
.celestial-result .locked-sections {
  margin-right: 20px;
  margin-left: 20px;
}

.celestial-result .birth-check-card {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8f2e8;
}

.celestial-result .uncertainty-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #e0d4c2;
  border-radius: 8px;
  background: #f6f0e6;
  color: #5e504c;
  font-size: 12.5px;
  line-height: 1.55;
}

.celestial-result .locked-sections {
  margin-top: 34px;
  padding: 22px 0 0;
  border-top: 1px solid #e0d4c2;
  background: transparent;
}

.celestial-result .locked-sections h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.celestial-result .locked-sections > p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--celestial-copy);
  font-size: 14px;
  line-height: 1.6;
}

.celestial-result .locked-sections ol li {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ede3d4;
  background: transparent;
}

.celestial-result .locked-sections ol li span {
  color: var(--celestial-gold);
  font-family: var(--font-display);
  font-size: 12px;
}

.celestial-result .locked-sections ol li strong {
  color: #372d32;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
}

.celestial-result .snapshot-offer-bar {
  display: block;
  margin: 26px 0 0;
  padding: 22px 20px calc(22px + var(--safe-bottom));
  border-top: 1px solid #e0d4c2;
  background: #f3eae0;
}

.celestial-result .snapshot-offer-bar > p {
  margin: 0 0 4px;
  color: var(--celestial-ink);
  font-family: var(--font-display);
  font-size: 19px;
}

.celestial-result .snapshot-offer-bar > span {
  display: block;
  margin: 0 0 14px;
  color: var(--celestial-copy);
  font-size: 13px;
}

/* Snapshot reveal is progressive only when JavaScript is available. */
.has-js [data-snapshot-reveal].is-revealing [data-reveal-item] {
  opacity: 0;
  transform: translateY(10px);
}

.has-js [data-snapshot-reveal][data-reveal-stage="2"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal][data-reveal-stage="3"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal][data-reveal-stage="4"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal][data-reveal-stage="5"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal][data-reveal-stage="6"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal][data-reveal-stage="5"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal][data-reveal-stage="6"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal][data-reveal-stage="6"] [data-reveal-item="fact"] {
  opacity: 1;
  transform: none;
  transition: opacity 380ms ease, transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.has-js [data-snapshot-reveal][data-reveal-stage="6"] [data-reveal-item="fact"] {
  transition-delay: calc(var(--fact-index) * 150ms);
}

.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="0"] .celestial-wheel-outer,
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="0"] .celestial-wheel-inner,
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="1"] .celestial-wheel-inner {
  stroke-dashoffset: 1;
}

.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="0"] .celestial-planet,
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="1"] .celestial-planet,
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="2"] .celestial-planet,
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] .celestial-planet { opacity: 0; }

.offer-return-row {
  padding: 6px 20px 0;
}

.offer-return-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #7a6b60;
  font-size: 13.5px;
  text-decoration: none;
}

.celestial-offer .offer-page-heading,
.celestial-offer .report-includes,
.celestial-offer .reviewer-proof,
.celestial-offer .offer-scope-note,
.celestial-offer .personalisation-summary {
  margin-right: 20px;
  margin-left: 20px;
}

.celestial-offer .offer-page-heading {
  padding: 4px 0 0;
}

.offer-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 20px;
}

.offer-fact {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid #e2d8c4;
  border-radius: 8px;
  background: #fffdf9;
}

.offer-fact span {
  display: block;
  color: #8a7357;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.offer-fact strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--celestial-ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.offer-fact--moon { border-top: 2px solid #d9b172; background: #f4efe4; }
.offer-fact--venus { border-top: 2px solid #c58c93; }
.offer-fact--mars { border-color: #4b1d33; background: #4b1d33; }
.offer-fact--mars :is(span, strong) { color: #fbf6ee; }

.celestial-offer .report-includes {
  padding: 0;
  border: 0;
  background: transparent;
}

.celestial-offer .report-includes h2 {
  font-size: 22px;
}

.celestial-offer .report-includes li {
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #ede3d4;
}

.celestial-offer .report-includes li > span { color: var(--celestial-plum); }
.celestial-offer .report-includes li strong { color: #372d32; font-size: 14.5px; font-weight: 400; line-height: 1.5; }

.celestial-offer .offer-proof-links {
  margin-top: 14px;
}

.celestial-offer .reviewer-proof {
  display: block;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #e0d4c2;
  border-radius: 10px;
  background: #fffdf9;
}

.celestial-offer .reviewer-proof h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
}

.celestial-offer .reviewer-proof small {
  color: #8d7c6e;
  font-size: 12px;
  line-height: 1.5;
}

.offer-scope-note {
  margin-top: 18px;
  padding: 14px;
  border-left: 2px solid var(--celestial-gold);
  color: #5e504c;
  font-size: 13.5px;
  line-height: 1.6;
}

.celestial-offer .personalisation-summary {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8f2e8;
}

.celestial-offer .checkout-offer-card {
  margin: 28px 0 0;
  padding: 24px 20px calc(24px + var(--safe-bottom));
  border: 0;
  border-top: 1px solid #e0d4c2;
  border-radius: 0;
  background: #f3eae0;
  box-shadow: none;
}

.celestial-offer .order-summary-line {
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd0bc;
}

.celestial-offer .order-summary-line h2 {
  margin: 0;
  font-size: 20px;
}

.celestial-offer .order-summary-line strong {
  color: var(--celestial-plum);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
}

.celestial-offer .checkout-terms {
  margin: 12px 0 16px;
  color: var(--celestial-copy);
  font-size: 13px;
  line-height: 1.55;
}

.celestial-offer .checkout-email-summary {
  margin: 0;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fffdf9;
}

.celestial-offer .checkout-email-summary > span {
  min-width: 0;
  display: block;
}

.celestial-offer .checkout-email-summary small {
  display: block;
  color: var(--celestial-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.celestial-offer .checkout-email-summary strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 400;
}

.celestial-offer .mock-checkout-note {
  margin: 14px 0 16px;
  border: 1px dashed var(--celestial-line-strong);
  border-radius: 8px;
  background: transparent;
}

@media (max-width: 350px) {
  .celestial-story-page .question-card,
  .celestial-story-page .questionnaire-header,
  .celestial-story-page .sticky-form-cta,
  .celestial-result .result-hero,
  .celestial-fact-stack,
  .celestial-result .snapshot-offer-bar,
  .celestial-offer .checkout-offer-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .celestial-story-page .question-card h1,
  .celestial-result .result-hero h1,
  .celestial-offer .offer-page-heading h1 {
    font-size: 26px;
  }

  .celestial-story-page .choice-row {
    padding-right: 2px;
  }

  .offer-fact-strip {
    margin-right: 18px;
    margin-left: 18px;
  }

  .offer-fact {
    padding-right: 7px;
    padding-left: 7px;
  }

  .offer-fact strong {
    font-size: 12.5px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .celestial-story-page .questionnaire-header {
    padding: 6px 20px 2px;
  }

  .celestial-story-page .question-card h1 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .celestial-story-page .question-hint {
    margin-bottom: 14px;
  }

  .celestial-scene--step-1,
  .celestial-scene--step-2,
  .celestial-scene--step-3,
  .celestial-scene--step-4,
  .celestial-scene--step-5,
  .celestial-scene--step-6,
  .celestial-scene--step-7,
  .celestial-scene--step-8,
  .celestial-scene--step-9,
  .celestial-scene--step-10 { height: 106px; }

  .celestial-scene--step-11 { height: 190px; }
  .celestial-scene--step-12 { height: 108px; }

  .celestial-story-page .sticky-form-cta {
    padding-top: 7px;
    padding-bottom: calc(7px + var(--safe-bottom));
  }

  .celestial-story-page .sticky-form-cta .primary-cta { min-height: 44px; padding-block: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .celestial-story-page .content-in,
  .celestial-story-page [data-ambient],
  .celestial-story-page .constellation-progress-nodes i.is-current,
  .celestial-story-page .celestial-eclipse-light,
  .celestial-story-page .celestial-quality-halo,
  .celestial-story-page .choice-row.is-just-selected > i {
    animation: none !important;
  }

  .celestial-story-page .celestial-scene *,
  .celestial-story-page [data-reveal-item] {
    transition: none !important;
  }

  .has-js [data-snapshot-reveal].is-revealing [data-reveal-item] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.is-page-hidden .celestial-story-page [data-ambient],
.is-page-hidden .celestial-story-page .celestial-eclipse-light,
.is-page-hidden .celestial-story-page .celestial-quality-halo {
  animation-play-state: paused !important;
}

/* Living Celestial Manuscript · selected implementation */
@keyframes manuscript-scene-receive {
  0% { box-shadow: inset 0 -1px 0 rgba(168, 120, 92, 0); }
  42% { box-shadow: inset 0 -3px 0 rgba(168, 120, 92, 0.72), inset 0 -22px 34px rgba(217, 177, 114, 0.18); }
  100% { box-shadow: inset 0 -1px 0 rgba(168, 120, 92, 0); }
}

@keyframes manuscript-gem-arrive {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.5); }
  46% { opacity: 1; transform: translate(-50%, 0) scale(1.35); }
  100% { opacity: 0; transform: translate(-50%, -3px) scale(0.8); }
}

@keyframes answer-thread-draw {
  0% { opacity: 0; transform: scaleX(0); }
  18% { opacity: 0.75; }
  78% { opacity: 0.55; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes answer-gem-travel {
  0% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  16% { opacity: 1; }
  78% { left: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.65); }
}

@keyframes earned-note-in {
  0% { opacity: 0; transform: translateY(10px) scale(0.985); }
  100% { opacity: 1; transform: none; }
}

@keyframes quality-third-halo {
  0% { opacity: 0; transform: scale(0.72); }
  55% { opacity: 0.95; transform: scale(1.65); }
  100% { opacity: 0.58; transform: scale(1); }
}

.celestial-story-page {
  --celestial-paper-soft: #f7efe6;
  --celestial-paper-warm: #f1dfd3;
  --celestial-plum-deep: #38142d;
  --celestial-twilight: #2b1325;
  --celestial-twilight-panel: #34172c;
  --celestial-twilight-light: #e7a9a0;
  --celestial-venus: #c58c93;
  --celestial-moon: #d9b172;
}

.celestial-story-page .questionnaire {
  padding-bottom: calc(124px + var(--safe-bottom));
  scroll-padding-bottom: calc(124px + var(--safe-bottom));
}

.celestial-story-page .questionnaire-header {
  padding: 9px 20px 8px;
  background: var(--celestial-paper);
  border-bottom: 1px solid rgba(201, 183, 156, 0.42);
}

.celestial-story-page .questionnaire-header-row {
  min-height: 38px;
}

.celestial-story-page .quiet-back {
  min-height: 38px;
}

.celestial-story-page .celestial-scene {
  height: 198px;
  border-bottom: 0;
  background: #f1e4d3;
  isolation: isolate;
}

.celestial-story-page .celestial-scene--step-1 { height: 214px; }
.celestial-story-page .celestial-scene--step-2,
.celestial-story-page .celestial-scene--step-3 { height: 190px; }
.celestial-story-page .celestial-scene--step-4 { height: 218px; }
.celestial-story-page .celestial-scene--step-5 { height: 230px; }
.celestial-story-page .celestial-scene--step-6 { height: 224px; }
.celestial-story-page .celestial-scene--step-7 { height: 214px; }
.celestial-story-page .celestial-scene--step-8 { height: 210px; }
.celestial-story-page .celestial-scene--step-9 { height: 236px; }
.celestial-story-page .celestial-scene--step-10 { height: 220px; }

.celestial-story-page .celestial-scene-svg {
  position: absolute;
  inset: -5px 0 24px;
  width: 100%;
  height: calc(100% - 10px);
  transform: scale(1.12);
  transform-origin: 50% 46%;
}

.celestial-story-page .celestial-act-three .celestial-scene,
.celestial-act-three .celestial-scene {
  background: #f2e7d8;
}

.celestial-story-page .celestial-scene.is-receiving-answer {
  animation: manuscript-scene-receive 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.celestial-scene-meta {
  position: absolute;
  right: 20px;
  bottom: 29px;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.celestial-scene-meta > span {
  flex: 0 0 auto;
  color: #8b6650;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.celestial-scene-meta > p {
  max-width: 222px;
  margin: 0;
  padding-left: 10px;
  border-left: 1px solid rgba(138, 74, 44, 0.52);
  color: #5f463b;
  font-family: var(--font-display);
  font-size: 12.5px;
  line-height: 1.25;
  text-align: right;
  text-wrap: balance;
}

.celestial-receive-gem {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 6;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--celestial-moon);
  box-shadow: 0 0 0 7px rgba(217, 177, 114, 0.14), 0 0 24px rgba(217, 177, 114, 0.85);
  opacity: 0;
}

.celestial-scene.is-receiving-answer .celestial-receive-gem {
  animation: manuscript-gem-arrive 680ms ease-out;
}

.celestial-cycle-legend,
.celestial-assembly-legend,
.celestial-seal-count {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.celestial-cycle-legend {
  top: 70px;
  right: 38px;
  left: 38px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 241, 225, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.celestial-assembly-legend {
  right: 22px;
  top: 22px;
  display: flex;
  gap: 5px;
}

.celestial-assembly-legend span {
  padding: 4px 6px;
  border: 1px solid rgba(140, 106, 43, 0.22);
  border-radius: 999px;
  color: rgba(92, 72, 38, 0.42);
  font-size: 7px;
  letter-spacing: 0.12em;
  transition: color 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.celestial-assembly-legend span.is-active {
  border-color: rgba(140, 106, 43, 0.68);
  background: #fbf6ee;
  color: #6e5227;
}

.celestial-seal-count {
  top: 24px;
  right: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #70562c;
}

.celestial-seal-count strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.celestial-seal-count span {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.celestial-seal-segments line {
  opacity: 0.12;
  transition: opacity 240ms ease, stroke 240ms ease;
}

.celestial-seal-segments line.is-active {
  opacity: 1;
  stroke: #4b1d33;
}

.celestial-story-page .question-card {
  position: relative;
  z-index: 8;
  margin-top: -22px;
  padding: 26px 20px 36px;
  border-radius: 24px 24px 0 0;
  background: var(--celestial-paper);
  box-shadow: 0 -18px 34px rgba(77, 32, 61, 0.07);
}

.celestial-story-page .question-card h1 {
  max-width: 370px;
  margin-bottom: 9px;
  font-size: clamp(28px, 8.4vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.celestial-story-page .question-hint {
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.52;
}

.celestial-story-page .snapshot-form {
  gap: 26px;
}

.celestial-story-page .option-stack {
  padding-left: 20px;
}

.celestial-story-page .option-stack::before {
  left: 5px;
  background: rgba(168, 120, 92, 0.6);
}

.celestial-story-page .option-stack > legend:not(.sr-only)::before {
  left: -19px;
}

.celestial-story-page .choice-row,
.celestial-story-page .compact-choice-row,
.celestial-story-page .focus-choice-row {
  min-height: 54px;
  margin: 3px 0;
  padding: 13px 68px 13px 12px;
  border: 1px solid transparent;
  border-bottom-color: #e8ddce;
  border-radius: 12px;
  transition: background-color 190ms ease, border-color 190ms ease, box-shadow 220ms ease, transform 90ms ease;
}

.celestial-story-page .choice-row:active {
  transform: scale(0.99);
}

.celestial-story-page .choice-row::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--celestial-copper);
  content: "RECORDED";
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 180ms ease 80ms, transform 200ms ease 80ms;
}

.celestial-story-page .choice-row:has(input:checked) {
  border-color: #d9c7b1;
  background: #f5ebe0;
  box-shadow: 0 8px 24px rgba(75, 29, 51, 0.07), inset 3px 0 0 var(--celestial-copper);
}

.celestial-story-page .choice-row:has(input:checked)::after {
  opacity: 1;
  transform: none;
}

.celestial-story-page .choice-row > i,
.celestial-story-page .multi-choice-row > i {
  left: -18px;
}

.celestial-story-page .multi-choice-row:has(input:checked) > i.has-selection-order {
  left: -24px;
  background: var(--celestial-plum);
  box-shadow: 0 0 0 4px rgba(168, 120, 92, 0.13), 0 0 16px rgba(168, 120, 92, 0.24);
}

.celestial-story-page .choice-row:has(input:focus-visible) {
  outline: 2px solid var(--celestial-gold);
  outline-offset: 2px;
}

.celestial-story-page .choice-row:has(input:disabled:not(:checked)) {
  opacity: 0.68;
}

.celestial-story-page .option-stack[data-limit-reached="true"] .selection-instruction > span {
  color: #7f5c46;
}

.answer-light-impulse {
  position: fixed;
  top: var(--impulse-top);
  left: var(--impulse-left);
  z-index: 100;
  width: var(--impulse-distance);
  height: 1px;
  pointer-events: none;
  transform: rotate(var(--impulse-angle));
  transform-origin: 0 50%;
}

.answer-light-impulse::before {
  position: absolute;
  inset: 0;
  background: rgba(168, 120, 92, 0.78);
  box-shadow: 0 0 10px rgba(217, 177, 114, 0.52);
  content: "";
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: answer-thread-draw 680ms ease-out both;
}

.answer-light-impulse::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--celestial-moon);
  box-shadow: 0 0 0 5px rgba(217, 177, 114, 0.13), 0 0 15px rgba(217, 177, 114, 0.85);
  content: "";
  animation: answer-gem-travel 680ms ease-in-out both;
}

.earned-reveal {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 26px 0 0;
  padding: 16px;
  border: 1px solid #d9c7b1;
  border-radius: 14px;
  background: #f4e7da;
  box-shadow: 0 12px 28px rgba(75, 29, 51, 0.06);
}

.earned-reveal.is-earned {
  animation: earned-note-in 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.earned-reveal-star {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cbb58f;
  border-radius: 50%;
}

.earned-reveal-star img {
  width: 12px;
  height: 12px;
}

.earned-reveal p {
  margin: 0 0 4px;
  color: #8b6650;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.earned-reveal h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.16;
}

.earned-reveal div > span {
  display: block;
  color: #6b5b54;
  font-size: 12px;
  line-height: 1.45;
}

.optional-panel {
  margin: 0 0 0 20px;
  border: 1px solid #ddd0bc;
  border-radius: 13px;
  background: #f8f2e8;
}

.optional-panel > summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #3f3238;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  list-style: none;
}

.optional-panel > summary::-webkit-details-marker { display: none; }
.optional-panel > summary::after { content: "+"; color: #8b6650; font-family: var(--font-ui); font-size: 18px; }
.optional-panel[open] > summary::after { content: "−"; }
.optional-panel > summary span { color: #8d7c6e; font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.optional-panel .field-group { margin: 0; padding: 4px 14px 16px; }

.celestial-story-page .story-field {
  margin-left: 0;
  padding: 18px;
  border: 1px solid rgba(231, 169, 160, 0.35);
  border-radius: 16px;
  background: #35192d;
  box-shadow: inset 3px 0 0 rgba(231, 169, 160, 0.28), 0 18px 36px rgba(20, 8, 17, 0.18);
}

.celestial-story-page .story-field::before,
.celestial-story-page .story-field::after {
  content: none;
}

.manuscript-field-heading > span {
  display: block;
  margin-bottom: 5px;
  color: var(--celestial-twilight-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.celestial-story-page .manuscript-field-heading > label {
  display: block;
  margin-bottom: 10px;
  color: #fff8f1;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
}

.celestial-story-page .story-field textarea {
  min-height: 180px;
  padding: 14px;
  border: 1px solid rgba(231, 169, 160, 0.23);
  border-radius: 10px;
  background: #2d1426;
  color: #fff8f1;
  caret-color: #e7a9a0;
}

.celestial-story-page .story-field textarea::placeholder { color: rgba(255, 248, 241, 0.48); }
.celestial-story-page .story-field .field-meta { color: rgba(255, 248, 241, 0.62); }

.consent-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin: 2px 0 12px;
}

.consent-progress i {
  height: 3px;
  border-radius: 99px;
  background: #dfd3c1;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.consent-progress i.is-active {
  background: var(--celestial-gold);
  box-shadow: 0 0 9px rgba(165, 129, 63, 0.38);
}

.client-error-summary {
  scroll-margin-top: 90px;
}

.celestial-story-page .has-client-error {
  border-color: #b24b58 !important;
}

.celestial-story-page .client-field-error {
  margin: 9px 0 0;
  padding: 9px 11px;
  border-left: 2px solid #9f3341;
  background: #faece9;
  color: #8c2936;
}

.celestial-story-page .sticky-form-cta {
  padding: 12px 20px calc(14px + var(--safe-bottom));
  border-top: 1px solid rgba(201, 183, 156, 0.45);
  background: rgba(251, 246, 238, 0.97);
}

.celestial-story-page .sticky-form-cta .primary-cta {
  min-height: 56px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(75, 29, 51, 0.2);
}

/* Act II is a complete emotional chapter, not only a dark illustration. */
.celestial-act-two .questionnaire,
.celestial-act-two .question-card,
.celestial-act-two .questionnaire-header {
  background: var(--celestial-twilight);
}

.celestial-act-two .questionnaire-header {
  border-bottom-color: rgba(231, 169, 160, 0.16);
}

.celestial-act-two .quiet-back,
.celestial-act-two .progress-step-label {
  color: rgba(255, 245, 235, 0.7);
}

.celestial-act-two .constellation-progress-track { background: rgba(255, 245, 235, 0.17); }
.celestial-act-two .constellation-progress-fill { background: #e7a9a0; }
.celestial-act-two .constellation-progress-nodes i { border-color: rgba(255, 245, 235, 0.3); background: #2b1325; }
.celestial-act-two .constellation-progress-nodes i.is-complete,
.celestial-act-two .constellation-progress-nodes i.is-current { border-color: #e7a9a0; background: #e7a9a0; }

.celestial-act-two .celestial-scene {
  background: #2b1325;
}

.celestial-act-two .celestial-scene-svg {
  transform: scale(1.34) translateY(-1px);
}

.celestial-act-two .celestial-scene-meta > span { color: rgba(231, 169, 160, 0.78); }
.celestial-act-two .celestial-scene-meta > p { border-left-color: rgba(231, 169, 160, 0.5); color: rgba(255, 245, 235, 0.78); }

.celestial-act-two .question-card {
  box-shadow: 0 -18px 34px rgba(11, 4, 9, 0.24);
}

.celestial-act-two .question-card h1,
.celestial-act-two .question-card h2,
.celestial-act-two .option-stack > legend:not(.sr-only),
.celestial-act-two .story-field > label {
  color: #fff8f1;
}

.celestial-act-two .question-intro .eyebrow { color: #e7a9a0; }
.celestial-act-two .question-hint { color: rgba(255, 248, 241, 0.68); }
.celestial-act-two .option-stack::before { background: rgba(231, 169, 160, 0.34); }
.celestial-act-two .option-stack > legend:not(.sr-only)::before { background: #e7a9a0; box-shadow: 0 0 0 3px #2b1325; }
.celestial-act-two .choice-row { border-bottom-color: rgba(255, 248, 241, 0.13); }
.celestial-act-two .choice-row strong { color: rgba(255, 248, 241, 0.9); }
.celestial-act-two .choice-row small { color: rgba(255, 248, 241, 0.58); }
.celestial-act-two .choice-row > i,
.celestial-act-two .multi-choice-row > i { border-color: rgba(231, 169, 160, 0.62); background: #2b1325; }
.celestial-act-two .choice-row:has(input:checked) { border-color: rgba(231, 169, 160, 0.42); background: #3a1b31; box-shadow: 0 10px 28px rgba(9, 3, 8, 0.22), inset 3px 0 0 #e7a9a0; }
.celestial-act-two .choice-row:has(input:checked) strong { color: #fff8f1; }
.celestial-act-two .choice-row:has(input:checked)::after { color: #e7a9a0; }
.celestial-act-two .choice-row:has(input:checked) > i { background: #e7a9a0; box-shadow: 0 0 0 4px rgba(231, 169, 160, 0.12), 0 0 16px rgba(231, 169, 160, 0.42); }
.celestial-act-two .choice-row:has(input:focus-visible) { outline-color: #e7a9a0; }
.celestial-act-two .ledger-completion { color: rgba(255, 248, 241, 0.62); }
.celestial-act-two .ledger-completion::before { background: #e7a9a0; color: #2b1325; }
.celestial-act-two .form-privacy { color: rgba(255, 248, 241, 0.5); }
.celestial-act-two .field-error { color: #ffd0c9; }
.celestial-act-two .client-field-error { border-left-color: #e7a9a0; background: #421e34; color: #ffd7d1; }
.celestial-act-two .form-error-summary { border-color: rgba(231, 169, 160, 0.52); background: #421e34; color: #fff8f1; }
.celestial-act-two .form-error-summary p { color: #ffd7d1; }
.celestial-act-two .sticky-form-cta { border-top-color: rgba(231, 169, 160, 0.16); background: rgba(43, 19, 37, 0.98); }
.celestial-act-two .sticky-form-cta .primary-cta { background: #efc6b7; color: #37142d; box-shadow: 0 12px 28px rgba(9, 3, 8, 0.35); }
.celestial-act-two .earned-reveal { border-color: rgba(217, 177, 114, 0.42); background: #f4e7da; }
.celestial-act-two .earned-reveal h2 { color: var(--celestial-ink); }

.celestial-scene--step-4 .celestial-eclipse { transform: scale(1.45); transform-origin: 180px 96px; }
.celestial-scene--step-4 .celestial-orbits > * { opacity: 0.12; }
.celestial-scene--step-5 .celestial-eclipse { opacity: 0.42; transform: scale(1.18); transform-origin: 180px 96px; }
.celestial-scene--step-5 .celestial-orbits > * { opacity: 0.3; }
.celestial-scene--step-6 .celestial-story { opacity: 1; transform: scale(1.15); transform-origin: 180px 96px; }
.celestial-scene--step-6[data-story-chunks="0"] .celestial-story circle { opacity: 0.15; }
.celestial-scene--step-6[data-story-chunks="1"] .celestial-story circle:nth-of-type(n+2),
.celestial-scene--step-6[data-story-chunks="2"] .celestial-story circle:nth-of-type(n+3),
.celestial-scene--step-6[data-story-chunks="3"] .celestial-story circle:nth-of-type(n+4),
.celestial-scene--step-6[data-story-chunks="4"] .celestial-story circle:nth-of-type(n+5) { opacity: 0.18; }

.celestial-scene--step-7 .celestial-quality { transform: scale(1.2); }
.celestial-scene--step-7[data-quality-count="3"] .celestial-quality-halo { animation: none; opacity: 0.58; }
.celestial-scene--step-7.is-quality-complete .celestial-quality-halo { animation: quality-third-halo 650ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.celestial-scene--step-8 .celestial-boundary-rings { transform: scale(1.16); transform-origin: 180px 96px; }
.celestial-scene--step-9 .celestial-wheel { transform: scale(1.12); }
.celestial-scene--step-10 .celestial-seal { transform: scale(1.35); transform-origin: 180px 96px; }

/* Immediate free-result payoff: the real wheel replaces the decorative duplicate. */
.celestial-result {
  padding-bottom: 0;
  background: #fbf6ee;
}

.snapshot-payoff {
  padding: 18px 18px 20px;
  border-bottom: 1px solid #dfd2bf;
  background: #f3e8d9;
}

.celestial-result .snapshot-payoff .result-hero {
  padding: 0;
}

.assembled-chip {
  margin-bottom: 10px;
  padding: 5px 10px;
  background: #fbf6ee;
}

.assembled-chip img {
  width: 11px;
  height: 11px;
}

.celestial-result .snapshot-payoff .result-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(27px, 7.8vw, 32px);
  line-height: 1.06;
}

.celestial-result .snapshot-payoff .result-hero > p:not(.assembled-chip):not(.demo-chart-marker) {
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1.45;
}

.snapshot-payoff .snapshot-meta-row {
  gap: 8px;
}

.snapshot-payoff .replay-reveal {
  min-height: 28px;
  padding: 0 8px;
  font-size: 9px;
}

.snapshot-payoff .demo-chart-marker {
  font-size: 8px;
}

.snapshot-payoff .calculated-wheel {
  width: 224px;
  margin: 13px auto 0;
  padding: 8px 8px 6px;
  border-color: #d7c4aa;
  border-radius: 50%;
  background: #fbf6ee;
  box-shadow: 0 14px 34px rgba(75, 29, 51, 0.09);
}

.snapshot-payoff .calculated-wheel .snapshot-wheel-art {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.snapshot-payoff .calculated-wheel .snapshot-wheel-art svg {
  width: 100%;
  height: 100%;
}

.snapshot-payoff .calculated-wheel figcaption {
  width: 300px;
  margin: 7px 0 0 50%;
  color: #6d5d52;
  font-size: 10px;
  line-height: 1.35;
  transform: translateX(-50%);
}

.snapshot-payoff .celestial-fact-stack {
  gap: 8px;
  padding: 23px 0 0;
}

.snapshot-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-card {
  min-width: 0;
  padding: 10px 9px;
  border-radius: 10px;
}

.snapshot-payoff .snapshot-fact-heading {
  align-items: center;
  gap: 5px;
}

.snapshot-payoff .snapshot-fact-heading p {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.snapshot-payoff .snapshot-fact-icon {
  width: 16px;
  height: 16px;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-card h2 {
  min-height: 45px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-card > strong {
  min-height: 22px;
  font-size: 8.5px;
  line-height: 1.25;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-card > p {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: #55474b;
  font-size: 9.5px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-card > small {
  display: -webkit-box;
  margin-top: 6px;
  padding-top: 6px;
  overflow: hidden;
  font-size: 8.5px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.celestial-story-page .snapshot-payoff .snapshot-fact-mars > p { color: #fbf6ee; }

.chart-pipeline-note {
  margin: 12px 20px 0;
  color: #78685c;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="1"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="2"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="4"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="5"] [data-reveal-item="wheel"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="2"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="4"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="5"] [data-reveal-item="copy"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] [data-reveal-item="fact"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="4"] [data-reveal-item="fact"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="5"] [data-reveal-item="fact"] {
  opacity: 1;
  transform: none;
  transition: opacity 300ms ease, transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* The buying decision, product preview, price and CTA now share viewport one. */
.celestial-offer {
  padding-bottom: calc(24px + var(--safe-bottom));
  background: #fbf6ee;
}

.celestial-offer .offer-return-row {
  padding: 4px 18px 0;
}

.celestial-offer .offer-page-heading.offer-decision-card {
  margin: 0 12px 28px;
  padding: 18px;
  border: 1px solid #ddcfbc;
  border-radius: 22px;
  background: #f3e8d9;
  box-shadow: 0 18px 42px rgba(75, 29, 51, 0.1);
}

.celestial-offer .offer-decision-card h1 {
  margin-bottom: 7px;
  font-size: clamp(27px, 8vw, 34px);
  line-height: 1.05;
}

.celestial-offer .offer-decision-card .offer-intro {
  margin-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.45;
}

.offer-product-brief {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #dacbb7;
  border-bottom: 1px solid #dacbb7;
}

.offer-report-preview {
  margin: 0;
}

.offer-report-preview img {
  width: 110px;
  height: 138px;
  object-fit: contain;
  border: 1px solid #c7b295;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(36, 27, 32, 0.2);
}

.offer-report-preview figcaption {
  margin-top: 5px;
  color: #887769;
  font-size: 8px;
  line-height: 1.25;
  text-align: center;
}

.offer-brief-copy > p {
  margin: 0 0 5px;
  color: #8b6650;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.offer-brief-copy h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.12;
}

.offer-brief-copy ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-brief-copy li {
  position: relative;
  padding-left: 10px;
  color: #5d4e47;
  font-size: 10.5px;
  line-height: 1.32;
}

.offer-brief-copy li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--celestial-copper);
  content: "";
}

.celestial-offer .offer-decision-card .offer-fact-strip {
  gap: 6px;
  margin: 12px 0;
}

.celestial-offer .offer-decision-card .offer-fact {
  padding: 8px 7px;
}

.celestial-offer .offer-decision-card .offer-fact span { font-size: 7px; }
.celestial-offer .offer-decision-card .offer-fact strong { font-size: 11.5px; }

.offer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 10px;
}

.offer-price-row > strong {
  color: var(--celestial-plum);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.offer-price-row > span {
  color: #66584f;
  font-size: 10.5px;
  line-height: 1.35;
  text-align: right;
}

.celestial-offer .offer-decision-card .checkout-email-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
  padding: 10px 11px;
  border: 1px solid #d7c5ad;
  background: #fffdf9;
  color: #241b20;
}

.celestial-offer .offer-decision-card .checkout-email-summary strong {
  display: block;
  color: #241b20;
  font-weight: 600;
}

.celestial-offer .offer-decision-card .checkout-email-summary a {
  flex: 0 0 auto;
  color: var(--celestial-plum);
  font-size: 11px;
}

.celestial-offer .offer-decision-card .checkout-form .primary-cta {
  min-height: 54px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(75, 29, 51, 0.2);
}

.celestial-offer .offer-decision-card .cta-microcopy {
  margin: 6px 0 0;
  color: #78695f;
  font-size: 9.5px;
  text-align: center;
}

.offer-truth-claim {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #dacbb7;
}

.offer-truth-claim img {
  width: 18px;
  height: 18px;
}

.offer-truth-claim p {
  margin: 0;
  color: #55474b;
  font-size: 10.5px;
  line-height: 1.4;
}

.celestial-offer .report-includes,
.celestial-offer .offer-scope-note,
.celestial-offer .personalisation-summary,
.reviewer-configuration-note,
.offer-mock-boundary {
  margin-right: 20px;
  margin-left: 20px;
}

.reviewer-configuration-note {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px dashed #cdbda8;
  border-radius: 10px;
  color: #7c6c61;
  font-size: 11px;
  line-height: 1.45;
}

.offer-mock-boundary {
  margin-top: 24px;
  border: 1px dashed #cdbda8;
  background: #f8f2e8;
}

/* The middle act uses paired chapters instead of repeating one long ledger. */
.paired-response {
  display: grid;
  gap: 20px;
}

.paired-ledger-panel {
  position: relative;
  padding: 14px 10px 10px;
  border: 1px solid rgba(231, 169, 160, 0.2);
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.025);
  overflow: hidden;
}

.paired-ledger-panel::after {
  position: absolute;
  top: -46px;
  right: -42px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(231, 169, 160, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.paired-ledger-panel--light,
.paired-ledger-panel--distance {
  border-color: rgba(217, 177, 114, 0.28);
  background: linear-gradient(145deg, rgba(217, 177, 114, 0.08), rgba(255, 248, 241, 0.018) 48%);
}

.paired-panel-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px 5px;
  color: rgba(255, 248, 241, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.paired-panel-marker span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 169, 160, 0.46);
  border-radius: 50%;
  color: #efc6b7;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.paired-ledger-panel--light .paired-panel-marker span,
.paired-ledger-panel--distance .paired-panel-marker span {
  border-color: rgba(217, 177, 114, 0.56);
  color: #d9b172;
}

.paired-ledger-panel .grouped-options {
  margin-top: 0;
  padding-left: 18px;
}

.paired-ledger-panel .option-stack > legend:not(.sr-only) {
  margin-bottom: 7px;
  font-size: 16px;
}

.paired-ledger-panel .choice-row,
.paired-ledger-panel .compact-choice-row {
  min-height: 50px;
  padding-top: 11px;
  padding-bottom: 11px;
}

/* Selected rows already have a filled node and border; repeated generated copy added noise. */
.celestial-story-page .choice-row::after {
  display: none;
  content: "";
}

.celestial-story-page .choice-row,
.celestial-story-page .compact-choice-row,
.celestial-story-page .focus-choice-row {
  padding-right: 18px;
}

.celestial-story-page .choice-row:has(input:disabled:not(:checked)) {
  opacity: 0.82;
}

/* Earned observations briefly surface above the CTA, then settle into the manuscript. */
@keyframes earned-insight-toast {
  0% { opacity: 0; transform: translate(-50%, 14px) scale(0.97); }
  12%, 86% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 4px) scale(0.99); }
}

.earned-reveal.is-earned {
  position: fixed;
  right: auto;
  bottom: calc(88px + var(--safe-bottom));
  left: 50%;
  z-index: 70;
  width: min(calc(100% - 28px), 402px);
  margin: 0;
  box-shadow: 0 18px 46px rgba(43, 19, 37, 0.24);
  pointer-events: none;
  animation: earned-insight-toast 2600ms ease both;
}

.earned-reveal.is-settled {
  border-color: #cbb58f;
}

/* Step 10 keeps necessary consent detail but restores anticipation around it. */
.delivery-unlock-card {
  position: relative;
  margin: 0 0 4px;
  padding: 16px 15px 18px;
  border: 1px solid #d7c5ad;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbf7f0, #f3e7d8);
  box-shadow: 0 14px 32px rgba(75, 29, 51, 0.07);
}

.delivery-unlock-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.delivery-unlock-heading p {
  margin: 0 0 3px;
  color: var(--celestial-copper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.delivery-unlock-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.delivery-unlock-heading > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cdb88f;
  border-radius: 50%;
  background: #fffaf3;
}

.delivery-unlock-heading img {
  width: 15px;
  height: 15px;
}

.delivery-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.delivery-trust-chips span {
  padding: 5px 8px;
  border: 1px solid #ddcfbc;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.74);
  color: #685950;
  font-size: 9px;
}

.celestial-story-page .delivery-unlock-card .final-details-grid {
  gap: 14px;
  padding-left: 0;
}

.delivery-unlock-card .field-group input,
.delivery-unlock-card .field-group select {
  background: rgba(255, 253, 249, 0.72);
}

.consent-last-step {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 10px 11px;
  border-left: 2px solid var(--celestial-gold);
  background: #f5eadc;
}

.consent-last-step strong {
  color: var(--celestial-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
}

.consent-last-step span {
  color: #6b5d55;
  font-size: 10.5px;
  line-height: 1.4;
}

/* The result connects one reported pattern to one calculated chart fact. */
.snapshot-personal-bridge {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 15px;
  border: 1px solid rgba(217, 177, 114, 0.44);
  border-radius: 15px;
  background: #4b1d33;
  box-shadow: 0 16px 36px rgba(75, 29, 51, 0.18);
}

.snapshot-bridge-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 177, 114, 0.55);
  border-radius: 50%;
}

.snapshot-bridge-mark img {
  width: 14px;
  height: 14px;
}

.snapshot-personal-bridge p {
  margin: 0 0 4px;
  color: #d9b172;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.snapshot-personal-bridge h2 {
  margin: 0 0 6px;
  color: #fff8f1;
  font-size: 19px;
  line-height: 1.13;
}

.snapshot-personal-bridge div > span {
  display: block;
  color: rgba(255, 248, 241, 0.78);
  font-size: 11.5px;
  line-height: 1.48;
}

.snapshot-payoff .calculated-wheel .snapshot-wheel-art svg {
  display: block;
  max-width: 100%;
  overflow: visible;
}

.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] [data-reveal-item="fact"] {
  opacity: 0;
  transform: translateY(10px);
}

.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="3"] [data-reveal-item="bridge"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="4"] [data-reveal-item="bridge"],
.has-js [data-snapshot-reveal].is-revealing[data-reveal-stage="5"] [data-reveal-item="bridge"] {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.celestial-story-page .sticky-form-cta {
  transition: transform 220ms ease, visibility 220ms ease, opacity 220ms ease;
}

.celestial-story-page .sticky-form-cta.is-deferred {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 14px));
}

/* Keep the time control usable after history navigation and htmx validation swaps. */
.has-js .time-options:not(:has(input[name="birth_time_certainty"]:checked)) + .birth-time-field,
.has-js .time-options:has(input[name="birth_time_certainty"][value="unknown"]:checked) + .birth-time-field {
  display: none !important;
}

.has-js .time-options:has(input[name="birth_time_certainty"]:checked:not([value="unknown"])) + .birth-time-field {
  display: block !important;
}

@media (max-width: 350px) {
  .celestial-story-page .celestial-scene-meta {
    right: 17px;
    left: 17px;
  }

  .celestial-scene-meta > span {
    display: none;
  }

  .celestial-scene-meta > p {
    max-width: 260px;
    margin-left: auto;
  }

  .celestial-story-page .choice-row,
  .celestial-story-page .compact-choice-row,
  .celestial-story-page .focus-choice-row {
    padding-right: 58px;
  }

  .snapshot-payoff .calculated-wheel {
    width: 206px;
  }

  .snapshot-fact-grid {
    gap: 5px;
  }

  .celestial-story-page .snapshot-payoff .snapshot-fact-card {
    padding-right: 7px;
    padding-left: 7px;
  }

  .offer-product-brief {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 11px;
  }

  .offer-report-preview img {
    width: 96px;
    height: 120px;
  }

  .offer-brief-copy h2 {
    font-size: 16px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .celestial-story-page .celestial-scene--step-1,
  .celestial-story-page .celestial-scene--step-2,
  .celestial-story-page .celestial-scene--step-3,
  .celestial-story-page .celestial-scene--step-4,
  .celestial-story-page .celestial-scene--step-5,
  .celestial-story-page .celestial-scene--step-6,
  .celestial-story-page .celestial-scene--step-7,
  .celestial-story-page .celestial-scene--step-8,
  .celestial-story-page .celestial-scene--step-9,
  .celestial-story-page .celestial-scene--step-10 {
    height: 118px;
  }

  .celestial-story-page .celestial-scene-svg {
    inset: -22px 0 12px;
    transform: scale(1.03);
  }

  .celestial-act-two .celestial-scene-svg {
    transform: scale(1.15);
  }

  .celestial-scene-meta {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .celestial-scene-meta > span { display: none; }
  .celestial-scene-meta > p { max-width: 280px; margin-left: auto; font-size: 11px; }

  .celestial-story-page .question-card {
    margin-top: -14px;
    padding-top: 20px;
  }
}

/* On short phones the first decision stays above the fold before the CTA arrives. */
@media (orientation: portrait) and (max-height: 650px) {
  .celestial-story-page .questionnaire-header {
    padding: 6px 17px 5px;
  }

  .celestial-story-page .questionnaire-header-row {
    min-height: 32px;
  }

  .celestial-story-page .quiet-back {
    min-height: 32px;
  }

  .celestial-story-page .celestial-scene--step-1,
  .celestial-story-page .celestial-scene--step-2,
  .celestial-story-page .celestial-scene--step-3,
  .celestial-story-page .celestial-scene--step-4,
  .celestial-story-page .celestial-scene--step-5,
  .celestial-story-page .celestial-scene--step-6,
  .celestial-story-page .celestial-scene--step-7,
  .celestial-story-page .celestial-scene--step-8,
  .celestial-story-page .celestial-scene--step-9,
  .celestial-story-page .celestial-scene--step-10 {
    height: 126px;
  }

  .celestial-story-page .celestial-scene-svg {
    inset: -28px 0 10px;
    transform: scale(1.02);
  }

  .celestial-act-two .celestial-scene-svg {
    transform: scale(1.15);
  }

  .celestial-story-page .celestial-scene-meta {
    right: 16px;
    bottom: 13px;
    left: 16px;
  }

  .celestial-story-page .celestial-scene-meta > span {
    display: none;
  }

  .celestial-story-page .celestial-scene-meta > p {
    max-width: 260px;
    margin-left: auto;
    font-size: 10.5px;
  }

  .celestial-story-page .question-card {
    margin-top: -16px;
    padding: 18px 17px 28px;
  }

  .celestial-story-page .question-card h1 {
    margin-bottom: 7px;
    font-size: clamp(24px, 7.8vw, 28px);
  }

  .celestial-story-page .question-hint {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.42;
  }

  .celestial-story-page .choice-row,
  .celestial-story-page .compact-choice-row,
  .celestial-story-page .focus-choice-row {
    min-height: 50px;
    padding: 11px 16px 11px 10px;
  }

  .celestial-cycle-legend,
  .celestial-assembly-legend,
  .celestial-seal-count {
    display: none;
  }
}

/* Landscape is a compact reading mode: the CTA follows the answers instead of covering them. */
@media (orientation: landscape) and (max-height: 500px) {
  .celestial-story-page .questionnaire {
    min-height: 100vh;
    padding-bottom: calc(18px + var(--safe-bottom));
    scroll-padding-bottom: 18px;
  }

  .celestial-story-page .questionnaire-header {
    padding: 4px 18px 3px;
  }

  .celestial-story-page .questionnaire-header-row,
  .celestial-story-page .quiet-back {
    min-height: 30px;
  }

  .celestial-story-page .celestial-scene--step-1,
  .celestial-story-page .celestial-scene--step-2,
  .celestial-story-page .celestial-scene--step-3,
  .celestial-story-page .celestial-scene--step-4,
  .celestial-story-page .celestial-scene--step-5,
  .celestial-story-page .celestial-scene--step-6,
  .celestial-story-page .celestial-scene--step-7,
  .celestial-story-page .celestial-scene--step-8,
  .celestial-story-page .celestial-scene--step-9,
  .celestial-story-page .celestial-scene--step-10 {
    height: 78px;
  }

  .celestial-story-page .celestial-scene-svg {
    inset: -18px 0 4px;
    transform: scale(0.94);
  }

  .celestial-act-two .celestial-scene-svg {
    transform: scale(1.06);
  }

  .celestial-story-page .celestial-scene-meta {
    right: 16px;
    bottom: 8px;
    left: 16px;
  }

  .celestial-story-page .celestial-scene-meta > p {
    max-width: 330px;
    font-size: 9.5px;
  }

  .celestial-story-page .question-card {
    margin-top: -10px;
    padding: 14px 18px 20px;
  }

  .celestial-story-page .question-intro .eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .celestial-story-page .question-card h1 {
    margin-bottom: 5px;
    font-size: 23px;
    line-height: 1.05;
  }

  .celestial-story-page .question-hint {
    margin-bottom: 11px;
    font-size: 11px;
    line-height: 1.35;
  }

  .celestial-story-page .sticky-form-cta {
    position: static;
    width: auto;
    margin: 0 18px;
    padding: 8px 0 calc(4px + var(--safe-bottom));
    border-top: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .celestial-story-page .sticky-form-cta .primary-cta {
    min-height: 46px;
    padding-block: 12px;
  }

  .earned-reveal.is-earned {
    position: static;
    width: auto;
    margin-top: 18px;
    pointer-events: auto;
    animation: earned-note-in 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    transform: none;
  }

  .celestial-cycle-legend,
  .celestial-assembly-legend,
  .celestial-seal-count {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer-light-impulse {
    display: none !important;
  }

  .celestial-scene.is-receiving-answer,
  .celestial-scene.is-receiving-answer .celestial-receive-gem,
  .earned-reveal.is-earned,
  .celestial-scene--step-7.is-quality-complete .celestial-quality-halo {
    animation: none !important;
  }

  .celestial-scene.is-receiving-answer .celestial-receive-gem {
    opacity: 0;
  }
}
