/* Mind Moon v2. Page builder stylesheet. Mobile first: unprefixed rules are the phone layout,
   min-width queries (640, 900, 1200) enhance. Motion lives in motion.css / motion.js.

   Z-index scale (the only values used on the page):
     1 to 4  window scene layers (each .window is isolation: isolate)
     5       window content (copy, stage, ticket)
     30      #site-nav and #sticky-bar
     top layer  #lightbox (native <dialog>)
*/

@font-face { font-family: 'Bricolage Grotesque'; src: url(/fonts/BricolageGrotesque.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(/fonts/Nunito.woff2) format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #17143D; --ink-2: #4A4675;
  --night-900: #191545; --night-800: #241E5E; --night-700: #30297A;
  --moon-700: #3E36A6; --moon-600: #4F47CC; --moon-500: #6B63E6; --moon-400: #8F89F4;
  --moon-300: #B5B0FB; --moon-200: #D6D3FF; --moon-100: #EAE8FF;
  --paper: #F6F5FF; --sheet: #FFFFFF; --on-night: #F6F5FF; --on-night-2: #C8C4F4;
  --saffron: #FFC247; --saffron-hi: #FFD173;

  --font-display: 'Bricolage Grotesque', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --fs-h1: clamp(38px, 2.873vw + 27.23px, 64px);
  --fs-h2: clamp(30px, 1.989vw + 22.54px, 48px);
  --fs-h3: clamp(21px, .331vw + 19.76px, 24px);
  --fs-stat: clamp(104px, 12.818vw + 55.93px, 220px);
  --fs-price: clamp(64px, 3.536vw + 50.74px, 96px);
  --fs-lead: clamp(18px, .221vw + 17.17px, 20px);
  --fs-body: clamp(17px, .11vw + 16.59px, 18px);

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section-y: clamp(72px, 6.188vw + 48.8px, 128px);
  --gutter: 16px;
  --window-inset: 8px;
  --max: 1200px;

  --r-sheet: 6px; --r-card: 24px; --r-window: 28px; --r-pill: 999px;

  --shadow-sheet: 0 1px 2px rgb(23 20 61 / .10), 0 14px 30px -10px rgb(23 20 61 / .30);
  --shadow-sheet-night: 0 2px 3px rgb(8 6 30 / .25), 0 22px 40px -12px rgb(8 6 30 / .60);
  --shadow-card: 0 1px 0 rgb(23 20 61 / .04), 0 18px 40px -24px rgb(23 20 61 / .25);
  --shadow-cta: 0 10px 24px -10px rgb(255 194 71 / .55), inset 0 -3px 0 rgb(25 21 69 / .12);

  --ease-paper: cubic-bezier(.22, 1, .36, 1);
  --ease-press: cubic-bezier(.32, .72, 0, 1);
  --night-bg: radial-gradient(120% 70% at 78% 18%, #2C2672 0%, var(--night-900) 58%);
  --tape: repeating-linear-gradient(135deg, var(--moon-200) 0 7px, #C9C5FF 7px 14px);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 48px; --window-inset: 12px; --r-window: 44px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; overflow-x: clip; scroll-padding-top: 96px; }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; color: inherit; }
h2 { font-weight: 800; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.024em; }
h3 { font-weight: 700; font-size: var(--fs-h3); line-height: 1.24; letter-spacing: -.01em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--moon-600); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--moon-600); outline-offset: 3px; }
.window :focus-visible { outline-color: var(--moon-300); }
html:has(dialog[open]) { overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: var(--fs-lead); line-height: 1.55; font-weight: 600; color: var(--ink-2); max-width: 36rem; }
.band { background: var(--moon-100); }
.accent { position: relative; white-space: nowrap; color: var(--moon-600); }
.window .accent { color: var(--moon-300); }
.scribble { position: absolute; left: -3%; width: 106%; bottom: -.2em; height: .3em; overflow: visible; pointer-events: none; }

/* ---------------------------------------------------------------- night window */
.window {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-window);
  background: var(--night-bg); color: var(--on-night);
}
.scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stars { position: absolute; left: 0; right: 0; bottom: 130px; width: 100%; height: 260px; max-width: none; }
.hill { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; display: block; }
.hill--back { height: 250px; filter: drop-shadow(0 -6px 14px rgb(8 6 30 / .35)); }
.hill--mid { height: 200px; filter: drop-shadow(0 -8px 16px rgb(8 6 30 / .45)); }
.hill--front { height: 150px; z-index: 4; filter: drop-shadow(0 -10px 18px rgb(8 6 30 / .55)); }

/* ---------------------------------------------------------------- buttons */
.buy-form { margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-pill);
  background: var(--saffron); color: var(--night-900);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 24px; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-cta); -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--ease-press), background-color .3s var(--ease-press);
}
.btn:hover { background: var(--saffron-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .18s; }
.btn:focus-visible { outline: 3px solid var(--moon-300); outline-offset: 3px; }
.btn:disabled { cursor: progress; background: var(--saffron-hi); transform: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; line-height: 20px; }
@media (min-width: 900px) { .btn { font-size: 19px; } .btn--sm { font-size: 16px; } }

/* ---------------------------------------------------------------- S0 nav */
.site-nav {
  position: fixed; z-index: 30; top: calc(var(--window-inset) + 8px);
  left: calc(var(--window-inset) + 8px); right: calc(var(--window-inset) + 8px);
  height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 0 16px; border-radius: var(--r-pill);
}
.site-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgb(25 21 69 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sheet-night); opacity: 0; transition: opacity .45s var(--ease-paper);
}
html[data-past-hero] .site-nav::before { opacity: 1; }
.site-nav .logo { display: flex; align-items: center; min-height: 44px; border-radius: 8px; }
.site-nav .logo img { height: 24px; width: auto; }
.site-nav :focus-visible { outline-color: var(--moon-300); }
.nav-cta { display: none; }
@media (min-width: 900px) {
  .site-nav { height: 64px; max-width: var(--max); margin-inline: auto; }
  .site-nav .logo img { height: 28px; }
  .nav-cta {
    display: block; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
    transition: opacity .45s var(--ease-paper), transform .45s var(--ease-paper), visibility 0s linear .45s;
  }
  html[data-past-hero] .nav-cta {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: opacity .45s var(--ease-paper), transform .45s var(--ease-paper), visibility 0s;
  }
}

/* ---------------------------------------------------------------- S1 hero */
.hero { padding: var(--window-inset); }
.hero .window { padding: 88px var(--gutter) 316px; }
.hero-inner { position: relative; z-index: 5; }
.hero-copy { max-width: 34rem; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 21px; color: var(--moon-300);
}
.eyebrow::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  box-shadow: inset -5px 0 0 0 var(--moon-200), inset 0 0 0 2px var(--moon-300);
}
.hero h1 { font-weight: 800; font-size: var(--fs-h1); line-height: 1.07; letter-spacing: -.028em; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.55; font-weight: 600; color: var(--on-night-2); margin: 18px 0 26px; max-width: 30rem; }
.hero-moon { position: absolute; width: 96px; right: 18px; bottom: 236px; }
@media (min-width: 420px) and (max-width: 899px) { .hero-moon { width: 124px; right: 22px; bottom: 214px; } }
.hero-sheets { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 0; height: 0; }
/* The hand: six cards on one pivot (technique from murasaki.ai/meta-ads-ultimate). data-pos 0..4 sit
   left to right with 2 face on in the centre; 5 is the deck, hidden behind the centre at nothing.
   Each slot has its own z-index so two cards never trade places on the frame they cross. */
@keyframes handDrift { 0%, 100% { rotate: -1.1deg; translate: 0 0; } 50% { rotate: 1.1deg; translate: 0 -5px; } }
.hero-sheets .fan { position: absolute; left: 0; bottom: 0; width: 0; height: 0; transform-origin: 50% 100%; }
html.fan-on .hero-sheets .fan { animation: handDrift 11s ease-in-out infinite; }
.sheet {
  --w: 138px; --x: 0px; --y: 0px; --r: 0deg; --s: 1;
  position: absolute; bottom: 0; margin: 0; width: var(--w); left: calc(var(--w) / -2);
  transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r)) scale(var(--s)); transform-origin: 50% 104%;
  transition: transform .82s cubic-bezier(.16, 1, .3, 1), opacity .46s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.sheet-lift { position: relative; }
.sheet img {
  width: 100%; aspect-ratio: 520 / 672; border-radius: var(--r-sheet); background: var(--sheet);
  box-shadow: var(--shadow-sheet-night);
}
.sheet[data-pos="0"] { --x: -96px; --r: -13deg; --y: 22px; --s: .8; z-index: 2; opacity: 0; }
.sheet[data-pos="1"] { --x: -72px; --r: -8deg; --y: 12px; --s: .88; z-index: 4; }
.sheet[data-pos="2"] { --y: -8px; z-index: 6; }
.sheet[data-pos="3"] { --x: 72px; --r: 8deg; --y: 12px; --s: .88; z-index: 3; }
.sheet[data-pos="4"] { --x: 96px; --r: 13deg; --y: 22px; --s: .8; z-index: 1; opacity: 0; }
.sheet[data-pos="5"] { --y: 14px; --s: .8; z-index: 0; opacity: 0; }
@media (min-width: 640px) {
  .sheet { --w: 146px; }
  .sheet[data-pos="0"] { --x: -118px; --r: -9deg; --y: 18px; --s: .9; opacity: 1; }
  .sheet[data-pos="1"] { --x: -62px; --r: -4deg; --y: 4px; }
  .sheet[data-pos="3"] { --x: 62px; --r: 5deg; --y: 4px; }
  .sheet[data-pos="4"] { --x: 118px; --r: 10deg; --y: 18px; --s: .9; opacity: 1; }
}
@media (min-width: 900px) {
  .hero .window { min-height: min(800px, calc(100dvh - 24px)); padding: 136px var(--gutter) 180px; }
  .hero-inner { max-width: var(--max); margin: 0 auto; }
  .hero-copy { max-width: 600px; }
  .hero .stars { top: 0; bottom: auto; height: 72%; }
  .hero-moon { width: 260px; right: 9%; bottom: auto; top: 96px; }
  .hero .hill--back { height: 300px; } .hero .hill--mid { height: 236px; } .hero .hill--front { height: 290px; }
  .hero-sheets { left: 72%; bottom: 44px; }
  .sheet { --w: 196px; }
  .sheet[data-pos="0"] { --x: -168px; --r: -10deg; --y: 30px; } .sheet[data-pos="1"] { --x: -88px; --r: -5deg; --y: 8px; }
  .sheet[data-pos="3"] { --x: 88px; --r: 5deg; --y: 8px; } .sheet[data-pos="4"] { --x: 168px; --r: 10deg; --y: 30px; }
}

/* Paper tape over the cover placeholder (spans x 29 to 71%, y 6.5 to 18% of every cover) */
.sheet-tape {
  position: absolute; left: 24%; width: 52%; top: 4.6%; height: 15%; border-radius: 2px;
  transform: rotate(-2.5deg); background: var(--tape); box-shadow: 0 1px 0 rgb(23 20 61 / .08);
  clip-path: polygon(0 6%, 4% 0, 9% 7%, 14% 0, 20% 6%, 26% 0, 32% 6%, 38% 0, 44% 6%, 50% 0, 56% 6%, 62% 0, 68% 6%, 74% 0, 80% 6%, 86% 0, 92% 6%, 97% 0, 100% 6%, 100% 94%, 96% 100%, 91% 93%, 86% 100%, 80% 94%, 74% 100%, 68% 94%, 62% 100%, 56% 94%, 50% 100%, 44% 94%, 38% 100%, 32% 94%, 26% 100%, 20% 94%, 14% 100%, 9% 93%, 4% 100%, 0 94%);
}

/* ---------------------------------------------------------------- S2 strip */
.strip { padding: 20px 0 8px; }
.ticks { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--ink); }
.tick { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tick::before, .phase-marker {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--moon-100); box-shadow: inset 0 0 0 2px var(--moon-300);
}
.tick--crescent::before { box-shadow: inset -6px 0 0 0 var(--moon-600), inset 0 0 0 2px var(--moon-300); }
.tick--half::before { background: linear-gradient(90deg, var(--moon-100) 50%, var(--moon-600) 50%); }
.tick--full::before { background: var(--moon-600); box-shadow: inset 0 0 0 2px var(--moon-600); }
.phase-border {
  height: 32px; max-width: var(--max); margin: 18px auto 0;
  background: url(/img/strip-phases.svg) repeat-x center / auto 24px;
}
@media (min-width: 640px) { .ticks { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 28px; } }

/* ---------------------------------------------------------------- S3 problem */
.problem { padding-block: var(--section-y); }
.problem h2 { max-width: 16ch; }
.problem-body { margin-top: 22px; max-width: 36rem; color: var(--ink-2); }
@media (min-width: 900px) { .problem-body { margin-left: 41.66%; } }

/* ---------------------------------------------------------------- S4 books */
.books { padding-block: var(--section-y); }
.books-head { display: flex; flex-direction: column; gap: 24px; }
.books-head .lead { margin-top: 16px; }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; margin: 0; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-stat); line-height: .9; letter-spacing: -.045em;
  color: var(--moon-600); font-variant-numeric: tabular-nums; min-width: 3ch;
}
.stat-label { font-family: var(--font-body); font-weight: 800; font-size: 18px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.shelf-arrows { display: none; }
.shelf {
  --shelf-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: 20px; margin-top: 32px; padding: 8px var(--shelf-pad) 32px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--shelf-pad);
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
.shelf-item { flex: 0 0 min(72vw, 260px); min-width: 0; scroll-snap-align: start; }
.shelf-cover, .master-stack { position: relative; aspect-ratio: 520 / 672; }
.shelf-cover { border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet); transition: transform .3s var(--ease-press); }
.shelf-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sheet); }
.stack-sheet { position: absolute; width: calc(100% - 24px); aspect-ratio: 520 / 672; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet); }
.stack-sheet img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sheet); }
.stack-sheet--1 { left: 0; top: 0; transform: rotate(-4deg); }
.stack-sheet--2 { left: 6px; top: 6px; transform: rotate(-2deg); }
.stack-sheet--3 { left: 12px; top: 12px; }
.stack-sheet--4 { left: 18px; top: 18px; transform: rotate(2deg); }
.stack-sheet--5 { left: 24px; top: 24px; transform: rotate(4deg); }
.shelf-name { margin-top: 22px; }
.shelf-line { margin-top: 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .shelf-item:hover .shelf-cover { transform: translateY(-6px) rotate(-1deg); }
}
@media (min-width: 900px) {
  .books-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .books-head-text { grid-column: 1 / 8; grid-row: 1; }
  .stat { grid-column: 8 / 13; grid-row: 1; justify-content: flex-end; flex-wrap: nowrap; gap: 0 10px; }
  .shelf-arrows { display: flex; justify-content: flex-end; gap: 12px; margin-top: 40px; }
  .shelf-arrow {
    width: 48px; height: 48px; border: 0; border-radius: var(--r-pill); cursor: pointer;
    background: var(--sheet); color: var(--moon-600); box-shadow: var(--shadow-card);
    font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1;
    transition: transform .3s var(--ease-press), opacity .3s var(--ease-press);
  }
  .shelf-arrow:hover:not(:disabled) { transform: translateY(-2px); }
  .shelf-arrow:disabled { opacity: .4; cursor: default; }
  .shelf { gap: 28px; margin-top: 16px; }
  .shelf-item { flex-basis: 248px; }
}

/* ---------------------------------------------------------------- S5 peek */
.peek { padding-block: var(--section-y); }
.section-head .lead { margin-top: 16px; }
.peek-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 40px; align-items: start; }
.peek-cell { min-width: 0; }
.peek-item {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-sheet);
  transform: rotate(calc(var(--tilt, 0deg) * .6)); -webkit-tap-highlight-color: transparent;
}
.peek-sheet { aspect-ratio: 720 / 878; overflow: hidden; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet); }
.peek-sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* in-cards has a framed layout whose footer line starts higher (873 of 931px): crop a little more from the top-anchored image */
.peek-sheet img.crop-tight, .lb-img.crop-tight { transform: scale(1.035); transform-origin: 50% 0; }
.peek-caption { margin-top: 14px; font-weight: 700; font-size: 16px; line-height: 22px; color: var(--ink); }
@media (min-width: 900px) {
  .peek-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; margin-top: 56px; }
  .peek-item { transform: rotate(var(--tilt, 0deg)); }
  .peek-cell:nth-child(4n+2), .peek-cell:nth-child(4n+4) { margin-top: 40px; }
}

/* lightbox */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 72px 16px 88px; border: 0;
  background: transparent; color: var(--on-night); overflow: hidden;
}
.lightbox::backdrop { background: rgb(25 21 69 / .86); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; min-height: 0; }
.lb-sheet {
  aspect-ratio: 720 / 878; overflow: hidden; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet-night);
  height: auto; width: min(100%, calc((100dvh - 210px) * 720 / 878)); max-height: 84dvh; flex: none;
}
.lb-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lb-caption { font-weight: 700; font-size: 16px; line-height: 22px; color: var(--on-night); text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: var(--r-pill);
  background: var(--moon-200); color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1;
  transition: transform .3s var(--ease-press), background-color .3s var(--ease-press);
}
.lb-btn:hover { background: var(--sheet); }
.lb-btn:focus-visible { outline: 3px solid var(--moon-300); outline-offset: 3px; }
.lb-close { top: 16px; right: 16px; font-size: 28px; }
.lb-prev { bottom: 24px; left: calc(50% - 60px); }
.lb-next { bottom: 24px; right: calc(50% - 60px); }
@media (min-width: 900px) {
  .lightbox { padding: 48px 96px; }
  .lb-sheet { width: min(100%, calc((100dvh - 150px) * 720 / 878)); }
  .lb-prev { bottom: auto; top: calc(50% - 24px); left: 32px; }
  .lb-next { bottom: auto; top: calc(50% - 24px); right: 32px; }
  .lb-close { top: 24px; right: 32px; }
}

/* ---------------------------------------------------------------- S6 levels (static layout; stage lives in motion.css) */
.levels { padding: var(--window-inset); }
.levels .window { padding: var(--section-y) var(--gutter) 150px; }
.levels .hill--back { height: 120px; z-index: 1; }
.levels-stage { position: relative; z-index: 5; max-width: var(--max); margin: 0 auto; }
.levels-title { color: var(--on-night); max-width: 20ch; }
.levels-moon, .phase-markers { display: none; }
.levels-list { display: grid; gap: 36px; margin-top: 40px; }
.level { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.moon-mini { width: 96px; height: 96px; grid-row: 1 / span 3; }
.level-phase { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 30px; letter-spacing: -.015em; color: var(--on-night); }
.level-meta { margin-top: 6px; font-weight: 800; font-size: 16px; line-height: 22px; color: var(--moon-300); }
.level-meta span { white-space: nowrap; }
.level-meta span + span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px; border-radius: 50%;
  background: var(--moon-300); vertical-align: middle; transform: translateY(-1px);
}
.level-line { margin-top: 10px; font-size: var(--fs-lead); line-height: 1.55; font-weight: 600; color: var(--on-night-2); }
.levels-note { margin-top: 40px; max-width: 36rem; color: var(--on-night-2); }
.phase-marker { display: inline-block; background: transparent; box-shadow: inset 0 0 0 2px var(--moon-300); }
.phase-marker[data-phase="crescent"] { box-shadow: inset -6px 0 0 0 var(--moon-200), inset 0 0 0 2px var(--moon-300); }
.phase-marker[data-phase="half"] { background: linear-gradient(90deg, transparent 50%, var(--moon-200) 50%); }
.phase-marker[data-phase="full"] { background: var(--moon-200); box-shadow: inset 0 0 0 2px var(--moon-200); }
@media (min-width: 900px) {
  .levels .window { padding-bottom: 200px; }
  .levels-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
  .level { display: block; }
  .moon-mini { width: 140px; height: 140px; margin-bottom: 24px; }
  .levels-note { margin-top: 56px; }
}

/* ---------------------------------------------------------------- S7 how */
.how { padding-block: var(--section-y); }
.steps-wrap { position: relative; margin-top: 40px; }
.trail-mask { display: none; }
.steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step-marker {
  grid-row: 1 / span 2; position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sheet); box-shadow: var(--shadow-sheet);
  font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--moon-600);
}
.step-connector { position: absolute; left: 26.5px; top: 64px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--moon-300); }
.step-title { padding-top: 13px; }
.step-line { margin-top: 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps-wrap { margin-top: 64px; }
  .trail-mask { display: block; position: absolute; left: 0; right: 0; top: -32px; height: 120px; overflow: hidden; z-index: 0; }
  .trail-inner { width: 100%; height: 100%; }
  .trail { width: 100%; height: 100%; }
  .steps { position: relative; z-index: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { display: block; padding: 0 16px; text-align: center; }
  .step-marker { margin: 0 auto; }
  .step-connector { display: none; }
  .step-title { padding-top: 28px; }
  .step-line { max-width: 17rem; margin-inline: auto; }
}

/* ---------------------------------------------------------------- S8 bonus bento */
.bonus { padding-block: var(--section-y); }
.bento { display: grid; gap: 16px; margin-top: 40px; }
.bento-cell {
  position: relative; overflow: hidden; min-width: 0; min-height: 232px; padding: 24px;
  border-radius: var(--r-card); background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-card);
}
.bento-cell--2 { background: var(--night-800); color: var(--on-night); box-shadow: none; }
.bento-cell--3 { background: var(--moon-200); box-shadow: none; }
.bento-text { position: relative; z-index: 1; max-width: 58%; }
.bento-line { margin-top: 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
.bento-cell--2 .bento-line { color: var(--on-night-2); }
.bento-cell--3 .bento-line { color: var(--ink); }
.value-pill {
  display: inline-block; margin-top: 16px; padding: 4px 14px; border-radius: var(--r-pill);
  background: var(--moon-100); color: var(--moon-600); font-weight: 800; font-size: 16px; line-height: 24px; white-space: nowrap;
}
.bento-cell--2 .value-pill { background: var(--moon-200); color: var(--ink); }
.bento-cell--3 .value-pill { background: var(--sheet); }
.bento-cover {
  position: absolute; right: -3%; bottom: 0; width: 42%; aspect-ratio: 520 / 672;
  border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-sheet);
  transform: translateY(45%) rotate(8deg); transform-origin: 50% 50%;
}
.bento-cell--2 .bento-cover, .bento-cell--3 .bento-cover { transform: translateY(45%) rotate(-7deg); }
.bento-cell--2 .bento-cover { box-shadow: var(--shadow-sheet-night); }
.bento-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sheet); }
@media (min-width: 640px) { .bento-cell { min-height: 280px; } }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
  .bento-cell { min-height: 300px; padding: 32px; }
  .bento-cell--1 { grid-column: 1 / span 7; }
  .bento-cell--2 { grid-column: 8 / span 5; }
  .bento-cell--3 { grid-column: 1 / span 5; }
  .bento-cell--4 { grid-column: 6 / span 7; }
  .bento-cover { width: 46%; right: -4%; }
  .bento-cell--2 .bento-cover, .bento-cell--3 .bento-cover { right: -9%; }
  .bento-cell--1 .bento-text, .bento-cell--4 .bento-text { max-width: 50%; }
}

/* ---------------------------------------------------------------- S9 offer ticket */
.offer { padding: var(--window-inset); }
.offer .window { padding: var(--section-y) 12px; }
@media (min-width: 640px) { .offer .window { padding-inline: var(--gutter); } }
.ticket-wrap { position: relative; z-index: 5; max-width: 980px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgb(8 6 30 / .45)); }
.ticket { display: flex; flex-direction: column; }
.ticket-main {
  position: relative; padding: 32px 20px 36px; background: var(--sheet); color: var(--ink);
  border-radius: var(--r-card) var(--r-card) 0 0;
  -webkit-mask: radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) 100% 0 / 51% 100% no-repeat;
}
.ticket-main::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; border-top: 2px dashed var(--moon-200); }
.ticket-main h2 { color: var(--ink); }
.offer-rows { margin-top: 24px; }
.offer-row { display: flex; align-items: flex-end; gap: 8px; padding: 9px 0; font-weight: 600; font-size: 16px; line-height: 24px; color: var(--ink); }
.offer-label { min-width: 0; }
.offer-leader { flex: 1 1 16px; min-width: 16px; margin-bottom: 7px; border-bottom: 2px dotted var(--moon-200); }
.offer-value { flex: none; font-weight: 800; white-space: nowrap; }
.offer-total { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 28px; }
.offer-total .offer-leader { margin-bottom: 9px; }
.struck { position: relative; display: inline-block; text-decoration: none; color: var(--ink-2); font-weight: 800; }
.strike-line {
  position: absolute; left: -6%; width: 112%; top: calc(50% - 2px); height: 4px; border-radius: 2px;
  background: var(--moon-600); transform: rotate(-8deg); transform-origin: left center;
}
.license { margin-top: 20px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
.ticket-stub {
  padding: 22px 24px 32px; background: var(--night-800); color: var(--on-night); text-align: center;
  border-radius: 0 0 var(--r-card) var(--r-card);
  -webkit-mask: radial-gradient(circle at 0 0, #0000 14px, #000 14.5px) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 0, #0000 14px, #000 14.5px) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) 100% 0 / 51% 100% no-repeat;
}
.ticket-stub .phase-border { height: 24px; margin: 0 8px 20px; background-size: auto 20px; opacity: .55; }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-price); line-height: 1; letter-spacing: -.04em; color: var(--on-night); }
.price-note { margin-top: 6px; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--on-night-2); }
.ticket-stub .buy-form { margin-top: 22px; }
.ticket-stub .btn { width: 100%; }
.secure { margin: 16px auto 0; max-width: 24rem; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--on-night-2); }
@media (min-width: 900px) {
  .ticket { display: grid; grid-template-columns: 7fr 5fr; }
  .ticket-main {
    padding: 48px 48px 44px; border-radius: var(--r-card) 0 0 var(--r-card);
    -webkit-mask: radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) 0 0 / 100% 51% no-repeat,
                  radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) 0 100% / 100% 51% no-repeat;
            mask: radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) 0 0 / 100% 51% no-repeat,
                  radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) 0 100% / 100% 51% no-repeat;
  }
  .ticket-main::after { left: auto; right: 0; top: 24px; bottom: 24px; border-top: 0; border-left: 2px dashed var(--moon-200); }
  .offer-row { font-size: 17px; }
  .offer-total { font-size: 22px; }
  .ticket-stub {
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 36px;
    border-radius: 0 var(--r-card) var(--r-card) 0;
    -webkit-mask: radial-gradient(circle at 0 0, #0000 14px, #000 14.5px) 0 0 / 100% 51% no-repeat,
                  radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) 0 100% / 100% 51% no-repeat;
            mask: radial-gradient(circle at 0 0, #0000 14px, #000 14.5px) 0 0 / 100% 51% no-repeat,
                  radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) 0 100% / 100% 51% no-repeat;
  }
  .ticket-stub .phase-border { display: none; }
  .ticket-stub .btn { width: auto; }
}

/* ---------------------------------------------------------------- S10 guarantee */
.guarantee { padding-block: var(--section-y); }
.guarantee-grid { display: grid; gap: 32px; }
.seal { width: 128px; height: 128px; transform: rotate(-6deg); }
.seal-stamp { position: relative; width: 100%; height: 100%; }
.seal-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-num {
  position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 4%;
  font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--sheet);
}
.guarantee-text p { margin-top: 18px; max-width: 36rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .guarantee-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .seal { grid-column: 2 / 5; width: 220px; height: 220px; justify-self: center; }
  .seal-num { font-size: 120px; }
  .guarantee-text { grid-column: 6 / 12; }
}

/* ---------------------------------------------------------------- S11 faq */
.faq { padding-block: var(--section-y); }
.faq-grid { display: grid; gap: 32px; }
.faq-list { min-width: 0; background: var(--sheet); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--moon-100); }
.faq-item summary {
  position: relative; display: flex; align-items: center; min-height: 64px; padding: 20px 64px 20px 24px;
  list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 25px; letter-spacing: -.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--moon-600); outline-offset: -3px; border-radius: var(--r-card); }
.faq-q { min-width: 0; }
.faq-icon { position: absolute; right: 24px; top: 50%; width: 24px; height: 24px; margin-top: -12px; transition: transform .3s var(--ease-press); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--moon-600); border-radius: 2px; }
.faq-icon::before { width: 24px; height: 2px; margin: -1px 0 0 -12px; }
.faq-icon::after { width: 2px; height: 24px; margin: -12px 0 0 -1px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { font-size: 17px; line-height: 28px; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .faq-grid > h2 { grid-column: 1 / 5; position: sticky; top: 112px; }
  .faq-list { grid-column: 5 / 13; }
  .faq-item summary { font-size: 19px; line-height: 26px; padding-left: 32px; }
  .faq-a { padding: 0 32px 24px; }
}

/* ---------------------------------------------------------------- S12 final */
.final { padding: var(--window-inset); }
.final .window { min-height: 640px; padding: 96px var(--gutter) 300px; text-align: center; }
.final .stars { top: auto; bottom: 0; height: 300px; }
.final-moon { position: absolute; width: 200px; height: 200px; left: 50%; margin-left: -100px; bottom: 90px; }
.final-copy { position: relative; z-index: 5; max-width: 720px; margin: 0 auto; }
.final-copy h2 { color: var(--on-night); }
.final-sub { margin: 16px auto 0; max-width: 30rem; font-size: var(--fs-lead); line-height: 1.55; font-weight: 600; color: var(--on-night-2); }
.final .buy-form { margin-top: 28px; }
@media (min-width: 900px) {
  .final .window { min-height: 720px; padding: 128px var(--gutter) 360px; }
  .final .stars { height: 360px; }
  .final-moon { width: 320px; height: 320px; margin-left: -160px; bottom: 30px; }
  .final .hill--back { height: 300px; } .final .hill--mid { height: 236px; } .final .hill--front { height: 290px; }
}

/* ---------------------------------------------------------------- S13 footer */
.site-footer { padding: 64px 0 120px; }
.footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer-logo img { height: 28px; width: auto; }
.fine { margin-top: 16px; max-width: 60ch; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--moon-300); text-decoration-thickness: 2px; }
.footer-links a:hover { color: var(--moon-600); }
.copyright { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) { .site-footer { padding: 64px 0; } }

/* ---------------------------------------------------------------- S14 sticky bar */
.sticky-bar {
  position: fixed; z-index: 30; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  padding: 8px; border-radius: 22px; background: var(--night-900); box-shadow: var(--shadow-sheet-night);
  transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease-paper);
}
html[data-bar="on"] .sticky-bar { transform: none; }
.sticky-bar .btn { width: 100%; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------------------------------------------------------------- legal pages */
.legal-top { padding: var(--window-inset); }
.legal-head { min-height: 220px; }
.legal-head .hill--back { height: 90px; }
.legal-head .hill--front { height: 56px; }
.legal-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--moon-200); }
.legal-head-in { position: relative; z-index: 5; padding-top: 16px; padding-bottom: 72px; }
.legal-head .logo { display: inline-flex; align-items: center; min-height: 44px; }
.legal-head .logo img { height: 24px; width: auto; }
.legal-title { margin-top: 28px; }
.legal-title h1 { font-weight: 800; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.024em; color: var(--on-night); }
.legal-title .updated { margin-top: 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--on-night-2); }
@media (min-width: 900px) {
  .legal-head { min-height: 260px; }
  .legal-head-in { padding-top: 20px; padding-bottom: 96px; }
  .legal-head .logo img { height: 28px; }
}

/* Legal body. Also styles the Worker's own pages (/thanks and errors): .top .top-in .logo .legal .narrow .foot .links .stack .cta */
.legal { padding: 56px 0 96px; }
.narrow { max-width: 46rem; }
.legal h1 { font-weight: 800; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.024em; color: var(--ink); }
.legal h2 { margin-top: 40px; font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -.01em; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 28px; color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal a { color: var(--moon-600); text-underline-offset: 3px; font-weight: 700; }
.moon-list { margin-top: 12px; display: grid; gap: 8px; }
.moon-list li { position: relative; padding-left: 28px; }
.moon-list li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(90deg, transparent 50%, var(--moon-600) 50%); box-shadow: inset 0 0 0 2px var(--moon-600);
}

/* Worker page chrome (markup lives in src/worker.js and stays as is) */
.top { padding: var(--window-inset) 0 0; }
.top-in { display: flex; align-items: center; min-height: 64px; }
.top .logo {
  display: inline-block; width: 187px; height: 28px; overflow: hidden; color: transparent; font-size: 0;
  background: url(/img/logo.svg) no-repeat left center / auto 28px;
}
.stack { margin-top: 12px; display: grid; gap: 10px; }
.stack li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px;
  padding: 8px 8px 8px 20px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-card); color: var(--ink);
}
.stack li span { min-width: 0; font-weight: 700; color: var(--ink); }
.stack .dl, .legal .stack a {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
  background: var(--moon-100); color: var(--moon-600); text-decoration: none; font-weight: 800;
}
.cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 0;
  border-radius: var(--r-pill); background: var(--moon-200); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-card);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.foot { padding: 32px 0 40px; }
.foot .links { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.foot .links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- reduced motion: state transitions become instant */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* link from the offer ticket to /pack */
.ticket-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 800; font-size: 16px; color: var(--moon-700); }

/* ================================================================ LIGHT THEME (Matteo 2026-12-02: white/creamy throughout, no dark theme)
   Overrides the night windows: cream panels, purplish blue moon, ink text, brand blue buttons. */
:root {
  --paper: #FFFBF3; --sheet: #FFFFFF; --cream-2: #FBF3E4; --cream-line: #EFE4D1;
  --on-night: #17143D; --on-night-2: #4A4675;
  --night-bg: radial-gradient(120% 80% at 80% 12%, #FFFFFF 0%, #FFF8EC 55%, #FCF1DF 100%);
  --shadow-sheet-night: 0 1px 2px rgb(23 20 61 / .10), 0 16px 34px -14px rgb(23 20 61 / .28);
  --shadow-cta: 0 10px 24px -12px rgb(79 71 204 / .55), inset 0 -3px 0 rgb(23 20 61 / .18);
}
body { background: var(--paper); }
.band { background: var(--cream-2); }
.window { box-shadow: inset 0 0 0 1px var(--cream-line); }
.window .accent, .accent { color: var(--moon-600); }
.window :focus-visible { outline-color: var(--moon-600); }

.btn { background: var(--moon-600); color: #fff; }
.btn:hover { background: var(--moon-700); }
.btn:disabled { background: var(--moon-500); }

.site-nav::before { background: rgb(255 251 243 / .92); box-shadow: 0 0 0 1px var(--cream-line), 0 12px 30px -18px rgb(23 20 61 / .35); }

/* moon: pale unlit side, purplish blue lit side */
.moon .moon-cast { fill: #4F47CC; opacity: .12; }
.moon .moon-body, .moon .moon-term-dark { fill: #E9E6FF; }
.moon .moon-lit-half, .moon .moon-term-lit { fill: #5B53D6; }
.moon .moon-craters { fill: #8F89F4; }

/* hills: soft lavender paper layers on cream */
.hill--back path { fill: #E7E4FF; }
.hill--mid path { fill: #D3CFFF; }
.hill--front path { fill: #B9B4FA; }
.hill--back { filter: drop-shadow(0 -4px 10px rgb(79 71 204 / .10)); }
.hill--mid { filter: drop-shadow(0 -6px 12px rgb(79 71 204 / .12)); }
.hill--front { filter: drop-shadow(0 -8px 14px rgb(79 71 204 / .14)); }

/* stars */
.star-dots { fill: #B5B0FB; }
.star-sparks { fill: #FFB020; }
.legal-star { background: #B5B0FB; }

/* surfaces that were night */
.bento-cell--2 { background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-card); }
.bento-cell--2 .bento-line { color: var(--ink-2); }
.ticket-stub { background: var(--moon-100); }
.sticky-bar { background: rgb(255 255 255 / .96); box-shadow: 0 0 0 1px var(--cream-line), 0 16px 34px -14px rgb(23 20 61 / .30); }
.lightbox::backdrop { background: rgb(255 251 243 / .95); }
.lb-btn { color: var(--ink); }

/* covers now carry the real Mind Moon logo: no tape */
.sheet-tape { display: none !important; }
/* light theme contrast fixes */
.window .eyebrow, .eyebrow { color: var(--moon-600); }
.level-meta { color: var(--moon-600) !important; }
.ticket-wrap { filter: drop-shadow(0 18px 28px rgb(79 71 204 / .16)); }

/* Hero hand under reduced motion: cards sit still in their slots */
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } html.fan-on .hero-sheets .fan { animation: none; } }
