/* The landing page tells a guided story; feature routes keep their reading layout. */
.presentation { --base: #0d1020; --soft: #b8bbd2; background: radial-gradient(ellipse at 80% 8%, #242342 0, transparent 35%), #0d1020; }
.presentation .starfield { opacity: .85; }
.presentation::before { opacity: .14; }

.presentation .site-header { background: rgba(13,16,32,.8); box-shadow: none; }
.presentation .brand span { font-size: 14px; }
.presentation .brand img { width: 36px; height: 36px; }
.presentation .nav-wrap { min-height: 72px; }
.presentation .site-nav { gap: 32px; margin-left: auto; }
.presentation main > section::before { display: none; }
.presentation section { scroll-margin-top: 86px; }
.presentation h1, .presentation h2 { font-weight: 550; letter-spacing: -.035em; text-wrap: balance; }
.presentation h1 { max-width: 640px; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.16; margin: 18px 0 26px; }
.presentation h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.22; }
.speaker { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 12px; letter-spacing: .015em; }
.speaker img { width: 27px; height: 27px; border-radius: 8px; }
.speaker i { width: 5px; height: 5px; border-radius: 50%; background: #b5d5ba; box-shadow: 0 0 10px #b5d5ba66; }
.intro-scene { min-height: calc(100svh - 72px); padding: 56px 0 32px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.intro-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.intro-greeting { color: var(--violet-light); font-size: 17px; margin: 32px 0 0; }
.intro-description { max-width: 470px; color: var(--soft); font-size: 17px; line-height: 1.8; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin: 30px 0 0; }
.intro-download { color: var(--soft); font-size: 13px; padding-block: 14px; }
.intro-platforms { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; color: #868aa5; font-size: 11px; }
.intro-platforms span + span::before { content: '·'; margin-right: 14px; }
.intro-demo { position: relative; display: flex; align-items: center; flex-direction: column; isolation: isolate; }
.demo-orbit { position: absolute; z-index: -1; width: 450px; aspect-ratio: 1; top: 10%; border-radius: 50%; border: 1px solid #bfa2ff26; background: radial-gradient(circle, #7266e622, transparent 68%); }

.demo-coordinate { position: absolute; right: -32px; top: 42%; writing-mode: vertical-rl; color: #81869f; letter-spacing: .24em; font-size: 9px; }
.presentation-phone { position: relative; width: 242px; aspect-ratio: 1206/2622; padding: 7px; background: linear-gradient(145deg, #77718b, #252436 45%, #5d527e); border-radius: 39px; box-shadow: 0 30px 80px #0007; }
.presentation-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; transition: opacity .22s ease; }
.demo-select { display: flex; gap: 5px; margin-top: 24px; padding: 5px; border-radius: 999px; border: 1px solid #36364f; background: #141729; }
.demo-select button { min-width: 70px; min-height: 40px; padding: 0 13px; border-radius: 999px; border: 0; background: transparent; color: var(--soft); font: inherit; font-size: 12px; cursor: pointer; transition: background .2s; }
.demo-select button[aria-pressed="true"] { background: #cbb6ed; color: #181128; }
.demo-caption { color: var(--soft); font-size: 12px; line-height: 1.6; text-align: center; min-height: 38px; max-width: 360px; margin: 16px 0 0; }
.demo-note { font-size: 10px; color: #7c819d; }
.scene-scroll { display: flex; justify-content: space-between; width: min(calc(100% - 40px), 1180px); margin: 38px auto 0; padding-top: 22px; border-top: 1px solid #ffffff12; color: #989cb8; font-size: 12px; }
.scene-scroll > span:last-child { color: var(--violet-light); font-size: 22px; }
.story-section { padding: 30px 0 80px; }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.story-chapter { min-height: 78svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 65px 0; scroll-margin-top: 100px; }
.chapter-number { color: #8f87ac; font-size: 11px; letter-spacing: .18em; }
.visitor-question { align-self: flex-end; color: #d1d0df; font-size: 14px; line-height: 1.65; border: 1px solid #ffffff16; padding: 15px 20px; border-radius: 22px 22px 4px 22px; margin: 26px 0 32px; background: #ffffff03; }
.story-chapter h2 { margin: 18px 0 20px; }
.chapter-copy { color: var(--soft); font-size: 16px; line-height: 1.8; max-width: 490px; }
.chapter-tags { font-size: 12px; line-height: 1.8; color: #9d8eba; margin: 7px 0 24px; }
.chapter-link { color: #d5bde9; font-size: 13px; display: inline-block; padding-block: 12px; }
.story-stage { position: sticky; top: 92px; height: calc(100svh - 112px); display: grid; align-items: center; }
.story-stage-inner { display: flex; align-items: center; flex-direction: column; position: relative; isolation: isolate; padding: 20px 0; }
.story-stage-heading { display: flex; justify-content: space-between; width: 100%; color: #8a8da8; font-size: 11px; margin-bottom: 22px; }
.story-stage .presentation-phone { width: min(285px, 27vw, calc((100svh - 245px) * .46)); }
.story-halo { position: absolute; z-index: -1; width: 100%; aspect-ratio: 1; top: 10%; border-radius: 50%; background: radial-gradient(circle, #7161af28, transparent 70%); }
.story-dots { display: flex; gap: 16px; margin-top: 26px; }
.story-dots a { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #727891; font-size: 11px; border: 1px solid #ffffff12; transition: color .3s, background .3s; }
.story-dots a[aria-current] { color: #211834; background: #cab6e7; }
.chapter-mobile-screen { display: none; }
.presentation #features { padding: 88px 0; border-block: 1px solid #ffffff13; background: #ffffff02; }
.presentation #features .section-heading { max-width: 670px; }
.presentation .section-kicker { font-size: 11px; letter-spacing: .08em; }
.presentation .section-heading p { font-size: 16px; }
.presentation .feature-card { min-height: 365px; padding: 18px; background: linear-gradient(145deg,#22253a,#15192b); border-radius: 20px; }
.presentation .feature-card h3 { font-size: 17px; margin-top: 17px; }
.presentation .feature-card p { font-size: 14px; }
.presentation .feature-icon { display: none; }
.feature-art { height: 135px; overflow: hidden; position: relative; background: #141725; border-radius: 12px; margin-bottom: 3px; }
.feature-art img { width: 68%; margin: 0 auto; border-radius: 16px; transform: translateY(-35px); }
.feature-art-symbol { display: grid; place-items: center; background: radial-gradient(ellipse at center,#8170b630,#171a2c 70%); }
.feature-art-symbol span { font-size: 60px; font-weight: 300; color: #c7b2e8; }
.presentation .feature-art::after { content: ''; position: absolute; inset: auto 0 0; height: 35px; background: linear-gradient(transparent,#171a2c); }
.start-scene { padding: 115px 0; }
.start-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 120px; align-items: center; }
.start-layout h2 { max-width: 500px; }
.start-layout p { color: var(--soft); line-height: 1.8; font-size: 16px; max-width: 450px; }
.birth-steps { list-style: none; padding: 0; margin: 0; }
.birth-steps li { display: flex; gap: 25px; padding: 24px 0; border-bottom: 1px solid #ffffff14; }
.birth-steps li > span { color: #a595be; font-size: 12px; margin-top: 3px; }
.birth-steps strong { font-size: 16px; font-weight: 500; }
.birth-steps p { margin: 9px 0 0; font-size: 13px; }
.conversation-faq { padding: 95px 0; border-block: 1px solid #ffffff13; }
.faq-conversation-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
.faq-conversation-layout h2 { margin-top: 20px; }
.conversation-answers details { border-bottom: 1px solid #ffffff18; }
.conversation-answers summary { font-size: 15px; line-height: 1.6; padding: 22px 30px 22px 0; cursor: pointer; list-style: none; position: relative; }
.conversation-answers summary::after { content: '+'; position: absolute; right: 0; color: var(--violet-light); }
.conversation-answers details[open] summary::after { content: '−'; }
.conversation-answers p { color: var(--soft); font-size: 14px; line-height: 1.85; padding-bottom: 20px; }
.download-scene { text-align: center; padding: 110px 0; background: radial-gradient(ellipse at bottom,#7161af19,transparent 70%); }
.download-icon { width: 62px; border-radius: 20px; margin: 0 auto 25px; }
.download-scene h2 { max-width: 700px; margin: 0 auto 24px; }
.download-scene p:not(.section-kicker) { color: var(--soft); font-size: 16px; line-height: 1.8; }
.download-note { display: block; margin-top: 30px; color: #7c809c; font-size: 11px; }
.presentation .site-footer { background: #080b17; }
.type-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.type-visual { position: relative; }
.is-typing .type-visual::after { content: ''; display: inline-block; width: 2px; height: .85em; margin-left: 5px; background: #cdb7eb; vertical-align: -.05em; animation: cursor-blink .75s steps(2,end) infinite; }
[data-type] { min-height: 1.22em; }
@keyframes cursor-blink { 50% { opacity: 0; } }
@media (max-width: 980px) {
  .presentation .site-nav { margin-left: 0; top: 72px; }
  .presentation .site-login { margin-left: auto; }
  .presentation .menu-button { margin-left: 0; flex-shrink: 0; }
  .intro-layout { gap: 30px; grid-template-columns: 1fr 1fr; }
  .intro-demo .presentation-phone { width: 220px; }
  .story-layout { gap: 50px; }
  .start-layout, .faq-conversation-layout { gap: 50px; }
  .demo-coordinate { display: none; }
  .demo-orbit { width: 330px; }
}
@media (max-width: 640px) {
  .presentation .container { width: calc(100% - 40px); }
  .presentation .brand > span > span { display: none; }
  .presentation .nav-wrap { min-height: 64px; gap: 12px; }
  .presentation .site-nav { top: 64px; }
  .presentation h1 { font-size: 34px; line-height: 1.23; margin: 14px 0 20px; }
  .presentation h2 { font-size: 26px; line-height: 1.3; }
  .intro-scene { padding: 32px 0 24px; }
  .intro-layout { grid-template-columns: 1fr; gap: 34px; }
  .intro-greeting { font-size: 14px; margin-top: 24px; }
  .intro-description { font-size: 15px; line-height: 1.65; }
  .intro-actions { margin-top: 24px; gap: 16px; }
  .intro-actions .button { font-size: 12px; padding-inline: 16px; }
  .intro-platforms { margin-top: 22px; gap: 9px; font-size: 10px; }
  .intro-platforms span + span::before { margin-right: 9px; }
  .intro-demo .presentation-phone { width: 205px; }
  .demo-select { margin-top: 18px; }
  .demo-select button { min-width: 61px; }
  .demo-caption { max-width: 320px; }
  .scene-scroll { width: calc(100% - 40px); margin-top: 24px; }
  .story-section { padding: 15px 0 45px; }
  .story-layout { display: block; }
  .story-stage { display: none; }
  .story-chapter { min-height: auto; padding: 48px 0; border-bottom: 1px solid #ffffff10; }
  .visitor-question { font-size: 12px; padding: 12px 16px; margin: 20px 0 28px; }
  .chapter-copy { font-size: 15px; line-height: 1.7; }
  .chapter-tags { font-size: 11px; }
  .chapter-mobile-screen { display: block; width: 205px; height: auto; border-radius: 25px; margin: 24px auto 0; align-self: center; border: 5px solid #4a445e; box-shadow: 0 20px 55px #0005; }
  .presentation #features { padding: 52px 0; }
  .presentation .feature-card { min-height: 340px; }
  .start-scene, .conversation-faq { padding: 60px 0; }
  .start-layout, .faq-conversation-layout { grid-template-columns: 1fr; gap: 28px; }
  .start-layout p { font-size: 15px; }
  .birth-steps li { padding: 18px 0; }
  .birth-steps p { font-size: 13px; }
  .download-scene { padding: 64px 0; }
  .download-scene p:not(.section-kicker) { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-typing .type-visual::after { display: none; }
}
.type-root { position: relative; }
.type-reserve { display: block; visibility: hidden; }
.type-root .type-visual { position: absolute; inset: 0; }
.presentation::after { display: none; }
/* Cosmic atmosphere follows the pointer behind the presentation content. */
.presentation .pointer-aura { width: 540px; height: 540px; filter: blur(24px); background: radial-gradient(ellipse at 40% 45%, #bfa2ff30, #7266e626 34%, #f4c2e612 53%, transparent 72%); transform: translate3d(calc(var(--pointer-x) - 270px), calc(var(--pointer-y) - 270px), 0); }
.presentation .pointer-aura::before, .presentation .pointer-aura::after { content: ''; position: absolute; inset: 45px 20px 80px; border-radius: 45% 55% 60% 40%; background: radial-gradient(ellipse, #bfa2ff22, transparent 68%); animation: pointer-fog 12s ease-in-out infinite alternate; }
.presentation .pointer-aura::after { inset: 110px 60px 20px; background: radial-gradient(ellipse, #f4c2e61c, transparent 70%); animation-duration: 17s; animation-direction: alternate-reverse; }
.presentation .ambient-orb { opacity: .09; }
.presentation .planet-orbit { --orbit-size: 450px; position: absolute; width: var(--orbit-size); height: var(--orbit-size); aspect-ratio: 1; z-index: -1; border-radius: 50%; border: 1px solid #bfa2ff38; background: none; left: calc(50% - var(--orbit-size) / 2); top: 38px; animation: cosmic-orbit 30s linear infinite; }
.presentation .planet-orbit::before, .presentation .planet-orbit::after { content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%; top: calc(50% - 8.5px); background: radial-gradient(circle at 28% 25%, #f7e4f2, #b68aca 55%, #685082); box-shadow: 0 0 20px #f4c2e64d; }
.presentation .planet-orbit::before { left: -8.5px; }
.presentation .planet-orbit::after { right: -6px; width: 12px; height: 12px; top: calc(50% - 6px); background: radial-gradient(circle at 28% 25%, #ffeaba, #d9ab4f 55%, #755322); box-shadow: 0 0 17px #ffd05a44; }
.presentation .planet-orbit.orbit-inner { --orbit-size: 350px; top: 88px; border-color: #bfa2ff22; animation-duration: 22s; animation-direction: reverse; }
.presentation .orbit-inner::before { background: radial-gradient(circle at 28% 25%, #dcecff, #8d9adf 55%, #51518d); box-shadow: 0 0 22px #8d9adf55; width: 13px; height: 13px; left: -6.5px; top: calc(50% - 6.5px); }
.presentation .orbit-inner::after { width: 7px; height: 7px; right: -3.5px; top: calc(50% - 3.5px); background: #f4c2e6; }
.presentation .stage-orbit { --orbit-size: min(450px, 34vw, calc((100svh - 245px) * .68)); top: 50%; margin-top: calc(var(--orbit-size) / -2); }
.presentation .stage-orbit.orbit-inner { --orbit-size: min(350px, 27vw, calc((100svh - 245px) * .53)); top: 50%; }
@keyframes cosmic-orbit { to { transform: rotate(360deg); } }
@keyframes pointer-fog { from { transform: translate(-18px, 12px) rotate(-12deg) scale(.92); } to { transform: translate(22px, -16px) rotate(18deg) scale(1.08); } }
@media (max-width: 980px) {
  .presentation .intro-demo .planet-orbit { --orbit-size: 350px; top: 64px; }
  .presentation .intro-demo .planet-orbit.orbit-inner { --orbit-size: 280px; top: 99px; }
}
@media (max-width: 640px) {
  .presentation .intro-demo .planet-orbit { --orbit-size: 320px; top: 62px; }
  .presentation .intro-demo .planet-orbit.orbit-inner { --orbit-size: 250px; top: 97px; }
  .presentation .ambient-orb.three { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .presentation .pointer-aura, .presentation .comet { display: none; }
  .presentation .planet-orbit { animation: none; }
}

/* Screenshot stays beneath video until playback actually starts. */
.phone-video { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: cover; border-radius: 33px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.presentation-phone.is-video-playing .phone-video { opacity: 1; }
.phone-video-toggle { display: none; position: absolute; z-index: 2; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ffffff33; background: #0d1020cc; color: white; font-size: 14px; cursor: pointer; }
.presentation-phone.has-video .phone-video-toggle { display: grid; place-items: center; }
.chapter-mobile-frame { display: none; }
@media (max-width: 640px) {
  .chapter-mobile-frame { display: block; width: 205px; margin: 24px auto 0; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-video, .phone-video-toggle { display: none !important; }
}

/* Celestial observatory: one quiet scene accompanies each part of the story. */
.presentation .site-header { backdrop-filter: blur(20px); border-bottom: 1px solid #c4b5ee14; }
.presentation .starfield { opacity: .45; }
.presentation .comet { display: none; }
.presentation .intro-scene { overflow: clip; }
.zodiac-wheel { position: absolute; z-index: -1; width: 600px; max-width: none; top: -25px; left: 50%; transform: translateX(-50%); color: #bda8e2; }
.zodiac-ring { transform-origin: 300px 300px; animation: cosmic-orbit 180s linear infinite; animation-play-state: paused; }
.zodiac-ring circle, .zodiac-ring path { stroke: currentColor; stroke-width: .7; opacity: .35; }
.zodiac-ring text { fill: currentColor; font-family: Georgia, serif; font-size: 17px; text-anchor: middle; dominant-baseline: central; opacity: .8; }
.sky-lines path { stroke: #d4c3f4; stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; }
.sky-lines circle { fill: #eee3ff; filter: drop-shadow(0 0 5px #c2a5ff); }
.scene-visible .zodiac-ring { animation-play-state: running; }
.scene-visible .sky-lines path { animation: trace-sky 2.4s ease both; }
.intro-copy { animation: celestial-enter 1s ease both; }
.presentation .intro-demo .presentation-phone { box-shadow: 0 35px 100px #0008, 0 0 90px #b79be518; }
.story-section { position: relative; isolation: isolate; }
.story-chapter { transition: opacity .6s ease; }
.story-chapter h2 { transition: color .6s ease; }
.story-chapter.chapter-active h2 { color: #ede3ff; }
.story-stage .planet-orbit { display: none; }
.chapter-scenery { position: absolute; inset: 0 -45px; z-index: -1; pointer-events: none; display: grid; place-items: center; }
.chapter-scenery > * { position: absolute; opacity: 0; transform: scale(.88); transition: opacity 1s ease, transform 1.4s ease; }
.scene-sun { width: 420px; height: 420px; border-radius: 50%; border: 1px solid #edbb7730; background: radial-gradient(circle, #d5a05822, #ae745c0c 55%, transparent 72%); box-shadow: 0 0 95px #d5935b12; }
.scene-sun::after { content: ''; position: absolute; inset: 35px; border: 1px solid #edbb771c; border-radius: 50%; }
.scene-chart { width: 480px; max-width: 115%; stroke: #bca0f0; stroke-width: .6; }
.scene-chart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene-moon { width: 365px; height: 365px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ece3ff22, #9baed70c 60%, transparent 75%); box-shadow: inset -15px 5px 25px #c3c9ef30, 0 0 75px #9cabe31a; }
.scene-cards { width: 380px; height: 350px; }
.scene-cards i { position: absolute; inset: 15px 80px; border-radius: 18px; border: 1px solid #c6a1dc4a; background: linear-gradient(140deg,#25233b,#111425); color: #d1b8e5; font-style: normal; display: grid; place-items: center; font-size: 70px; }
.scene-cards i:first-child { transform: rotate(-26deg) translateX(-85px); }
.scene-cards i:last-child { transform: rotate(26deg) translateX(85px); }
.story-section[data-sky="day"] .story-stage .scene-sun, .mobile-celestial[data-sky="day"] .scene-sun, .story-section[data-sky="chart"] .story-stage .scene-chart, .mobile-celestial[data-sky="chart"] .scene-chart, .story-section[data-sky="moon"] .story-stage .scene-moon, .mobile-celestial[data-sky="moon"] .scene-moon, .story-section[data-sky="tarot"] .story-stage .scene-cards, .mobile-celestial[data-sky="tarot"] .scene-cards { opacity: 1; transform: scale(1); }
[data-sky="chart"] .scene-visible .scene-chart path { animation: trace-sky 1.8s ease forwards; }
.lunar-section { position: relative; padding: 120px 0; overflow: clip; background: radial-gradient(ellipse at 73% 50%,#62638b18,transparent 55%); border-top: 1px solid #c6b8e51a; }
.lunar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.lunar-copy h2 { margin: 20px 0 24px; }
.lunar-copy > p:not(.section-kicker) { color: var(--soft); line-height: 1.85; max-width: 440px; }
.lunar-copy .lunar-disclaimer { font-size: 11px; opacity: .65; margin-top: 24px; }
.lunar-explorer { position: relative; display: flex; align-items: center; flex-direction: column; isolation: isolate; padding-top: 28px; }
.lunar-disc { width: 260px; max-width: 75%; filter: drop-shadow(0 0 45px #c8c1ea16); }
.moon-orbit { position: absolute; z-index: -1; width: 340px; height: 340px; top: -12px; border: 1px solid #bcb2d729; border-radius: 50%; transform: rotate(var(--phase-angle,180deg)); transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.moon-orbit::after { content: ''; position: absolute; inset: -17px; border: 1px dashed #bcb2d714; border-radius: 50%; }
.moon-orbit span { position: absolute; width: 7px; height: 7px; top: -4px; left: calc(50% - 3px); border-radius: 50%; background: #dac8f4; box-shadow: 0 0 16px #dac8f4; }
.phase-label { margin: 28px 0 30px; color: #e2d6f1; font-size: 14px; }
.phase-choices { display: grid; grid-template-columns: repeat(4,1fr); width: 100%; max-width: 400px; gap: 8px; padding: 7px; border: 1px solid #c0aed425; border-radius: 20px; background: #141729aa; }
.phase-choices button { display: flex; flex-direction: column; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 14px; padding: 12px 5px; background: transparent; color: #a4a6bd; font: inherit; font-size: 11px; cursor: pointer; transition: background .25s ease, color .25s ease; }
.phase-choices button span { font-size: 24px; line-height: 1; }
.phase-choices button[aria-pressed="true"] { background: #c4acdf1a; border-color: #c4acdf40; color: #f0e5ff; }
.phase-choices button:hover { background: #c4acdf12; color: white; }
.presentation button:focus-visible, .presentation a:focus-visible { outline: 2px solid #d6b9ff; outline-offset: 5px; }
.presentation .feature-card { border: 1px solid #b6a4dc25; background: linear-gradient(150deg,#292941b3,#141827e6); }
@keyframes trace-sky { to { stroke-dashoffset: 0; } }
@keyframes celestial-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition-duration: 0s !important; }
.motion-paused .sky-lines path, .motion-paused .scene-chart path { stroke-dashoffset: 0; animation: none !important; }
.motion-paused .intro-copy { animation: none; }
.motion-paused .pointer-aura { display: none; }
@media (max-width: 980px) {
  .zodiac-wheel { width: 470px; top: 0; }
  .lunar-layout { gap: 45px; }
  .scene-sun { width: 330px; height: 330px; }
  .moon-orbit { width: 300px; height: 300px; top: 8px; }
}
@media (max-width: 640px) {
  .zodiac-wheel { width: 440px; top: -2px; }
  .intro-layout { gap: 60px; }
  .intro-scene { padding-top: 45px; }
  .lunar-section { padding: 65px 0; }
  .lunar-layout { grid-template-columns: 1fr; gap: 60px; }
  .lunar-disc { width: 230px; }
  .moon-orbit { width: 280px; height: 280px; top: 4px; }
  .phase-choices { max-width: 360px; }
  .story-chapter { position: relative; isolation: isolate; }
  .story-chapter::after { content: ''; position: absolute; z-index: -1; inset: 30% -20px 0; pointer-events: none; background: radial-gradient(ellipse,#b6a1dc16,transparent 65%); }
  #story-day::after { background: radial-gradient(ellipse,#e6ae641c,transparent 65%); }
  #story-moon::after { background: radial-gradient(ellipse,#aec9ed1d,transparent 65%); }
  #story-tarot::after { background: radial-gradient(ellipse,#d299c51a,transparent 65%); }
}
@media (prefers-reduced-motion: reduce) {
  .presentation *, .presentation *::before, .presentation *::after { animation: none !important; transition: none !important; }
  .sky-lines path, .scene-chart path { stroke-dashoffset: 0; }
}

/* Real phase artwork shared with the mobile app. */
.lunar-disc { position: relative; aspect-ratio: 1; }
.lunar-disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .7s ease; }
.lunar-disc img.is-active { opacity: 1; }
.scene-moon { background: url('/assets/images/moon-phases/full-moon.png') center / contain no-repeat; opacity: 0; box-shadow: none; }
.story-section[data-sky="moon"] .story-stage .scene-moon, .mobile-celestial[data-sky="moon"] .scene-moon { opacity: .38; }
.type-root .type-visual { white-space: pre-line; }
.mobile-celestial { display: none; }
@keyframes celestial-breathe { from { transform: scale(.92); } to { transform: scale(1.05); } }
@keyframes celestial-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes card-fan-left { from { transform: rotate(-12deg) translateX(-35px); } to { transform: rotate(-26deg) translateX(-85px); } }
@keyframes card-fan-right { from { transform: rotate(12deg) translateX(35px); } to { transform: rotate(26deg) translateX(85px); } }
@media (max-width: 640px) {
  .mobile-celestial { display: grid; place-items: center; position: relative; isolation: isolate; width: 100%; margin-top: 30px; }
  .mobile-celestial .chapter-mobile-frame { margin: 0; }
  .mobile-celestial .chapter-scenery { inset: 0 -10px; }
  .mobile-celestial .scene-sun { width: 300px; height: 300px; }
  .mobile-celestial .scene-chart { width: 330px; max-width: 115%; }
  .mobile-celestial .scene-moon { width: 295px; height: 295px; }
  .mobile-celestial .scene-cards { width: 290px; height: 290px; }
  .mobile-celestial .scene-cards i { inset: 15px 55px; }
  .mobile-celestial .scene-sun, .mobile-celestial .scene-moon { animation: celestial-breathe 5s ease-in-out infinite alternate paused; }
  .mobile-celestial .scene-chart { animation: celestial-turn 100s linear infinite paused; }
  .mobile-celestial .scene-chart path { stroke-dashoffset: 0; }
  .mobile-celestial .scene-cards i:first-child { animation: card-fan-left 3s ease-in-out infinite alternate paused; }
  .mobile-celestial .scene-cards i:last-child { animation: card-fan-right 3s ease-in-out infinite alternate paused; }
  .scene-visible .mobile-celestial .scene-sun, .scene-visible .mobile-celestial .scene-moon,
  .scene-visible .mobile-celestial .scene-chart, .scene-visible .mobile-celestial .scene-cards i { animation-play-state: running; }
  .story-chapter { overflow: clip; }
}
@media (max-width: 360px) {
  .presentation .brand span { font-size: 12px; }
  .presentation .nav-wrap { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lunar-disc img { transition: none; }
}

/* An interactive atlas replaces the feature carousel. */
.explore-switch { display: flex; gap: 8px; padding: 6px; width: fit-content; border: 1px solid #bca6df33; border-radius: 999px; margin: 30px 0; background: #14172b; }
.explore-switch button, .zodiac-choices button, .element-choices button { font: inherit; cursor: pointer; color: #bdb8d3; background: transparent; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.explore-switch button { padding: 13px 24px; border-radius: 999px; font-size: 13px; }
.explore-switch button[aria-pressed="true"] { background: #ccb8ee; color: #1c1630; }
.experience-panel { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid #baa6df30; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg,#22243b99,#101322); }
.experience-panel[hidden] { display: none; }
.zodiac-choices { display: grid; grid-template-columns: repeat(3,1fr); align-content: center; padding: 30px; gap: 8px; border-right: 1px solid #baa6df20; }
.zodiac-choices button { display: grid; justify-items: center; gap: 8px; padding: 16px 4px; border-radius: 15px; font-size: 11px; min-height: 72px; }
.zodiac-choices button span { font-family: Georgia,serif; font-size: 25px; color: #c3afdf; }
.zodiac-choices button:hover, .element-choices button:hover { background: #cab4ea0d; }
.zodiac-choices button[aria-pressed="true"], .element-choices button[aria-pressed="true"] { border-color: #d6bcfc66; background: #c1a0f01a; color: white; }
.experience-result { min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; position: relative; background: radial-gradient(ellipse at 50% 30%,#aa87df14,transparent 65%); }
.constellation-art { width: min(100%,330px); height: 175px; display: grid; place-items: center; }
.constellation-art svg { width: 100%; overflow: visible; }
.constellation-art path { fill: none; stroke: #d8c3ff; stroke-width: .55; stroke-dasharray: 1; stroke-dashoffset: 1; }
.experience-visible .constellation-art path { animation: trace-sky 1.5s ease forwards; }
.constellation-art circle { fill: #fff5ff; filter: drop-shadow(0 0 2px #c1a3ff); }
.experience-copy h3 { margin: 10px 0 14px; font-size: 26px; font-weight: 500; }
.experience-copy > p:last-child { color: var(--soft); font-size: 14px; line-height: 1.8; max-width: 430px; min-height: 76px; }
.experience-copy .section-kicker { color: #b8a4cf; font-size: 10px; }
.experience-result .chapter-link { margin-top: 5px; }
.element-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px; align-content: center; border-right: 1px solid #baa6df20; }
.element-choices button { min-height: 100px; border-radius: 20px; border-color: #baa6df22; font-size: 15px; }
.element-art { --element-color:#edb178; width: 230px; height: 180px; position: relative; display: grid; place-items: center; color: var(--element-color); }
.element-art span { font-size: 80px; font-family: Georgia,serif; z-index: 1; text-shadow: 0 0 35px color-mix(in srgb,var(--element-color),transparent 70%); }
.element-art i { position: absolute; inset: 35px 60px; border: 1px solid var(--element-color); opacity: .3; border-radius: 50%; animation: element-ripple 3.6s ease-out infinite paused; }
.element-art i:nth-child(2) { animation-delay: -.9s; }
.element-art i:nth-child(3) { animation-delay: -1.8s; }
.element-art i:nth-child(4) { animation-delay: -2.7s; }
[data-element-scene="water"] .element-art { --element-color:#9ec9e8; }
[data-element-scene="earth"] .element-art { --element-color:#b0cdaa; }
[data-element-scene="earth"] .element-art i { border-radius: 8px; animation-name: element-crystal; }
[data-element-scene="air"] .element-art { --element-color:#c9c3ee; }
[data-element-scene="air"] .element-art i { border-radius: 50%; inset: 55px 15px; animation-name: element-air; }
[data-element-scene="fire"] .element-art i { width: 4px; height: 4px; inset: auto; bottom: 15px; background: var(--element-color); animation-name: element-spark; }
.experience-visible .element-art i { animation-play-state: running; }
@keyframes element-ripple { from { transform: scale(.45); opacity: .6; } to { transform: scale(1.65); opacity: 0; } }
@keyframes element-crystal { from { transform: rotate(45deg) scale(.4); opacity: .1; } to { transform: rotate(45deg) scale(1.15); opacity: .5; } }
@keyframes element-air { from { transform: translateX(-25px) rotate(-15deg); opacity: 0; } 50% { opacity: .45; } to { transform: translateX(25px) rotate(15deg); opacity: 0; } }
@keyframes element-spark { from { transform: translate(-55px,0) scale(1); opacity: 0; } 30% { opacity: .8; } to { transform: translate(45px,-150px) scale(.3); opacity: 0; } }
.all-features { margin-top: 25px; border-top: 1px solid #baa6df25; }
.all-features summary { display: flex; justify-content: space-between; cursor: pointer; padding: 22px 0; color: #c5b7d7; font-size: 13px; list-style: none; }
.all-features summary::-webkit-details-marker { display: none; }
.all-features[open] summary span { transform: rotate(45deg); }
.all-features > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-bottom: 20px; }
.all-features a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px; border: 1px solid #baa6df22; border-radius: 12px; color: var(--soft); font-size: 12px; }
.all-features a:hover { border-color: #baa6df77; color: white; }
.tarot-play { width: 100%; margin-top: 24px; }
.tarot-instruction { font-size: 12px; color: #c8b5dd; }
.tarot-hand { display: flex; gap: 12px; justify-content: center; padding: 22px 8px; perspective: 900px; }
.pick-card { flex: 1; max-width: 130px; aspect-ratio: 2/3; border: 0; padding: 0; background: transparent; color: #dfc5f3; cursor: pointer; transform: rotate(-7deg); transition: transform .5s ease, opacity .5s ease; }
.pick-card:nth-child(2) { transform: translateY(-10px); }
.pick-card:nth-child(3) { transform: rotate(7deg); }
.pick-card:hover:not(:disabled), .pick-card:focus-visible { transform: translateY(-17px); }
.card-turn { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.25,1); }
.card-back, .card-front { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid #c4a0e389; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: radial-gradient(ellipse,#403052,#14172c); }
.card-back::before, .card-front::before { content: ''; position: absolute; inset: 7px; border: 1px solid #dab3e534; border-radius: 7px; pointer-events: none; }
.card-back > span, .card-front > span { font: 45px Georgia,serif; }
.card-back small { letter-spacing: .16em; font-size: 7px; }
.card-front { transform: rotateY(180deg); background: radial-gradient(ellipse at top,#69566f,#252039); color: #fff0d0; }
.card-front small { font-size: 12px; }
.pick-card.is-chosen { transform: translateY(-12px); }
.pick-card.is-chosen .card-turn { transform: rotateY(180deg); }
.has-choice .pick-card:not(.is-chosen) { opacity: .3; }
.tarot-reading { min-height: 100px; font-size: 13px; line-height: 1.8; color: #d5c8df; }
.tarot-reading p { margin: 8px 0; }
.tarot-reading [data-card-question] { color: #aca9c5; }
.tarot-reset { border: 1px solid #cab4e54d; background: #cab4e510; color: #dfccef; border-radius: 999px; padding: 12px 20px; font: inherit; font-size: 12px; cursor: pointer; }
.tarot-play .lunar-disclaimer { font-size: 10px; color: #8f8ba7; line-height: 1.8; }
@media (max-width: 760px) {
  .experience-panel { grid-template-columns: 1fr; }
  .zodiac-choices { grid-template-columns: repeat(4,1fr); padding: 16px; border-right: 0; border-bottom: 1px solid #baa6df20; gap: 5px; }
  .zodiac-choices button { min-height: 65px; padding: 10px 2px; font-size: 10px; }
  .experience-result { min-height: 390px; padding: 24px 20px; }
  .element-choices { padding: 16px; grid-template-columns: repeat(4,1fr); gap: 6px; border-right: 0; border-bottom: 1px solid #baa6df20; }
  .element-choices button { min-height: 56px; font-size: 11px; border-radius: 12px; }
  .all-features > div { grid-template-columns: 1fr 1fr; }
  .explore-switch { width: 100%; }
  .explore-switch button { flex: 1; padding: 13px 10px; }
}
@media (max-width: 360px) {
  .zodiac-choices { padding: 10px; gap: 3px; }
  .zodiac-choices button { font-size: 9px; }
  .tarot-hand { gap: 8px; }
  .all-features > div { grid-template-columns: 1fr; }
}
.motion-paused .constellation-art path { animation: none; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .constellation-art path { animation: none !important; stroke-dashoffset: 0; }
}

/* Phase-specific copy stays beside the selected moon on every screen. */
.phase-explanation { width: 100%; max-width: 390px; text-align: center; min-height: 145px; }
.phase-explanation .phase-label { margin: 28px 0 12px; }
.phase-description { color: var(--soft); font-size: 13px; line-height: 1.8; margin: 0 0 24px; }
.constellation-art circle { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 2px #e1c7ff) drop-shadow(0 0 5px #a880ed); animation: constellation-shimmer 3.4s ease-in-out infinite alternate paused; }
.constellation-art circle:nth-child(3n) { animation-delay: -.9s; }
.constellation-art circle:nth-child(3n + 1) { animation-delay: -1.8s; }
.experience-visible .constellation-art circle { animation-play-state: running; }
@keyframes constellation-shimmer { from { opacity: .65; transform: scale(.85); } to { opacity: 1; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .constellation-art circle { animation: none !important; } }
/* Full card faces from the static Georgian deck. */
.pick-card { aspect-ratio: 7/12; }
.card-front { overflow: hidden; gap: 0; background: #eee5d3; }
.card-front img { width: 100%; height: 100%; object-fit: contain; }
.card-front img[hidden] { display: none; }
.card-front:has(img:not([hidden]))::before, .card-front:has(img:not([hidden])) small { display: none; }
.card-front small { color: #342439; padding: 15px; }
.tarot-play.is-dealing .card-turn { transition: none; transform: rotateY(0); }
.tarot-play.is-dealing .card-front { visibility: hidden; }
.pick-card:disabled { cursor: default; }
.tarot-credit { color: #8f8ba7; font-size: 10px; line-height: 1.8; }
.tarot-credit a { text-decoration: underline; text-underline-offset: 3px; }

.tarot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tarot-more { display: none; align-items: center; gap: 12px; border: 1px solid #cab4e566; background: #cab4e522; color: #eee1ff; border-radius: 999px; padding: 12px 20px; font-size: 12px; }
.has-choice .tarot-more { display: inline-flex; }
.tarot-more:hover { background: #cab4e536; }

/* Celestial pointer: sparse stars and fleeting constellation lines. */
.presentation .pointer-aura { display: none; }
.pointer-constellation { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.motion-paused .pointer-constellation { display: none; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) { .pointer-constellation { display: none; } }

/* Real web-app screens close the product story. */
.web-scene { position: relative; overflow: hidden; padding: 64px 0 48px; background: radial-gradient(ellipse at 50% 52%, #6550b62b, transparent 64%), #0d1020; border-top: 1px solid #cbb6ed18; }
.web-intro { position: relative; z-index: 1; max-width: 730px; margin: 0 auto; text-align: center; }
.web-intro h2 { margin: 14px 0 18px; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.22; }
.web-intro h2 span { color: #cbb6ed; }
.web-description { max-width: 610px; margin: 0 auto 22px; color: var(--soft); font-size: 15px; line-height: 1.75; }
.web-signin { gap: 28px; }
.web-account-note { margin: 16px 0 0; color: #999bb5; font-size: 12px; }
.web-showcase { position: relative; max-width: 780px; margin: 36px auto 0; padding: 0 100px 130px 0; isolation: isolate; }
.web-orbit { position: absolute; z-index: -1; width: 110%; height: 85%; top: 4%; left: -5%; border: 1px solid #cbb6ed18; border-radius: 50%; transform: rotate(-12deg); box-shadow: 0 0 100px #8062d011; }
.web-desktop { margin: 0; overflow: hidden; border: 1px solid #bba8e14a; border-radius: 16px; background: #17182d; box-shadow: 0 36px 90px #0006, 0 0 65px #8d6bc514; }
.web-browser-bar { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 17px; color: #b7a9d0; border-bottom: 1px solid #ffffff0b; background: #222239; font-size: 9px; }
.web-window-dots { display: flex; gap: 6px; }
.web-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #716482; }
.web-window-dots i:first-child { background: #bf90ae; }.web-window-dots i:nth-child(2) { background: #b2a0c7; }
.web-address { width: 45%; padding: 4px 8px; border-radius: 5px; background: #14152980; text-align: center; letter-spacing: .04em; }
.web-desktop img, .web-natal-preview img { display: block; width: 100%; height: auto; }
.web-desktop figcaption { padding: 10px 14px; color: #aaa7c0; font-size: 11px; }
.web-natal-preview { position: absolute; width: 62%; right: 0; bottom: 0; margin: 0; overflow: hidden; border: 1px solid #cbb6ed66; border-radius: 18px; background: #1a1a30; box-shadow: 0 20px 70px #0009; transform: rotate(2deg); }
.web-natal-media { position: relative; }
.web-natal-media .phone-video { inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: contain; }
.web-natal-media.is-video-playing .phone-video { opacity: 1; }
.web-natal-media.has-video .phone-video-toggle { display: grid; place-items: center; top: auto; bottom: 10px; right: 10px; }
.web-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0 0; margin: 28px auto 0; max-width: 1060px; border-top: 1px solid #cbb6ed22; list-style: none; }
.web-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.web-benefits li > span { color: #cbb6ed; font-size: 24px; line-height: 1; }
.web-benefits strong { font-size: 13px; font-weight: 500; color: #e7def3; }.web-benefits p { color: var(--soft); font-size: 12px; margin: 8px 0 0; line-height: 1.7; }
@media (max-width: 700px) {
  .web-scene { padding: 42px 0 36px; }
  .web-description { font-size: 14px; }
  .web-showcase { margin-top: 28px; padding: 0 32px 88px 0; }
  .web-desktop { border-radius: 10px; }.web-browser-bar { height: 28px; padding: 0 9px; font-size: 8px; }.web-window-dots { gap: 4px; }.web-window-dots i { width: 5px; height: 5px; }
  .web-desktop figcaption { padding: 10px; font-size: 8px; }
  .web-natal-preview { width: 66%; border-radius: 10px; transform: rotate(2deg); }
  .web-benefits { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; padding-top: 20px; }
}

.web-preview-note { margin: 24px 0 0; text-align: center; color: #888ca7; font-size: 11px; }

@media (min-width: 1000px) {
  .web-scene > .container { display: grid; grid-template-columns: .78fr 1.22fr; column-gap: 52px; align-items: center; }
  .web-intro { grid-column: 1; grid-row: 1 / 3; margin: 0; text-align: left; }
  .web-description { margin-left: 0; }
  .web-showcase { grid-column: 2; width: 100%; max-width: 560px; justify-self: end; margin: 0; padding: 0 55px 70px 0; }
  .web-preview-note { grid-column: 2; margin: 16px 0 0; font-size: 10px; }
  .web-benefits { grid-column: 1 / -1; width: 100%; max-width: none; }
  .web-browser-bar { padding-inline: 10px; font-size: 8px; }
  .web-address { width: 65%; }
  .web-desktop figcaption { font-size: 9px; }
}

.web-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.web-guide-link { color: #d5bde9; font-size: 12px; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.web-guide-link:hover { color: #fff; }
.web-guide-link:focus-visible { outline: 2px solid #cbb6ed; outline-offset: 5px; border-radius: 3px; }
@media (min-width: 1000px) { .web-actions { justify-content: flex-start; } }
