:root {
  color-scheme: dark;
  --night: #07060c;
  --night-soft: #0f0c18;
  --paper: #f8f1e5;
  --muted: rgba(248, 241, 229, 0.68);
  --line: rgba(248, 241, 229, 0.14);
  --gold: #d9b66f;
  --glow: #d9b66f;
  --glow-rgb: 217, 182, 111;
  --accent-deep: #4a2d22;
  --panel: rgba(13, 10, 21, 0.82);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Avenir Next", Helvetica, Arial, sans-serif;
}

body.theme-mirror {
  --glow: #e6aa98;
  --glow-rgb: 230, 170, 152;
  --accent-deep: #641f38;
}

body.theme-crossroads {
  --glow: #e3be61;
  --glow-rgb: 227, 190, 97;
  --accent-deep: #0d493c;
}

body.theme-cosmic {
  --glow: #c4b6ff;
  --glow-rgb: 196, 182, 255;
  --accent-deep: #37256d;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--night);
  font-family: var(--sans);
  transition: background 700ms ease;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #0a0710;
  background: var(--paper);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(var(--glow-rgb), 0.08), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(82, 58, 144, 0.15), transparent 34%),
    linear-gradient(150deg, #05040a 0%, #0a0711 46%, #040309 100%);
  transition: background 800ms ease;
}

.stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(var(--glow-rgb), 0.78) 0 0.8px, transparent 1.2px);
  background-position: 0 0, 35px 72px;
  background-size: 114px 114px, 173px 173px;
  opacity: 0.36;
  animation: star-drift 80s linear infinite;
}

.stars-b {
  background-size: 241px 241px, 319px 319px;
  opacity: 0.2;
  transform: rotate(17deg) scale(1.2);
  animation-duration: 130s;
  animation-direction: reverse;
}

.halo {
  position: absolute;
  width: 44vw;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--glow-rgb), 0.12);
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.45;
}

.halo-one {
  top: -22vw;
  right: -12vw;
}

.halo-two {
  bottom: -28vw;
  left: -18vw;
  width: 58vw;
}

.geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 88vw);
  height: auto;
  opacity: 0.075;
  stroke: var(--glow);
  stroke-width: 0.8;
  fill: none;
  transform: translate(-50%, -50%);
  animation: geometry-turn 90s linear infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(5, 4, 10, 0.9), rgba(5, 4, 10, 0.38) 72%, transparent);
  backdrop-filter: blur(10px);
}

.oracle-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
}

.oracle-brand img {
  display: block;
  width: auto;
  height: 34px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.site-header nav,
.oracle-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a,
.oracle-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 180ms ease;
}

.site-header nav a:hover,
.oracle-footer a:hover {
  color: var(--paper);
}

.scene {
  width: min(1280px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 128px 0 72px;
  opacity: 0;
  transform: translateY(14px);
}

.scene.is-active {
  opacity: 1;
  transform: none;
  animation: scene-enter 700ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.scene-opening {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.opening-mark {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 34px;
}

.opening-mark span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--glow-rgb), 0.38);
  transform: rotate(45deg);
  animation: mark-breathe 5s ease-in-out infinite;
}

.opening-mark span:nth-child(2) {
  inset: 14px;
  animation-delay: -1.6s;
}

.opening-mark span:nth-child(3) {
  inset: 29px;
  background: rgba(var(--glow-rgb), 0.22);
  box-shadow: 0 0 34px rgba(var(--glow-rgb), 0.32);
  animation-delay: -3.2s;
}

.kicker {
  margin: 0 0 18px;
  color: var(--glow);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

.scene-opening h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.1rem, 8.8vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.opening-line {
  margin: 22px 0 36px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
}

.opening-note {
  max-width: 480px;
  margin: 24px auto 0;
  color: rgba(248, 241, 229, 0.46);
  font-size: 12px;
  line-height: 1.7;
}

.oracle-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.oracle-button:hover {
  transform: translateY(-2px);
}

.oracle-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.oracle-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.oracle-button-primary {
  color: #100b10;
  background: linear-gradient(135deg, #f1d999, var(--glow));
  border-color: rgba(var(--glow-rgb), 0.78);
  box-shadow: 0 0 42px rgba(var(--glow-rgb), 0.15);
}

.oracle-button-primary:hover {
  box-shadow: 0 0 52px rgba(var(--glow-rgb), 0.3);
}

.oracle-button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
}

.scene-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.scene-heading h2,
.reading-header h2,
.premium-offer h2,
.premium-reading h2,
.private-invitation h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.scene-heading > p:last-child,
.reading-engine {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.door-card {
  position: relative;
  min-width: 0;
  padding: 18px 18px 28px;
  border: 1px solid var(--line);
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  color: var(--paper);
  background: rgba(8, 6, 14, 0.68);
  cursor: pointer;
  text-align: center;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
  transition: transform 380ms ease, border-color 380ms ease, box-shadow 380ms ease;
}

.door-card:hover,
.door-card:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(var(--door-rgb), 0.58);
  box-shadow: 0 26px 70px rgba(var(--door-rgb), 0.16), inset 0 0 80px rgba(var(--door-rgb), 0.08);
}

.door-card.mirror { --door-rgb: 230, 170, 152; }
.door-card.crossroads { --door-rgb: 227, 190, 97; }
.door-card.cosmic { --door-rgb: 196, 182, 255; }

.door-number {
  position: absolute;
  top: 27px;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  transform: translateX(-50%);
}

.door-frame {
  position: relative;
  min-height: min(51vh, 470px);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(var(--door-rgb), 0.36);
  border-radius: 200px 200px 16px 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(var(--door-rgb), 0.03), rgba(var(--door-rgb), 0.11)),
    radial-gradient(circle at 50% 70%, rgba(var(--door-rgb), 0.22), transparent 38%),
    #08060d;
}

.door-frame::before,
.door-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(var(--door-rgb), 0.15);
  border-radius: inherit;
}

.door-frame::after {
  inset: 28px;
  opacity: 0.55;
}

.door-light {
  position: absolute;
  bottom: -8%;
  left: 50%;
  width: 70%;
  height: 34%;
  border-radius: 50%;
  background: rgba(var(--door-rgb), 0.3);
  filter: blur(38px);
  transform: translateX(-50%);
  transition: opacity 360ms ease, transform 360ms ease;
}

.door-card:hover .door-light {
  opacity: 0.92;
  transform: translateX(-50%) scale(1.18);
}

.door-sigil {
  position: relative;
  z-index: 2;
  width: 110px;
  color: rgb(var(--door-rgb));
  filter: drop-shadow(0 0 22px rgba(var(--door-rgb), 0.35));
}

.door-sigil svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.door-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.door-theme,
.door-invitation {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.door-invitation {
  margin-top: 18px;
  color: rgb(var(--door-rgb));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.daily-prompt {
  max-width: 820px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  margin: 54px auto 0;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-prompt span {
  color: var(--glow);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.daily-prompt p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.journey-shell,
.reading-shell {
  width: min(880px, 100%);
  margin: 0 auto;
}

.journey-back {
  margin-bottom: 24px;
}

.journey-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.journey-progress span {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.journey-progress span.is-current,
.journey-progress span.is-complete {
  background: var(--glow);
  box-shadow: 0 0 12px rgba(var(--glow-rgb), 0.34);
}

.journey-panel,
.reading-card,
.premium-offer,
.premium-reading,
.private-invitation {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(var(--glow-rgb), 0.045), transparent 42%),
    var(--panel);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.journey-panel {
  padding: clamp(28px, 6vw, 68px);
}

.journey-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(var(--glow-rgb), 0.34);
  border-radius: 50%;
  color: var(--glow);
  font-family: var(--serif);
  font-size: 2rem;
  box-shadow: 0 0 32px rgba(var(--glow-rgb), 0.08);
}

.journey-panel h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.journey-intro {
  margin: 18px 0 38px;
  color: var(--muted);
  line-height: 1.75;
}

.question-step {
  animation: step-enter 420ms ease both;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
label > span,
.field-prompt {
  display: block;
  margin: 0 0 14px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.45rem;
}

label {
  display: block;
}

textarea,
input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
  padding: 18px;
  line-height: 1.7;
}

input[type="email"] {
  height: 52px;
  padding: 0 16px;
}

textarea:focus,
input[type="email"]:focus {
  border-color: rgba(var(--glow-rgb), 0.66);
  background: rgba(var(--glow-rgb), 0.04);
}

label > small {
  display: block;
  margin: 8px 4px 0;
  color: rgba(248, 241, 229, 0.4);
  text-align: right;
  font-size: 10px;
}

.mode-grid,
.symbol-grid,
.choice-grid {
  display: grid;
  gap: 12px;
}

.mode-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 32px;
}

.mode-card,
.symbol-card,
.choice-card {
  position: relative;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mode-card {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 16px;
}

.mode-card input,
.symbol-card input,
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-card:has(input:checked),
.symbol-card:has(input:checked),
.choice-card:has(input:checked) {
  border-color: rgba(var(--glow-rgb), 0.7);
  background: rgba(var(--glow-rgb), 0.085);
  box-shadow: 0 0 28px rgba(var(--glow-rgb), 0.08);
}

.mode-card:hover,
.symbol-card:hover,
.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--glow-rgb), 0.42);
}

.mode-art {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--glow);
  font-size: 1.2rem;
}

.mode-card strong {
  align-self: end;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.mode-card small {
  align-self: start;
  color: var(--muted);
}

.symbol-grid {
  grid-template-columns: repeat(4, 1fr);
}

.symbol-card {
  min-height: 148px;
  place-items: center;
  align-content: center;
  padding: 14px;
  text-align: center;
}

.symbol-card svg {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--glow);
  stroke-width: 1.2;
}

.symbol-card strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.written-response {
  margin-top: 20px;
}

.choice-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
}

.choice-card {
  min-height: 72px;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: 13px;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 34px;
}

.consent-card {
  padding: 24px;
  border: 1px solid rgba(var(--glow-rgb), 0.2);
  border-radius: 18px;
  background: rgba(var(--glow-rgb), 0.04);
}

.consent-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.consent-card > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--glow);
}

.checkbox-row span {
  margin: 0;
  font-family: var(--sans);
  font-size: inherit;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--glow);
  font-size: 12px;
  line-height: 1.6;
}

.scene-reading {
  width: min(1120px, calc(100% - 32px));
}

.reading-shell {
  width: 100%;
}

.reading-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.reading-orbit {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  border: 1px solid rgba(var(--glow-rgb), 0.38);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(var(--glow-rgb), 0.12);
}

.reading-orbit span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--glow);
  transform: rotate(45deg);
}

.reading-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.reading-card section {
  min-height: 280px;
  padding: clamp(28px, 5vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reading-card section:nth-child(2n) {
  border-right: 0;
}

.reading-card section:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.section-number {
  display: block;
  margin-bottom: 46px;
  color: rgba(var(--glow-rgb), 0.5);
  font-family: var(--serif);
}

.section-label {
  margin: 0 0 16px;
  color: var(--glow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reading-card h3 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1;
}

.reading-card p:not(.section-label),
.premium-reading p,
.premium-offer p,
.private-invitation p {
  color: var(--muted);
  line-height: 1.8;
}

.reading-card blockquote {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.reading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 70px;
}

.premium-offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 6vw, 70px);
}

.premium-offer h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.premium-offer ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.premium-offer li {
  position: relative;
  padding-left: 20px;
}

.premium-offer li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--glow);
}

.checkout-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(var(--glow-rgb), 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-price small,
.checkout-price em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.checkout-price strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 0.8;
}

.checkout-card label > span {
  font-family: var(--sans);
  font-size: 11px;
}

.test-mode-note,
.checkout-fineprint {
  margin: 0;
  font-size: 10px;
  line-height: 1.6 !important;
}

.test-mode-note {
  padding: 10px 12px;
  border: 1px solid rgba(var(--glow-rgb), 0.22);
  border-radius: 10px;
  color: var(--glow) !important;
  background: rgba(var(--glow-rgb), 0.06);
}

.premium-reading {
  margin-top: 60px;
  padding: clamp(30px, 6vw, 70px);
}

.premium-reading > header {
  max-width: 780px;
  margin-bottom: 48px;
}

.premium-reading h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.premium-grid section {
  padding: 28px;
  background: #0c0913;
}

.insight-section,
.seven-day-section,
.meditation-section {
  margin-top: 52px;
}

.insight-section ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: insight;
}

.insight-section li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.7;
  counter-increment: insight;
}

.insight-section li::before {
  content: "0" counter(insight);
  display: block;
  margin-bottom: 30px;
  color: var(--glow);
  font-family: var(--serif);
}

.seven-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.day-card {
  min-height: 208px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.day-card span {
  color: var(--glow);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-card strong {
  display: block;
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.day-card p {
  margin: 0;
  font-size: 12px;
}

.meditation-section > div {
  padding: clamp(24px, 4vw, 46px);
  border-left: 1px solid var(--glow);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.75;
  white-space: pre-line;
}

.closing-message {
  max-width: 820px;
  margin: 62px auto 0;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  text-align: center;
}

.private-invitation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 60px;
  padding: clamp(28px, 5vw, 52px);
}

.private-invitation h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.return-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0 0;
}

.oracle-footer {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: rgba(248, 241, 229, 0.42);
  font-size: 10px;
  line-height: 1.6;
}

.oracle-footer p {
  max-width: 660px;
  margin: 0;
}

.privacy-prompt {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  width: min(820px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 8, 15, 0.96);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(20px);
}

.privacy-prompt h2 {
  margin: 0 0 7px;
  font-size: 1.7rem;
}

.privacy-prompt p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.privacy-actions {
  display: flex;
  gap: 10px;
}

@keyframes scene-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes step-enter {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes star-drift {
  to { transform: translate3d(12%, 8%, 0); }
}

@keyframes geometry-turn {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes mark-breathe {
  0%, 100% { opacity: 0.46; transform: rotate(45deg) scale(0.96); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.05); }
}

@media (max-width: 900px) {
  .door-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .door-card {
    border-radius: 180px 180px 24px 24px;
  }

  .door-frame {
    min-height: 420px;
  }

  .premium-offer,
  .private-invitation {
    grid-template-columns: 1fr;
  }

  .insight-section ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .oracle-brand span {
    display: none;
  }

  .scene {
    width: min(100% - 22px, 1280px);
    padding-top: 104px;
  }

  .scene-opening h1 {
    font-size: clamp(3.1rem, 17vw, 5.5rem);
  }

  .door-frame {
    min-height: 370px;
  }

  .daily-prompt,
  .privacy-prompt {
    grid-template-columns: 1fr;
  }

  .daily-prompt {
    text-align: center;
  }

  .privacy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mode-grid,
  .choice-grid,
  .reading-card,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .symbol-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reading-card section,
  .reading-card section:nth-child(2n),
  .reading-card section:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reading-card section:last-child {
    border-bottom: 0;
  }

  .reading-actions,
  .step-actions,
  .return-actions,
  .oracle-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .reading-actions .oracle-button,
  .step-actions .oracle-button,
  .private-invitation .oracle-button {
    width: 100%;
  }

  .oracle-footer nav {
    flex-wrap: wrap;
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #17121c;
    background: #fff;
  }

  .cosmos,
  .site-header,
  .oracle-footer,
  .reading-actions,
  .premium-offer,
  .private-invitation,
  .return-actions,
  .privacy-prompt,
  .scene-opening,
  .scene-doors,
  .scene-journey,
  .free-reading {
    display: none !important;
  }

  .scene-reading,
  .premium-reading {
    display: block !important;
    min-height: 0;
    width: 100%;
    padding: 0;
    border: 0;
    color: #17121c;
    background: #fff;
    box-shadow: none;
  }

  .reading-header {
    display: block !important;
  }

  .reading-header p,
  .premium-reading p,
  .day-card p {
    color: #49414d !important;
  }

  .premium-grid,
  .premium-grid section,
  .day-card,
  .insight-section li {
    color: #17121c;
    background: #fff;
    border-color: #d7d0dc;
    break-inside: avoid;
  }

  .seven-day-grid {
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }
}
