:root {
  color-scheme: dark;
  --bg: #08080b;
  --panel: #111117;
  --panel-soft: #171720;
  --panel-warm: #19140f;
  --text: #fffaf1;
  --muted: #a5a1a8;
  --soft: #6f6a73;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gold: #d8bd83;
  --violet: #b8a4ff;
  --rose: #e7a0b6;
  --green: #a5c99b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

button,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 164, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(216, 189, 131, 0.12), transparent 22rem),
    linear-gradient(180deg, #08080b 0%, #0c0c12 100%);
}

.app-layout {
  display: grid;
  width: min(100%, 1240px);
  min-height: 100vh;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px);
}

.desktop-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  max-width: none;
}

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desktop-brief h1 {
  margin: 10px 0 8px;
  max-width: 900px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.desktop-brief p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.brief-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.brief-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ddd5c8;
  font-size: 13px;
}

.app-shell {
  position: relative;
  width: 100%;
  min-height: auto;
  max-height: none;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  background: rgba(13, 13, 18, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 14px;
}

.app-header strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
  letter-spacing: 0.02em;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.app-main {
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 0 18px 104px;
}

.app-main::-webkit-scrollbar {
  width: 0;
}

.screen {
  display: none;
  animation: screenIn 260ms ease-out;
}

.screen.active {
  display: block;
}

.hidden {
  display: none !important;
}

#astroScreen,
#tarotScreen,
#profileScreen {
  width: min(100%, 900px);
  margin: 0 auto;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  min-height: clamp(360px, 42vw, 520px);
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 189, 131, 0.18), transparent 34%),
    radial-gradient(circle at 14% 100%, rgba(184, 164, 255, 0.15), transparent 44%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.045);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.home-hero-copy h2 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.home-hero-copy p,
.product-copy p,
.home-path p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.home-hero-copy p {
  max-width: 700px;
  font-size: clamp(15px, 1.5vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-assurance span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(255, 250, 241, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-primary,
.hero-secondary {
  min-height: 48px;
  border-radius: 999px;
  cursor: pointer;
  padding: 0 20px;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.hero-primary {
  border: 0;
  background: var(--text);
  color: #111117;
  font-weight: 700;
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hero-primary:hover,
.hero-secondary:hover {
  transform: translateY(-2px);
}

.hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.hero-dot {
  min-width: 58px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 250, 241, 0.56);
  cursor: pointer;
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: border-color 260ms ease, background 260ms ease, color 260ms ease;
}

.hero-dot.active {
  border-color: rgba(216, 189, 131, 0.46);
  background: rgba(216, 189, 131, 0.14);
  color: var(--text);
}

.home-hero-stage,
.home-hero-mark {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
}

.hero-slide-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero-slide-visual.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-hero-stage svg,
.home-hero-mark svg {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.32));
}

.cosmic-earth,
.product-earth {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 28%, rgba(255, 255, 255, 0.74), transparent 0 8%, transparent 20%),
    radial-gradient(circle at 64% 38%, rgba(216, 189, 131, 0.62), transparent 0 5%, transparent 18%),
    radial-gradient(circle at 42% 72%, rgba(184, 164, 255, 0.44), transparent 0 7%, transparent 20%),
    radial-gradient(circle at 30% 30%, rgba(255, 250, 241, 0.9), rgba(216, 189, 131, 0.34) 24%, rgba(13, 13, 18, 0.15) 52%, rgba(0, 0, 0, 0.84) 72%),
    conic-gradient(from 120deg, rgba(216, 189, 131, 0.26), rgba(184, 164, 255, 0.12), rgba(255, 255, 255, 0.08), rgba(216, 189, 131, 0.26));
  box-shadow:
    inset -28px -24px 48px rgba(0, 0, 0, 0.55),
    inset 14px 12px 24px rgba(255, 255, 255, 0.07),
    0 0 72px rgba(216, 189, 131, 0.16);
  animation: earthBreath 7s ease-in-out infinite;
}

.cosmic-earth {
  width: clamp(132px, 18vw, 230px);
}

.cosmic-earth::before,
.product-earth::before {
  content: "";
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(0.38);
}

.hero-ring,
.hero-axis,
.hero-aspect,
.hero-card-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.75;
}

.hero-ring.ring-a {
  stroke: rgba(216, 189, 131, 0.5);
  transform-origin: 110px 110px;
  animation: rotate 88s linear infinite;
}

.hero-ring.ring-b {
  stroke-dasharray: 2 7;
  transform-origin: 110px 110px;
  animation: rotate 64s linear reverse infinite;
}

.hero-aspect {
  stroke: rgba(184, 164, 255, 0.32);
  stroke-dasharray: 3 9;
  animation: dashDrift 18s linear infinite;
}

.hero-card-line {
  stroke: rgba(255, 250, 241, 0.28);
}

.hero-card-line.card-one {
  animation: cardFloatA 5.8s ease-in-out infinite;
}

.hero-card-line.card-two {
  animation: cardFloatB 6.2s ease-in-out infinite;
}

.home-hero-stage text,
.home-hero-mark text {
  fill: rgba(255, 250, 241, 0.92);
  font-family: "Cambria Math", "Times New Roman", var(--serif);
  font-size: 70px;
}

.tarot-aura {
  position: absolute;
  width: clamp(220px, 28vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 189, 131, 0.18), transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(184, 164, 255, 0.16), transparent 42%);
  filter: blur(1px);
  animation: earthBreath 8s ease-in-out infinite;
}

.hero-tarot-orbit {
  position: absolute;
  width: clamp(220px, 28vw, 370px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 189, 131, 0.28);
  border-radius: 50%;
  transform: rotate(-11deg) scaleY(0.72);
  animation: rotate 80s linear infinite;
}

.hero-tarot-orbit span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-tarot-orbit span:nth-child(2) {
  inset: 28%;
  border-color: rgba(184, 164, 255, 0.16);
}

.hero-deck-preview {
  position: relative;
  z-index: 2;
  width: min(80%, 330px);
  height: min(84%, 330px);
  display: block;
}

.hero-deck-preview .preview-card {
  position: absolute;
  width: clamp(88px, 11vw, 128px);
  height: clamp(148px, 18vw, 214px);
  border-radius: 17px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.36);
  animation: tarotFloat 5.4s ease-in-out infinite;
}

.hero-deck-preview .preview-card:nth-child(1) {
  left: 3%;
  top: 30%;
  transform: rotate(-13deg);
}

.hero-deck-preview .preview-card:nth-child(2) {
  left: 34%;
  top: 9%;
  z-index: 2;
  animation-delay: -1.4s;
}

.hero-deck-preview .preview-card:nth-child(3) {
  right: 2%;
  top: 31%;
  transform: rotate(12deg);
  animation-delay: -2.6s;
}

.product-gateway {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-top: 18px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
  gap: 20px;
  min-height: clamp(520px, 48vw, 640px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 50%),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 22px;
  text-align: left;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 189, 131, 0.42);
  background:
    radial-gradient(circle at 22% 28%, rgba(216, 189, 131, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.product-card-tarot:hover {
  border-color: rgba(184, 164, 255, 0.42);
  background:
    radial-gradient(circle at 24% 30%, rgba(184, 164, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.product-index {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.product-visual {
  position: relative;
  align-self: stretch;
  min-height: 312px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.2);
}

.astro-product-visual {
  display: grid;
  place-items: center;
}

.product-earth {
  z-index: 1;
  width: min(58%, 210px);
  opacity: 0.92;
}

.astro-product-visual svg {
  position: relative;
  z-index: 2;
  width: 128%;
  max-width: none;
  height: auto;
  transform: rotate(-8deg);
  animation: starChartDrift 26s ease-in-out infinite;
}

.astro-product-visual circle,
.astro-product-visual path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.7;
}

.astro-product-visual circle:first-child {
  stroke: rgba(216, 189, 131, 0.5);
}

.astro-product-visual .aspect-poly {
  stroke: rgba(184, 164, 255, 0.36);
}

.planet-dots circle {
  fill: var(--text);
  stroke: rgba(0, 0, 0, 0.48);
}

.tarot-product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
}

.product-deck-preview {
  width: min(76%, 300px);
  height: min(86%, 300px);
  display: block;
  position: relative;
}

.product-deck-preview .preview-card {
  position: absolute;
  width: clamp(76px, 12vw, 118px);
  height: clamp(128px, 20vw, 198px);
  border-radius: 15px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  animation: tarotFloat 5.4s ease-in-out infinite;
}

.product-deck-preview .preview-card:nth-child(1) {
  left: 3%;
  top: 31%;
  transform: rotate(-12deg);
}

.product-deck-preview .preview-card:nth-child(2) {
  left: 34%;
  top: 13%;
  z-index: 2;
  animation-delay: -1.4s;
}

.product-deck-preview .preview-card:nth-child(3) {
  right: 2%;
  top: 32%;
  transform: rotate(12deg);
  animation-delay: -2.7s;
}

.product-deck-preview .preview-card span {
  bottom: 24px;
  font-size: 8px;
}

.product-deck-preview .preview-card strong {
  bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.product-copy {
  align-self: end;
  padding: 4px 10px 34px 2px;
}

.product-copy span,
.home-path span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-card-tarot .product-copy span {
  color: var(--violet);
}

.product-copy strong {
  display: block;
  max-width: 520px;
  margin: 12px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
}

.product-usecases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-usecases span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(255, 250, 241, 0.58);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.product-card i {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-style: normal;
}

.home-snapshot,
.home-path {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.home-signal-list {
  display: grid;
  gap: 12px;
}

.home-signal-list .signal-item {
  grid-template-columns: auto 34px minmax(0, 1fr);
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-signal-list .signal-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.home-signal-list .signal-item i {
  margin-top: 10px;
  transform: none;
}

.home-signal-list .signal-item strong {
  color: rgba(255, 250, 241, 0.86);
  font-size: 13px;
  line-height: 1.72;
  text-align: left;
}

.home-path {
  background:
    linear-gradient(135deg, rgba(216, 189, 131, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.home-path p {
  margin-top: 10px;
}

.hero-card,
.section-block,
.control-card,
.astro-card,
.tarot-form,
.reading-panel,
.action-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(216, 189, 131, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.hero-copy h2,
.screen-heading h2 {
  margin: 10px 0 12px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-copy p,
.screen-heading p,
.reading-panel p,
.product-roadmap p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.mini-orbit {
  align-self: center;
}

.mini-orbit svg,
.zodiac-visual svg {
  width: 100%;
  height: auto;
}

.mini-orbit circle,
.mini-orbit path,
.zodiac-visual circle,
.zodiac-visual path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.7;
}

.mini-orbit text,
.zodiac-visual text {
  fill: var(--gold);
  font-family: var(--serif);
  font-size: 54px;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.action-card {
  min-height: 116px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 189, 131, 0.42);
  background: rgba(216, 189, 131, 0.08);
}

.action-card span,
.section-title span,
label span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.action-card strong {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.45;
}

.section-block,
.control-card,
.tarot-form,
.reading-panel {
  margin-top: 14px;
  padding: 18px;
}

.deck-preview-section {
  background:
    linear-gradient(135deg, rgba(216, 189, 131, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.045);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title h3,
.reading-panel h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.today-signal-list,
.signal-list,
.metric-list,
.profile-list {
  display: grid;
  gap: 12px;
}

.deck-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-deck-preview.deck-preview,
.product-deck-preview.deck-preview {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.preview-card {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #08080b;
}

.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-card-back {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(216, 189, 131, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    #07070a;
}

.preview-card-back::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 189, 131, 0.22);
  border-radius: inherit;
}

.preview-card-back::after {
  content: "";
  position: absolute;
  inset: 18px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: none;
  transform: rotate(calc((var(--card-shift, 0) - 2) * 8deg)) scaleY(0.42);
}

.preview-card-orbit {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.preview-card-orbit::before,
.preview-card-orbit::after {
  content: "";
  position: absolute;
  inset: -42%;
  border: 1px solid rgba(216, 189, 131, 0.12);
  border-radius: 50%;
  transform: rotate(35deg) scaleY(0.36);
}

.preview-card-orbit::after {
  transform: rotate(-35deg) scaleY(0.36);
}

.preview-card-seal {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 0 18px rgba(255, 250, 241, 0.18);
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.preview-card-back::after {
  inset: 18px;
  height: auto;
  background: none;
}

.preview-card span,
.preview-card strong {
  position: absolute;
  z-index: 1;
  left: 9px;
  right: 9px;
}

.preview-card span {
  bottom: 29px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
}

.preview-card strong {
  bottom: 10px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.preview-card-back strong {
  inset: auto 10px 12px;
  color: rgba(255, 250, 241, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: center;
}

.preview-card-back .preview-card-orbit {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: 48%;
  transform: translate(-50%, -50%);
}

.preview-card-back .preview-card-seal {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
}

.signal-item,
.metric-row,
.profile-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
}

.signal-item span,
.metric-row span,
.profile-list span {
  color: var(--muted);
  font-size: 13px;
}

.signal-item i,
.metric-row i {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.signal-item strong,
.metric-row strong,
.profile-list strong {
  font-size: 14px;
  font-weight: 500;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.flow-list span {
  margin-right: 10px;
  color: var(--gold);
  font-family: var(--mono);
}

.screen-heading {
  padding: 6px 4px 4px;
}

.control-card {
  display: grid;
  gap: 14px;
}

.astro-query-card .primary-button {
  width: 100%;
}

label {
  display: block;
}

select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

select:focus,
textarea:focus {
  border-color: rgba(216, 189, 131, 0.5);
}

.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.segment-btn {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.segment-btn.active {
  background: rgba(216, 189, 131, 0.18);
  color: var(--text);
}

.astro-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
}

.rotating-ring {
  transform-origin: 120px 120px;
  stroke-dasharray: 2 7;
  animation: rotate 60s linear infinite;
}

.astro-content span {
  color: var(--gold);
  font-size: 12px;
}

.astro-content h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.astro-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.astro-chart-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 18%, rgba(216, 189, 131, 0.16), transparent 38%),
    radial-gradient(circle at 86% 82%, rgba(184, 164, 255, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.chart-wheel {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}

.chart-wheel svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.28));
}

.chart-ring,
#houseLines line,
#aspectLines line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.75;
}

.chart-ring.outer {
  stroke: rgba(216, 189, 131, 0.48);
}

.chart-ring.middle {
  stroke-dasharray: 2 6;
  transform-origin: 160px 160px;
  animation: rotate 72s linear infinite;
}

.chart-ring.inner {
  stroke: rgba(255, 255, 255, 0.1);
}

#aspectLines line {
  stroke: rgba(184, 164, 255, 0.34);
}

.planet-point circle {
  fill: var(--text);
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 1;
}

.planet-point text {
  fill: var(--text);
  font-family: var(--serif);
  font-size: 14px;
}

#zodiacGlyphSvg {
  fill: rgba(255, 250, 241, 0.9);
  font-family: "Cambria Math", "Times New Roman", var(--serif);
  font-size: 66px;
}

.planet-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.planet-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 11px;
}

.planet-pill strong {
  color: var(--text);
  font-weight: 500;
}

.astro-reading-panel {
  background:
    linear-gradient(135deg, rgba(184, 164, 255, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.tarot-form {
  display: grid;
  gap: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-button,
.text-button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.primary-button {
  flex: 1;
  background: var(--text);
  color: #111117;
  font-weight: 700;
}

.text-button {
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
}

.card-spread {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 16px;
}

.tarot-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #08080b;
  overflow: hidden;
}

button.tarot-card {
  cursor: pointer;
}

.tarot-card:hover {
  border-color: rgba(216, 189, 131, 0.44);
  background:
    radial-gradient(circle at center, rgba(216, 189, 131, 0.13), transparent 52%),
    #08080b;
}

.card-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.card-crosshair::before,
.card-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
}

.card-crosshair::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.card-crosshair::after {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.card-crosshair span {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.card-position {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  color: var(--soft);
  font-size: 11px;
  text-align: center;
}

.card-front {
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(23, 17, 15, 0.98), rgba(9, 8, 10, 0.98));
  color: var(--text);
  animation: reveal 360ms cubic-bezier(0.22, 0.9, 0.24, 1) forwards;
  will-change: opacity, transform;
}

.card-front::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1px solid rgba(216, 189, 131, 0.28);
  border-radius: 12px;
  opacity: 0.9;
  pointer-events: none;
}

.card-front::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 38px;
  height: 1px;
  background: rgba(216, 189, 131, 0.22);
  pointer-events: none;
}

.card-meta {
  position: absolute;
  top: 9px;
  right: 10px;
  left: 10px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 22px;
}

.card-art {
  position: absolute;
  inset: 42px 10px 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  opacity: 1;
}

.rws-art {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 30%, rgba(216, 189, 131, 0.12), transparent 44%),
    rgba(255, 250, 241, 0.08);
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.992);
  transition: opacity 220ms ease-out, transform 620ms ease-out;
}

.card-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.card-image-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: rgba(23, 17, 15, 0.68);
  font-family: var(--serif);
  text-align: center;
  transition: opacity 180ms ease-out;
}

.card-image.loaded + .card-image-fallback {
  opacity: 0;
}

.card-image-fallback strong {
  font-size: 26px;
  font-weight: 400;
}

.card-image-fallback i {
  font-size: 18px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.rws-art .card-keyword {
  bottom: 9px;
  z-index: 1;
  color: rgba(255, 250, 241, 0.86);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.tarot-sigil {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sigil-orbit,
.sigil-path,
.sigil-axis,
.sigil-motif path,
.sigil-motif circle {
  fill: none;
  stroke: rgba(23, 17, 15, 0.42);
  stroke-width: 1;
}

.sigil-orbit-b {
  stroke: rgba(23, 17, 15, 0.18);
  stroke-dasharray: 2 6;
}

.sigil-path {
  stroke: rgba(93, 68, 38, 0.28);
  stroke-dasharray: 3 8;
}

.sigil-axis {
  stroke: rgba(23, 17, 15, 0.12);
}

.sigil-motif path,
.sigil-motif circle {
  stroke: rgba(23, 17, 15, 0.52);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sigil-dot {
  fill: rgba(23, 17, 15, 0.52);
}

.sigil-symbol {
  fill: rgba(23, 17, 15, 0.88);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.sigil-number {
  fill: rgba(93, 68, 38, 0.78);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.sigil-label {
  fill: rgba(23, 17, 15, 0.56);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.card-keyword {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  color: rgba(23, 17, 15, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}

.card-front.reversed .sigil-orbit,
.card-front.reversed .sigil-path,
.card-front.reversed .sigil-motif path,
.card-front.reversed .sigil-motif circle {
  stroke: rgba(231, 160, 182, 0.34);
}

.card-front.reversed .sigil-dot {
  fill: rgba(231, 160, 182, 0.72);
}

.card-front.reversed .sigil-number {
  fill: rgba(231, 160, 182, 0.76);
}

.card-shade {
  display: none;
}

.orientation-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.orientation-dot.upright {
  background: var(--gold);
}

.orientation-dot.reversed {
  background: #a74b5d;
}

.orientation-text {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  min-height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px 0;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.orientation-text.upright {
  color: rgba(255, 250, 241, 0.86);
}

.orientation-text.reversed {
  color: #c46a7d;
}

.card-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 0;
  text-align: left;
}

.card-title span {
  color: rgba(216, 189, 131, 0.86);
  font-family: var(--mono);
  font-size: 9px;
}

.card-title strong {
  font-family: var(--serif);
  color: rgba(255, 250, 241, 0.9);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
}

.card-front .card-position {
  display: none;
}

.source-note {
  margin: 10px 2px 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.6;
}

.reading-panel h3 {
  margin: 8px 0 10px;
}

.result-report {
  display: grid;
  gap: 18px;
}

.result-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-hero h3 {
  max-width: 680px;
  margin: 9px 0 8px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.result-hero p {
  max-width: 720px;
  color: var(--muted);
}

.result-stamp {
  display: grid;
  min-width: 88px;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(216, 189, 131, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 189, 131, 0.11), transparent 62%),
    rgba(0, 0, 0, 0.16);
}

.result-stamp strong {
  color: var(--text);
  font-family: "Cambria Math", "Times New Roman", var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.result-stamp span {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.tarot-stamp {
  border-color: rgba(184, 164, 255, 0.24);
  background:
    radial-gradient(circle, rgba(184, 164, 255, 0.12), transparent 62%),
    rgba(0, 0, 0, 0.16);
}

.tarot-stamp strong {
  font-family: var(--mono);
  font-size: 30px;
}

.result-meta-grid,
.result-brief-grid,
.spread-summary {
  display: grid;
  gap: 0;
}

.result-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.result-meta-grid div {
  min-width: 0;
  padding: 14px 14px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.result-meta-grid div:first-child {
  border-left: 0;
}

.result-meta-grid span,
.result-brief-grid span,
.spread-summary span,
.reading-stack span,
.review-strip span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.result-meta-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.answer-lead {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(216, 189, 131, 0.18);
  border-radius: 18px;
  background: rgba(216, 189, 131, 0.08);
}

.answer-lead span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.answer-lead p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.premium-lead {
  margin-top: 0;
  padding: clamp(16px, 3vw, 22px);
  border-color: rgba(216, 189, 131, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(216, 189, 131, 0.12), transparent 50%),
    rgba(0, 0, 0, 0.14);
}

.result-report-tarot .premium-lead {
  border-color: rgba(184, 164, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(184, 164, 255, 0.1), transparent 50%),
    rgba(0, 0, 0, 0.14);
}

.premium-lead p {
  font-size: clamp(16px, 2vw, 18px);
}

.reading-tools {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 0 2px;
}

.tool-action {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 250, 241, 0.86);
  cursor: pointer;
  font-size: 12px;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.tool-action:hover {
  border-color: rgba(216, 189, 131, 0.42);
  background: rgba(216, 189, 131, 0.08);
  color: var(--text);
}

.tool-feedback {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.ai-loading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 132px;
}

.ai-loading h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.ai-loading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.ai-pulse {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(217, 189, 124, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 189, 124, 0.22), transparent 62%);
  animation: aiPulse 1.2s ease-in-out infinite;
}

.ai-status {
  padding: 12px 14px;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
}

.ai-status span {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.ai-status p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.ai-status.online {
  border-color: rgba(159, 201, 170, 0.22);
}

.ai-status.fallback {
  border-color: rgba(217, 189, 124, 0.2);
}

.source-list {
  display: grid;
  gap: 8px;
}

.source-list a {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
}

.source-list a:first-child {
  border-top: 0;
}

.source-list span {
  font-size: 13px;
  font-weight: 600;
}

.source-list i {
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  word-break: break-all;
}

.current-sky-panel {
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-title {
  margin-bottom: 10px;
}

.compact-title h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.sky-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.sky-node {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 12px 10px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.sky-node:first-child {
  border-left: 0;
  padding-left: 0;
}

.sky-node > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(216, 189, 131, 0.24);
  border-radius: 50%;
  color: rgba(255, 250, 241, 0.9);
  font-family: var(--serif);
  font-size: 16px;
}

.sky-node strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sky-node p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.aspect-section {
  margin-top: 0;
}

.aspect-list {
  display: grid;
  gap: 12px;
}

.aspect-item {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.aspect-item:first-child {
  border-top: 0;
}

.aspect-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.aspect-head span {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.aspect-head strong {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.aspect-head i {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.aspect-orb {
  height: 2px;
  margin: 10px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.aspect-orb span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 189, 131, 0.8), rgba(255, 250, 241, 0.42));
}

.aspect-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.result-brief-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.result-brief-grid article {
  padding: 2px 0 2px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.result-brief-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.result-brief-grid p {
  margin-top: 9px;
}

.reading-section {
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
}

.reading-section h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.reading-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.evidence-section {
  margin-top: 0;
}

.evidence-list,
.reading-stack {
  display: grid;
  gap: 0;
}

.evidence-item,
.reading-stack article,
.spread-summary article {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.evidence-item:first-child,
.reading-stack article:first-child,
.spread-summary article:first-child {
  border-top: 0;
}

.evidence-item > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.result-report-tarot .evidence-item > span {
  color: var(--violet);
}

.evidence-item strong,
.spread-summary strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.evidence-item p,
.reading-stack p,
.spread-summary p {
  margin-top: 8px;
}

.reading-stack article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
}

.spread-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.spread-summary article {
  padding: 14px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.spread-summary article:first-child {
  border-left: 0;
}

.spread-summary p {
  color: rgba(255, 250, 241, 0.68);
  font-size: 13px;
}

.action-prescription {
  border-color: rgba(216, 189, 131, 0.18);
}

.review-strip {
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-strip p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

.reading-points,
.action-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.reading-points li::marker,
.action-steps li::marker {
  color: var(--gold);
}

.product-roadmap {
  display: grid;
  gap: 10px;
}

.reading-history {
  display: grid;
  gap: 12px;
}

.history-empty,
.history-card {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.history-empty {
  padding-top: 0;
  border-top: 0;
}

.history-empty span,
.history-head strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.history-empty p,
.history-card p,
.history-card small {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.history-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.history-head span {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
}

.history-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.history-cards span {
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(216, 189, 131, 0.18);
  border-radius: 999px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 12px;
}

.bottom-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 12, 18, 0.92);
  backdrop-filter: blur(20px);
}

.tab-button {
  min-height: 48px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.tab-button.active {
  background: rgba(216, 189, 131, 0.16);
  color: var(--text);
}

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

@keyframes earthBreath {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(0.96);
  }
  50% {
    transform: scale(1.035) rotate(8deg);
    filter: brightness(1.1);
  }
}

@keyframes dashDrift {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes cardFloatA {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-4px, 7px) rotate(-4deg);
  }
}

@keyframes cardFloatB {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(5px, -6px) rotate(3deg);
  }
}

@keyframes starChartDrift {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }
  50% {
    transform: rotate(4deg) scale(1.035);
  }
}

@keyframes tarotFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aiPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

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

@media (min-width: 761px) and (max-width: 980px) {
  .app-layout {
    padding: 20px;
  }

  .desktop-brief {
    display: none;
  }

  .home-hero {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .app-layout {
    display: block;
    padding: 0;
    width: 100%;
  }

  .desktop-brief {
    display: none;
  }

  .app-shell {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .app-main {
    height: calc(100vh - 88px);
    max-height: none;
    overflow: auto;
    padding: 0 18px 104px;
  }

  #astroScreen,
  #tarotScreen,
  #profileScreen {
    width: 100%;
    margin: 0;
  }

  .home-hero {
    grid-template-columns: 1fr 112px;
    gap: 18px;
    min-height: 188px;
    padding: 24px 22px;
    border-radius: 30px;
  }

  .home-hero-copy h2 {
    margin: 10px 0 12px;
    font-size: 31px;
    line-height: 1.24;
  }

  .home-hero-copy p,
  .product-copy p,
  .home-path p {
    font-size: 14px;
  }

  .home-hero-stage,
  .home-hero-mark {
    min-height: 156px;
  }

  .home-hero-stage svg,
  .home-hero-mark svg {
    width: 100%;
  }

  .cosmic-earth {
    width: 112px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-primary,
  .hero-secondary {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-dots {
    margin-top: 18px;
  }

  .hero-deck-preview {
    width: 138px;
    height: 158px;
  }

  .hero-deck-preview .preview-card {
    width: 62px;
    height: 104px;
    border-radius: 11px;
  }

  .product-gateway {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .product-card {
    grid-template-columns: 124px 1fr;
    grid-template-rows: none;
    gap: 16px;
    min-height: 214px;
    padding: 16px;
    border-radius: 28px;
  }

  .product-visual {
    min-height: 178px;
    border-radius: 22px;
  }

  .product-earth {
    width: 86px;
  }

  .product-deck-preview {
    width: 132px;
    height: 154px;
  }

  .product-deck-preview .preview-card {
    width: 62px;
    height: 104px;
    border-radius: 11px;
  }

  .product-deck-preview .preview-card:nth-child(1) {
    left: 0;
    top: 28px;
  }

  .product-deck-preview .preview-card:nth-child(2) {
    left: 35px;
    top: 8px;
  }

  .product-deck-preview .preview-card:nth-child(3) {
    right: 0;
    top: 30px;
  }

  .product-copy {
    padding: 24px 18px 4px 0;
  }

  .product-copy strong {
    font-size: 22px;
    line-height: 1.28;
  }

  .product-card i {
    right: 18px;
    bottom: 17px;
  }

  .home-snapshot,
  .home-path {
    margin-top: 14px;
    padding: 18px;
  }

  .result-hero {
    align-items: stretch;
  }

  .result-stamp {
    min-width: 72px;
  }

  .result-stamp strong {
    font-size: 28px;
  }

  .result-meta-grid,
  .spread-summary {
    grid-template-columns: 1fr;
  }

  .result-meta-grid div,
  .spread-summary article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .result-meta-grid div:first-child,
  .spread-summary article:first-child {
    border-top: 0;
  }

  .result-brief-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sky-grid {
    grid-template-columns: 1fr;
  }

  .sky-node {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sky-node:first-child {
    border-top: 0;
  }

  .aspect-head {
    grid-template-columns: 1fr auto;
  }

  .aspect-head i {
    grid-column: 1 / -1;
  }

  .reading-tools {
    grid-template-columns: 1fr 1fr;
  }

  .tool-feedback {
    grid-column: 1 / -1;
  }

  .history-head {
    display: grid;
    gap: 4px;
  }

  .reading-stack article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Premium product redesign v4: quieter consumer app */
.desktop-brief {
  display: none;
}

.app-layout {
  display: block;
  width: min(100%, 1180px);
  padding: clamp(14px, 3vw, 34px);
}

.app-shell {
  min-height: calc(100vh - clamp(28px, 6vw, 68px));
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 10, 0.94);
}

.app-header {
  padding: 18px clamp(18px, 3vw, 30px) 14px;
  border-bottom: 0;
}

.app-header strong {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-main {
  height: calc(100vh - clamp(142px, 13vw, 164px));
  overflow: auto;
  padding: 0 clamp(14px, 2.6vw, 28px) 112px;
}

.home-hero {
  min-height: clamp(300px, 34vw, 410px);
  grid-template-columns: minmax(0, 1.04fr) minmax(240px, 0.62fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(26px, 5vw, 54px);
  border-color: rgba(255, 255, 255, 0.075);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 46%, rgba(217, 189, 124, 0.16), transparent 15rem),
    linear-gradient(132deg, rgba(255, 255, 255, 0.056), transparent 52%),
    #09090d;
}

.home-hero-copy h2 {
  max-width: 10em;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 460;
  line-height: 1.03;
}

.home-hero-copy p {
  max-width: 620px;
  color: rgba(255, 250, 242, 0.68);
  font-size: clamp(15px, 1.4vw, 17px);
}

.hero-assurance,
.experience-path,
.home-path {
  display: none;
}

.hero-actions {
  margin-top: 26px;
}

.hero-primary,
.hero-secondary {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
}

.hero-dots {
  margin-top: 18px;
}

.home-hero-stage {
  min-height: 250px;
}

.product-gateway {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.product-card {
  min-height: 300px;
  grid-template-rows: minmax(168px, 0.85fr) auto;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 58%),
    rgba(255, 255, 255, 0.022);
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-visual {
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(217, 189, 124, 0.11), transparent 50%),
    rgba(0, 0, 0, 0.16);
}

.product-copy {
  padding: 22px;
}

.product-copy strong {
  max-width: 13em;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.product-copy p {
  max-width: 34em;
  margin-top: 12px;
}

.product-usecases {
  margin-top: 16px;
}

.home-snapshot {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
}

.screen-heading {
  margin: 6px 0 16px;
  padding: 0 4px;
}

.screen-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.control-card,
.tarot-form,
.section-block,
.reading-panel,
.astro-chart-card {
  border-radius: 26px;
}

.bottom-nav {
  left: 50%;
  right: auto;
  width: min(520px, calc(100% - 28px));
  transform: translateX(-50%);
  border-radius: 999px;
}

.tab-button {
  border-radius: 999px;
}

@media (min-width: 981px) {
  .app-layout {
    width: min(100%, 1180px);
    grid-template-columns: 1fr;
    padding: clamp(18px, 3vw, 34px);
  }

  .app-shell {
    min-height: calc(100vh - clamp(36px, 6vw, 68px));
    border-radius: 36px;
  }

  .app-main {
    height: calc(100vh - clamp(142px, 13vw, 164px));
    padding: 0 clamp(18px, 2.7vw, 30px) 112px;
  }

  #todayScreen,
  #astroScreen,
  #tarotScreen,
  #profileScreen {
    width: min(100%, 1080px);
  }
}

@media (max-width: 760px) {
  .app-layout {
    width: 100%;
    padding: 0;
  }

  .app-shell {
    min-height: 100dvh;
    border-radius: 0;
  }

  .app-main {
    height: calc(100dvh - 82px);
    padding: 0 14px 106px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
    border-radius: 28px;
  }

  .home-hero-stage {
    order: 0;
    width: min(100%, 230px);
    min-height: 170px;
    margin-top: 8px;
  }

  .home-hero-copy h2 {
    max-width: 8.5em;
    margin: 12px 0;
    font-size: clamp(42px, 13vw, 56px);
  }

  .home-hero-copy p {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .hero-dots {
    display: none;
  }

  .product-gateway {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    grid-template-columns: 108px 1fr;
    grid-template-rows: none;
    min-height: 170px;
    padding: 14px;
    border-radius: 24px;
  }

  .product-visual {
    min-height: 142px;
    border-radius: 20px;
  }

  .product-copy {
    padding: 12px 4px 10px 10px;
  }

  .product-copy strong {
    font-size: 22px;
    line-height: 1.2;
  }

  .product-copy p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.62;
  }

  .product-usecases {
    display: none;
  }

  .product-card i {
    display: none;
  }

  .home-snapshot {
    display: none;
  }

  .screen-heading h2 {
    font-size: 34px;
  }

  .bottom-nav {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .home-hero,
  .product-card,
  .hero-card,
  .astro-card,
  .astro-chart-card {
    grid-template-columns: 1fr;
  }

  .home-hero-stage,
  .home-hero-mark {
    max-width: 150px;
    min-height: 158px;
    justify-self: center;
  }

  .home-hero-stage {
    max-width: 190px;
  }

  .product-visual {
    min-height: 156px;
  }

  .product-copy {
    padding: 0 4px 18px;
  }

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

  .result-hero {
    display: grid;
  }

  .result-stamp {
    justify-self: start;
    aspect-ratio: auto;
    min-width: 116px;
    min-height: 48px;
    border-radius: 999px;
    grid-template-columns: auto auto;
    padding: 0 14px;
  }
}

/* Premium product redesign v3 */
:root {
  --bg: #050506;
  --panel: #0d0d11;
  --panel-soft: #151217;
  --panel-warm: #18120c;
  --text: #fffaf2;
  --muted: #a9a2aa;
  --soft: #756e77;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gold: #d9bd7c;
  --violet: #b7a7ff;
  --rose: #d99aaa;
  --green: #9fc9aa;
  --shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
}

body {
  background: #050506;
}

.page-backdrop {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 68% 18%, rgba(217, 189, 124, 0.12), transparent 32rem),
    linear-gradient(145deg, #050506 0%, #0a090d 48%, #111018 100%);
  background-size: 80px 80px, 80px 80px, auto, auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(217, 189, 124, 0.32);
  border-radius: 50%;
  color: rgba(255, 250, 242, 0.92);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.brand-lockup strong {
  display: block;
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.58);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-oracle {
  position: relative;
  min-height: 220px;
  margin: 18px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 56%),
    rgba(255, 255, 255, 0.025);
}

.desktop-oracle span,
.desktop-oracle i,
.desktop-oracle b {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.desktop-oracle span {
  width: 142px;
  height: 142px;
  border: 1px solid rgba(217, 189, 124, 0.28);
  border-radius: 50%;
  animation: rotate 48s linear infinite;
}

.desktop-oracle span::before,
.desktop-oracle span::after {
  content: "";
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(28deg) scaleY(0.42);
}

.desktop-oracle span::after {
  transform: rotate(-28deg) scaleY(0.42);
}

.desktop-oracle i {
  width: 86px;
  height: 130px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(217, 189, 124, 0.12), transparent 52%),
    rgba(0, 0, 0, 0.2);
  transform: translate(-62%, -50%) rotate(-9deg);
}

.desktop-oracle b {
  width: 86px;
  height: 130px;
  border: 1px solid rgba(183, 167, 255, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(183, 167, 255, 0.12), transparent 52%),
    rgba(0, 0, 0, 0.22);
  transform: translate(-30%, -48%) rotate(8deg);
}

.brief-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.brief-actions button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 250, 242, 0.88);
  cursor: pointer;
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.brief-actions button:first-child {
  background: rgba(255, 250, 242, 0.92);
  color: #111015;
  font-weight: 700;
}

.brief-actions button:hover {
  border-color: rgba(217, 189, 124, 0.4);
  transform: translateY(-1px);
}

.brief-flow {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-flow div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.brief-flow div:first-child {
  border-top: 0;
}

.brief-flow span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
}

.brief-flow strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.brief-flow p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.app-shell {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 13, 0.9);
}

.app-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.icon-button,
.section-block,
.control-card,
.tarot-form,
.reading-panel,
.home-snapshot,
.home-path {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 64%),
    rgba(255, 255, 255, 0.026);
  box-shadow: none;
}

.home-hero {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.072), transparent 54%),
    radial-gradient(circle at 80% 46%, rgba(217, 189, 124, 0.13), transparent 16rem),
    radial-gradient(circle at 18% 82%, rgba(183, 167, 255, 0.11), transparent 18rem),
    rgba(255, 255, 255, 0.03);
}

.home-hero-copy h2,
.screen-heading h2 {
  letter-spacing: 0;
}

.hero-primary,
.primary-button {
  background: #fffaf2;
  color: #111015;
  box-shadow: 0 14px 34px rgba(255, 250, 242, 0.08);
}

.hero-secondary,
.text-button {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 250, 242, 0.68);
}

.product-gateway {
  align-items: stretch;
}

.product-card {
  min-height: 360px;
  border-color: rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.054), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.product-card:hover {
  border-color: rgba(217, 189, 124, 0.34);
  transform: translateY(-3px);
}

.product-card-tarot:hover {
  border-color: rgba(183, 167, 255, 0.32);
}

.product-index {
  background: rgba(0, 0, 0, 0.28);
}

.product-copy strong {
  max-width: 14em;
}

.experience-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.experience-path article {
  min-height: 154px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 62%),
    rgba(7, 7, 10, 0.88);
}

.experience-path span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.experience-path strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.42;
}

.experience-path p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.astro-chart-card {
  border-color: rgba(255, 255, 255, 0.085);
  background:
    radial-gradient(circle at 30% 34%, rgba(217, 189, 124, 0.1), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 60%),
    rgba(255, 255, 255, 0.026);
}

.chart-wheel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(0, 0, 0, 0.16);
}

.result-report {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 58%),
    rgba(0, 0, 0, 0.18);
}

.bottom-nav {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(9, 9, 13, 0.88);
}

.tab-button.active {
  background: rgba(255, 250, 242, 0.92);
  color: #111015;
  font-weight: 700;
}

@media (min-width: 981px) {
  .app-layout {
    width: min(100%, 1480px);
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 100vh;
    padding: clamp(24px, 3vw, 42px);
  }

  .desktop-brief {
    position: sticky;
    top: clamp(24px, 3vw, 42px);
    align-self: start;
    min-height: calc(100vh - clamp(48px, 6vw, 84px));
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 48%),
      rgba(255, 255, 255, 0.024);
  }

  .desktop-brief h1 {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.12;
  }

  .app-shell {
    min-height: calc(100vh - clamp(48px, 6vw, 84px));
    overflow: hidden;
    border-radius: 34px;
  }

  .app-header {
    padding: 24px 28px 18px;
  }

  .app-main {
    height: calc(100vh - clamp(190px, 16vw, 212px));
    overflow: auto;
    padding: 0 24px 112px;
  }

  .bottom-nav {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  #todayScreen,
  #astroScreen,
  #tarotScreen,
  #profileScreen {
    width: min(100%, 980px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  body {
    background: #050506;
  }

  .app-shell {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01)),
      #08080c;
  }

  .app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 18px 12px;
    background:
      linear-gradient(180deg, rgba(8, 8, 12, 0.98), rgba(8, 8, 12, 0.82));
    backdrop-filter: blur(18px);
  }

  .app-main {
    height: calc(100dvh - 86px);
    padding: 0 14px 108px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 20px;
    border-radius: 28px;
  }

  .home-hero-copy h2 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.12;
  }

  .home-hero-stage {
    order: -1;
    width: min(100%, 260px);
    min-height: 188px;
    justify-self: center;
  }

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

  .hero-primary,
  .hero-secondary {
    width: 100%;
  }

  .product-card {
    min-height: auto;
    border-radius: 26px;
  }

  .product-copy strong {
    max-width: none;
  }

  .experience-path {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .experience-path article {
    min-height: auto;
    padding: 18px;
  }

  .card-spread {
    grid-template-columns: repeat(3, minmax(118px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .tarot-card {
    scroll-snap-align: center;
  }

  .bottom-nav {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* Premium product redesign v4 final overrides */
.desktop-brief {
  display: none !important;
}

.app-layout {
  display: block;
  width: min(100%, 1180px);
  padding: clamp(14px, 3vw, 34px);
}

.app-shell {
  min-height: calc(100vh - clamp(28px, 6vw, 68px));
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 10, 0.94);
}

.app-header {
  padding: 18px clamp(18px, 3vw, 30px) 14px;
  border-bottom: 0;
}

.app-header strong {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-main {
  height: calc(100vh - clamp(142px, 13vw, 164px));
  overflow: auto;
  padding: 0 clamp(14px, 2.6vw, 28px) 112px;
}

.home-hero {
  min-height: clamp(300px, 34vw, 410px);
  grid-template-columns: minmax(0, 1.04fr) minmax(240px, 0.62fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(26px, 5vw, 54px);
  border-color: rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 78% 46%, rgba(217, 189, 124, 0.16), transparent 15rem),
    linear-gradient(132deg, rgba(255, 255, 255, 0.056), transparent 52%),
    #09090d;
}

.home-hero-copy h2 {
  max-width: 10em;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 460;
  line-height: 1.03;
}

.hero-assurance,
.experience-path,
.home-path {
  display: none !important;
}

.product-gateway {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.product-card {
  min-height: 300px;
  grid-template-rows: minmax(168px, 0.85fr) auto;
  border-radius: 30px;
}

.product-copy {
  padding: 22px;
}

.product-copy strong {
  max-width: 13em;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
}

.home-snapshot {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 24px;
}

.bottom-nav {
  left: 50%;
  right: auto;
  width: min(520px, calc(100% - 28px));
  transform: translateX(-50%);
  border-radius: 999px;
}

.tab-button {
  border-radius: 999px;
}

@media (min-width: 981px) {
  .app-layout {
    width: min(100%, 1180px);
    display: block;
    padding: clamp(18px, 3vw, 34px);
  }

  .app-shell {
    min-height: calc(100vh - clamp(36px, 6vw, 68px));
    border-radius: 36px;
  }

  .app-main {
    height: calc(100vh - clamp(142px, 13vw, 164px));
    padding: 0 clamp(18px, 2.7vw, 30px) 112px;
  }

  #todayScreen,
  #astroScreen,
  #tarotScreen,
  #profileScreen {
    width: min(100%, 1080px);
  }
}

@media (max-width: 760px) {
  .app-layout {
    width: 100%;
    padding: 0;
  }

  .app-shell {
    min-height: 100dvh;
    border-radius: 0;
  }

  .app-main {
    height: calc(100dvh - 82px);
    padding: 0 14px 106px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
    border-radius: 28px;
  }

  .home-hero-stage {
    order: 0;
    width: min(100%, 230px);
    min-height: 170px;
    margin-top: 8px;
  }

  .home-hero-copy h2 {
    max-width: 8.5em;
    margin: 12px 0;
    font-size: clamp(42px, 13vw, 56px);
  }

  .hero-dots,
  .product-usecases,
  .product-card i,
  .home-snapshot {
    display: none !important;
  }

  .product-gateway {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    grid-template-columns: 108px 1fr;
    grid-template-rows: none;
    min-height: 170px;
    padding: 14px;
    border-radius: 24px;
  }

  .product-visual {
    min-height: 142px;
    border-radius: 20px;
  }

  .product-copy {
    padding: 12px 4px 10px 10px;
  }

  .product-copy strong {
    max-width: none;
    font-size: 22px;
    line-height: 1.2;
  }

  .product-copy p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.62;
  }

  .bottom-nav {
    left: 50%;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* Spaceflight mission theme: black aerospace interface */
:root {
  --bg: #000;
  --panel: #030405;
  --panel-soft: #080a0d;
  --panel-warm: #0c0a06;
  --text: #f8fbff;
  --muted: #9ca3ad;
  --soft: #5f6873;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.24);
  --gold: #c9a968;
  --violet: #a7c8ff;
  --rose: #b56b6b;
  --green: #9ac7b0;
  --shadow: none;
  --mission-blue: #d8edff;
  --mission-amber: #c9a968;
  --mission-red: #cc463d;
}

html,
body {
  background: #000;
}

body {
  color: var(--text);
  letter-spacing: 0;
}

.page-backdrop {
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 237, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 20% 78%, rgba(201, 169, 104, 0.08), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #000;
  background-size: auto, auto, 96px 96px, 96px 96px, auto;
}

.page-backdrop::before,
.page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-backdrop::before {
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.56) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(216, 237, 255, 0.45) 0 1px, transparent 1.5px);
  background-position: 11px 19px, 67px 43px;
  background-size: 138px 138px, 214px 214px;
  animation: starTranslate 42s linear infinite;
}

.page-backdrop::after {
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 58.1%, transparent 58.35%),
    linear-gradient(115deg, transparent 0 64%, rgba(201, 169, 104, 0.13) 64.1%, transparent 64.32%);
  opacity: 0.44;
  animation: launchTrace 9s ease-in-out infinite;
}

.app-layout {
  width: min(100%, 1480px);
  padding: 0;
}

.app-shell {
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 22px clamp(22px, 4.4vw, 70px) 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.app-header strong {
  margin-top: 6px;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.kicker,
.eyebrow {
  color: rgba(216, 237, 255, 0.82);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: #000;
  color: #fff;
  font-family: var(--mono);
  transition: border-color 420ms ease, background 420ms ease, transform 420ms ease;
}

.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.app-main {
  height: auto;
  min-height: calc(100vh - 86px);
  overflow: visible;
  padding: 0 clamp(20px, 4.8vw, 72px) 136px;
}

#todayScreen,
#astroScreen,
#tarotScreen,
#profileScreen {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.home-hero {
  isolation: isolate;
  min-height: clamp(560px, 78vh, 820px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(38px, 6vw, 88px) 0 clamp(38px, 5vw, 72px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0 43%, rgba(0, 0, 0, 0.54) 70%, rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at 76% 45%, rgba(216, 237, 255, 0.13), transparent 22rem),
    #000;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 10% -18% 8% 45%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.33);
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.014),
    0 0 0 146px rgba(255, 255, 255, 0.01);
  animation: orbitPlane 70s linear infinite;
}

.home-hero::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12), transparent);
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero-copy h2 {
  max-width: 9.6em;
  margin: 16px 0 20px;
  color: #fff;
  font-size: clamp(58px, 8.8vw, 118px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.home-hero-copy p {
  max-width: 660px;
  color: rgba(248, 251, 255, 0.7);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.92;
}

.hero-actions {
  gap: 12px;
  margin-top: clamp(26px, 4vw, 44px);
}

.hero-primary,
.hero-secondary,
.primary-button,
.text-button,
.brief-actions button,
.tool-action {
  min-height: 48px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 360ms ease, background 360ms ease, border-color 360ms ease, transform 360ms ease;
}

.hero-primary,
.primary-button {
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  box-shadow: none;
}

.hero-secondary,
.text-button,
.tool-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.hero-primary:hover,
.hero-secondary:hover,
.primary-button:hover,
.text-button:hover,
.tool-action:hover {
  border-color: rgba(216, 237, 255, 0.7);
  background: rgba(216, 237, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.hero-dots {
  gap: 10px;
  margin-top: 24px;
}

.hero-dot {
  min-width: 74px;
  min-height: 34px;
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #000;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
}

.hero-dot.active {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-hero-stage {
  min-height: clamp(390px, 43vw, 620px);
  overflow: visible;
}

.home-hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 237, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.42);
  animation: stageOrbitPlane 86s linear reverse infinite;
}

.home-hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 1px;
  height: 76%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.86), rgba(201, 169, 104, 0.2), transparent);
  filter: drop-shadow(0 0 18px rgba(216, 237, 255, 0.26));
  transform: rotate(18deg);
  animation: telemetryBeam 4.8s ease-in-out infinite;
}

.hero-slide-visual {
  transform: translateY(18px) scale(0.96);
  transition: opacity 680ms ease, transform 680ms ease;
}

.hero-slide-visual.active {
  transform: translateY(0) scale(1);
}

.home-hero-stage svg {
  width: min(100%, 500px);
  filter: drop-shadow(0 0 42px rgba(216, 237, 255, 0.11));
}

.cosmic-earth,
.product-earth {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.85), transparent 0 7%, transparent 19%),
    radial-gradient(circle at 55% 44%, rgba(216, 237, 255, 0.18), transparent 0 13%, transparent 27%),
    radial-gradient(circle at 28% 29%, rgba(255, 255, 255, 0.9), rgba(186, 197, 206, 0.5) 20%, rgba(44, 49, 56, 0.34) 43%, rgba(0, 0, 0, 0.95) 72%),
    conic-gradient(from 150deg, rgba(255, 255, 255, 0.16), rgba(216, 237, 255, 0.08), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.18));
  box-shadow:
    inset -36px -32px 60px rgba(0, 0, 0, 0.72),
    inset 18px 12px 30px rgba(255, 255, 255, 0.08),
    0 0 84px rgba(216, 237, 255, 0.13);
  animation: planetDrift 11s ease-in-out infinite;
}

.cosmic-earth {
  width: clamp(190px, 26vw, 360px);
}

.cosmic-earth::before,
.product-earth::before {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-ring,
.hero-axis,
.hero-aspect,
.hero-card-line {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 0.55;
}

.hero-ring.ring-a {
  stroke: rgba(255, 255, 255, 0.58);
  animation-duration: 96s;
}

.hero-ring.ring-b {
  stroke: rgba(216, 237, 255, 0.36);
}

.hero-axis {
  stroke: rgba(255, 255, 255, 0.18);
}

.hero-aspect {
  stroke: rgba(201, 169, 104, 0.48);
  stroke-dasharray: 2 8;
}

.hero-card-line {
  stroke: rgba(255, 255, 255, 0.34);
  fill: rgba(0, 0, 0, 0.18);
}

.home-hero-stage text {
  fill: rgba(255, 255, 255, 0.94);
  font-size: 76px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.14));
}

.tarot-aura {
  background:
    radial-gradient(circle, rgba(216, 237, 255, 0.11), transparent 56%),
    radial-gradient(circle at 70% 28%, rgba(201, 169, 104, 0.12), transparent 38%);
}

.hero-tarot-orbit {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-tarot-orbit span {
  border-color: rgba(216, 237, 255, 0.12);
}

.preview-card {
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
    #020202;
}

.preview-card-back {
  background:
    linear-gradient(135deg, transparent 0 49.6%, rgba(255, 255, 255, 0.18) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(45deg, transparent 0 49.6%, rgba(255, 255, 255, 0.13) 49.8% 50.2%, transparent 50.4%),
    #020202;
}

.preview-card-orbit,
.preview-card-seal {
  border-color: rgba(216, 237, 255, 0.2);
}

.product-gateway {
  gap: 1px;
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card {
  min-height: clamp(500px, 43vw, 640px);
  padding: clamp(22px, 3vw, 34px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    #000;
}

.product-card:first-child {
  border-left: 0;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(216, 237, 255, 0.09) 58.1%, transparent 58.34%),
    radial-gradient(circle at 50% 30%, rgba(216, 237, 255, 0.08), transparent 22rem);
  opacity: 0;
  transition: opacity 520ms ease;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #000;
  transform: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-tarot:hover::before {
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(201, 169, 104, 0.11) 58.1%, transparent 58.34%),
    radial-gradient(circle at 50% 30%, rgba(201, 169, 104, 0.09), transparent 22rem);
}

.product-index {
  top: 24px;
  right: 26px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--mono);
}

.product-visual {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(216, 237, 255, 0.08), transparent 58%),
    #020202;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.product-copy {
  position: relative;
  z-index: 1;
  padding: 18px 0 0;
}

.product-copy span,
.product-usecases span,
.metric-row span,
.signal-item span,
.result-meta-grid span,
.spread-summary span {
  font-family: var(--mono);
  letter-spacing: 0.14em;
}

.product-copy strong {
  max-width: 12.5em;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.product-copy p {
  color: rgba(248, 251, 255, 0.66);
}

.product-usecases span {
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.product-card i {
  right: 24px;
  bottom: 24px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: var(--mono);
}

.home-snapshot,
.experience-path,
.home-path {
  display: none !important;
}

.screen-heading {
  margin: clamp(28px, 5vw, 66px) 0 22px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
}

.screen-heading h2 {
  max-width: 10.5em;
  margin: 14px 0 14px;
  color: #fff;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.screen-heading p {
  max-width: 760px;
  color: rgba(248, 251, 255, 0.66);
  font-size: 15px;
  line-height: 1.9;
}

.control-card,
.tarot-form,
.section-block,
.reading-panel,
.astro-chart-card,
.result-report {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 54%),
    #020202;
  box-shadow: none;
}

.astro-query-card,
.tarot-form {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: end;
  padding: 20px;
}

.astro-query-card label:last-of-type,
.tarot-form label:last-of-type {
  grid-column: 1 / -1;
}

label span {
  color: rgba(216, 237, 255, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

select,
textarea {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: #000;
  color: #fff;
}

select:focus,
textarea:focus {
  outline: 1px solid rgba(216, 237, 255, 0.56);
  border-color: rgba(216, 237, 255, 0.56);
}

.segment {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background: #000;
}

.segment-btn {
  border-radius: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.segment-btn.active {
  background: #fff;
  color: #000;
}

.astro-chart-card {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 56px);
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.astro-chart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(216, 237, 255, 0.08) 48.1%, transparent 48.3%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0.58;
  animation: missionScan 6.8s ease-in-out infinite;
}

.chart-wheel {
  isolation: isolate;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(255, 255, 255, 0.035) 38.4% 38.8%, transparent 39.2%),
    radial-gradient(circle at 50% 50%, transparent 0 62%, rgba(216, 237, 255, 0.05) 62.2% 62.7%, transparent 63%),
    #000;
}

.chart-wheel::before,
.chart-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.chart-wheel::before {
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(216, 237, 255, 0.12) 72%, transparent 78% 100%);
  animation: rotate 18s linear infinite;
}

.chart-wheel::after {
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-17deg) scaleY(0.42);
}

.chart-wheel svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(216, 237, 255, 0.09));
}

.chart-ring,
#houseLines line,
#aspectLines line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.55;
}

.chart-ring.outer {
  stroke: rgba(255, 255, 255, 0.56);
}

.chart-ring.middle {
  stroke: rgba(216, 237, 255, 0.35);
  stroke-dasharray: 3 8;
  animation-duration: 88s;
}

.chart-ring.inner {
  stroke: rgba(255, 255, 255, 0.14);
}

#aspectLines line {
  stroke: rgba(201, 169, 104, 0.54);
  stroke-dasharray: 2 7;
  animation: dashDrift 14s linear infinite;
}

.planet-point circle {
  fill: #fff;
  stroke: #000;
}

.planet-point text {
  fill: #fff;
  font-family: var(--mono);
  font-size: 12px;
}

#zodiacGlyphSvg {
  fill: rgba(255, 255, 255, 0.94);
  font-size: 76px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.16));
}

.astro-content h3 {
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.astro-content p {
  color: rgba(248, 251, 255, 0.66);
  font-size: 15px;
  line-height: 1.9;
}

.planet-pill {
  min-height: 30px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
}

.metric-row,
.signal-item {
  border-color: rgba(255, 255, 255, 0.09);
  background: transparent;
}

.metric-row:hover,
.signal-item:hover {
  border-color: rgba(216, 237, 255, 0.38);
  background: rgba(216, 237, 255, 0.035);
}

.card-spread {
  gap: 14px;
}

.tarot-card {
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #020202;
}

.tarot-card:hover {
  border-color: rgba(216, 237, 255, 0.44);
  background:
    radial-gradient(circle at center, rgba(216, 237, 255, 0.075), transparent 56%),
    #020202;
}

.card-front {
  background: #020202;
  animation-duration: 220ms;
}

.card-front::before {
  border-radius: 1px;
  border-color: rgba(255, 255, 255, 0.22);
}

.card-front::after {
  background: rgba(255, 255, 255, 0.14);
}

.rws-art {
  border-radius: 1px;
  border-color: rgba(255, 255, 255, 0.18);
  background: #0b0b0b;
}

.card-image {
  transition: opacity 120ms ease-out, transform 260ms ease-out;
}

.reading-panel h3,
.result-report h3,
.reading-section h4 {
  color: #fff;
}

.result-hero,
.answer-lead,
.reading-section,
.result-brief-grid article,
.evidence-item,
.spread-summary article,
.result-meta-grid div {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 20px;
  z-index: 60;
  width: min(560px, calc(100% - 32px));
  padding: 6px;
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.tab-button {
  border-radius: 1px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tab-button.active {
  background: #fff;
  color: #000;
}

@keyframes starTranslate {
  to {
    background-position: 149px 157px, 281px 257px;
  }
}

@keyframes launchTrace {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(-2%, 1%, 0);
  }
  50% {
    opacity: 0.54;
    transform: translate3d(1.5%, -1.5%, 0);
  }
}

@keyframes orbitPlane {
  to {
    transform: rotate(342deg) scaleY(0.33);
  }
}

@keyframes stageOrbitPlane {
  to {
    transform: translate(-50%, -50%) rotate(342deg) scaleY(0.42);
  }
}

@keyframes telemetryBeam {
  0%,
  100% {
    opacity: 0.28;
    transform: rotate(18deg) scaleY(0.92);
  }
  50% {
    opacity: 0.72;
    transform: rotate(18deg) scaleY(1.06);
  }
}

@keyframes planetDrift {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(0.94) contrast(1.06);
  }
  50% {
    transform: scale(1.025) rotate(6deg);
    filter: brightness(1.1) contrast(1.08);
  }
}

@keyframes missionScan {
  0%,
  100% {
    opacity: 0.24;
    transform: translateX(-4%);
  }
  50% {
    opacity: 0.62;
    transform: translateX(4%);
  }
}

@media (min-width: 981px) {
  .app-layout {
    display: block;
    width: min(100%, 1480px);
    padding: 0;
  }

  .app-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .app-main {
    height: auto;
    padding: 0 clamp(120px, 10vw, 156px) 140px clamp(28px, 5vw, 76px);
  }

  #todayScreen,
  #astroScreen,
  #tarotScreen,
  #profileScreen {
    width: min(100%, 1320px);
  }

  #astroScreen .screen-heading,
  #tarotScreen .screen-heading,
  #profileScreen .screen-heading {
    margin-top: clamp(24px, 3vw, 42px);
    padding-bottom: 18px;
  }

  #astroScreen .screen-heading h2,
  #tarotScreen .screen-heading h2,
  #profileScreen .screen-heading h2 {
    max-width: 12em;
    font-size: clamp(42px, 5.1vw, 72px);
    line-height: 1.02;
  }

  .astro-query-card,
  .tarot-form {
    padding: 18px 20px;
  }

  .astro-query-card textarea,
  .tarot-form textarea {
    min-height: 72px;
  }

  .bottom-nav {
    left: auto;
    right: 12px;
    top: 50%;
    bottom: auto;
    width: 64px;
    grid-template-columns: 1fr;
    background: rgba(0, 0, 0, 0.62);
    transform: translateY(-50%);
  }
}

@media (max-width: 760px) {
  .app-layout {
    width: 100%;
    padding: 0;
  }

  .app-shell {
    min-height: 100dvh;
    border-radius: 0;
    background: #000;
  }

  .app-header {
    padding: 16px 16px 12px;
  }

  .app-main {
    min-height: calc(100dvh - 78px);
    height: auto;
    overflow: visible;
    padding: 0 16px 118px;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 0;
    padding: 22px 0 28px;
  }

  .home-hero::before {
    inset: 4% -55% 20% 6%;
  }

  .home-hero-stage {
    order: -1;
    width: 100%;
    min-height: 280px;
    margin-top: 0;
  }

  .home-hero-stage svg {
    width: min(100%, 340px);
  }

  .cosmic-earth {
    width: clamp(178px, 62vw, 260px);
  }

  .home-hero-copy h2 {
    max-width: 8.6em;
    font-size: clamp(44px, 14.5vw, 66px);
    line-height: 0.98;
  }

  .home-hero-copy p {
    font-size: 14px;
    line-height: 1.82;
  }

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

  .hero-dots {
    display: flex !important;
  }

  .product-gateway {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px 0 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .product-visual {
    min-height: 230px;
  }

  .product-copy {
    padding: 18px 4px 0;
  }

  .product-copy strong {
    font-size: clamp(30px, 9vw, 42px);
  }

  .product-copy p {
    font-size: 13px;
    line-height: 1.72;
  }

  .product-card i,
  .product-usecases {
    display: none !important;
  }

  .screen-heading {
    margin-top: 26px;
    padding-bottom: 18px;
  }

  .screen-heading h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .astro-query-card,
  .tarot-form,
  .astro-chart-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .astro-chart-card {
    gap: 18px;
  }

  .chart-wheel {
    width: min(100%, 330px);
    justify-self: center;
  }

  .card-spread {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin-top: 18px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 22px;
    scroll-snap-type: x mandatory;
  }

  .tarot-card {
    flex: 0 0 min(72vw, 230px);
    scroll-snap-align: center;
  }

  .bottom-nav {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(560px, calc(100% - 24px));
  }
}

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

/* Editorial v11: continuous product story below the immersive hero. */
.editorial-index {
  display: inline-block;
  color: #56707d;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.oracle-intro {
  display: flex;
  min-height: 760px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px;
  background: #f4f7f8;
  color: #071b24;
  text-align: center;
}

.oracle-intro h3 {
  max-width: 900px;
  margin: 26px auto 32px;
  font-family: var(--font-inter);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: 0;
}

.oracle-intro h3 em,
.method-story-copy h3 em {
  font-family: Georgia, "Noto Serif SC", serif;
  font-weight: 400;
}

.oracle-intro-copy {
  display: grid;
  width: min(760px, 100%);
  gap: 18px;
}

.oracle-intro-copy p {
  margin: 0;
  color: #344a55;
  font-size: 1rem;
  line-height: 1.85;
}

.oracle-intro-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.oracle-intro-actions button,
.reading-path-copy button,
.oracle-final-cta button {
  min-height: 48px;
  border: 0;
  padding: 0 24px;
  font-family: var(--font-inter);
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

.editorial-primary {
  background: #071b24;
  color: #fff;
  box-shadow:
    0 1px 2px rgba(5, 26, 36, 0.1),
    0 7px 18px rgba(5, 26, 36, 0.13),
    inset 0 1px 2px rgba(255, 255, 255, 0.32);
}

.editorial-secondary {
  background: #fff;
  color: #071b24;
  box-shadow: 0 0 0 1px rgba(5, 26, 36, 0.07), 0 8px 28px rgba(5, 26, 36, 0.08);
}

.oracle-intro-actions button:hover,
.reading-path-copy button:hover,
.oracle-final-cta button:hover {
  transform: translateY(-3px);
}

.experience-gallery {
  overflow: hidden;
  padding: 120px 0 136px;
  background:
    radial-gradient(circle at 16% 12%, rgba(51, 182, 233, 0.09), transparent 25rem),
    radial-gradient(circle at 88% 82%, rgba(219, 169, 78, 0.08), transparent 28rem),
    #030507;
  color: #fff;
}

.experience-heading {
  display: grid;
  width: min(1180px, calc(100vw - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: end;
  margin: 0 auto 70px;
}

.experience-heading .editorial-index {
  grid-column: 1 / -1;
  color: #77d8ff;
}

.experience-heading h3 {
  margin: 0;
  font-family: var(--font-inter);
  font-size: clamp(48px, 5.7vw, 84px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: 0;
}

.experience-heading p {
  max-width: 480px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.94rem;
  line-height: 1.8;
}

.experience-rail {
  width: 100%;
  overflow: hidden;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.experience-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 0 8px;
  animation: experienceMarquee 40s linear infinite;
  will-change: transform;
}

.experience-rail-tarot .experience-track {
  animation-direction: reverse;
  animation-duration: 44s;
}

.experience-rail:hover .experience-track {
  animation-play-state: paused;
}

.experience-shot {
  position: relative;
  width: clamp(360px, 36vw, 540px);
  height: clamp(250px, 25vw, 360px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0;
  background: #080b0e;
  color: #fff;
  text-align: left;
  isolation: isolate;
}

.experience-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 42%, rgba(0, 0, 0, 0.88));
}

.experience-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1), filter 900ms ease;
}

.experience-shot:hover img {
  filter: saturate(1.24) contrast(1.08);
  transform: scale(1.08);
}

.experience-shot > span,
.experience-shot > strong,
.experience-shot > small {
  position: absolute;
  z-index: 2;
  left: 24px;
}

.experience-shot > span {
  top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.experience-shot > strong {
  bottom: 42px;
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 560;
}

.experience-shot > small {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes experienceMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 8px), 0, 0); }
}

.method-story {
  display: grid;
  min-height: 900px;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  background: #f4f7f8;
  color: #071b24;
}

.method-story-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.method-story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 8, 12, 0.72));
}

.method-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: methodImageDrift 18s ease-in-out infinite alternate;
}

.method-story-visual > span {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.method-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(38px, 6vw, 96px);
}

.method-story-copy h3 {
  max-width: 8.5em;
  margin: 26px 0 30px;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: 0;
}

.method-story-copy > p {
  max-width: 590px;
  margin: 0;
  color: #344a55;
  font-size: 1rem;
  line-height: 1.9;
}

.method-story-copy blockquote {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(5, 26, 36, 0.18);
  color: #071b24;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.45;
}

@keyframes methodImageDrift {
  from { transform: scale(1.02) translate3d(-1%, 0, 0); }
  to { transform: scale(1.09) translate3d(1%, -1%, 0); }
}

.reading-methods {
  padding: 120px clamp(24px, 5vw, 80px) 140px;
  background: #fff;
  color: #071b24;
}

.reading-methods-heading {
  width: min(1180px, 100%);
  margin: 0 auto 76px;
}

.reading-methods-heading h3 {
  margin: 24px 0 0;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: 0;
}

.reading-methods-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(5, 26, 36, 0.18);
}

.reading-path {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: 600px;
  border-bottom: 1px solid rgba(5, 26, 36, 0.18);
}

.reading-path:nth-child(even) .reading-path-image {
  order: 2;
}

.reading-path-image {
  min-height: 540px;
  overflow: hidden;
}

.reading-path-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.reading-path:hover .reading-path-image img {
  transform: scale(1.05);
}

.reading-path-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(32px, 5vw, 76px);
}

.reading-path-copy > span {
  color: #56707d;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
}

.reading-path-copy h4 {
  margin: 20px 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.08;
}

.reading-path-copy > p {
  max-width: 500px;
  margin: 0 0 34px;
  color: #52636b;
  line-height: 1.8;
}

.reading-path-copy ol {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(5, 26, 36, 0.14);
}

.reading-path-copy li {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(5, 26, 36, 0.14);
  color: #1c333d;
  font-size: 0.84rem;
}

.reading-path-copy li b {
  color: #78909b;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.reading-path-copy button {
  width: fit-content;
  background: #071b24;
  color: #fff;
}

.oracle-final-cta {
  position: relative;
  display: flex;
  min-height: 760px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 150px;
  background:
    radial-gradient(circle at 50% 48%, rgba(31, 159, 210, 0.14), transparent 26rem),
    #020406;
  color: #fff;
  text-align: center;
}

.oracle-final-cta .editorial-index {
  color: #77d8ff;
}

.oracle-final-cta h3 {
  position: relative;
  z-index: 2;
  margin: 26px 0 18px;
  font-size: clamp(60px, 7vw, 108px);
  font-weight: 430;
  line-height: 0.95;
  letter-spacing: 0;
}

.oracle-final-cta > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.oracle-final-cta > div:last-child {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.oracle-final-cta button:first-child {
  background: #fff;
  color: #071b24;
}

.oracle-final-cta button:last-child {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.oracle-final-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.42;
}

.oracle-final-orbit i {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: finalOrbitSpin 38s linear infinite;
}

.oracle-final-orbit i:nth-child(2) {
  inset: 22% 2%;
  border-color: rgba(119, 216, 255, 0.18);
  transform: rotate(28deg);
  animation-duration: 54s;
  animation-direction: reverse;
}

.oracle-final-orbit i:nth-child(3) {
  inset: 2% 28%;
  border-color: rgba(222, 178, 90, 0.16);
  transform: rotate(-38deg);
  animation-duration: 44s;
}

.oracle-final-orbit b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(153, 226, 255, 0.18), rgba(2, 4, 6, 0.9) 68%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 100px rgba(45, 164, 213, 0.12);
}

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

body.reveal-ready .oracle-intro > *,
body.reveal-ready .experience-heading > *,
body.reveal-ready .method-story-visual,
body.reveal-ready .method-story-copy > *,
body.reveal-ready .reading-methods-heading > *,
body.reveal-ready .reading-path,
body.reveal-ready .oracle-final-cta > *:not(.oracle-final-orbit) {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(34px);
  transition:
    opacity 800ms ease,
    filter 900ms ease,
    transform 900ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-ready .oracle-intro > *.is-visible,
body.reveal-ready .experience-heading > *.is-visible,
body.reveal-ready .method-story-visual.is-visible,
body.reveal-ready .method-story-copy > *.is-visible,
body.reveal-ready .reading-methods-heading > *.is-visible,
body.reveal-ready .reading-path.is-visible,
body.reveal-ready .oracle-final-cta > *.is-visible:not(.oracle-final-orbit) {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 900px) {
  .oracle-intro {
    min-height: 680px;
    padding: 90px 24px;
  }

  .experience-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-story {
    grid-template-columns: 1fr;
  }

  .method-story-visual {
    min-height: 68vw;
  }

  .method-story-copy {
    padding: 78px 30px 90px;
  }

  .reading-path {
    grid-template-columns: 1fr;
  }

  .reading-path:nth-child(even) .reading-path-image {
    order: 0;
  }

  .reading-path-image {
    min-height: 58vw;
  }
}

@media (max-width: 600px) {
  .oracle-intro {
    align-items: flex-start;
    min-height: 0;
    padding: 86px 20px 94px;
    text-align: left;
  }

  .oracle-intro h3 {
    margin: 20px 0 26px;
    font-size: 2.65rem;
  }

  .oracle-intro-copy p {
    font-size: 0.9rem;
  }

  .oracle-intro-actions {
    width: 100%;
    flex-direction: column;
  }

  .oracle-intro-actions button {
    width: 100%;
  }

  .experience-gallery {
    padding: 90px 0 100px;
  }

  .experience-heading {
    width: calc(100vw - 40px);
    margin-bottom: 48px;
  }

  .experience-heading h3 {
    font-size: 2.75rem;
  }

  .experience-shot {
    width: 82vw;
    height: 58vw;
  }

  .experience-track {
    gap: 10px;
    animation-duration: 22s;
  }

  .experience-rail-tarot .experience-track {
    animation-duration: 25s;
  }

  .experience-shot > span,
  .experience-shot > strong,
  .experience-shot > small {
    left: 16px;
  }

  .experience-shot > span { top: 14px; }
  .experience-shot > strong { bottom: 34px; font-size: 1.55rem; }
  .experience-shot > small { bottom: 16px; }

  .method-story-visual {
    min-height: 118vw;
  }

  .method-story-copy {
    padding: 70px 20px 84px;
  }

  .method-story-copy h3 {
    font-size: 2.7rem;
  }

  .reading-methods {
    padding: 90px 20px 110px;
  }

  .reading-methods-heading {
    margin-bottom: 50px;
  }

  .reading-methods-heading h3 {
    font-size: 2.8rem;
  }

  .reading-path-image {
    min-height: 78vw;
  }

  .reading-path-copy {
    padding: 44px 4px 60px;
  }

  .reading-path-copy h4 {
    font-size: 2rem;
  }

  .oracle-final-cta {
    min-height: 680px;
    padding-bottom: 130px;
  }

  .oracle-final-cta h3 {
    font-size: 3.25rem;
  }

  .oracle-final-cta > div:last-child {
    width: min(100%, 330px);
    flex-direction: column;
  }

  .oracle-final-cta button {
    width: 100%;
  }

  .oracle-final-orbit {
    width: 112vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-track,
  .method-story-visual img,
  .oracle-final-orbit i {
    animation: none;
  }
}

/* SpaceX-like cinematic layer v2 */
.app-header {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr auto;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
}

.top-mission-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.mission-nav-button {
  position: relative;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0;
  transition: color 320ms ease;
}

.mission-nav-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.mission-nav-button:hover,
.mission-nav-button.active {
  color: #fff;
}

.mission-nav-button:hover::after,
.mission-nav-button.active::after {
  transform: scaleX(1);
}

.mission-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  pointer-events: none;
}

.home-hero {
  min-height: calc(100vh - 84px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0 36%, rgba(0, 0, 0, 0.48) 67%, rgba(0, 0, 0, 0.88)),
    #000;
}

.home-hero::before {
  opacity: 0.7;
}

.home-hero-copy,
.home-hero-stage {
  position: relative;
  z-index: 2;
}

.home-hero-copy::before {
  content: "";
  position: absolute;
  left: -14%;
  top: -18%;
  z-index: -1;
  width: min(42vw, 560px);
  height: 120%;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.08) 48%, transparent 60%),
    radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.62), transparent 68%);
  opacity: 0.35;
  transform: translateX(-18%);
  animation: heroCopyLightSweep 9s ease-in-out infinite;
}

.home-hero-stage {
  mix-blend-mode: screen;
}

.home-hero-stage::before,
.home-hero-stage::after {
  z-index: 1;
}

.home-hero-stage svg,
.hero-deck-preview {
  z-index: 3;
}

.home-hero-copy h2 {
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.62);
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: 1.02;
  text-wrap: balance;
}

.home-hero-copy p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.66);
}

.product-gateway {
  position: relative;
  z-index: 2;
}

@media (min-width: 981px) {
  .app-main {
    padding-right: clamp(28px, 5vw, 76px);
  }

  .bottom-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .top-mission-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.92) 56%, #000 100%),
      #000;
  }

  .mission-canvas {
    height: 48%;
  }

  .home-hero-stage {
    mix-blend-mode: normal;
  }

  .bottom-nav {
    display: grid;
  }
}

/* Cinematic image hero v3: image first, motion second */
.home-hero {
  --hero-image: url("./assets/hero-astro-cinematic.png");
  background: #000;
}

.home-hero[data-hero-mode="tarot"] {
  --hero-image: url("./assets/hero-tarot-cinematic.png");
}

.home-hero::before {
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center center;
  box-shadow: none;
  opacity: 1;
  transform: scale(1.035);
  animation: heroImageDrift 12s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
  pointer-events: none;
  will-change: transform, filter;
}

.home-hero::after {
  inset: 0;
  z-index: 1;
  height: auto;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 28%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.mission-canvas {
  z-index: 1;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.home-hero-stage {
  display: none;
}

.home-hero-copy {
  max-width: min(720px, 52vw);
  padding-left: 0;
  overflow: visible;
}

.home-hero-copy h2 {
  max-width: 7.2em;
  font-size: clamp(54px, 6.7vw, 98px);
  line-height: 1.02;
  word-break: keep-all;
  overflow-wrap: normal;
}

.home-hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  position: relative;
  z-index: 4;
  margin-top: 34px;
}

.hero-dot {
  position: relative;
  z-index: 4;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
    filter: brightness(0.88) contrast(1.05);
  }
  to {
    transform: scale(1.12) translate3d(-3.4%, -1.6%, 0);
    filter: brightness(1.04) contrast(1.1);
  }
}

@keyframes heroCopyLightSweep {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-18%);
  }
  50% {
    opacity: 0.44;
    transform: translateX(8%);
  }
}

@media (max-width: 760px) {
  .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.44) 38%, rgba(0, 0, 0, 0.93) 72%, #000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
  }

  .home-hero::before {
    background-position: 64% top;
    animation-duration: 22s;
  }

  .mission-canvas {
    height: 100%;
    opacity: 0.24;
  }

  .home-hero-copy {
    max-width: none;
    padding-top: clamp(210px, 58vh, 420px);
  }

  .home-hero-copy h2 {
    max-width: 7em;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1;
  }

  .home-hero-copy p {
    color: rgba(255, 255, 255, 0.74);
  }
}

/* Full-bleed homepage treatment */
#todayScreen {
  width: 100%;
  max-width: none;
}

#todayScreen .home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(64px, calc((100vw - 1480px) / 2 + 72px));
  padding-right: max(64px, calc((100vw - 1480px) / 2 + 72px));
}

#todayScreen .product-gateway {
  width: min(1320px, calc(100vw - clamp(40px, 8vw, 112px)));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  #todayScreen .home-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  #todayScreen .product-gateway {
    width: 100%;
  }
}

/* Hero copy hardening: keep the cinematic image as motion background, never as layout pressure. */
#todayScreen .home-hero {
  box-sizing: border-box;
}

#todayScreen .home-hero-copy {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  min-width: 0;
  overflow: visible;
}

#todayScreen .home-hero-copy .kicker,
#todayScreen .home-hero-copy p,
#todayScreen .hero-actions,
#todayScreen .hero-assurance,
#todayScreen .hero-dots {
  position: relative;
  z-index: 5;
  max-width: min(640px, 100%);
}

#todayScreen .home-hero-copy h2 {
  position: relative;
  z-index: 5;
  overflow: visible;
  text-wrap: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

#todayScreen .hero-actions {
  display: flex;
  flex-wrap: wrap;
  width: min(640px, 100%);
}

#todayScreen .hero-primary,
#todayScreen .hero-secondary,
#todayScreen .hero-dot {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (min-width: 761px) {
  #todayScreen .home-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: clamp(640px, calc(100vh - 92px), 840px);
    padding-top: clamp(72px, 9vh, 118px);
    padding-bottom: clamp(72px, 8vh, 104px);
  }

  #todayScreen .home-hero-copy {
    flex: 0 0 clamp(600px, 42vw, 780px);
    width: clamp(600px, 42vw, 780px);
    max-width: clamp(600px, 42vw, 780px);
    padding-top: 0;
    padding-left: 0;
  }

  #todayScreen .home-hero-copy h2 {
    width: max-content;
    max-width: calc(100vw - 180px);
    margin-top: 18px;
    margin-bottom: 22px;
    font-size: clamp(58px, 5.2vw, 94px);
    line-height: 1.03;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  #todayScreen .home-hero {
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
  }

  #todayScreen .home-hero-copy {
    width: 100%;
    max-width: 100%;
    padding-top: clamp(260px, 54vh, 460px);
  }

  #todayScreen .home-hero-copy h2 {
    width: 100%;
    max-width: 6.4em;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.04;
    white-space: normal;
    text-wrap: balance;
  }
}

/* Cinematic liquid landing v5: self-designed 3D astrology/tarot motion system. */
.liquid-glass,
.top-mission-nav,
.app-header > div,
.icon-button,
#todayScreen .hero-primary,
#todayScreen .hero-secondary,
#todayScreen .hero-dot,
#todayScreen .hero-assurance span,
#todayScreen .product-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  background-blend-mode: luminosity;
  border: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.liquid-glass::before,
.top-mission-nav::before,
.app-header > div::before,
.icon-button::before,
#todayScreen .hero-primary::before,
#todayScreen .hero-secondary::before,
#todayScreen .hero-dot::before,
#todayScreen .hero-assurance span::before,
#todayScreen .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.14) 78%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body {
  background: #000;
}

.page-backdrop {
  background: #000;
}

.app-layout {
  width: 100%;
  max-width: none;
  padding: 0;
}

.desktop-brief {
  display: none;
}

.app-shell {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  backdrop-filter: none;
}

.app-header {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1440px, calc(100vw - 48px));
  transform: translateX(-50%);
  padding: 0;
  pointer-events: none;
}

.app-header > div,
.top-mission-nav,
.icon-button {
  pointer-events: auto;
}

.app-header > div {
  width: max-content;
  min-height: 48px;
  border-radius: 999px;
  padding: 9px 18px;
}

.app-header .kicker {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.app-header strong {
  margin-top: 2px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.top-mission-nav {
  justify-self: center;
  gap: 4px;
  min-height: 48px;
  border-radius: 999px;
  padding: 6px;
}

.mission-nav-button {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mission-nav-button::after {
  display: none;
}

.mission-nav-button.active {
  background: rgba(255, 255, 255, 0.95);
  color: #020202;
}

.icon-button {
  justify-self: end;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.018);
}

.app-main {
  padding: 0;
}

#todayScreen {
  width: 100%;
  max-width: none;
  background: #000;
}

#todayScreen .home-hero {
  width: 100vw;
  min-height: 100svh;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(92px, 13vh, 140px) max(28px, calc((100vw - 1440px) / 2 + 64px)) clamp(42px, 7vh, 82px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

#todayScreen .home-hero::before {
  display: none;
}

#todayScreen .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  height: auto;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 64%, transparent 0 28%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.42) 78%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.62));
}

.mission-canvas {
  z-index: 0;
  opacity: 1;
  mix-blend-mode: normal;
}

#todayScreen .home-hero-copy {
  z-index: 4;
  flex: 0 0 min(940px, 92vw);
  width: min(940px, 92vw);
  max-width: min(940px, 92vw);
  padding: 0;
  text-align: center;
  animation: cinematicCopyIn 900ms ease-out both;
}

#todayScreen .home-hero-copy::before {
  display: none;
}

#todayScreen .home-hero-copy .kicker {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

#todayScreen .home-hero-copy h2 {
  width: auto;
  max-width: 920px;
  margin: 18px auto 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(64px, 7.4vw, 122px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.72);
}

#todayScreen .home-hero-copy p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.95;
}

#todayScreen .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: min(620px, 100%);
  margin: 26px auto 0;
}

#todayScreen .hero-primary,
#todayScreen .hero-secondary {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#todayScreen .hero-primary {
  background: rgba(255, 255, 255, 0.96);
  color: #020202;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

#todayScreen .hero-secondary {
  color: rgba(255, 255, 255, 0.86);
}

#todayScreen .hero-assurance {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  width: min(640px, 100%);
  margin: clamp(56px, 19vh, 148px) auto 0;
}

#todayScreen .hero-assurance span {
  display: inline-flex;
  min-width: 158px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

#todayScreen .hero-dots {
  justify-content: center;
  gap: 10px;
  width: min(640px, 100%);
  margin: 18px auto 0;
}

#todayScreen .hero-dot {
  min-width: 92px;
  min-height: 38px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--sans);
  font-size: 13px;
}

#todayScreen .hero-dot.active {
  background: rgba(255, 255, 255, 0.94);
  color: #000;
}

#todayScreen .home-hero-stage {
  display: none;
}

.visual-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 11vh, 132px) 0 clamp(76px, 10vh, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 237, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 82% 78%, rgba(201, 169, 104, 0.08), transparent 28rem),
    #000;
}

.marquee-heading {
  width: min(1320px, calc(100vw - clamp(32px, 8vw, 112px)));
  margin: 0 auto clamp(28px, 5vh, 56px);
}

.marquee-heading span,
.knowledge-heading span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.marquee-heading span {
  color: rgba(255, 255, 255, 0.62);
}

.marquee-heading h3 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.6vw, 88px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.visual-row {
  --scroll-offset: 0px;
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 390px));
  gap: 14px;
  width: max-content;
  margin-bottom: 14px;
  will-change: transform;
}

.visual-row-astro {
  transform: translateX(calc(max(24px, (100vw - 1320px) / 2 + 42px) + var(--scroll-offset)));
}

.visual-row-tarot {
  transform: translateX(calc(max(24px, (100vw - 1320px) / 2 + 42px) - var(--scroll-offset)));
}

.visual-tile {
  position: relative;
  width: clamp(300px, 30vw, 390px);
  height: clamp(226px, 23vw, 282px);
  overflow: hidden;
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.022);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 28px 90px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
}

.visual-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.68;
  pointer-events: none;
}

.visual-tile strong,
.visual-tile p,
.tile-index {
  position: relative;
  z-index: 3;
}

.tile-index {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.visual-tile strong {
  position: absolute;
  left: 18px;
  bottom: 48px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.visual-tile p {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

.tile-art,
.tile-art i,
.tile-art b {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.astro-tile .tile-art {
  background:
    radial-gradient(circle at 50% 44%, rgba(216, 237, 255, 0.18), transparent 32%),
    radial-gradient(circle at 60% 55%, rgba(38, 122, 255, 0.14), transparent 36%);
}

.tarot-tile .tile-art {
  background:
    radial-gradient(circle at 52% 48%, rgba(201, 169, 104, 0.18), transparent 32%),
    radial-gradient(circle at 46% 60%, rgba(88, 46, 21, 0.18), transparent 38%);
}

.astro-tile .tile-art i {
  width: 46%;
  aspect-ratio: 1;
  inset: 18% auto auto 29%;
  border: 1px solid rgba(216, 237, 255, 0.22);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(var(--r, 0deg));
  animation: tileOrbit 14s linear infinite;
}

.astro-tile .tile-art i:nth-child(2) {
  --r: 58deg;
  width: 56%;
  inset: 11% auto auto 23%;
  animation-duration: 20s;
}

.astro-tile .tile-art i:nth-child(3) {
  --r: -36deg;
  width: 36%;
  inset: 23% auto auto 36%;
  border-color: rgba(201, 169, 104, 0.26);
  animation-duration: 17s;
  animation-direction: reverse;
}

.astro-tile .tile-art b {
  width: 34%;
  aspect-ratio: 1;
  inset: 24% auto auto 37%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.82), transparent 0 12%, transparent 24%),
    radial-gradient(circle at 38% 34%, rgba(216, 237, 255, 0.52), rgba(34, 46, 64, 0.42) 42%, rgba(0, 0, 0, 0.92) 78%);
  box-shadow: 0 0 70px rgba(216, 237, 255, 0.14);
}

.tarot-tile .tile-art i {
  width: 24%;
  aspect-ratio: 0.66;
  inset: 24% auto auto 38%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 0 8px rgba(201, 169, 104, 0.04),
    0 24px 42px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--card-r, 0deg)) translateY(var(--card-y, 0));
  animation: cardHoverTile 5.8s ease-in-out infinite;
}

.tarot-tile .tile-art i:nth-child(2) {
  --card-r: -18deg;
  --card-y: 18px;
  left: 25%;
  top: 36%;
  animation-delay: -1.8s;
}

.tarot-tile .tile-art i:nth-child(3) {
  --card-r: 18deg;
  --card-y: 12px;
  left: 57%;
  top: 34%;
  animation-delay: -3s;
}

.tarot-tile .tile-art b {
  width: 62%;
  height: 28%;
  inset: 42% auto auto 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 104, 0.22), transparent 68%);
  transform: rotateX(68deg);
}

@keyframes tileOrbit {
  to {
    transform: rotateX(64deg) rotateZ(calc(var(--r, 0deg) + 360deg));
  }
}

@keyframes cardHoverTile {
  50% {
    transform: rotate(var(--card-r, 0deg)) translateY(calc(var(--card-y, 0) - 12px));
  }
}

.knowledge-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(78px, 12vh, 136px) max(24px, calc((100vw - 1180px) / 2 + 48px));
}

.astro-knowledge {
  border-radius: 48px 48px 0 0;
  background: #f7f7f2;
  color: #080808;
}

.tarot-knowledge {
  margin-top: -36px;
  border-radius: 48px 48px 0 0;
  background: #0c0c0c;
  color: #f7f7f2;
}

.knowledge-heading {
  margin-bottom: clamp(46px, 8vh, 88px);
  text-align: center;
}

.knowledge-heading span {
  color: currentColor;
  opacity: 0.55;
}

.knowledge-heading h3 {
  margin: 0;
  font-size: clamp(56px, 12vw, 154px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.knowledge-heading p {
  max-width: 700px;
  margin: 24px auto 0;
  opacity: 0.64;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.8;
}

.knowledge-list {
  max-width: 1060px;
  margin: 0 auto;
}

.knowledge-list article {
  display: grid;
  grid-template-columns: minmax(92px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 82px);
  align-items: center;
  border-top: 1px solid currentColor;
  padding: clamp(26px, 5vw, 52px) 0;
}

.knowledge-list article:last-child {
  border-bottom: 1px solid currentColor;
}

.knowledge-list span {
  font-size: clamp(54px, 10vw, 128px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.knowledge-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(18px, 2.2vw, 31px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.knowledge-list p {
  max-width: 720px;
  margin: 0;
  opacity: 0.58;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.8;
}

#todayScreen .product-gateway {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(96px, 13vh, 150px) max(24px, calc((100vw - 1440px) / 2 + 64px)) clamp(56px, 9vh, 104px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: stretch;
  background:
    radial-gradient(circle at 72% 20%, rgba(216, 237, 255, 0.06), transparent 24rem),
    radial-gradient(circle at 18% 70%, rgba(201, 169, 104, 0.055), transparent 23rem),
    #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.capabilities-header {
  grid-column: 1 / -1;
  max-width: 860px;
  margin-bottom: clamp(12px, 2vh, 26px);
}

.capabilities-header span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.capabilities-header h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 86px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.capabilities-header p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.85;
}

#todayScreen .product-card {
  grid-template-rows: minmax(250px, 1fr) auto;
  min-height: min(58vh, 540px);
  border-radius: 26px;
  padding: 20px;
  transform-style: preserve-3d;
  transition: transform 520ms ease, background 520ms ease;
}

#todayScreen .product-card:hover {
  transform: translateY(-8px) rotateX(1.6deg);
  background: rgba(255, 255, 255, 0.035);
}

#todayScreen .product-index {
  top: 20px;
  right: 22px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.38);
}

#todayScreen .product-visual {
  min-height: 250px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.08), transparent 52%),
    rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

#todayScreen .product-copy strong {
  color: #fff;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

#todayScreen .product-copy p {
  color: rgba(255, 255, 255, 0.72);
}

#todayScreen .product-usecases span {
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-product-visual {
  display: grid;
  place-items: center;
  perspective: 900px;
}

.archive-orbit {
  position: absolute;
  width: min(72%, 240px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 237, 255, 0.18);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: archiveOrbit 16s linear infinite;
}

.archive-panel {
  position: absolute;
  width: min(46%, 150px);
  aspect-ratio: 1.6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 28px 48px rgba(0, 0, 0, 0.26);
  transform-style: preserve-3d;
  animation: archiveFloat 7s ease-in-out infinite;
}

.archive-panel::before,
.archive-panel::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.archive-panel::before {
  top: 34%;
}

.archive-panel::after {
  top: 54%;
}

.panel-one {
  transform: translate3d(-52%, 8%, 50px) rotateY(-22deg) rotateZ(-8deg);
}

.panel-two {
  transform: translate3d(12%, -16%, 90px) rotateY(18deg) rotateZ(6deg);
  animation-delay: -1.8s;
}

.panel-three {
  transform: translate3d(34%, 28%, 20px) rotateY(36deg) rotateZ(12deg);
  animation-delay: -3.2s;
}

.home-snapshot,
.experience-path,
.home-path {
  display: none;
}

@keyframes cinematicCopyIn {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes archiveOrbit {
  to {
    transform: rotateX(68deg) rotateZ(342deg);
  }
}

@keyframes archiveFloat {
  0%,
  100% {
    filter: brightness(0.92);
  }
  50% {
    filter: brightness(1.16);
  }
}

@media (max-width: 980px) {
  .app-header {
    grid-template-columns: 1fr auto;
    width: calc(100vw - 28px);
    top: 12px;
  }

  .app-header > div {
    min-height: 44px;
    padding: 8px 14px;
  }

  .top-mission-nav {
    display: none;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  #todayScreen .home-hero {
    align-items: flex-end;
    min-height: 100svh;
    padding: clamp(88px, 12vh, 120px) 18px 32px;
  }

  #todayScreen .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0.94) 77%, #000 100%),
      radial-gradient(circle at 52% 24%, transparent 0 22%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.9) 100%);
  }

  #todayScreen .home-hero-copy {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #todayScreen .home-hero-copy h2 {
    width: 100%;
    max-width: 6.2em;
    font-size: clamp(48px, 14vw, 76px);
    line-height: 0.94;
  }

  #todayScreen .home-hero-copy p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.78;
  }

  #todayScreen .hero-actions {
    gap: 10px;
  }

  #todayScreen .hero-primary,
  #todayScreen .hero-secondary {
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  #todayScreen .product-gateway {
    grid-template-columns: 1fr;
    padding: 84px 18px 36px;
  }

  .visual-marquee {
    padding: 72px 0 78px;
  }

  .marquee-heading {
    width: calc(100vw - 36px);
    margin-bottom: 28px;
  }

  .marquee-heading h3 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .visual-row {
    grid-template-columns: repeat(3, minmax(280px, 78vw));
    gap: 12px;
  }

  .visual-tile {
    width: min(78vw, 330px);
    height: 230px;
    border-radius: 22px;
  }

  .knowledge-section {
    padding: 72px 22px 86px;
  }

  .astro-knowledge,
  .tarot-knowledge {
    border-radius: 34px 34px 0 0;
  }

  .knowledge-heading {
    text-align: left;
  }

  .knowledge-heading h3 {
    font-size: clamp(52px, 18vw, 84px);
  }

  .knowledge-heading p {
    margin-left: 0;
  }

  .knowledge-list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .knowledge-list span {
    font-size: clamp(52px, 18vw, 86px);
  }

  .capabilities-header h3 {
    font-size: clamp(38px, 11vw, 60px);
  }

  #todayScreen .product-card {
    min-height: 500px;
  }
}

/* Color cinematic 3D art direction v4. */
#todayScreen .home-hero {
  justify-content: flex-start;
  background: #000;
}

#todayScreen .home-hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: 0;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.42) 33%, rgba(0, 0, 0, 0.08) 68%, rgba(0, 0, 0, 0.48) 100%),
    url("./assets/nebula-3d-hero-v3.png") center 46% / cover no-repeat;
  opacity: 0.96;
  transform: scale(1.04);
  animation: nebulaHeroDrift 18s ease-in-out infinite alternate;
}

#todayScreen .home-hero::after {
  z-index: 2;
  background:
    radial-gradient(circle at 56% 48%, transparent 0 24%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.06) 42%, rgba(0, 0, 0, 0.72) 78%, #000 100%);
}

#todayScreen .mission-canvas {
  z-index: 1;
  opacity: 0.3;
  filter: saturate(1.45) contrast(1.12);
  mix-blend-mode: screen;
}

#todayScreen .home-hero-copy {
  width: min(780px, 92vw);
  max-width: min(780px, 92vw);
  margin-left: max(0px, calc((100vw - 1440px) / 2));
  text-align: left;
}

#todayScreen .home-hero-copy .kicker {
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

#todayScreen .home-hero-copy h2 {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
  font-family: var(--sans);
  font-size: clamp(54px, 6.8vw, 112px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.075em;
  white-space: pre-line;
  text-transform: none;
}

#todayScreen .home-hero-copy p {
  max-width: 650px;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.82);
}

#todayScreen .hero-actions,
#todayScreen .hero-dots {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
}

#todayScreen .hero-secondary,
#todayScreen .hero-dot {
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.visual-marquee {
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 205, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 82% 68%, rgba(255, 154, 48, 0.13), transparent 34rem),
    radial-gradient(circle at 50% 102%, rgba(166, 71, 255, 0.09), transparent 28rem),
    #000;
}

.marquee-heading span {
  color: rgba(104, 220, 255, 0.78);
}

.marquee-heading h3 {
  max-width: 1120px;
  text-transform: none;
}

.visual-tile {
  border-radius: 34px;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 34px 90px rgba(0, 0, 0, 0.56);
}

.visual-tile .tile-art {
  background-size: 122% auto;
  background-repeat: no-repeat;
  animation: cinematicTileDrift 13s ease-in-out infinite alternate;
}

.visual-tile:nth-child(2) .tile-art {
  animation-duration: 15s;
}

.visual-tile:nth-child(3) .tile-art {
  animation-duration: 17s;
}

.tile-orbit .tile-art,
.tile-chart .tile-art,
.tile-transit .tile-art {
  background-image: url("./assets/nebula-3d-astro-v3.png");
}

.tile-spread .tile-art,
.tile-arcana .tile-art,
.tile-review .tile-art {
  background-image: url("./assets/nebula-3d-tarot-v3.png");
}

.tile-orbit .tile-art {
  background-position: 37% 50%;
}

.tile-chart .tile-art {
  background-position: 57% 50%;
}

.tile-transit .tile-art {
  background-position: 74% 50%;
}

.tile-spread .tile-art {
  background-position: 33% 50%;
}

.tile-arcana .tile-art {
  background-position: 52% 48%;
}

.tile-review .tile-art {
  background-position: 72% 52%;
}

.visual-tile::before {
  z-index: 2;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 38%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6), transparent 58%);
}

.visual-tile::after {
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 58%),
    radial-gradient(circle at 78% 18%, rgba(0, 212, 255, 0.16), transparent 24%);
  opacity: 0.35;
  transform: translateX(-45%);
  animation: prismSweep 5.8s ease-in-out infinite;
}

.tile-index {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tile-english {
  position: absolute;
  left: 18px;
  top: 54px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.visual-tile strong {
  z-index: 4;
  bottom: 58px;
  font-size: clamp(28px, 3vw, 42px);
}

.visual-tile p {
  z-index: 4;
  color: rgba(255, 255, 255, 0.82);
}

.astro-knowledge {
  background:
    radial-gradient(circle at 16% 8%, rgba(34, 169, 255, 0.12), transparent 24rem),
    #f7f7f2;
}

.tarot-knowledge {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 178, 69, 0.13), transparent 24rem),
    radial-gradient(circle at 20% 82%, rgba(118, 80, 255, 0.1), transparent 26rem),
    #0c0c0c;
}

@keyframes nebulaHeroDrift {
  0% {
    transform: scale(1.04) translate3d(-0.8%, -0.6%, 0);
    filter: saturate(1.02) brightness(0.94);
  }
  100% {
    transform: scale(1.09) translate3d(1.2%, 0.8%, 0);
    filter: saturate(1.18) brightness(1.06);
  }
}

@keyframes cinematicTileDrift {
  0% {
    transform: scale(1.04) translate3d(-1.4%, -0.8%, 0);
    filter: saturate(1.05) contrast(1.04);
  }
  100% {
    transform: scale(1.12) translate3d(1.6%, 1.2%, 0);
    filter: saturate(1.24) contrast(1.12) brightness(1.07);
  }
}

@keyframes prismSweep {
  0%,
  52% {
    transform: translateX(-55%) skewX(-8deg);
    opacity: 0;
  }
  72% {
    opacity: 0.42;
  }
  100% {
    transform: translateX(58%) skewX(-8deg);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  #todayScreen .home-hero {
    justify-content: flex-end;
  }

  #todayScreen .home-hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.16) 36%, rgba(0, 0, 0, 0.78) 78%, #000 100%),
      url("./assets/nebula-3d-hero-v3.png") center top / auto 64% no-repeat;
  }

  #todayScreen .home-hero-copy {
    margin-left: 0;
    text-align: left;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 7.2em;
    font-size: clamp(46px, 14vw, 68px);
  }

  #todayScreen .hero-actions,
  #todayScreen .hero-dots {
    justify-content: flex-start;
  }

  .visual-tile .tile-art {
    background-size: auto 116%;
  }
}

/* Portfolio-grade homepage pass: independent hero object, image-led showcase, scroll reveal, framework cards. */
#todayScreen .home-hero {
  align-items: flex-end;
  padding-top: clamp(86px, 11vh, 118px);
  padding-bottom: clamp(28px, 5vh, 54px);
}

#todayScreen .home-hero::after {
  background:
    radial-gradient(circle at 50% 34%, transparent 0 24%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.56) 70%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 48%, rgba(0, 0, 0, 0.72));
}

#todayScreen .home-hero-copy {
  margin-top: auto;
  padding-bottom: min(2vh, 22px);
}

#todayScreen .home-hero-copy h2 {
  max-width: 820px;
  margin-top: 14px;
  font-size: clamp(44px, 5.6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

#todayScreen .home-hero-copy p {
  max-width: 720px;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.88;
}

#todayScreen .hero-actions {
  margin-top: 20px;
}

#todayScreen .hero-assurance {
  display: none !important;
  margin: 0;
}

#todayScreen .hero-assurance span {
  min-width: 148px;
  min-height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.visual-marquee {
  padding-top: clamp(86px, 12vh, 148px);
  padding-bottom: clamp(84px, 12vh, 140px);
}

.marquee-heading {
  margin-bottom: clamp(32px, 6vh, 72px);
}

.visual-row {
  grid-template-columns: repeat(3, minmax(330px, 440px));
  gap: 18px;
  margin-bottom: 18px;
}

.visual-tile {
  width: clamp(330px, 32vw, 440px);
  height: clamp(248px, 24vw, 320px);
  border-radius: 30px;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 32px 90px rgba(0, 0, 0, 0.5);
}

.visual-tile::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 42%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.22), transparent 20%);
  opacity: 1;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
  pointer-events: none;
}

.visual-tile .tile-art {
  background-size: cover;
  background-position: center;
  opacity: 0.96;
  transform: scale(1.012);
  filter: saturate(0.96) contrast(1.08);
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1), filter 900ms cubic-bezier(.16, 1, .3, 1);
}

.visual-tile:hover .tile-art {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.16) brightness(1.1);
}

.visual-tile .tile-art i,
.visual-tile .tile-art b {
  display: none;
}

.tile-orbit .tile-art {
  background-image: url("./assets/showcase-astro-current.svg");
}

.tile-chart .tile-art {
  background-image: url("./assets/showcase-astro-chart.svg");
}

.tile-transit .tile-art {
  background-image: url("./assets/showcase-astro-transit.svg");
}

.tile-spread .tile-art {
  background-image: url("./assets/showcase-tarot-spread.svg");
}

.tile-arcana .tile-art {
  background-image: url("./assets/showcase-tarot-arcana.svg");
}

.tile-review .tile-art {
  background-image: url("./assets/showcase-tarot-review.svg");
}

.visual-tile strong {
  bottom: 54px;
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
}

.visual-tile p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

body.reveal-ready .marquee-heading,
body.reveal-ready .visual-tile,
body.reveal-ready .knowledge-heading,
body.reveal-ready .knowledge-list article,
body.reveal-ready .capabilities-header,
body.reveal-ready #todayScreen .product-card {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(58px);
  transition:
    opacity 900ms ease,
    filter 900ms ease,
    transform 1000ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-ready .marquee-heading.is-visible,
body.reveal-ready .visual-tile.is-visible,
body.reveal-ready .knowledge-heading.is-visible,
body.reveal-ready .knowledge-list article.is-visible,
body.reveal-ready .capabilities-header.is-visible,
body.reveal-ready #todayScreen .product-card.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

#todayScreen .product-gateway {
  display: block;
  padding-top: clamp(94px, 12vh, 148px);
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 237, 255, 0.06), transparent 26rem),
    radial-gradient(circle at 18% 70%, rgba(201, 169, 104, 0.06), transparent 24rem),
    #000;
}

#todayScreen .capabilities-header {
  max-width: 1050px;
  margin-bottom: clamp(34px, 8vh, 82px);
}

#todayScreen .capabilities-header h3 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

#todayScreen .capabilities-header p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

#todayScreen .product-card {
  position: sticky;
  top: 92px;
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(360px, 1.26fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(26px, 4vw, 72px);
  row-gap: 18px;
  width: min(1320px, 100%);
  min-height: clamp(520px, 72vh, 720px);
  margin: 0 auto clamp(42px, 9vh, 86px);
  border: 2px solid rgba(215, 226, 234, 0.82);
  border-radius: clamp(34px, 4vw, 58px);
  padding: clamp(24px, 3.6vw, 54px);
  background: #0c0c0c;
  overflow: hidden;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.42);
}

#todayScreen .product-card:nth-of-type(2) {
  top: 118px;
}

#todayScreen .product-card:nth-of-type(3) {
  top: 144px;
}

#todayScreen .product-card:hover {
  transform: translateY(-4px);
  background: #0f0f10;
}

#todayScreen .product-index {
  position: static !important;
  grid-column: 1;
  grid-row: 1;
  color: rgba(215, 226, 234, 0.92);
  font-family: var(--sans);
  font-size: clamp(82px, 12vw, 168px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.09em;
}

#todayScreen .product-visual {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 100%;
  border-radius: clamp(26px, 3vw, 44px);
  background:
    radial-gradient(circle at 50% 34%, rgba(216, 237, 255, 0.12), transparent 48%),
    #030303;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

#todayScreen .product-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  padding: 0;
}

#todayScreen .product-copy span {
  font-size: 13px;
}

#todayScreen .product-copy strong {
  max-width: 520px;
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

#todayScreen .product-card i {
  position: static;
  grid-column: 1;
  grid-row: 3;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(215, 226, 234, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

#todayScreen .product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 226, 234, 0.55), transparent);
}

@media (max-width: 980px) {
  #todayScreen .home-hero {
    padding: 86px 18px 28px;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 8.2em;
    font-size: clamp(44px, 13vw, 66px);
  }

  #todayScreen .hero-assurance {
    gap: 8px;
  }

  #todayScreen .hero-assurance span {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    min-height: 42px;
    font-size: 11px;
  }

  .visual-row {
    grid-template-columns: repeat(3, minmax(286px, 82vw));
    gap: 14px;
  }

  .visual-tile {
    width: min(82vw, 350px);
    height: 242px;
  }

  #todayScreen .product-gateway {
    padding: 80px 18px 42px;
  }

  #todayScreen .product-card {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: auto;
    margin-bottom: 24px;
    border-radius: 34px;
    padding: 22px;
  }

  #todayScreen .product-index,
  #todayScreen .product-visual,
  #todayScreen .product-copy,
  #todayScreen .product-card i {
    grid-column: 1;
  }

  #todayScreen .product-index {
    grid-row: 1;
    font-size: clamp(64px, 20vw, 98px);
  }

  #todayScreen .product-visual {
    grid-row: 2;
    min-height: 310px;
  }

  #todayScreen .product-copy {
    grid-row: 3;
  }

  #todayScreen .product-card i {
    grid-row: 4;
  }
}

/* Final override: keep colorful generated 3D scenes above older SVG showcase rules. */
#todayScreen .home-hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: 0;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.42) 33%, rgba(0, 0, 0, 0.08) 68%, rgba(0, 0, 0, 0.48) 100%),
    url("./assets/nebula-3d-hero-v3.png") center 46% / cover no-repeat !important;
  opacity: 0.96;
  transform: scale(1.04);
  animation: nebulaHeroDrift 18s ease-in-out infinite alternate;
}

#todayScreen .mission-canvas {
  z-index: 1;
  opacity: 0.22;
  filter: saturate(1.45) contrast(1.12);
  mix-blend-mode: screen;
}

#todayScreen .home-hero-copy {
  text-align: left;
}

#todayScreen .home-hero-copy h2 {
  font-family: var(--sans);
  font-size: clamp(54px, 6.8vw, 112px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.075em;
  white-space: pre-line;
}

.tile-orbit .tile-art,
.tile-chart .tile-art,
.tile-transit .tile-art {
  background-image: url("./assets/nebula-3d-astro-v3.png") !important;
}

.tile-spread .tile-art,
.tile-arcana .tile-art,
.tile-review .tile-art {
  background-image: url("./assets/nebula-3d-tarot-v3.png") !important;
}

.visual-tile .tile-art {
  background-size: 122% auto !important;
  background-repeat: no-repeat !important;
  animation: cinematicTileDrift 13s ease-in-out infinite alternate;
}

.tile-orbit .tile-art {
  background-position: 37% 50% !important;
}

.tile-chart .tile-art {
  background-position: 57% 50% !important;
}

.tile-transit .tile-art {
  background-position: 74% 50% !important;
}

.tile-spread .tile-art {
  background-position: 33% 50% !important;
}

.tile-arcana .tile-art {
  background-position: 52% 48% !important;
}

.tile-review .tile-art {
  background-position: 72% 52% !important;
}

.tile-english {
  position: absolute;
  left: 18px;
  top: 54px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  #todayScreen .home-hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.16) 36%, rgba(0, 0, 0, 0.78) 78%, #000 100%),
      url("./assets/nebula-3d-hero-v3.png") center top / auto 64% no-repeat !important;
  }

  .visual-tile .tile-art {
    background-size: auto 116% !important;
  }
}

/* Requested placement pass: colorful 3D scenes live only in the six showcase tiles. */
#todayScreen .home-hero::before {
  background:
    radial-gradient(circle at 62% 32%, rgba(0, 210, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 34% 62%, rgba(255, 185, 90, 0.07), transparent 26rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.72)),
    #000 !important;
  opacity: 1;
  animation: none;
}

#todayScreen .mission-canvas {
  opacity: 1;
  mix-blend-mode: normal;
}

.tile-orbit .tile-art {
  background-image: url("./assets/scene-astro-current-v4.png") !important;
  background-position: 52% 50% !important;
}

.tile-chart .tile-art {
  background-image: url("./assets/scene-astro-chart-v4.png") !important;
  background-position: 52% 52% !important;
}

.tile-transit .tile-art {
  background-image: url("./assets/scene-astro-transit-v4.png") !important;
  background-position: 54% 50% !important;
}

.tile-spread .tile-art {
  background-image: url("./assets/scene-tarot-spread-v4.png") !important;
  background-position: 50% 54% !important;
}

.tile-arcana .tile-art {
  background-image: url("./assets/scene-tarot-arcana-v4.png") !important;
  background-position: 50% 52% !important;
}

.tile-review .tile-art {
  background-image: url("./assets/scene-tarot-archive-v4.png") !important;
  background-position: 50% 52% !important;
}

.visual-tile .tile-art {
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 980px) {
  #todayScreen .home-hero::before {
    background:
      radial-gradient(circle at 52% 28%, rgba(0, 210, 255, 0.12), transparent 16rem),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42) 52%, #000 100%),
      #000 !important;
  }
}

/* Hero layout correction: left copy, right independent 3D stage. */
#todayScreen .home-hero {
  align-items: center;
  justify-content: flex-start;
  padding-left: max(32px, calc((100vw - 1440px) / 2 + 72px));
  padding-right: max(32px, calc((100vw - 1440px) / 2 + 72px));
}

#todayScreen .home-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.64) 34%, rgba(0, 0, 0, 0.1) 66%, rgba(0, 0, 0, 0.35) 100%),
    radial-gradient(circle at 72% 48%, transparent 0 22%, rgba(0, 0, 0, 0.2) 46%, rgba(0, 0, 0, 0.82) 100%);
}

#todayScreen .home-hero-copy {
  position: relative;
  z-index: 4;
  flex: 0 0 min(540px, 44vw);
  width: min(540px, 44vw);
  max-width: min(540px, 44vw);
  margin: 0;
  padding-top: 26px;
  padding-bottom: 0;
}

#todayScreen .home-hero-copy h2 {
  max-width: 540px;
  margin-top: 18px;
  font-size: clamp(56px, 5.8vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

#todayScreen .home-hero-copy p {
  max-width: 520px;
}

#todayScreen .hero-actions {
  width: 100%;
  margin-top: 28px;
}

#todayScreen .hero-dots {
  width: 100%;
}

#todayScreen .mission-canvas {
  z-index: 1;
}

@media (max-width: 980px) {
  #todayScreen .home-hero {
    align-items: flex-end;
    padding: 86px 18px 30px;
  }

  #todayScreen .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.82) 72%, #000 100%),
      radial-gradient(circle at 52% 26%, transparent 0 20%, rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0.9) 100%);
  }

  #todayScreen .home-hero-copy {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 7em;
    font-size: clamp(44px, 13.4vw, 66px);
  }
}

/* Cinematic v7: portfolio-grade 3D motion presentation. */
#todayScreen {
  background: #000;
}

#todayScreen .home-hero {
  min-height: 100svh;
  align-items: center;
  justify-content: flex-start;
  padding: 124px max(32px, calc((100vw - 1440px) / 2 + 76px)) 58px;
  background: #000;
  overflow: hidden;
}

#todayScreen .home-hero::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  display: block !important;
  opacity: 0.62;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.04) 42%, #000 100%),
    url("./assets/hero-astro-cinematic.png") center center / cover no-repeat !important;
  transform: scale(1.04);
  animation: cinematicPlateDrift 22s ease-in-out infinite alternate;
}

#todayScreen .home-hero[data-hero-mode="tarot"]::before {
  opacity: 0.68;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.76) 31%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.02) 42%, #000 100%),
    url("./assets/hero-tarot-cinematic.png") center center / cover no-repeat !important;
}

#todayScreen .home-hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.08) 68%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.04) 44%, #000 100%);
}

#todayScreen .mission-canvas {
  z-index: 1;
  opacity: 0.9;
  filter: saturate(1.28) contrast(1.08);
  mix-blend-mode: screen;
}

#todayScreen .home-hero-copy {
  z-index: 4;
  flex: 0 0 560px;
  width: 560px;
  max-width: 560px;
  padding-top: 18px;
  text-align: left;
}

#todayScreen .home-hero-copy .kicker {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 18px 60px rgba(0, 0, 0, 0.28);
}

#todayScreen .home-hero-copy h2 {
  max-width: 560px;
  margin: 22px 0 18px;
  font-family: var(--sans);
  font-size: 5.7rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.76);
}

#todayScreen .home-hero-copy p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 2;
}

#todayScreen .hero-actions {
  justify-content: flex-start;
  width: 100%;
  margin-top: 30px;
}

#todayScreen .hero-primary,
#todayScreen .hero-secondary {
  border-radius: 999px;
  transition: transform 420ms ease, border-color 420ms ease, background 420ms ease;
}

#todayScreen .hero-primary:hover,
#todayScreen .hero-secondary:hover,
#todayScreen .hero-dot:hover {
  transform: translateY(-2px);
}

#todayScreen .hero-assurance {
  justify-content: flex-start;
  width: 100%;
  margin: 88px 0 0;
}

#todayScreen .hero-assurance span {
  min-width: 146px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#todayScreen .hero-dots {
  justify-content: flex-start;
  width: 100%;
}

.visual-marquee {
  padding: 116px 0 124px;
  background:
    linear-gradient(180deg, #000 0%, #050505 42%, #000 100%);
}

.marquee-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 36px;
  align-items: end;
}

.marquee-heading h3 {
  max-width: 940px;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.marquee-heading::after {
  content: "Six visual modules for public-facing reading, designed as cinematic product entries rather than dashboard cards.";
  max-width: 360px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
  line-height: 1.8;
}

.visual-row {
  grid-template-columns: repeat(3, minmax(390px, 500px));
  gap: 22px;
  margin-bottom: 22px;
}

.visual-tile {
  width: min(500px, 31vw);
  min-width: 390px;
  height: 355px;
  border-radius: 34px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.026);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 42px 120px rgba(0, 0, 0, 0.42);
  transition: transform 620ms ease, box-shadow 620ms ease;
}

.visual-tile:hover {
  transform: translateY(-8px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 52px 150px rgba(0, 0, 0, 0.58);
}

.visual-tile::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0.88;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 58%);
  opacity: 0;
  transform: translateX(-46%);
  transition: opacity 520ms ease, transform 920ms ease;
}

.visual-tile:hover::after {
  opacity: 1;
  transform: translateX(46%);
}

.visual-tile .tile-art {
  inset: 0;
  background-size: cover !important;
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.04);
  animation: cinematicTileBreath 12s ease-in-out infinite alternate;
}

.tile-index,
.tile-english {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tile-english {
  top: 62px;
}

.visual-tile strong {
  bottom: 60px;
  font-size: 2.25rem;
  letter-spacing: 0;
}

.visual-tile p {
  bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.knowledge-section {
  padding-top: 112px;
  padding-bottom: 124px;
}

.knowledge-heading h3 {
  font-size: 7.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.knowledge-list article {
  transform: translateY(18px);
  transition: transform 700ms ease, opacity 700ms ease;
}

body.reveal-ready .knowledge-list article:not(.is-visible) {
  opacity: 0.38;
}

.knowledge-list span {
  font-size: 6.6rem;
  letter-spacing: 0;
}

.knowledge-list strong {
  font-size: 1.9rem;
  letter-spacing: 0;
}

@keyframes cinematicPlateDrift {
  0% {
    transform: scale(1.04) translate3d(-1.2%, -0.8%, 0);
  }
  100% {
    transform: scale(1.09) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes cinematicTileBreath {
  0% {
    transform: scale(1.04) translate3d(-1%, -1%, 0);
  }
  100% {
    transform: scale(1.1) translate3d(1%, 1%, 0);
  }
}

@media (max-width: 1100px) {
  #todayScreen .home-hero-copy {
    flex-basis: 520px;
    width: 520px;
    max-width: 520px;
  }

  #todayScreen .home-hero-copy h2 {
    font-size: 4.8rem;
  }

  .marquee-heading {
    display: block;
  }

  .marquee-heading h3 {
    font-size: 4rem;
  }

  .marquee-heading::after {
    display: block;
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  #todayScreen .home-hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 96px 18px 34px;
  }

  #todayScreen .home-hero::before {
    opacity: 0.5;
    background-position: center top !important;
  }

  #todayScreen .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.32) 42%, #000 100%);
  }

  #todayScreen .mission-canvas {
    opacity: 0.72;
  }

  #todayScreen .home-hero-copy {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-bottom: 0;
  }

  #todayScreen .home-hero-copy .kicker {
    font-size: 0.68rem;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 8em;
    font-size: 3.6rem;
    line-height: 0.98;
  }

  #todayScreen .home-hero-copy p {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  #todayScreen .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  #todayScreen .hero-primary,
  #todayScreen .hero-secondary {
    flex: 1 1 auto;
    min-width: 142px;
  }

  #todayScreen .hero-assurance {
    margin-top: 34px;
  }

  #todayScreen .hero-assurance span {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .visual-marquee {
    padding: 82px 0 92px;
  }

  .marquee-heading {
    width: calc(100vw - 36px);
  }

  .marquee-heading h3 {
    font-size: 3.25rem;
    line-height: 1;
  }

  .visual-row {
    grid-template-columns: repeat(3, minmax(300px, 84vw));
    gap: 14px;
  }

  .visual-tile {
    width: 84vw;
    min-width: 300px;
    height: 270px;
    border-radius: 26px;
  }

  .visual-tile strong {
    font-size: 1.8rem;
  }

  .knowledge-section {
    padding: 80px 18px 92px;
    border-radius: 34px 34px 0 0;
  }

  .knowledge-heading h3 {
    font-size: 4rem;
  }

  .knowledge-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .knowledge-list span {
    font-size: 4.8rem;
  }
}

/* Cinematic v8: real WebGL hero takes over from static image plates. */
#todayScreen .home-hero {
  min-height: 100svh;
  padding: 118px max(30px, calc((100vw - 1440px) / 2 + 78px)) 56px;
  background:
    radial-gradient(circle at 72% 46%, rgba(71, 133, 181, 0.18), transparent 25rem),
    radial-gradient(circle at 78% 58%, rgba(213, 166, 88, 0.12), transparent 20rem),
    linear-gradient(180deg, #000 0%, #030303 54%, #000 100%);
}

#todayScreen .home-hero::before {
  opacity: 1;
  background:
    radial-gradient(circle at 71% 46%, rgba(255, 255, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 74% 52%, rgba(88, 171, 245, 0.12), transparent 31rem),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 33%, rgba(0, 0, 0, 0.1) 66%, rgba(0, 0, 0, 0.54) 100%) !important;
  animation: none;
}

#todayScreen .home-hero[data-hero-mode="tarot"]::before {
  background:
    radial-gradient(circle at 72% 46%, rgba(238, 197, 120, 0.12), transparent 19rem),
    radial-gradient(circle at 75% 52%, rgba(147, 91, 42, 0.16), transparent 31rem),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 33%, rgba(0, 0, 0, 0.1) 66%, rgba(0, 0, 0, 0.56) 100%) !important;
}

#todayScreen .home-hero::after {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.74) 33%, rgba(0, 0, 0, 0.03) 67%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.04) 44%, #000 100%);
}

.hero-webgl {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-webgl canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

#todayScreen .mission-canvas {
  z-index: 1;
  opacity: 0.24;
  filter: saturate(1.1) blur(0.1px);
}

#todayScreen .home-hero-copy {
  z-index: 5;
  flex-basis: 520px;
  width: 520px;
  max-width: 520px;
  padding-top: 0;
}

#todayScreen .home-hero-copy .kicker {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.11);
}

#todayScreen .home-hero-copy h2 {
  max-width: 520px;
  font-size: clamp(64px, 6.6vw, 106px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

#todayScreen .home-hero-copy p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.7);
}

#todayScreen .hero-assurance {
  margin-top: 74px;
}

#todayScreen .hero-assurance span,
#todayScreen .hero-secondary,
#todayScreen .hero-dot {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.visual-marquee {
  background:
    radial-gradient(circle at 20% 10%, rgba(80, 148, 209, 0.08), transparent 22rem),
    radial-gradient(circle at 86% 80%, rgba(216, 169, 87, 0.08), transparent 26rem),
    linear-gradient(180deg, #000 0%, #040404 48%, #000 100%);
}

.visual-tile {
  border-radius: 28px;
  background: #040404;
}

@media (max-width: 900px) {
  #todayScreen .home-hero {
    align-items: flex-end;
    padding: 92px 18px 34px;
  }

  #todayScreen .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.34) 42%, #000 100%);
  }

  .hero-webgl {
    transform: translateY(-7vh);
  }

  #todayScreen .home-hero-copy {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 8em;
    font-size: clamp(50px, 13vw, 70px);
  }

  #todayScreen .hero-assurance {
    margin-top: 34px;
  }
}

/* Reference-led v9: full-screen video, cut glass controls, staggered editorial layout. */
:root {
  --font-inter: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  font-family: var(--font-inter);
  background: #000;
}

.btn-cut {
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px
  );
}

.btn-cut-border {
  position: relative;
  isolation: isolate;
  background: #fff !important;
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px
  );
}

.btn-cut-border::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: 0 !important;
  display: block !important;
  padding: 0 !important;
  background: #050505 !important;
  clip-path: polygon(
    11px 0%, calc(100% - 11px) 0%, 100% 11px, 100% calc(100% - 11px),
    calc(100% - 11px) 100%, 11px 100%, 0% calc(100% - 11px), 0% 11px
  ) !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.btn-cut-border > * {
  position: relative;
  z-index: 1;
}

.btn-cut-sm {
  clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px
  );
}

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

@keyframes referenceFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-stagger {
  opacity: 0;
  animation: referenceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards;
}

.anim-fade {
  opacity: 0;
  animation: referenceFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards;
}

.app-layout {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: 12px;
  background: #000;
}

.desktop-brief {
  display: none !important;
}

.app-shell {
  width: 100%;
  min-height: calc(100svh - 24px);
  border: 0;
  border-radius: 18px;
  overflow: clip;
  background: #000;
}

.app-header {
  position: fixed;
  top: 26px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  width: min(1440px, calc(100vw - 72px));
  padding: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.app-header > * {
  pointer-events: auto;
}

.app-header .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 56px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.nav-brand-mark {
  width: 52px;
  height: 52px;
  fill: rgba(255, 255, 255, 0.94);
}

.app-header .nav-brand > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-header .nav-brand strong {
  margin: 0;
  color: #fff;
  font-family: var(--font-inter);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.app-header .nav-brand .kicker {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-inter);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.top-mission-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 4px;
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
}

.mission-nav-button {
  min-height: 36px;
  border-radius: 0;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-inter);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  clip-path: polygon(7px 0%, calc(100% - 7px) 0%, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0% calc(100% - 7px), 0% 7px);
}

.mission-nav-button.active {
  background: #fff;
  color: #050505;
}

.app-header .icon-button {
  justify-self: end;
  width: 58px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 0.72rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.app-main {
  padding: 0;
}

#todayScreen .home-hero {
  position: relative;
  width: 100%;
  height: calc(100svh - 24px);
  min-height: 700px;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

#todayScreen .home-hero::before,
#todayScreen .home-hero::after,
#todayScreen .mission-canvas,
#todayScreen .home-hero-stage,
.hero-webgl {
  display: none !important;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.04) brightness(0.9);
  transition: filter 1.2s ease, transform 8s ease;
}

#todayScreen .home-hero[data-hero-mode="tarot"] .hero-video {
  filter: saturate(0.72) sepia(0.12) contrast(1.08) brightness(0.82);
  transform: scale(1.025);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.02) 34%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, transparent 38%, transparent 68%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-film-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: soft-light;
}

.hero-reference-layout {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 96px 36px 30px;
}

.hero-side-note {
  position: absolute;
  left: 36px;
  top: 24%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #fff;
}

.hero-side-note > p {
  max-width: 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-side-index {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  align-items: end;
}

.hero-side-index > span {
  display: flex;
  gap: 5px;
}

.hero-side-index i {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.hero-side-index small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  line-height: 1.25;
}

.hero-side-index b {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.64rem;
  font-weight: 400;
}

#todayScreen .home-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 37%;
  z-index: 5;
  width: min(820px, 70vw);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}

#todayScreen .home-hero-copy .kicker {
  display: inline-flex;
  width: auto;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-inter);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#todayScreen .home-hero-copy h2 {
  max-width: 820px;
  margin: 18px auto 0;
  color: #fff;
  font-family: var(--font-inter);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: pre-line;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero-bottom-row {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: end;
}

.hero-bottom-description {
  justify-self: end;
  width: min(100%, 330px);
}

.hero-bottom-description > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.7;
  text-align: left;
}

#todayScreen .hero-assurance {
  display: flex !important;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  margin: 14px 0 0;
}

#todayScreen .hero-assurance span {
  min-width: 0;
  min-height: auto;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 0 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#todayScreen .hero-assurance span:first-child {
  padding-left: 0;
}

#todayScreen .hero-assurance span:last-child {
  border-right: 0;
}

#todayScreen .hero-assurance span::before {
  display: none;
}

.hero-bottom-center {
  justify-self: center;
  display: flex;
  width: min(100%, 300px);
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-product-name {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
}

#todayScreen .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  margin: 0;
}

#todayScreen .hero-primary,
#todayScreen .hero-secondary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  font-family: var(--font-inter);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 260ms ease, background-color 260ms ease;
}

#todayScreen .hero-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #050505;
}

#todayScreen .hero-primary::after {
  content: "→";
  font-size: 1rem;
  transition: transform 260ms ease;
}

#todayScreen .hero-primary:hover::after {
  transform: translateX(4px);
}

#todayScreen .hero-secondary {
  color: #fff;
}

#todayScreen .hero-primary:hover,
#todayScreen .hero-secondary:hover {
  transform: translateY(-2px);
}

#todayScreen .hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
}

#todayScreen .hero-dot {
  min-width: 74px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-inter);
  font-size: 0.7rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#todayScreen .hero-dot.active {
  background: #fff;
  color: #050505;
}

.hero-quick-links {
  justify-self: end;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-quick-links button {
  min-width: 94px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 0.68rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-quick-links button span {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1100px) {
  .hero-side-note {
    display: none;
  }

  #todayScreen .home-hero-copy {
    top: 32%;
  }

  #todayScreen .home-hero-copy h2 {
    font-size: 3.8rem;
  }

  .hero-bottom-row {
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
  }

  .hero-quick-links {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .app-layout {
    padding: 8px;
  }

  .app-shell {
    min-height: calc(100svh - 16px);
    border-radius: 14px;
  }

  .app-header {
    top: 18px;
    width: calc(100vw - 36px);
    grid-template-columns: 1fr auto;
  }

  .nav-brand-mark {
    width: 42px;
    height: 42px;
  }

  .app-header .nav-brand strong {
    font-size: 0.62rem;
  }

  .app-header .nav-brand .kicker {
    font-size: 0.56rem;
  }

  .top-mission-nav {
    display: none;
  }

  .app-header .icon-button {
    grid-column: 2;
    width: 54px;
    height: 40px;
  }

  #todayScreen .home-hero {
    height: auto;
    min-height: max(100svh, 780px);
    border-radius: 12px;
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.86) 100%);
  }

  .hero-reference-layout {
    height: max(100svh, 780px);
    min-height: max(100svh, 780px);
    padding: 82px 18px 20px;
  }

  #todayScreen .home-hero-copy {
    left: 18px;
    right: 18px;
    top: 22%;
    width: auto;
    max-width: none;
    margin: 0;
  }

  #todayScreen .home-hero-copy h2 {
    max-width: 8em;
    margin-top: 14px;
    font-size: 3rem;
    line-height: 1.08;
  }

  #todayScreen .home-hero-copy .kicker {
    font-size: 0.6rem;
  }

  .hero-bottom-row {
    left: 18px;
    right: 18px;
    bottom: 76px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-bottom-description {
    justify-self: center;
    width: min(100%, 360px);
  }

  .hero-bottom-description > p {
    text-align: center;
    font-size: 0.78rem;
  }

  #todayScreen .hero-assurance {
    display: none !important;
  }

  .hero-bottom-center {
    width: min(100%, 330px);
    gap: 10px;
  }

  .hero-product-name {
    font-size: 1.25rem;
  }

  #todayScreen .hero-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #todayScreen .hero-primary,
  #todayScreen .hero-secondary {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hero-quick-links {
    display: none;
  }

  .hero-quick-links button {
    min-width: 0;
    flex: 1 1 0;
    max-width: 110px;
    min-height: 38px;
    padding: 0 6px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-stagger,
  .anim-fade {
    opacity: 1;
    animation: none;
  }

  .hero-video {
    transition: none;
  }
}

/* Zodiac product v10: original realtime motion hero and integrated astro console. */
.hero-zodiac-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #010205;
}

.hero-zodiac-image {
  position: absolute;
  inset: -5%;
  background: url("./assets/scene-astro-current-v4.png") center center / cover no-repeat;
  filter: saturate(0.88) contrast(1.08) brightness(0.72);
  transform: scale(1.04);
  animation: zodiacSceneDrift 22s ease-in-out infinite alternate;
  transition: opacity 900ms ease, filter 900ms ease;
}

#todayScreen .home-hero[data-hero-mode="tarot"] .hero-zodiac-image {
  background-image: url("./assets/hero-tarot-cinematic.png");
  filter: saturate(0.8) sepia(0.12) contrast(1.1) brightness(0.68);
}

.hero-zodiac-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(55, 202, 255, 0.14), transparent 28%),
    radial-gradient(circle at 62% 58%, rgba(228, 176, 84, 0.12), transparent 22%);
  mix-blend-mode: screen;
  animation: zodiacAurora 8s ease-in-out infinite alternate;
}

#todayScreen .hero-webgl {
  display: block !important;
  z-index: 2;
  opacity: 0.94;
}

#todayScreen .hero-webgl canvas {
  width: 100% !important;
  height: 100% !important;
}

#todayScreen .hero-video-overlay {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.04) 34%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, transparent 42%, transparent 70%, rgba(0, 0, 0, 0.28) 100%);
}

#todayScreen .hero-film-grain {
  z-index: 4;
}

@keyframes zodiacSceneDrift {
  0% { transform: scale(1.04) translate3d(-0.8%, -0.4%, 0); }
  100% { transform: scale(1.12) translate3d(1.2%, 0.8%, 0); }
}

@keyframes zodiacAurora {
  0% { opacity: 0.42; transform: translate3d(-1%, 0, 0); }
  100% { opacity: 0.82; transform: translate3d(1%, -1%, 0); }
}

#astroScreen.astro-product-screen {
  width: 100%;
  max-width: none;
  padding: 96px clamp(24px, 4.2vw, 72px) 120px;
  background:
    radial-gradient(circle at 82% 16%, rgba(35, 143, 187, 0.11), transparent 30rem),
    radial-gradient(circle at 18% 40%, rgba(201, 152, 66, 0.07), transparent 26rem),
    #020305;
  color: #f7f7f5;
}

.astro-command-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  min-height: min(820px, calc(100svh - 124px));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.astro-command-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 3.6vw, 52px) clamp(28px, 3.8vw, 56px) 28px 0;
}

.astro-command-heading {
  max-width: 680px;
}

.astro-command-heading .kicker,
.astro-chart-status,
.astro-sign-label,
.control-label {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.astro-command-heading .kicker {
  color: #79d7ff;
  font-size: 0.68rem;
}

.astro-command-heading h2 {
  max-width: 9em;
  margin: 22px 0 20px;
  font-family: var(--font-inter);
  font-size: clamp(52px, 4.6vw, 74px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: 0;
}

.astro-command-heading p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.96rem;
  line-height: 1.9;
}

#astroScreen .astro-query-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  margin: 32px 0 22px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
  box-shadow: none;
}

.astro-query-meta {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(260px, 1.28fr);
  gap: 18px;
}

#astroScreen .astro-query-meta > label {
  grid-column: auto;
}

#astroScreen .astro-query-card label,
.astro-query-meta > div {
  display: grid;
  gap: 9px;
}

#astroScreen .astro-query-card label > span,
.control-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.66rem;
}

#astroScreen .astro-query-card select,
#astroScreen .astro-query-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: var(--font-inter);
  outline: none;
  transition: border-color 500ms ease, background 500ms ease;
}

#astroScreen .astro-query-card select {
  height: 48px;
  padding: 0 14px;
}

#astroScreen .astro-query-card textarea {
  height: 92px;
  min-height: 92px;
  margin: 0;
  resize: vertical;
  padding: 16px;
  line-height: 1.7;
}

#astroScreen .astro-query-card select:focus,
#astroScreen .astro-query-card textarea:focus {
  border-color: rgba(121, 215, 255, 0.64);
  background: rgba(16, 30, 38, 0.48);
}

#astroScreen .segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  padding: 3px;
  background: rgba(0, 0, 0, 0.28);
}

#astroScreen .segment-btn {
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}

#astroScreen .segment-btn.active {
  background: #f5f5f2;
  color: #07090b;
}

.astro-query-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.astro-query-action small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

#astroScreen #astroAskButton {
  width: min(270px, 46%);
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #050608;
  font-weight: 650;
}

.zodiac-selector {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.zodiac-selector button {
  display: grid;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  gap: 2px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  transition: color 450ms ease, background 450ms ease;
}

.zodiac-selector button:nth-child(6n) {
  border-right: 0;
}

.zodiac-selector button b {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.zodiac-selector button span {
  font-size: 0.6rem;
}

.zodiac-selector button:hover,
.zodiac-selector button.active {
  background: rgba(121, 215, 255, 0.08);
  color: #d9f4ff;
}

#astroScreen .astro-chart-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 34px clamp(24px, 3.6vw, 56px) 38px;
  background: #04070a;
  box-shadow: none;
  isolation: isolate;
}

#astroScreen .astro-chart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  background:
    linear-gradient(180deg, rgba(2, 5, 8, 0.16), rgba(2, 5, 8, 0.78)),
    url("./assets/nebula-3d-astro-v3.png") center center / cover no-repeat;
  opacity: 0.48;
  transform: scale(1.04);
  animation: astroPanelDrift 18s ease-in-out infinite alternate;
}

#astroScreen .astro-chart-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 46%, rgba(10, 132, 187, 0.06), rgba(0, 0, 0, 0.58) 68%);
  pointer-events: none;
}

.astro-chart-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
}

.astro-chart-status span:first-child {
  color: #79d7ff;
}

#astroScreen .chart-wheel {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, 550px);
  aspect-ratio: 1;
  margin: 8px 0;
  filter: drop-shadow(0 0 38px rgba(70, 196, 242, 0.12));
}

#astroScreen .chart-wheel::before,
#astroScreen .chart-wheel::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  animation: astroRingSpin 64s linear infinite;
}

#astroScreen .chart-wheel::after {
  inset: 16%;
  border-style: dashed;
  border-color: rgba(224, 176, 84, 0.18);
  animation-direction: reverse;
  animation-duration: 46s;
}

#astroScreen .chart-wheel svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

#astroScreen .chart-ring,
#astroScreen #houseLines line,
#astroScreen #aspectLines line {
  fill: none;
  stroke-width: 0.65;
}

#astroScreen .chart-ring,
#astroScreen #houseLines line {
  stroke: rgba(255, 255, 255, 0.26);
}

#astroScreen #aspectLines line {
  stroke: rgba(224, 176, 84, 0.48);
}

#astroScreen #zodiacGlyphSvg {
  fill: #f6f6f1;
  font-family: Georgia, serif;
  font-size: 54px;
  font-weight: 400;
}

#astroScreen .planet-point circle {
  fill: #79d7ff;
  stroke: #eaf9ff;
  stroke-width: 1;
}

#astroScreen .planet-point text {
  fill: #fff;
  font-size: 12px;
}

.chart-axis {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.chart-axis-n { left: 50%; top: 1%; transform: translateX(-50%); }
.chart-axis-e { right: 1%; top: 50%; transform: translateY(-50%); }
.chart-axis-s { left: 50%; bottom: 1%; transform: translateX(-50%); }
.chart-axis-w { left: 1%; top: 50%; transform: translateY(-50%); }

#astroScreen .astro-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.astro-sign-label {
  color: #d4ad68;
  font-size: 0.62rem;
}

#astroScreen .astro-content h3 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 520;
  line-height: 1.2;
}

#astroScreen .astro-content p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.8;
}

#astroScreen .planet-strip {
  margin-top: 18px;
}

#astroScreen .planet-pill {
  border-color: rgba(121, 215, 255, 0.2);
  background: rgba(6, 18, 24, 0.54);
}

#astroScreen > .result-section,
#astroScreen > .astro-reading-panel {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

#astroScreen > .result-section {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
}

@keyframes astroPanelDrift {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to { transform: scale(1.1) translate3d(1%, -1%, 0); }
}

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

@media (max-width: 1060px) {
  .astro-command-stage {
    grid-template-columns: 1fr;
  }

  .astro-command-panel {
    padding-right: 0;
  }

  #astroScreen .astro-chart-card {
    min-height: 760px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  #astroScreen.astro-product-screen {
    padding: 86px 16px 110px;
  }

  .astro-command-stage {
    min-height: 0;
  }

  .astro-command-panel {
    padding: 34px 0 28px;
  }

  .astro-command-heading h2 {
    margin-top: 16px;
    font-size: clamp(38px, 10vw, 42px);
    line-height: 1;
  }

  .astro-command-heading p {
    font-size: 0.84rem;
  }

  #astroScreen .astro-query-card {
    margin-top: 34px;
  }

  .astro-query-meta {
    grid-template-columns: 1fr;
  }

  .astro-query-action {
    align-items: stretch;
    flex-direction: column;
  }

  #astroScreen #astroAskButton {
    width: 100%;
  }

  .zodiac-selector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zodiac-selector button:nth-child(6n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .zodiac-selector button:nth-child(4n) {
    border-right: 0;
  }

  #astroScreen .astro-chart-card {
    min-height: 690px;
    padding: 24px 14px 30px;
  }

  #astroScreen .chart-wheel {
    width: min(112%, 470px);
    margin-left: -6%;
  }

  #astroScreen .astro-content h3 {
    font-size: 1.55rem;
  }

  #todayScreen .hero-webgl {
    opacity: 0.72;
  }

  .hero-zodiac-image {
    background-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-zodiac-image,
  .hero-zodiac-aurora,
  #astroScreen .astro-chart-card::before,
  #astroScreen .chart-wheel::before,
  #astroScreen .chart-wheel::after {
    animation: none;
  }
}
