/* Cosmic Augur — marketing site */
:root {
  --void: #070512;
  --night: #0c081c;
  --nebula: #1a1035;
  --plum: #3d1f5c;
  --orchid: #8b5cf6;
  --gold: #d4a853;
  --gold-soft: #e8c97a;
  --cream: #f5e6c8;
  --mist: rgba(245, 230, 200, 0.72);
  --ink: #f8f4ec;
  --line: rgba(212, 168, 83, 0.28);
  --glass: rgba(12, 8, 28, 0.55);
  --max: 1080px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--void);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  color: var(--cream);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(61, 31, 92, 0.45), transparent 50%),
    radial-gradient(ellipse 50% 35% at 15% 70%, rgba(26, 16, 53, 0.8), transparent 45%),
    linear-gradient(180deg, #0c081c 0%, #070512 100%);
  animation: nebula-breathe 18s ease-in-out infinite alternate;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(232, 201, 122, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 30% 15%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.55;
  pointer-events: none;
  animation: star-drift 40s linear infinite;
}

.bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 35% 30% at 60% 40%,
    rgba(212, 168, 83, 0.08),
    transparent 60%
  );
  animation: aurora-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(7, 5, 18, 0.72), rgba(7, 5, 18, 0));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--mist);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.nav-cta:hover {
  background: rgba(212, 168, 83, 0.12);
}

/* CosmicHero — cinematic first viewport (50–55%) */
.cosmic-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  --hero-fade: 1;
}

.cosmic-hero-stage {
  position: relative;
  width: 100%;
  height: clamp(300px, 53vh, 640px);
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  background: #070512;
}

#cosmic-hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.cosmic-hero-emblem {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(168px, 28vw);
  height: auto;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  pointer-events: none;
  border-radius: 22px;
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.35),
    0 0 80px rgba(212, 168, 83, 0.18);
  transition: opacity 0.6s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  filter: drop-shadow(0 0 18px rgba(212, 168, 83, 0.35));
}

.cosmic-hero-emblem.is-visible {
  transform: translate(-50%, -50%) scale(1);
}

.tradition-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.tradition-hotspot {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  padding: 0;
}

.tradition-hotspot-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(7, 5, 18, 0.72);
  border: 1px solid rgba(212, 168, 83, 0.28);
  padding: 0.28rem 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tradition-hotspot.is-lit:hover .tradition-hotspot-label,
.tradition-hotspot.is-lit:focus-visible .tradition-hotspot-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cosmic-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 1rem 0 2.75rem;
  margin-top: -0.5rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cosmic-hero-content.is-ready {
  opacity: var(--hero-fade, 1);
  transform: translateY(0);
}

.cosmic-hero-kicker {
  margin-bottom: 0.35rem;
}

.cosmic-hero-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.cosmic-hero-content .tagline {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  color: var(--cream);
  font-weight: 500;
}

.cosmic-hero-content .lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.cosmic-hero-content .hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.cosmic-hero-content .disclaimer-pill {
  margin: 1.5rem auto 0;
}

@media (max-width: 720px) {
  .cosmic-hero-stage {
    height: clamp(280px, 48vh, 420px);
  }

  .cosmic-hero-emblem {
    width: min(120px, 32vw);
    border-radius: 16px;
  }

  .tradition-hotspot-label {
    font-size: 0.62rem;
  }

  .cosmic-hero-content {
    padding: 0.75rem 0 2.5rem;
  }

  /* On mobile, show copy earlier so CTA is readable */
  .cosmic-hero-content {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-hero-content {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cosmic-hero-emblem {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1);
    transition: none;
  }

  .cosmic-hero-stage {
    transform: none !important;
  }
}

/* Legacy hero (kept for safety if reused) */
.hero {
  padding: 1.5rem 0 4rem;
  text-align: center;
}

.hero-mark {
  width: min(320px, 78vw);
  margin: 0 auto 1.5rem;
  border-radius: 28px;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.35);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.hero .tagline {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  color: var(--cream);
  font-weight: 500;
}

.hero .lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gold);
  color: var(--void) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--void) !important;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--cream) !important;
  background: var(--glass);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.disclaimer-pill {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  background: rgba(7, 5, 18, 0.45);
  color: rgba(245, 230, 200, 0.55);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--gold-soft);
  font-weight: 700;
  line-height: 1.15;
}

.section-sub {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--mist);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 1.25rem 1.3rem;
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.card:hover {
  border-color: rgba(212, 168, 83, 0.55);
  transform: translateY(-3px);
  background: rgba(12, 8, 28, 0.72);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.85rem;
  animation: icon-sway 6s ease-in-out infinite;
  transform-origin: 50% 80%;
}

.card:nth-child(2) .card-icon {
  animation-delay: -1.5s;
}

.card:nth-child(3) .card-icon {
  animation-delay: -3s;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.card .meta {
  margin-top: 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Rotating globe — the "all worlds" mark above the picker */
.globe-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 2.25rem;
  pointer-events: none;
}

.globe {
  --globe-size: clamp(190px, 46vw, 260px);
  position: relative;
  width: var(--globe-size);
  height: var(--globe-size);
  border-radius: 50%;
  /* Equirectangular map: natural width is 500/313 ≈ 1.597× its height, so the
     spin travels exactly one tile width and loops without a visible seam. */
  background-image: url("assets/globe-texture.jpeg");
  background-color: var(--nebula);
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: 0 0;
  box-shadow:
    0 0 24px rgba(212, 168, 83, 0.28),
    0 0 60px rgba(139, 92, 246, 0.3),
    -5px 0 8px #c3f4ff inset,
    15px 2px 25px #000 inset,
    -24px -2px 34px rgba(195, 244, 255, 0.6) inset,
    250px 0 44px rgba(0, 0, 0, 0.4) inset,
    150px 0 38px rgba(0, 0, 0, 0.67) inset;
  animation: globe-spin 40s linear infinite;
  will-change: background-position;
}

.globe-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.1;
  animation: globe-twinkle 3s ease-in-out infinite;
}

/* Placed on the stage, not inside the globe, so they are not clipped by it. */
.globe-star:nth-child(1) { left: 8%; top: 24%; animation-duration: 3s; }
.globe-star:nth-child(2) { left: 18%; top: 62%; animation-duration: 2s; }
.globe-star:nth-child(3) { left: 30%; top: 12%; animation-duration: 4s; }
.globe-star:nth-child(4) { right: 12%; top: 30%; animation-duration: 1.5s; }
.globe-star:nth-child(5) { right: 24%; top: 72%; animation-duration: 4s; }
.globe-star:nth-child(6) { right: 6%; top: 54%; animation-duration: 2s; }
.globe-star:nth-child(7) { left: 44%; bottom: 6%; animation-duration: 3s; }

/* Worlds picker — name systems, make compare tangible */
.world-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.world-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.world-filter.is-on,
.world-filter[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 168, 83, 0.12);
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.world-chip {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(12, 8, 28, 0.55);
  color: var(--cream);
  padding: 0.9rem 0.95rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.world-chip img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.35rem;
}

.world-chip span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
}

.world-chip em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.world-chip:hover {
  border-color: rgba(212, 168, 83, 0.55);
  transform: translateY(-2px);
}

.world-chip.is-picked {
  border-color: var(--gold);
  background: rgba(61, 31, 92, 0.5);
  box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.25);
}

.world-chip.is-picked::after {
  content: "In your set";
  margin-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.world-board {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(
    135deg,
    rgba(61, 31, 92, 0.35),
    rgba(12, 8, 28, 0.65)
  );
}

.world-board-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.world-board-set {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--gold-soft);
  font-weight: 700;
  line-height: 1.25;
}

.world-board-hint {
  margin: 0.75rem 0 0;
  color: var(--mist);
  font-size: 0.88rem;
  max-width: 46rem;
}

@media (max-width: 860px) {
  .world-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Sparse tradition marks — one quiet row, not a collage */
.tradition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.tradition-row figure {
  margin: 0;
  text-align: center;
  width: 72px;
  animation: icon-sway 7s ease-in-out infinite;
}

.tradition-row figure:nth-child(2) {
  animation-delay: -2.2s;
}

.tradition-row figure:nth-child(3) {
  animation-delay: -4.1s;
}

.tradition-row img {
  width: 56px;
  height: 56px;
  margin-inline: auto;
}

.tradition-row figcaption {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(245, 230, 200, 0.5);
}

/* Sample insights */
.sample {
  border: 1px solid var(--line);
  background: rgba(12, 8, 28, 0.65);
  padding: 1.2rem 1.3rem;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.sample:hover {
  border-color: rgba(212, 168, 83, 0.5);
  transform: translateY(-2px);
}

.sample .label {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.sample .q {
  margin: 0.45rem 0 0.7rem;
  color: var(--cream);
  font-size: 1.05rem;
}

.sample .a {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.85rem;
}

.sample .consensus {
  margin-top: 0.85rem;
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 1.1rem 1.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.step strong {
  display: block;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.step span {
  color: var(--mist);
  font-size: 0.95rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price {
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.price.featured {
  border-color: var(--gold);
  background: rgba(61, 31, 92, 0.45);
}

.price.price-tbd {
  opacity: 0.42;
  filter: grayscale(0.85);
  pointer-events: none;
  border-color: rgba(180, 180, 190, 0.25);
  background: rgba(40, 40, 48, 0.35);
}

.price.price-tbd h3,
.price.price-tbd .amount {
  color: #9a9aa3;
}

.price.price-tbd li {
  color: #8a8a94;
}

.price.price-tbd li::before {
  color: #6a6a74;
}

.price h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
}

.price .amount {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
  color: var(--cream);
}

.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid rgba(160, 160, 170, 0.35);
  color: #8a8a94;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: not-allowed;
  user-select: none;
}

.price ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  color: var(--mist);
  font-size: 0.92rem;
}

.price li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(26, 16, 53, 0.35);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--gold-soft);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--mist);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 3rem 0 2.5rem;
  color: rgba(245, 230, 200, 0.5);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer h4 {
  margin: 0 0 0.7rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: var(--mist);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(245, 230, 200, 0.4);
}

.footer-copy {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(245, 230, 200, 0.38);
}

/* Motion — presence, not noise */
@keyframes nebula-breathe {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.15) brightness(1.06);
  }
}

@keyframes star-drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.45;
  }
  50% {
    opacity: 0.7;
  }
  to {
    transform: translate3d(-2%, 1.5%, 0);
    opacity: 0.5;
  }
}

@keyframes aurora-drift {
  from {
    transform: translate3d(-4%, 2%, 0) rotate(0deg);
    opacity: 0.7;
  }
  to {
    transform: translate3d(5%, -3%, 0) rotate(8deg);
    opacity: 1;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-glow {
  from {
    box-shadow: 0 0 48px rgba(139, 92, 246, 0.28), 0 0 0 0 rgba(212, 168, 83, 0);
  }
  to {
    box-shadow: 0 0 72px rgba(139, 92, 246, 0.48), 0 0 40px rgba(212, 168, 83, 0.18);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-sway {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(2deg);
  }
}

/* One full texture width east-ward, so the loop point is invisible. */
@keyframes globe-spin {
  from {
    background-position: 0 0;
  }
  to {
    background-position: calc(var(--globe-size) * 1.597) 0;
  }
}

@keyframes globe-twinkle {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.22s;
}
.reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.28s;
}
.reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.34s;
}

.price.featured:not(.price-tbd):hover {
  transform: translateY(-4px);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: btn-sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-sheen {
  0%,
  60% {
    transform: translateX(-120%);
  }
  80%,
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg,
  .bg::before,
  .bg::after,
  .hero-mark,
  .cosmic-hero-emblem,
  .hero h1,
  .hero .tagline,
  .hero .lede,
  .hero-actions,
  .card-icon,
  .tradition-row figure,
  .globe,
  .globe-star,
  .btn-primary::after {
    animation: none !important;
  }

  .globe-star {
    opacity: 0.7;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .sample:hover,
  .price.featured:hover,
  .world-chip:hover {
    transform: none;
  }
}

/* Legal pages */
.legal {
  padding: 2rem 0 4rem;
  max-width: 42rem;
}

.legal h1 {
  font-family: var(--font-display);
  color: var(--gold-soft);
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--mist);
}

.legal-callout {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(212, 168, 83, 0.06);
  color: var(--cream);
}

@media (max-width: 860px) {
  .grid-3,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links a:not(.nav-cta) {
    display: none;
  }
}
