/* ===========================================================================
   MyTalisman — marketing site
   Aurora design language: near-black ink canvas lit by soft aurora gradients.
   Tokens mirror src/constants/design.ts exactly.
   =========================================================================== */

:root {
  /* Canvas */
  --ink: #06060B;
  --ink-soft: #0C0C16;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.18);

  /* Selection */
  --tint: rgba(157, 123, 255, 0.14);
  --tint-border: rgba(157, 123, 255, 0.55);

  /* Text */
  --text: #F5F3FF;
  --text-dim: rgba(245, 243, 255, 0.66);
  --text-faint: rgba(245, 243, 255, 0.40);

  /* Guiding-star spectrum */
  --violet: #9D7BFF;
  --indigo: #6E7BFF;
  --blue: #5BA8FF;
  --teal: #7FE7D9;
  --rose: #FF9EC4;
  --amber: #FFD27A;
  --gold: #FFE3A3;

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Inter",
    Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--violet); color: #0b0712; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ===========================================================================
   Aurora background
   =========================================================================== */
.aurora {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, #14102a 0%, transparent 55%),
    var(--ink);
  overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  mix-blend-mode: screen; will-change: transform;
}
.blob-1 { width: 50vw; height: 50vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  animation: drift1 26s ease-in-out infinite; }
.blob-2 { width: 46vw; height: 46vw; right: -12vw; top: 18vh;
  background: radial-gradient(circle, var(--blue), transparent 65%);
  animation: drift2 32s ease-in-out infinite; }
.blob-3 { width: 42vw; height: 42vw; left: 20vw; bottom: -16vw;
  background: radial-gradient(circle, var(--teal), transparent 65%);
  opacity: 0.35; animation: drift3 38s ease-in-out infinite; }

@keyframes drift1 { 50% { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-6vw, 8vh) scale(1.1); } }
@keyframes drift3 { 50% { transform: translate(5vw, -7vh) scale(1.2); } }

.stars { position: absolute; inset: 0; }
.stars span {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff; opacity: 0.6; animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.85; } }

/* ===========================================================================
   Layout primitives
   =========================================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.section { padding: clamp(64px, 12vh, 130px) 0; }
.band { padding: clamp(56px, 9vh, 100px) 0; }

.overline {
  font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px;
}
.dim { color: var(--text-dim); }
.small { font-size: 13px; }

h1, h2, h3, h4 { letter-spacing: -0.4px; line-height: 1.1; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.04; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.8px; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }

.lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text); }
.lede.dim { color: var(--text-dim); }

.grad-text {
  background: linear-gradient(100deg, var(--gold), var(--rose) 35%, var(--violet) 70%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vh, 64px); text-align: center; }
.section-head .lede { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary {
  color: #0b0712;
  /* Warm gold→pink→magenta→violet. Hand-tuned sRGB stops: as vivid as oklch, but
     with NO color-space hue interpolation. (oklch looks great mid-button, but its
     hue wraps at the geometric edge and leaves a 1px gold sliver on the right;
     the extra stops here also avoid the pale band a plain gold→rose→violet blend
     would show.) Renders identically in every browser. */
  background: linear-gradient(100deg, #FFD79B, #FF93BE 46%, #B972E0 82%, var(--violet));
  /* .btn has a 1px transparent border. Without this, the gradient anchors to the
     padding-box but paints out to the border-box, extrapolating 1px past its ends
     and leaving a gold start-color sliver on the right edge. Anchor it to the
     border-box so it spans exactly the painted area — no edge sliver. */
  background-origin: border-box;
  box-shadow: 0 10px 40px -8px rgba(157, 123, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(157, 123, 255, 0.75); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--hairline-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface-strong); }
.btn-soon { color: var(--text-faint); cursor: default; }
.btn-soon:hover { transform: none; background: var(--surface); }

.pill {
  display: inline-block; padding: 7px 15px; border-radius: var(--r-pill);
  background: var(--tint); border: 1px solid var(--tint-border); color: var(--text);
  font-size: 13px; font-weight: 600;
}

/* ===========================================================================
   Coming-soon announcement bar
   =========================================================================== */
.announce {
  position: relative; z-index: 101;
  padding: 10px clamp(20px, 4vw, 44px);
  text-align: center;
  background: linear-gradient(100deg, rgba(157, 123, 255, 0.22), rgba(91, 168, 255, 0.16) 50%, rgba(127, 231, 217, 0.18));
  border-bottom: 1px solid var(--hairline);
}
.announce p { font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.announce b { color: var(--text); font-weight: 600; }
.announce a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.announce a:hover { color: var(--gold); }
.announce-star { color: var(--gold); margin-right: 6px; }

/* ===========================================================================
   Header
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  width: 100%; padding: 12px clamp(20px, 4vw, 44px);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 6, 11, 0.72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.brand-star { filter: drop-shadow(0 0 8px rgba(157, 123, 255, 0.5)); }

/* The celestial mark — the app's animated logo: star, orbit rings, planet dots */
.mark { --ms: 42px; position: relative; width: var(--ms); height: var(--ms); display: inline-grid; place-items: center; flex: none; }
.mark-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark-cw { animation: spin 26s linear infinite; }
.mark-ccw { animation: spin-rev 19s linear infinite; }
.mark-glow {
  position: absolute; inset: 20%; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(127, 231, 217, 0.5), rgba(157, 123, 255, 0.32) 55%, transparent 75%);
  filter: blur(4px); animation: breathe 4.2s ease-in-out infinite;
}
.mark-star {
  position: relative; width: 56%; height: 56%;
  filter: drop-shadow(0 0 8px rgba(255, 227, 163, 0.55));
  animation: breathe 4.2s ease-in-out infinite;
}
.mark-lg { --ms: 96px; }
.mark-lg .mark-glow { filter: blur(8px); }
.mark-lg .mark-star { filter: drop-shadow(0 0 16px rgba(255, 227, 163, 0.6)); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.site-header .btn { margin-left: 0; }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none; flex: none;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--hairline); border-radius: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Use the hamburger until the full 8-link nav genuinely fits on one line
   (~1180px) — below that it wrapped into an overlapping two-line mess. */
@media (max-width: 1180px) {
  /* Logo left; CTA button + hamburger together on the right.
     Note: needs `.site-header` prefix to outrank `.site-header .btn { margin-left:0 }`. */
  .site-header { gap: 14px; }
  .nav-toggle { display: block; }
  .site-header .header-cta { margin-left: auto; }

  /* Nav becomes a drop-down panel below the header */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px clamp(20px, 4vw, 44px) 16px;
    background: rgba(6, 6, 11, 0.96); backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.26s var(--ease), opacity 0.26s var(--ease);
  }
  .site-header.nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a {
    padding: 14px 2px; font-size: 16px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav a:last-child { border-bottom: none; }
}
@media (max-width: 400px) {
  .header-cta { padding: 9px 14px; font-size: 13px; }
}

/* ===========================================================================
   Hero
   =========================================================================== */
/* overflow-x:clip contains the spinning celestial rings (their rotating square
   bounding boxes would otherwise poke past the viewport and force a horizontal
   scroll on phones). Clips only the invisible corners — the ring circle is
   inscribed — and, unlike overflow:hidden, does not break the sticky header. */
.hero { padding: clamp(40px, 8vh, 80px) 0 clamp(48px, 8vh, 90px); overflow-x: clip; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-copy h1 { margin: 8px 0 22px; }
.hero .lede { max-width: 540px; color: var(--text-dim); }
.hero-cta { display: flex; gap: 14px; margin: 32px 0 16px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--text-faint); }

.trust {
  max-width: var(--maxw); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 24px;
  text-align: center;
}
.trust > span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); }
.trust-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero .lede, .hero-copy h1 { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 16px; }
}

/* Celestial mark */
.hero-art { display: flex; justify-content: center; align-items: center; }
.celestial {
  position: relative; width: min(380px, 78vw); aspect-ratio: 1; display: grid; place-items: center;
}
.celestial::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.45) 0%, rgba(91, 168, 255, 0.12) 55%, transparent 72%);
  animation: breathe 4.2s ease-in-out infinite; filter: blur(6px);
}
.ring { position: absolute; inset: 0; }
.ring svg { width: 100%; height: 100%; }
.ring-cw { animation: spin 26s linear infinite; }
.ring-ccw { animation: spin-rev 19s linear infinite; }
.core-glow {
  position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 231, 217, 0.9) 0%, rgba(157, 123, 255, 0.4) 45%, transparent 72%);
  animation: breathe 4.2s ease-in-out infinite;
}
.hero-mark-star {
  position: relative; width: 42%; height: 42%;
  filter: drop-shadow(0 0 18px rgba(255, 227, 163, 0.55));
  animation: breathe 4.2s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.07); opacity: 1; } }

/* ===========================================================================
   Cards / grids
   =========================================================================== */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 28px 24px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); background: var(--surface-strong); }
.card-glyph {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent, #9D7BFF) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #9D7BFF) 45%, transparent);
  color: var(--accent, #9D7BFF);
}
.card-glyph span { color: inherit; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }
.card[data-accent], .card-glyph[data-accent] { --accent: attr(data-accent); }

/* ===========================================================================
   Pain points / needs
   =========================================================================== */
/* Rapid-fire staccato ticker: Need to focus? Need to calm? ... */
.ticker {
  position: relative; overflow: hidden; margin: 0 auto clamp(8px, 2vh, 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; gap: 14px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  flex: none; padding: 11px 20px; border-radius: var(--r-pill); white-space: nowrap;
  font-size: clamp(16px, 2.4vw, 22px); font-weight: 700; letter-spacing: -0.4px;
  background: var(--surface); border: 1px solid var(--hairline);
}
.ticker-track span:nth-child(5n+1) { color: var(--gold); }
.ticker-track span:nth-child(5n+2) { color: var(--teal); }
.ticker-track span:nth-child(5n+3) { color: var(--rose); }
.ticker-track span:nth-child(5n+4) { color: var(--blue); }
.ticker-track span:nth-child(5n+5) { color: var(--violet); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}
.ticker-answer {
  text-align: center; font-size: clamp(18px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.4px;
  margin-bottom: clamp(32px, 5vh, 48px);
  background: linear-gradient(100deg, var(--gold), var(--rose) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .needs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .needs-grid { grid-template-columns: 1fr; } }

.need {
  position: relative; padding: 30px 26px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.need::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--c), transparent 80%); opacity: 0.9;
}
.need::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 70%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.need:hover {
  transform: translateY(-5px); background: var(--surface-strong);
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
}
.need:hover::after { opacity: 0.16; }
.need-glyph {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md);
  font-size: 22px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent));
}
.need h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.3px; }
.need p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.need em { color: var(--text); font-style: italic; }

.needs-close {
  text-align: center; max-width: 640px; margin: clamp(36px, 6vh, 52px) auto 0;
  font-size: clamp(18px, 2.4vw, 24px); line-height: 1.4; color: var(--text-dim); letter-spacing: -0.3px;
}
.needs-close b { color: var(--text); }

/* ===========================================================================
   Mechanism chain (Meaning → Attention → Emotion → Action → Repetition)
   =========================================================================== */
.chain {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  counter-reset: chain;
}
.chain li {
  position: relative; padding: 26px 18px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.chain li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.chain-dot {
  display: block; width: 14px; height: 14px; border-radius: 50%; margin-bottom: 16px;
  background: var(--c); box-shadow: 0 0 18px var(--c);
}
/* connecting arrows between steps */
.chain li:not(:last-child)::after {
  content: "→"; position: absolute; right: -11px; top: 30px; z-index: 2;
  color: var(--text-faint); font-size: 16px;
}
.chain h4 { margin-bottom: 8px; }
.chain p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 920px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain li:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } }

/* ===========================================================================
   Five elements
   =========================================================================== */
.elements { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.el {
  display: grid; gap: 12px; padding: 24px 18px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--hairline);
}
.el-n {
  font-size: 13px; font-weight: 700; color: var(--violet);
  background: var(--tint); border: 1px solid var(--tint-border); border-radius: var(--r-pill);
  width: fit-content; padding: 4px 12px;
}
.el h4 { margin-bottom: 4px; }
.el p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.el em { color: var(--text-faint); font-style: italic; }
@media (max-width: 920px) { .elements { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .elements { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .elements { grid-template-columns: 1fr; } }

/* ===========================================================================
   Science + disclaimer
   =========================================================================== */
.science-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px;
}
.science-card > p { color: var(--text-dim); font-size: 16px; line-height: 1.7; }
.science-card b { color: var(--text); }
.disclaimer {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 6px;
  padding: 20px 22px; border-radius: var(--r-lg);
  background: var(--tint); border: 1px solid var(--tint-border);
}
.disc-icon { font-size: 26px; line-height: 1.2; color: var(--gold); flex: none; }
.disclaimer p { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.disclaimer b { color: var(--text); }

/* ===========================================================================
   Forge flow
   =========================================================================== */
.flow { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; gap: 40px; } }

.flow-steps { list-style: none; display: grid; gap: 4px; }
.flow-steps li {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 16px; border-radius: var(--r-md);
  transition: background 0.25s; position: relative;
}
.flow-steps li:hover { background: var(--surface); }
.flow-steps li::after {
  content: ""; position: absolute; left: 31px; top: 54px; bottom: -4px; width: 1px;
  background: linear-gradient(var(--hairline-strong), transparent);
}
.flow-steps li:last-child::after { display: none; }
.step-n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--violet);
  background: var(--tint); border: 1px solid var(--tint-border);
}
.flow-steps h4 { margin-bottom: 4px; }
.flow-steps p { color: var(--text-dim); font-size: 14.5px; }

/* Seal preview — faithful recreation of the app's TalismanSeal */
.forge-preview { display: grid; place-items: center; gap: 20px; }
.seal { margin: 0; display: grid; place-items: center; gap: 20px; }
.seal-svg {
  width: min(320px, 74vw); height: auto;
  filter: drop-shadow(0 0 44px rgba(91, 168, 255, 0.32));
}
.seal-orb {
  transform-box: fill-box; transform-origin: center;
  animation: breathe 4.6s ease-in-out infinite;
}
.seal-halo {
  transform-box: fill-box; transform-origin: center;
  animation: breathe 4.6s ease-in-out infinite;
}
.seal-arc { fill: rgba(245, 243, 255, 0.85); font-family: Georgia, "Times New Roman", serif; }
.seal-meta { text-align: center; }
.seal-name { font-size: 23px; font-weight: 700; letter-spacing: -0.4px; }
.seal-desc { color: var(--text-dim); font-size: 14.5px; margin-top: 5px; }
.seal-trans { color: var(--text-faint); font-size: 14px; margin-top: 6px; font-family: Georgia, serif; font-style: italic; }

/* ===========================================================================
   Pricing — free anchors, premium glows
   =========================================================================== */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1040px; margin: 0 auto; align-items: stretch;
}
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--hairline);
}
.plan-hot {
  background: linear-gradient(180deg, rgba(157, 123, 255, 0.14), rgba(157, 123, 255, 0.03));
  border-color: var(--tint-border);
  box-shadow: 0 0 80px -30px rgba(157, 123, 255, 0.75);
}
.plan-badge {
  position: absolute; top: -13px; right: 24px;
  padding: 4px 13px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--amber), var(--gold)); color: #241804;
}
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 42px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.plan-price span { color: var(--text-dim); font-size: 15px; }
.plan-sub { color: var(--text-faint); font-size: 13.5px; margin-top: -8px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin: 4px 0; }
.plan li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.5;
}
.plan li::before { content: "✦"; color: var(--c, #9D7BFF); flex: none; font-size: 13px; line-height: 1.7; }
.plan .btn { margin-top: auto; text-align: center; justify-content: center; }
.plans-note { text-align: center; color: var(--text-faint); font-size: 13.5px; margin-top: 22px; line-height: 1.7; }

/* ===========================================================================
   Awakening — speak its spell to activate
   =========================================================================== */
.awaken-section { position: relative; }
.awaken-spell-card {
  max-width: 620px; margin: 0 auto clamp(40px, 6vh, 60px);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--tint-border); border-radius: var(--r-lg);
  padding: 28px 32px; text-align: center;
  box-shadow: 0 0 60px -22px rgba(157, 123, 255, 0.55);
}
.awaken-spell-card .overline { justify-content: center; }
.awaken-spell {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(18px, 2.6vw, 23px); line-height: 1.7; letter-spacing: -0.2px;
  color: var(--text); margin-top: 12px;
}
.awaken-spell b { color: var(--violet); font-weight: 600; font-style: normal; }
.awaken-privacy { color: var(--text-faint); font-size: 13.5px; margin-top: 16px; }

.awaken-beats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 34px); align-items: start;
}
.awaken-beat { text-align: center; display: grid; gap: 14px; justify-items: center; }
.awaken-beat .phone { --pw: clamp(150px, 20vw, 210px); }
.awaken-beat .step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; font-size: 13px; font-weight: 700;
  background: color-mix(in srgb, var(--accent, #9D7BFF) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #9D7BFF) 50%, transparent);
  color: var(--accent, #9D7BFF);
}
.awaken-beat h4 { font-size: 16px; letter-spacing: -0.2px; }
.awaken-beat p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; max-width: 22ch; }
@media (max-width: 860px) {
  .awaken-beats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .awaken-beat .phone { --pw: clamp(150px, 40vw, 220px); }
}
@media (max-width: 460px) {
  .awaken-beats { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Ritual
   =========================================================================== */
.ritual-section { position: relative; }
.ritual-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .ritual-grid { grid-template-columns: 1fr; gap: 40px; } }

.breath-stage { display: grid; place-items: center; }
.breath-orb {
  position: relative; width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; transition: transform 4s ease-in-out;
}
.breath-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,231,217,0.85), rgba(157,123,255,0.4) 50%, transparent 72%);
  box-shadow: 0 0 80px -10px rgba(127, 231, 217, 0.6);
}
.breath-orb::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--hairline-strong);
}
.breath-label {
  position: relative; font-size: 18px; font-weight: 600; letter-spacing: 0.5px;
  color: #07121a; mix-blend-mode: luminosity;
}

.ritual-beats { list-style: none; counter-reset: beat; display: grid; gap: 8px; }
.ritual-beats li {
  counter-increment: beat; display: grid; gap: 2px; padding: 16px 18px 16px 56px; position: relative;
  border-radius: var(--r-md); border: 1px solid var(--hairline); background: var(--surface);
}
.ritual-beats li::before {
  content: counter(beat); position: absolute; left: 16px; top: 16px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #0b0712;
  background: linear-gradient(140deg, var(--teal), var(--violet));
}
.ritual-beats b { font-size: 15.5px; }
.ritual-beats span { color: var(--text-dim); font-size: 14px; }

/* ===========================================================================
   Sky / week
   =========================================================================== */
.sky-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; max-width: 760px; margin: 0 auto; }
@media (max-width: 620px) { .sky-week { grid-template-columns: repeat(4, 1fr); } }
.day {
  font-family: inherit; cursor: pointer; padding: 16px 8px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--hairline); color: var(--text-dim);
  font-size: 13px; font-weight: 600; transition: all 0.25s var(--ease); text-align: center;
}
.day:hover { color: var(--text); border-color: var(--hairline-strong); transform: translateY(-2px); }
.day.active {
  color: var(--text); background: var(--tint); border-color: var(--tint-border);
  box-shadow: 0 8px 30px -10px var(--tint-border);
}
.sky-readout {
  display: flex; gap: 16px; align-items: center; justify-content: center;
  max-width: 620px; margin: 28px auto 0; padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
}
.sky-glyph { font-size: 38px; line-height: 1; transition: color 0.3s; }
.sky-planet { font-size: 16px; }
.sky-line { font-size: 14px; margin-top: 2px; }

/* ===========================================================================
   Intent chips
   =========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--hairline); font-size: 14.5px; font-weight: 500;
  transition: all 0.25s var(--ease); cursor: default;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: var(--surface-strong); }
.chip.ward { opacity: 0.85; }
.chip.ward::before { box-shadow: none; opacity: 0.7; }

/* ===========================================================================
   Quote band
   =========================================================================== */
.quote-band blockquote p {
  font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.6px; line-height: 1.3;
}
.quote-band cite { display: block; margin-top: 22px; color: var(--text-faint); font-style: normal; font-size: 15px; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 4px 20px; transition: border-color 0.25s, background 0.25s;
}
.faq details[open] { border-color: var(--tint-border); background: var(--surface-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; font-size: 16.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 16px; font-size: 22px; font-weight: 400;
  color: var(--violet); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-dim); font-size: 15px; padding: 0 0 20px; line-height: 1.65; }

/* ===========================================================================
   CTA
   =========================================================================== */
.cta-section { padding-bottom: clamp(80px, 14vh, 150px); }
.cta-card {
  position: relative; padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(157,123,255,0.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--hairline-strong);
}
.cta-mark { position: relative; width: 96px; height: 96px; margin: 0 auto 8px; display: grid; place-items: center; }
.cta-card h2 { margin: 6px 0 14px; }
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 18px; }

/* ===========================================================================
   Footer
   =========================================================================== */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-star { color: var(--gold); font-size: 18px; }
.site-footer .brand { margin-bottom: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--text-dim); font-size: 14.5px; transition: color 0.2s; }
.site-footer nav a:hover { color: var(--text); }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.social-link:hover { color: var(--text); }
.social-link svg { color: var(--violet); }
.copyright { text-align: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hairline); }

/* ===========================================================================
   Scroll reveal
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===========================================================================
   Legal / long-form pages (privacy, terms, support)
   =========================================================================== */
.legal-main { padding-top: clamp(48px, 9vh, 90px); padding-bottom: 80px; }
.legal { max-width: 780px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }
.legal-back:hover { color: var(--text); }
.legal h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal .updated { color: var(--text-faint); font-size: 13px; margin-bottom: 30px; }
.legal .lead { font-size: 18px; color: var(--text-dim); margin-bottom: 26px; line-height: 1.6; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; line-height: 1.65; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .note-box, .legal .toc {
  margin: 26px 0; padding: 20px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline);
}
.legal .toc { margin-top: 0; }
.legal .toc a { display: inline-block; margin: 4px 16px 4px 0; font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal th { color: var(--text); font-weight: 600; }
.legal td { color: var(--text-dim); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.footer-legal a { color: var(--text-dim); font-size: 14px; }
.footer-legal a:hover { color: var(--text); }

/* ===========================================================================
   Phone frame — real app screenshots in a device bezel
   =========================================================================== */
.phone {
  --pw: 250px;
  width: var(--pw); flex: none; margin: 0;
  padding: calc(var(--pw) * 0.028);
  border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(160deg, #23232f, #0b0b14 45%, #16161f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 8px 30px -10px rgba(157, 123, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}
.phone img {
  width: 100%; height: auto; aspect-ratio: 1260 / 2736; object-fit: cover;
  border-radius: calc(var(--pw) * 0.137);
  background: #0C0C16;
}
.phone::after { /* soft glass glare */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, transparent 28%);
}

/* ===========================================================================
   Hero showcase — phone cluster inside the celestial rings
   =========================================================================== */
.hero-stage {
  position: relative; width: min(560px, 100%); aspect-ratio: 1 / 1.04;
  display: grid; place-items: center;
}
.hero-stage .ring { inset: -4.5% -9.5% auto; aspect-ratio: 1; }
@media (max-width: 880px) {
  .hero-stage .ring { inset: -2.5% -5% auto; }
}
.hero-halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.4) 0%, rgba(91, 168, 255, 0.14) 52%, transparent 72%);
  filter: blur(14px); animation: breathe 5s ease-in-out infinite;
}
.hero-stage .phone-main {
  --pw: clamp(190px, 46vw, 262px);
  z-index: 3; animation: float-a 7.5s ease-in-out infinite;
}
.hero-stage .phone-side { position: absolute; z-index: 2; opacity: 0.96; }
.hero-stage .phone-l {
  --pw: clamp(104px, 26vw, 176px);
  left: 2%; bottom: 4%; transform: rotate(-9deg);
  animation: float-b 9s ease-in-out infinite;
}
.hero-stage .phone-r {
  --pw: clamp(104px, 26vw, 176px);
  right: 2%; top: 6%; transform: rotate(9deg);
  animation: float-c 8s ease-in-out infinite;
}
@keyframes float-a { 50% { transform: translateY(-10px); } }
@keyframes float-b { 50% { transform: rotate(-9deg) translateY(-8px); } }
@keyframes float-c { 50% { transform: rotate(9deg) translateY(-12px); } }

/* ===========================================================================
   App tour — alternating screenshot + copy rows
   =========================================================================== */
.tour { display: grid; gap: clamp(64px, 11vh, 120px); }
.tour-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.tour-row:nth-child(even) .tour-shot { order: 2; }
.tour-shot { position: relative; display: flex; justify-content: center; }
.tour-shot::before {
  content: ""; position: absolute; width: 100%; aspect-ratio: 1; align-self: center;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--glow, rgba(157,123,255,0.28)) 0%, transparent 65%);
  filter: blur(34px);
}
.tour-shot .phone { --pw: clamp(210px, 52vw, 268px); }
.tour-duo { display: flex; justify-content: center; align-items: center; }
/* Floor kept low enough that both phones (2 × --pw) fit inside the narrowest
   phones (≈320px) without overflowing; 40vw governs mid sizes, 225px caps it. */
.tour-duo .phone { --pw: clamp(128px, 40vw, 225px); }
.tour-duo .phone:first-child { transform: rotate(-6deg) translateX(12%); z-index: 1; }
.tour-duo .phone:last-child { transform: rotate(5deg) translateX(-12%) translateY(6%); z-index: 2; }

/* Ritual flow — full-width step filmstrip (used in #ritual)
   width:fit-content + margin auto centres it when the 6 steps fit, and lets it
   scroll from step 1 when they don't. Never use justify-content:center here — on
   an overflowing scroller it makes the first item's left edge unreachable. */
.ritual-flow {
  list-style: none; counter-reset: step;
  width: fit-content; max-width: 100%; margin-inline: auto;
  display: flex; gap: clamp(14px, 2vw, 22px);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 14px;
  padding: 12px 14px 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ritual-flow::-webkit-scrollbar { display: none; }
.ritual-step {
  counter-increment: step; flex: 0 0 auto;
  scroll-snap-align: start; position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.ritual-step .phone { --pw: clamp(150px, 42vw, 174px); }
.ritual-step::before {
  content: counter(step); position: absolute; top: -9px; left: -7px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #0b0b14;
  background: linear-gradient(135deg, var(--accent, var(--violet)), #FFD27A);
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent, var(--violet)) 80%, transparent);
}
.ritual-cap {
  margin-top: 14px; text-align: center; font-size: 13px; line-height: 1.5;
  color: var(--text-dim); max-width: clamp(150px, 42vw, 174px);
}
.ritual-cap b { display: block; color: var(--text); font-size: 14px; margin-bottom: 3px; }

.tour-copy .overline { margin-bottom: 12px; }
.tour-copy h3 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.6px; line-height: 1.12; margin-bottom: 14px; }
.tour-copy > p { color: var(--text-dim); font-size: 16px; line-height: 1.65; max-width: 480px; }
.tour-copy .app-quote {
  margin: 16px 0 0; padding: 14px 18px; border-left: 2px solid var(--tint-border);
  background: var(--tint); border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text); font-size: 14.5px; line-height: 1.55; font-style: italic;
}
.tour-list { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.tour-list li {
  position: relative; padding-left: 26px; color: var(--text-dim); font-size: 14.5px; line-height: 1.55;
}
.tour-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--accent, var(--violet)); font-size: 13px;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent, var(--violet)) 70%, transparent));
}
.tour-list b { color: var(--text); }
@media (max-width: 880px) {
  .tour-row { grid-template-columns: 1fr; gap: 28px; }
  .tour-row:nth-child(even) .tour-shot { order: 0; }
  .tour-copy { text-align: center; }
  .tour-copy > p, .tour-list { margin-left: auto; margin-right: auto; }
  .tour-list { text-align: left; max-width: 420px; }
  .tour-copy .app-quote { text-align: left; }
}

/* ===========================================================================
   Wallpaper marquee — lock-screen gallery
   =========================================================================== */
.walls {
  position: relative; overflow: hidden; padding: 12px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.walls-track {
  display: flex; gap: clamp(16px, 2.5vw, 26px); width: max-content;
  animation: ticker 84s linear infinite;
}
.walls:hover .walls-track { animation-play-state: paused; }
.walls-track .phone { --pw: clamp(158px, 22vw, 205px); }
@media (prefers-reduced-motion: reduce) {
  .walls-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .walls { -webkit-mask-image: none; mask-image: none; }
}
.walls-note { text-align: center; color: var(--text-faint); font-size: 14px; margin-top: 22px; }

/* References list (science section) */
.refs { margin-top: 28px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.refs-title { font-size: 19px; margin-bottom: 4px; }
.refs-group-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--violet); margin: 20px 0 10px; }
.ref-list { list-style: none; display: grid; gap: 11px; }
.ref-list li { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; padding-left: 16px; position: relative; }
.ref-list li::before { content: "·"; position: absolute; left: 2px; color: var(--violet); }
.ref-list a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--tint-border); }
.ref-list a:hover { color: var(--violet); }
.ref-list i { color: var(--text-faint); }
.refs-note { margin-top: 18px; }

/* ===========================================================================
   Phone spacing — tighten mobile rhythm
   On phones the 12vh section paddings stack at every boundary and leave a huge
   empty band between sections; the tour rows sit ~90px apart too. Placed at the
   end so these overrides win on source order over the base rules above (media
   queries don't add specificity). Targets phones only — tablets keep the airy
   desktop rhythm.
   =========================================================================== */
@media (max-width: 600px) {
  .section { padding: clamp(44px, 6.5vh, 64px) 0; }
  .band { padding: clamp(40px, 6vh, 60px) 0; }
  .section-head { margin-bottom: clamp(26px, 4vh, 38px); }
  .tour { gap: clamp(44px, 7vh, 72px); }
  .cta-section { padding-bottom: clamp(56px, 9vh, 96px); }
}
