/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0920;
  --bg-card: #13102A;
  --purple: #6C4AB6;
  --gold: #D8B76A;
  --text: #F6F0E5;
  --muted: #B8AFC8;
  --border: rgba(108, 74, 182, 0.35);
}

body {
  background: #0B0920;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(108,74,182,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(216,183,106,0.06), transparent);
}

html { font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.landing-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(108, 74, 182, 0.25);
  border-radius: 24px;
  background: rgba(11, 9, 32, 0.6);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.landing-left { text-align: center; min-width: 0; }
.landing-left > .site-logo { margin-inline: auto; }
.landing-left > p, .landing-list { max-width: 680px; margin-inline: auto; }
.landing-left h1 { max-width: 700px; margin-inline: auto; }

.landing-right {
  margin: 1.75rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zodiac-wheel {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  --sign-radius: 160px;
}

.wheel-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(216,183,106,0.3);
}

.wheel-ring.outer {
  inset: 0;
  animation: rotate 60s linear infinite;
}

.wheel-ring.middle {
  inset: 40px;
  border-style: dashed;
  animation: rotate-reverse 40s linear infinite;
}

.wheel-ring.inner {
  inset: 80px;
  animation: rotate 30s linear infinite;
}

.zodiac-signs {
  position: absolute;
  inset: 0;
  animation: rotate 60s linear infinite;
}

.sign {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  top: 50%;
  left: 50%;
  transform: 
    translate(-50%, -50%) 
    rotate(calc(var(--i) * 30deg)) 
    translateY(calc(-1 * var(--sign-radius)));
  text-shadow: 0 0 8px rgba(216,183,106,0.5);
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: var(--gold);
  z-index: 2;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@media (max-width: 768px) {
  .zodiac-wheel { width: min(280px, 100%); --sign-radius: min(118px, 32vw); }
  .sign { transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg)) translateY(calc(-1 * var(--sign-radius))); font-size: 1.2rem; }
}

.btn-primary.landing-reveal {
  animation: reveal-pulse 3.5s ease-in-out infinite;
  max-width: 700px;
  min-height: 104px;
  padding: 1.8rem 2rem;
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  line-height: 1.4;
  border: 1px solid rgba(216,183,106,.65);
  box-shadow: 0 0 24px rgba(216,183,106,.28), 0 0 65px rgba(216,183,106,.16);
}

@keyframes reveal-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.btn-primary.landing-reveal:hover {
  box-shadow: 0 0 32px rgba(216,183,106,.42), 0 0 80px rgba(216,183,106,.22);
}

.btn-primary.landing-reveal:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  #step-landing .wheel-ring, #step-landing .zodiac-signs, .landing-reveal { animation: none; }
}

@media (max-width: 768px) {
  .landing-frame {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
  }
  .chart-wheel { width: 260px; height: 260px; }
  .landing-left { padding-right: 0; }
}

.step {
  display: none;
  min-height: 100vh;
  padding: 4rem 0 3rem;
  position: relative;
}

.step.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stars background */
.bg-stars {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1px 1px at 15% 25%, rgba(246,240,229,0.5), transparent),
    radial-gradient(1px 1px at 75% 60%, rgba(246,240,229,0.4), transparent),
    radial-gradient(1.5px 1.5px at 45% 85%, rgba(216,183,106,0.35), transparent),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(108,74,182,0.22), transparent);
  pointer-events: none;
  z-index: 0;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 0 40px; }
}

.step > * { position: relative; z-index: 1; }

/* Typography */
.site-logo {
  width: 220px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 12px rgba(216,183,106,0.25));
}

.site-logo.small {
  width: 140px;
  margin: 0 auto 1rem;
  display: block;
}

h1, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: 1.2rem; }

h2 { font-size: clamp(1.6rem, 5vw, 2rem); margin-bottom: 0.75rem; }

.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 0.8rem; }

.sub { font-size: 1rem; color: var(--gold); margin-bottom: 2rem; font-weight: 500; }

.landing-list {
  list-style: none;
  margin: 0 auto 2rem;
  padding-inline: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
}

.landing-list li {
  font-size: 1.02rem;
  color: var(--text);
  padding-inline: 0;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #6C4AB6, #8B5CF6);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  margin: 0 auto;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.4);
}

.btn-text {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.micro {
  font-size: 0.78rem;
  color: #6b6580;
  margin-top: 1rem;
  text-align: center;
}

/* Form */
body.dialog-open { overflow: hidden; }
.birth-dialog {
  width: min(620px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(3, 2, 12, .6);
  color-scheme: dark;
}
.birth-dialog::backdrop { background: rgba(5, 4, 17, .8); backdrop-filter: blur(6px); }
.dialog-reader { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; padding-right: 1.5rem; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.dialog-reader img { display: block; flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; object-position: center 35%; border: 1px solid rgba(201, 168, 76, .3); border-radius: 50%; }
.birth-dialog h2 { padding-right: 1rem; font-size: 2rem; line-height: 1.15; margin-bottom: .75rem; }
.birth-dialog .form-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.dialog-close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; background: transparent; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.dialog-close:hover { color: var(--gold); }
.dialog-close:focus-visible { outline: 2px solid var(--gold); border-radius: 8px; }
.birth-date-field { border: 0; min-width: 0; }
.birth-date-field legend { color: var(--muted); font-size: .9rem; margin-bottom: .45rem; }
.birth-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.birth-detail-row > .field { min-width: 0; }
.birth-dialog .btn-primary { width: 100%; }
@media (max-width: 480px) {
  .birth-dialog { padding: 2.5rem 1.25rem 1.5rem; }
  .birth-detail-row { grid-template-columns: 1fr; gap: 0; }
}

input[type="time"] {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #16141f;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

input[type="text"], input[type="email"], select {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #16141f;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(192,132,252,0.15);
}

#birthEmail[aria-invalid="true"] {
  border-color: var(--gold, #d8b76a);
  outline: 2px solid var(--gold, #d8b76a);
  outline-offset: 3px;
}

.email-attention {
  animation: email-attention 600ms ease-in-out 2;
}

@keyframes email-attention {
  50% { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .email-attention { animation: none; }
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 0.55rem;
}

/* Reveal animation */
#step-reveal { text-align: center; }

.reveal-orb {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,183,106,0.55), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(216,183,106,0.25);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.reveal-status { color: var(--muted); margin-bottom: 1.5rem; }

.reveal-bar {
  width: 100%;
  max-width: 280px;
  height: 4px;
  background: rgba(192,132,252,0.2);
  border-radius: 99px;
  margin: 0 auto;
  overflow: hidden;
}

.reveal-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* Reading */
.destiny-wheel-svg {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: block;
}

.wheel-num {
  font-family: 'Cormorant Garamond', serif;
  fill: var(--gold);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  cursor: pointer;
}

.wheel-num.visible {
  opacity: 1;
}

.num-tooltip {
  position: fixed;
  background: #13102A;
  border: 1px solid rgba(216,183,106,0.5);
  color: var(--text);
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
  max-width: 200px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.wheel-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.wheel-actions .btn-text {
  margin: 0;
  font-size: 0.85rem;
}

/* Accessibility */
.btn-primary:focus-visible,
.btn-text:focus-visible,
.timeline-year:focus-visible,
.wheel-num:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .destiny-wheel-svg { width: 220px; height: 220px; }
  .wheel-num.center { font-size: 36px; }
  .wheel-num.mid { font-size: 18px; }
  .wheel-num.outer { font-size: 15px; }
  .num-tooltip { max-width: 160px; font-size: 0.75rem; }
}

.zodiac-sym {
  font-size: 16px;
  fill: rgba(216,183,106,0.25);
  text-anchor: middle;
  transition: fill 0.8s ease;
}

.zodiac-sym.active {
  fill: var(--gold);
  filter: drop-shadow(0 0 8px rgba(216,183,106,0.7));
}

.pattern-line {
  stroke: rgba(216,183,106,0.5);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s ease;
}

.pattern-line.drawn {
  stroke-dashoffset: 0;
}

.num-tooltip {
  position: absolute;
  background: #13102A;
  border: 1px solid rgba(216,183,106,0.4);
  color: var(--text);
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  white-space: nowrap;
}

/* Number Connection */
.number-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 0.75rem;
}

.num-box {
  text-align: center;
}

.num-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.num-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--gold);
}

.conn-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.conn-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  top: -3px;
  left: 0;
  animation: pulse-move 2.5s ease-in-out infinite;
}

@keyframes pulse-move {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Discovery Cards */
.discovery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.discovery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0.9rem;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.discovery-card:nth-child(1) { animation-delay: 0.1s; }
.discovery-card:nth-child(2) { animation-delay: 0.2s; }
.discovery-card:nth-child(3) { animation-delay: 0.3s; }
.discovery-card:nth-child(4) { animation-delay: 0.4s; }

.card-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.discovery-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.discovery-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Timeline */
.timeline-container {
  margin: 2rem 0 1.5rem;
  text-align: center;
}

.timeline {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.timeline-year {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.timeline-year.active {
  background: var(--gold);
  color: #0B0920;
  border-color: var(--gold);
  font-weight: 600;
}

.timeline-year:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.timeline-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .discovery-cards { grid-template-columns: 1fr; }
}

.reading-narrative p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.reading-narrative h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 1.8rem 0 0.8rem;
}

.narrative-open {
  font-size: 1.15rem !important;
  font-weight: 500;
}

.reading-list {
  list-style: decimal;
  margin: 1.2rem 0 1.5rem 1.2rem;
  color: var(--text);
}

.reading-list li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.reading-meta { color: var(--muted); font-size: 0.9rem; }

.story-progress {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-step {
  opacity: 0.4;
  transition: opacity 0.3s;
}

.story-step.active {
  opacity: 1;
  color: var(--gold);
  font-weight: 600;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  margin-bottom: 1rem;
  display: none;
}

.insight-card.active {
  display: block;
  animation: cardIn 0.5s ease;
}

.btn-next {
  display: inline-block;
  margin-top: 1.1rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-next:hover {
  background: rgba(216,183,106,0.12);
  color: var(--text);
}

.insight-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.insight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.insight-card p, .insight-card div {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.insight-card p:last-child, .insight-card div:last-of-type {
  margin-bottom: 0;
}

.timing-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.timing-strip > div {
  background: rgba(232,200,122,0.08);
  border: 1px solid rgba(232,200,122,0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.timing-strip .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.timing-strip strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.timing-note {
  font-size: 0.82rem;
  color: #6b6580;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

/* Upsell */
.upsell {
  background: linear-gradient(160deg, rgba(192,132,252,0.12), rgba(232,200,122,0.06));
  border: 1px solid rgba(192,132,252,0.3);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.upsell-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.upsell h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.upsell-lead { color: var(--muted); margin-bottom: 1.2rem; font-size: 0.95rem; }

.upsell-list {
  list-style: none;
  text-align: left;
  max-width: 380px;
  margin: 0 auto 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upsell-list li {
  font-size: 0.9rem;
  padding-left: 1.3rem;
  position: relative;
  color: var(--text);
}

.upsell-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.price span { font-size: 0.9rem; color: var(--muted); font-family: 'Inter', sans-serif; }

footer {
  padding: 1.5rem 0 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #5a5568;
}

/* Responsive */
@media (max-width: 480px) {
  .date-row { grid-template-columns: 1fr; }
  .timing-strip { grid-template-columns: 1fr; }
  .step { padding: 3rem 0 2.5rem; }
}

/* Visual Blocks */
.visual-block {
  text-align: center;
  margin: 2.25rem 0;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  background: rgba(23,16,51,0.5);
  border: 1px solid rgba(216,181,106,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.visual-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.glow-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5rem;
  color: #F5D58A;
  text-shadow: 0 0 30px rgba(245,213,138,0.5);
  line-height: 1;
  position: relative;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.visual-block.visible .glow-number {
  opacity: 1;
  transform: scale(1);
}

.constellation span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #F5D58A;
  border-radius: 50%;
  box-shadow: 0 0 10px #F5D58A;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.visual-block.visible .constellation span {
  opacity: 1;
  transform: scale(1);
}

.visual-block.visible .constellation span:nth-child(1) { transition-delay: 0.15s; }
.visual-block.visible .constellation span:nth-child(2) { transition-delay: 0.3s; }
.visual-block.visible .constellation span:nth-child(3) { transition-delay: 0.45s; }
.visual-block.visible .constellation span:nth-child(4) { transition-delay: 0.6s; }
.visual-block.visible .constellation span:nth-child(5) { transition-delay: 0.75s; }
.visual-block.visible .constellation span:nth-child(6) { transition-delay: 0.9s; }

.conn-line {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D8B56A, transparent);
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.visual-block.visible .conn-line {
  opacity: 1;
}

.mini-cycle span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(216,181,106,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s;
}

.visual-block.visible .mini-cycle span {
  opacity: 1;
  transform: scale(1);
}

.visual-block.visible .mini-cycle span:nth-child(1) { transition-delay: 0.1s; }
.visual-block.visible .mini-cycle span:nth-child(2) { transition-delay: 0.15s; }
.visual-block.visible .mini-cycle span:nth-child(3) { transition-delay: 0.2s; }
.visual-block.visible .mini-cycle span:nth-child(4) { transition-delay: 0.25s; }
.visual-block.visible .mini-cycle span:nth-child(5) { transition-delay: 0.3s; }
.visual-block.visible .mini-cycle span:nth-child(6) { transition-delay: 0.35s; }
.visual-block.visible .mini-cycle span:nth-child(7) { transition-delay: 0.4s; }
.visual-block.visible .mini-cycle span:nth-child(8) { transition-delay: 0.45s; }
.visual-block.visible .mini-cycle span:nth-child(9) { transition-delay: 0.5s; }

.mini-cycle span.active {
  background: #D8B56A;
  color: #080B23;
  border-color: #D8B56A;
}

.glow-number::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(216,181,106,0.4);
  border-radius: 50%;
  pointer-events: none;
}

/* FAQ */
.faq-section {
  margin: 2.5rem 0;
}

.faq-section h3 {
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.faq-item {
  border-bottom: 1px solid rgba(216,181,106,0.2);
  margin-bottom: 0.5rem;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  padding: 0.9rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-a {
  display: block;
}

.visual-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.glow-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(216,183,106,0.6);
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visual-block.visible .glow-number {
  opacity: 1;
  transform: scale(1);
}

.constellation span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.visual-block.visible .constellation span {
  opacity: 1;
}

.visual-block.visible .constellation span:nth-child(1) { transition-delay: 0.1s; }
.visual-block.visible .constellation span:nth-child(2) { transition-delay: 0.2s; }
.visual-block.visible .constellation span:nth-child(3) { transition-delay: 0.3s; }
.visual-block.visible .constellation span:nth-child(4) { transition-delay: 0.4s; }
.visual-block.visible .constellation span:nth-child(5) { transition-delay: 0.5s; }
.visual-block.visible .constellation span:nth-child(6) { transition-delay: 0.6s; }

.glow-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(216,183,106,0.6), 0 0 80px rgba(216,183,106,0.2);
  line-height: 1;
  position: relative;
}

.glow-number::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(216,183,106,0.15), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.constellation {
  width: 180px;
  height: 110px;
  margin: 0 auto;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(108,74,182,0.2), transparent);
  border-radius: 50%;
}

.constellation span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(216,183,106,0.4);
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.visual-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.constellation {
  width: 160px;
  height: 100px;
  margin: 0 auto;
  position: relative;
}

.constellation span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.mini-cycle {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.mini-cycle span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.mini-cycle span.active {
  background: var(--gold);
  color: #0B0920;
  border-color: var(--gold);
}

/* Illustrations woven into the free reading */
#step-reading .reading-graphic {
  margin: 1.75rem 0 2rem;
  padding: 1.4rem;
  color: var(--gold);
  border-top: 1px solid rgba(216,183,106,.25);
  border-bottom: 1px solid rgba(216,183,106,.25);
  background: radial-gradient(ellipse at center, rgba(216,183,106,.06), transparent 75%);
}
.reading-graphic svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.sun-portrait svg { max-width: 320px; }
.reading-graphic figcaption { text-align: center; }
.reading-graphic figcaption span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.reading-graphic .graphic-eyebrow { color: var(--gold); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.reading-graphic figcaption strong { display: block; margin: .2rem 0; color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; font-weight: 500; line-height: 1.2; }
.graphic-sign { fill: currentColor; font-size: 53px; font-family: Georgia, serif; }
.graphic-number { fill: currentColor; font-size: 48px; font-family: 'Cormorant Garamond', serif; }
#step-reading .birthday-portrait { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 1.25rem; }
.birthday-portrait figcaption { text-align: left; }
.chapter-portrait svg { max-width: 480px; margin-bottom: .8rem; }
.chapter-number { fill: currentColor; font-family: 'Cormorant Garamond', serif; font-size: 34px; }
.chapter-year { fill: var(--muted); font-family: inherit; font-size: 15px; }
@media (max-width: 480px) {
  #step-reading .reading-graphic { padding: 1.1rem .5rem; }
  #step-reading .birthday-portrait { grid-template-columns: 100px 1fr; gap: .75rem; }
  .reading-graphic figcaption strong { font-size: 1.4rem; }
}

/* Complete Blueprint discovery illustrations */
.blueprint-graphic {
  margin: 1.25rem 0 1.6rem;
  padding: 1.25rem 0;
  border-block: 1px solid rgba(216,183,106,.22);
  color: var(--gold);
  background: radial-gradient(ellipse at 25% 50%, rgba(216,183,106,.06), transparent 75%);
}
.blueprint-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 1rem; }
.blueprint-graphic svg { width: 100%; height: auto; display: block; }
.blueprint-number { fill: currentColor; text-anchor: middle; font: 44px 'Cormorant Garamond', serif; }
.blueprint-graphic figcaption { min-width: 0; }
.blueprint-graphic figcaption > span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.blueprint-graphic figcaption .graphic-eyebrow { color: var(--gold); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.blueprint-graphic figcaption strong { display: block; color: var(--text); font: 500 1.45rem/1.25 'Cormorant Garamond', serif; margin: .4rem 0; }
.blueprint-timeline { text-align: center; padding: 1.75rem .5rem; }
.blueprint-cycle { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .4rem; position: relative; margin: 0 0 1.5rem; }
.blueprint-cycle::before { content: ''; position: absolute; inset: 50% 1rem auto; height: 1px; background: rgba(216,183,106,.3); }
.blueprint-cycle > span { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid rgba(216,183,106,.35); border-radius: 50%; background: var(--bg); color: var(--muted); font: 1.5rem 'Cormorant Garamond', serif; }
.blueprint-cycle > .is-current { background: var(--gold); color: var(--bg); border-color: var(--gold); outline: 1px solid rgba(216,183,106,.45); outline-offset: 3px; }
@media (max-width: 480px) {
  .blueprint-pair { grid-template-columns: 1fr; gap: .35rem; text-align: center; }
  .blueprint-pair svg { max-width: 250px; margin: 0 auto; }
  .blueprint-cycle { gap: .3rem; }
  .blueprint-cycle > span { font-size: 1.15rem; }
}

/* Digital product mockup */
.blueprint-product { margin: .25rem auto 2rem; text-align: center; }
.blueprint-product-stage { width: min(100%, 450px); aspect-ratio: 450 / 365; position: relative; margin: 0 auto 1.25rem; isolation: isolate; }
.blueprint-product-stage::after { content: ''; position: absolute; width: 80%; height: 12%; left: 10%; bottom: 0; border-radius: 50%; background: rgba(3,2,12,.6); filter: blur(14px); z-index: -1; }
.blueprint-cover { position: absolute; inset: 3% auto 4% 9%; width: 52%; padding: 6% 4% 4% 5%; color: var(--gold); background: linear-gradient(115deg, #29213f, #141126 28%, #201a33); border: 1px solid rgba(216,183,106,.65); border-radius: 2px 5px 5px 2px; box-shadow: -5px 5px 0 #100d1c, -8px 7px 0 #373041, 10px 17px 25px rgba(3,2,12,.45); transform: rotate(-7deg); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.blueprint-cover::before { content: ''; position: absolute; inset: 0 auto 0 5%; width: 1px; background: rgba(216,183,106,.25); }
.cover-imprint { font-size: clamp(5px, 1.5vw, 8px); letter-spacing: .16em; }
.cover-title { font: 500 clamp(10px, 2.7vw, 15px)/1.2 'Cormorant Garamond', serif; }
.cover-title span { display: inline-block; margin-top: .2em; font-size: clamp(22px, 5.5vw, 34px); line-height: .95; }
.cover-emblem { width: 85%; height: auto; max-height: 43%; }
.cover-subtitle { color: var(--text); font: 500 clamp(9px, 2.4vw, 13px)/1.35 'Cormorant Garamond', serif; }
.cover-format { font-size: clamp(4px, 1.2vw, 6px); letter-spacing: .15em; margin-top: .7em; }
.blueprint-preview { position: absolute; inset: 12% 6% 8% auto; width: 48%; padding: 6% 4% 4%; text-align: left; color: #514334; background: #eee6d8; border: 5px solid #393044; border-radius: 7px; box-shadow: 5px 8px 0 #141020, 6px 14px 20px rgba(3,2,12,.35); transform: rotate(8deg); display: flex; flex-direction: column; justify-content: space-between; }
.preview-heading { font-size: clamp(4px, 1.2vw, 6px); letter-spacing: .1em; }
.preview-rule { height: 1px; background: #b59b64; margin: 4% 0; }
.preview-chapter { font: 600 clamp(7px, 1.9vw, 10px)/1.3 'Cormorant Garamond', serif; }
.preview-lines { height: 9%; background: repeating-linear-gradient(to bottom, rgba(81,67,52,.23) 0 1px, transparent 1px 5px); margin: 3% 0 5%; width: 95%; }
.preview-cycle { display: flex; justify-content: space-between; margin-top: 6%; gap: 2%; }
.preview-cycle span { font-size: clamp(4px, 1.1vw, 6px); border: 1px solid #b59b64; border-radius: 50%; width: 10%; aspect-ratio: 1; display: grid; place-items: center; }
.blueprint-product figcaption { font: 500 1.3rem/1.3 'Cormorant Garamond', serif; color: var(--gold); }
.blueprint-product figcaption span { display: block; margin-top: .5rem; font: .7rem/1.6 'Inter', sans-serif; color: var(--muted); }

.faq-q { list-style: none; gap: 1rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { flex-shrink: 0; }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.faq-item[open] .faq-a { display: block; }
.faq-item[open] .faq-q::after { content: '−'; }


/* Transparent brand artwork with an independently rotating key. */
.animated-logo { position: relative; display: block; max-width: 100%; aspect-ratio: 1; perspective: 700px; }
.animated-logo .logo-artwork { display: block; width: 100%; height: auto; }
.animated-logo .logo-key { position: absolute; left: 39.7927%; top: 14.3541%; width: 20.4147%; height: auto; transform-origin: 50% 50%; animation: destiny-key-turn 9s linear infinite; }
@keyframes destiny-key-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .animated-logo .logo-key { animation: none; } }

/* Email signup in the birth details popup. */
.birth-dialog .btn-primary:disabled { opacity: .65; cursor: wait; }
#birth-email-error { margin-top: .5rem; text-align: left; color: var(--gold); }
#birth-subscribe-status { margin: 0 0 1rem; }
#birth-subscribe-status:empty { display: none; }

/* Sandra's scripted welcome: reserved message space keeps fields still while typing. */
.sandra-intro-reader { gap: .85rem; margin-bottom: .75rem; }
.sandra-intro-reader img { box-shadow: 0 0 18px rgba(201, 168, 76, .18); }
.birth-dialog .sandra-intro-reader h2 { font-size: 1.55rem; margin: 0 0 .2rem; color: var(--gold); }
.sandra-intro-reader p { margin: 0; font-size: .8rem; }
.sandra-intro-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; color: var(--muted); font-size: .7rem; }
.sandra-intro-toolbar button { padding: .5rem 0; border: 0; background: transparent; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 36px; }
.sandra-intro-toolbar button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.sandra-typing { display: flex; align-items: center; gap: .5rem; min-height: 2rem; color: var(--muted); font-size: .73rem; }
.sandra-dots { display: flex; gap: 3px; }
.sandra-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); animation: sandra-dot 900ms ease-in-out infinite; }
.sandra-dots i:nth-child(2) { animation-delay: 150ms; }
.sandra-dots i:nth-child(3) { animation-delay: 300ms; }
.sandra-messages { padding: .8rem 1rem; margin-bottom: 1.25rem; border-left: 2px solid rgba(201, 168, 76, .45); border-radius: 0 12px 12px 0; background: rgba(201, 168, 76, .045); }
.sandra-message { margin: 0 0 .65rem; font-size: .88rem; line-height: 1.55; }
.sandra-message:last-child { margin-bottom: 0; }
.intro-playing .sandra-intro-reader { animation: sandra-arrive 450ms ease-out both; }
.intro-playing form { animation: sandra-arrive 350ms ease-out both; }
@keyframes sandra-dot { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@keyframes sandra-arrive { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .sandra-dots i, .intro-playing .sandra-intro-reader, .intro-playing form { animation: none; }
}

/* A single celestial connection, with a quiet gold finish. */
.fortune-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(216,183,106,.25); }
.fortune-section > .graphic-eyebrow { color: var(--gold); font-size: .72rem; letter-spacing: .16em; }
.fortune-section #fortune-heading { margin-top: .4rem; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; }
.fortune-graphic { margin: 1.5rem 0; padding: 1.4rem .6rem .7rem; color: var(--gold); text-align: center; border: 1px solid rgba(216,183,106,.24); border-radius: 100px 100px 16px 16px; background: radial-gradient(ellipse at center, rgba(216,183,106,.09), transparent 70%); }
.fortune-graphic figcaption { font-size: .7rem; letter-spacing: .18em; }
.fortune-graphic svg { display: block; width: 100%; max-width: 440px; margin: .4rem auto 0; overflow: visible; }
.fortune-number { fill: currentColor; font: 40px 'Cormorant Garamond', Georgia, serif; }
.fortune-label { fill: currentColor; font-size: 12px; letter-spacing: 1px; }
.fortune-thread { opacity: .55; filter: drop-shadow(0 0 3px rgba(216,183,106,.35)); }
.fortune-spark { animation: fortune-connect 4s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(216,183,106,.5)); }
.fortune-insight { padding: 1.1rem 1.25rem; border-left: 2px solid var(--gold); background: rgba(216,183,106,.045); border-radius: 0 12px 12px 0; }
.fortune-insight h4 { margin: 0 0 .6rem; color: var(--gold); font: 1.3rem 'Cormorant Garamond', Georgia, serif; }
.fortune-insight p:last-child { margin-bottom: 0; }
@keyframes fortune-connect { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: .8; } 85% { opacity: .8; } 100% { transform: translateX(156px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fortune-spark { animation: none; transform: translateX(78px); } }
