/* Santa's Workshop: 24 Days. Landing.
   World: the game's own night village, lit by the Great Gift Tree. Tokens first, then sections in page order. */
@import url("fonts/fonts.css");

:root {
  color-scheme: dark;
  --bg: #0a1830;
  --bg-deep: #061024;
  --bg-2: #0f2342;
  --bg-3: #17335f;
  --band: #0f2445;
  --panel: rgba(16, 38, 72, 0.78);
  --line: rgba(190, 215, 255, 0.14);
  --line-strong: rgba(190, 215, 255, 0.34);
  --text: #f3f7ff;
  --text-2: #b4c4de;
  --gold: #ffc44d;
  --gold-hi: #ffe08a;
  --gold-lo: #e8961c;
  --gold-edge: #a8600d;
  --gold-ink: #33200c;
  --red: #e0454b;
  --red-lo: #a92a34;
  --pine: #35a06a;
  --outline: #0b1a33;
  --shadow: 0 30px 60px -24px rgba(1, 6, 16, 0.9);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 18px;
  --head: 68px;
  --gutter: clamp(16px, 5vw, 72px);
  --display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-deep);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.125rem) / 1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection {
  background: var(--gold);
  color: var(--gold-ink);
}
a {
  color: var(--gold-hi);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.ic {
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  vertical-align: -0.22em;
  flex: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 10px;
}

/* ---------- header: clear over the hero, a frosted bar once you scroll ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--head);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background 260ms var(--ease), border-color 260ms var(--ease), backdrop-filter 260ms var(--ease);
}
.top.is-solid {
  background: rgba(8, 20, 42, 0.82);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font: 800 1.25rem/1 var(--display);
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 6px 14px -6px rgba(0, 0, 0, 0.8);
}
.brand small {
  font: 800 0.78rem/1 var(--display);
  color: #fff;
  padding: 5px 10px 4px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  text-shadow: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  appearance: none;
  background: rgba(15, 35, 66, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23b4c4de' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  height: 42px;
  padding: 0 34px 0 16px;
  font: 600 0.9rem/1 var(--body);
  cursor: pointer;
}
.lang option {
  background: var(--bg-2);
}
@media (max-width: 560px) {
  .top .btn--small,
  .brand small {
    display: none;
  }
  .lang {
    height: 38px;
    max-width: 140px;
  }
}

/* ---------- buttons: chunky, lit from above, pressed into the page ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: 800 1.2rem/1 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), filter 160ms var(--ease);
}
.btn--play {
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-lo) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(140, 70, 0, 0.35), 0 0 0 2.5px var(--outline), 0 6px 0 2.5px var(--outline), 0 18px 28px -8px rgba(0, 0, 0, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
}
/* a slow highlight that sweeps across the button now and then */
.btn--play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 5.5s var(--ease) 1.5s infinite;
}
@keyframes sheen {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.btn--play .ic {
  width: 1.35em;
  height: 1.35em;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
}
.btn--big {
  min-height: 66px;
  padding: 0 38px;
  font-size: 1.45rem;
}
.btn--small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 1rem;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(140, 70, 0, 0.35), 0 0 0 2px var(--outline), 0 4px 0 2px var(--outline);
}
@media (hover: hover) and (pointer: fine) {
  .btn--play:hover {
    filter: brightness(1.07) saturate(1.05);
    transform: translateY(-2px);
  }
}
.btn--play:active {
  transform: translateY(5px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -3px 0 rgba(140, 70, 0, 0.35), 0 0 0 2.5px var(--outline), 0 1px 0 2.5px var(--outline), 0 6px 12px -6px rgba(0, 0, 0, 0.6);
}

/* ---------- the game logo, set in the HUD's own lettering ---------- */
.logo {
  margin: 0;
  display: grid;
  justify-items: start;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.01em;
}
.logo .l1,
.logo .l2 {
  -webkit-text-stroke: 0.13em var(--outline);
  paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--outline), 0 0.16em 0.3em rgba(0, 0, 0, 0.45);
}
.logo .l1 {
  font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.1rem);
  color: var(--gold-hi);
  margin-left: 0.12em;
  rotate: -3deg;
  transform-origin: left bottom;
}
.logo .l2 {
  font-size: clamp(3.2rem, 1.5rem + 5.6vw, 6.6rem);
  color: #fff;
}
.ribbon {
  position: relative;
  margin: 0.55em 0 0 0.3em;
  padding: 0.5em 1.7em 0.42em;
  font: 800 clamp(1rem, 0.8rem + 0.7vw, 1.4rem) / 1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #f0626a, var(--red) 55%, var(--red-lo));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.75em) 50%, 100% 100%, 0 100%, 0.75em 50%);
  rotate: -2deg;
  text-shadow: 0 2px 0 rgba(90, 10, 20, 0.6);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.ribbon span {
  display: block;
}

/* ---------- hero: key art, logo, play ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--head));
  min-height: max(100svh, 680px);
  padding: calc(var(--head) + 5svh) var(--gutter) clamp(150px, 18vw, 250px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  overflow: hidden;
}
.sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 60% 55% at 72% 46%, rgba(255, 176, 60, 0.28), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(74, 144, 226, 0.22), transparent 70%),
    linear-gradient(180deg, #050d1f 0%, #0a1a38 45%, #10264a 78%, var(--bg) 100%);
}
.stars i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
  animation: twinkle var(--t) ease-in-out var(--w) infinite alternate;
}
.stars i:nth-child(5n) {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.6);
}
@keyframes twinkle {
  to {
    opacity: 0.12;
  }
}
.aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(80, 220, 180, 0.2), transparent 70%),
    radial-gradient(ellipse 35% 25% at 62% 30%, rgba(142, 106, 224, 0.22), transparent 70%);
  filter: blur(30px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  to {
    transform: translateX(6%) skewX(-6deg);
    opacity: 0.7;
  }
}
.hero-art {
  position: relative;
  z-index: -1;
  margin: calc(-1 * (var(--head) + 5svh)) calc(-1 * var(--gutter)) -24vw;
}
.hero-art img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 58%, transparent 100%);
  animation: float 7s ease-in-out infinite alternate;
}
@keyframes float {
  to {
    transform: translateY(-12px) rotate(0.6deg);
  }
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 640px;
}
.hero h1 {
  margin: 6px 0 0;
  font: 800 clamp(1.45rem, 1.1rem + 1.2vw, 2.15rem) / 1.12 var(--display);
  letter-spacing: -0.005em;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero h1 span {
  display: block;
}
.hero h1 span + span {
  color: var(--gold);
}
.hero .sub {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--text-2);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 16px;
  margin-top: 6px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: rgba(10, 24, 48, 0.6);
  border: 1px solid var(--line);
  font: 700 0.88rem/1 var(--body);
  color: var(--text);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.badges .ic {
  width: 20px;
  height: 20px;
}
.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: clamp(110px, 17vw, 250px);
  pointer-events: none;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  font: 800 0.85rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scroll-hint i {
  width: 22px;
  height: 34px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* the live village behind everything: a real capture of the browser build */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.1);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 31, 0.92) 0%, rgba(5, 13, 31, 0.7) 38%, rgba(5, 13, 31, 0.2) 70%, rgba(5, 13, 31, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 13, 31, 0.55) 0%, transparent 30%, transparent 62%, var(--bg) 100%);
}
.genre-tag {
  margin: 4px 0 0;
  padding: 6px 14px 5px;
  border-radius: 999px;
  background: rgba(224, 69, 75, 0.9);
  color: #fff;
  font: 800 0.86rem/1.1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--text-2);
  font: 600 0.92rem/1.2 var(--body);
}
.soon .ic {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
  .hero-art {
    position: absolute;
    right: -2vw;
    top: 50%;
    width: min(50vw, 760px);
    margin: 0;
    translate: 0 -52%;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 77, 0.35), transparent 70%);
    filter: blur(40px);
    z-index: -1;
  }
  .hero-copy {
    grid-column: 1;
  }
}
@media (max-width: 959px) {
  .hero {
    min-height: 0;
    padding-bottom: 130px;
  }
  .hero-art img {
    -webkit-mask-image: radial-gradient(closest-side at 50% 42%, #000 50%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 42%, #000 50%, transparent 100%);
  }
  .scroll-hint {
    display: none;
  }
}
@media (max-width: 520px) {
  .btn--big {
    min-height: 60px;
    padding: 0 30px;
    font-size: 1.3rem;
  }
}

/* ---------- page grid: story (left) + the tree on its sticky stage (right) ---------- */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
}
.flow {
  padding: 0 var(--gutter);
}
.stage {
  position: sticky;
  top: var(--head);
  z-index: 10;
  height: 30svh;
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.96), rgba(10, 24, 48, 0.9));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  container-type: size;
}
@media (min-width: 960px) {
  .page {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }
  .flow {
    grid-column: 1;
    grid-row: 1;
    padding-right: clamp(8px, 2vw, 32px);
  }
  .stage {
    grid-column: 2;
    grid-row: 1;
    height: calc(100svh - var(--head));
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }
}

/* HUD plaque above the tree, in the game's navy and gold */
.hud {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  width: min(92%, 320px);
  padding: 8px 14px 10px 8px;
  border-radius: 16px;
  background: var(--panel);
  border: 1.5px solid rgba(255, 196, 77, 0.45);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hud-ic {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(53, 160, 106, 0.25);
  box-shadow: inset 0 0 0 1.5px rgba(53, 160, 106, 0.6);
}
.hud-ic svg {
  width: 28px;
  height: 28px;
}
.hud-txt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
}
.hud-txt b {
  font: 800 0.95rem/1.1 var(--display);
}
.hud-txt small {
  font: 800 0.8rem/1 var(--display);
  color: var(--gold);
  white-space: nowrap;
}
.hud-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.hud-bar i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0.2) * 100%);
  border-radius: inherit;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  transition: width 600ms var(--ease);
}
@media (min-width: 960px) {
  .hud {
    top: 4svh;
    width: min(86%, 380px);
    padding: 10px 16px 12px 10px;
  }
  .hud-ic {
    width: 48px;
    height: 48px;
  }
  .hud-ic svg {
    width: 34px;
    height: 34px;
  }
  .hud-txt b {
    font-size: 1.05rem;
  }
}
@media (max-width: 959px) {
  .hud {
    left: 12px;
    translate: none;
    top: 50%;
    margin-top: -32px;
    width: min(44%, 220px);
    grid-template-columns: 1fr;
  }
  .hud-ic {
    display: none;
  }
  .hud-txt {
    flex-direction: column;
    gap: 4px;
  }
  .hud-txt b {
    font-size: 0.82rem;
    white-space: normal;
    line-height: 1.1;
  }
  .stage .tree-wrap {
    left: 30%;
  }
  .free-mark span {
    display: none;
  }
}

/* ---------- the Great Gift Tree ---------- */
.tree-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  container-type: size;
  padding: 10px;
}
@media (min-width: 960px) {
  .tree-wrap {
    inset: calc(4svh + 74px) 0 2svh;
  }
}
.halo {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 90cqmin;
  height: 90cqmin;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 77, 0.38), rgba(255, 140, 60, 0.12) 45%, transparent 70%);
  opacity: calc(0.15 + var(--p, 0.2) * 0.85);
  transition: opacity 600ms var(--ease);
  pointer-events: none;
}
.tree {
  --bw: min(calc((100cqw - 28px) / 28.8), calc((100cqh - 40px) / 44));
  --bh: calc(var(--bw) * 1.3);
  --gap: max(1px, calc(var(--bw) * 0.14));
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  padding-top: calc(var(--bw) * 3.3);
  margin: 0;
}
.tree .row {
  display: flex;
  gap: var(--gap);
}
.tree .row i {
  display: block;
  width: var(--bw);
  height: var(--bh);
  border-radius: calc(var(--bw) * 0.18);
  background-color: var(--c);
  background-image:
    linear-gradient(90deg, transparent 40%, rgba(255, 236, 170, 0.85) 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 40%, rgba(255, 236, 170, 0.6) 40% 60%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 45%, rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 calc(var(--bw) * -0.1) 0 rgba(0, 0, 0, 0.18);
  opacity: 0.1;
  filter: saturate(0.3);
  transform: translateY(4px) scale(0.7);
  transition: opacity 320ms var(--ease), transform 420ms var(--pop), filter 320ms var(--ease);
  transition-delay: calc(var(--d, 0) * 28ms);
}
.tree .row.lit i {
  opacity: 1;
  filter: none;
  transform: none;
}
.c0 { --c: #e0454b; }
.c1 { --c: #2f9a63; }
.c2 { --c: #ffc44d; }
.c3 { --c: #ff8db0; }
.c4 { --c: #4a90e2; }
.c5 { --c: #f6fbff; }
.c6 { --c: #8e6ae0; }
.c7 { --c: #ff9d3d; }
/* when the tree is finished its gold boxes twinkle like lights */
.stage[data-lit="24"] .tree i.c2,
.stage[data-lit="24"] .tree i.c5 {
  animation: bulb 2.4s ease-in-out infinite;
}
.stage[data-lit="24"] .tree .row:nth-child(odd) i.c2 {
  animation-delay: -1.2s;
}
@keyframes bulb {
  50% {
    box-shadow: 0 0 calc(var(--bw) * 0.9) rgba(255, 220, 120, 0.9);
  }
}
.tree .trunk {
  width: calc(var(--bw) * 3);
  height: calc(var(--bw) * 2.2);
  margin-top: var(--gap);
  border-radius: 3px;
  background: linear-gradient(90deg, #5e3519, #8a5631 45%, #6b3e1f);
}
.tree .mound {
  width: calc(var(--bw) * 30);
  height: calc(var(--bw) * 2.6);
  margin-top: calc(var(--bw) * -1);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, #f3f8ff, #b9cde6 60%, rgba(185, 205, 230, 0) 72%);
  opacity: 0.9;
}
.tree .star {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: calc(var(--bw) * 3.4);
  height: calc(var(--bw) * 3.4);
  filter: grayscale(1) opacity(0.25);
  transition: filter 520ms var(--ease), transform 620ms var(--pop);
}
.tree .star svg {
  width: 100%;
  height: 100%;
}
.tree .star::before {
  content: "";
  position: absolute;
  inset: -90%;
  z-index: -1;
  background: repeating-conic-gradient(rgba(255, 224, 138, 0.35) 0 8deg, transparent 8deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 65%);
  mask-image: radial-gradient(circle, #000 20%, transparent 65%);
  opacity: 0;
  transition: opacity 600ms var(--ease);
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.stage[data-lit="24"] .star {
  filter: drop-shadow(0 0 calc(var(--bw) * 1.2) rgba(255, 196, 77, 0.9));
  transform: scale(1.18);
}
.stage[data-lit="24"] .star::before {
  opacity: 1;
}
.free-mark {
  position: relative;
  align-self: stretch;
  height: 0;
  margin: 0 calc(var(--bw) * -1.4);
  pointer-events: none;
}
.free-mark i {
  position: absolute;
  inset: 0 0 auto 0;
  border-top: 2px dashed var(--gold);
  opacity: 0.85;
}
.free-mark span {
  position: absolute;
  left: 0;
  bottom: 7px;
  padding: 4px 11px 3px;
  border-radius: 999px;
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 0 1.5px var(--outline), 0 3px 0 1.5px var(--outline);
  font: 800 0.78rem/1.2 var(--display);
  white-space: nowrap;
}
.top-tag {
  position: absolute;
  top: calc(var(--bw) * 0.9);
  left: calc(50% + var(--bw) * 3);
  padding: 4px 10px 3px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 800 0.8rem/1.2 var(--display);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease), transform 420ms var(--pop);
}
.stage[data-lit="24"] .top-tag {
  opacity: 1;
  transform: none;
}
.sleigh {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 14%;
  width: clamp(110px, 26cqw, 200px);
  translate: -50% 0;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(255, 196, 77, 0.6));
}
.sleigh svg {
  width: 100%;
  height: auto;
}
.stage.launch .sleigh {
  animation: lift 3s var(--ease) 0.4s both;
}
@keyframes lift {
  0% { opacity: 0; transform: translate(0, 50px) rotate(0); }
  14% { opacity: 1; transform: translate(0, 0) rotate(-3deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(70cqw, -50cqh) rotate(-16deg) scale(0.6); }
}

/* ---------- story stops: copy, then the real game in a browser window ---------- */
.stop {
  --tone: #e0454b;
  position: relative;
  min-height: 92svh;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 8svh 0;
  scroll-margin-top: var(--head);
}
.tone-red { --tone: #ff5d63; }
.tone-pink { --tone: #ff8db0; }
.tone-blue { --tone: #5aa2f0; }
.tone-gold { --tone: #ffc44d; }
.tone-pine { --tone: #45c07f; }
.tone-slime { --tone: #9bd94a; }
.num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font: 800 clamp(2.8rem, 2rem + 2.6vw, 4.4rem) / 0.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--tone) 75%, transparent);
  letter-spacing: 0.02em;
}
.num .badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tone) 18%, var(--bg-2));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tone) 65%, transparent), 0 10px 20px -10px color-mix(in srgb, var(--tone) 70%, transparent);
  -webkit-text-stroke: 0;
}
.num .badge svg {
  width: 36px;
  height: 36px;
}
.stop h2,
.band h2,
.genre h2,
.builds h2,
.stack h2,
.evo h2,
.foot h2 {
  margin: 0;
  font: 800 clamp(2rem, 1.2rem + 2.3vw, 3.3rem) / 1.02 var(--display);
  letter-spacing: -0.012em;
  text-wrap: balance;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.stop p {
  margin: 16px 0 0;
  max-width: 44ch;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--text-2);
}
.media {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: start;
  isolation: isolate;
}
/* a pool of the stop's gift colour behind its capture */
.media::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 110%;
  aspect-ratio: 2;
  translate: -50% -50%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 30%, transparent), transparent);
  pointer-events: none;
}
.lines,
.pals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lines li,
.pals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 7px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.lines li {
  font: 800 1.02rem/1 var(--display);
}
.lines .ic {
  width: 30px;
  height: 30px;
}
.pals li {
  font: 700 0.92rem/1 var(--body);
  color: var(--text);
}
.pals .ic {
  width: 34px;
  height: 34px;
}
.stop.stop--end {
  min-height: 100svh;
}
.stop--end .btn {
  margin-top: 30px;
}
/* a desktop browser window: the game is played right here, not in an app */
.window {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 80px -24px color-mix(in srgb, var(--tone) 50%, transparent);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3deg) rotateX(1deg);
  transition: transform 500ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .window:hover {
    transform: none;
  }
}
.window .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #1a3762;
  border-bottom: 1px solid var(--line);
}
.window .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
}
.window .bar i + i {
  background: var(--gold);
}
.window .bar i + i + i {
  background: #45c07f;
}
.window .url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 4px 14px;
  max-width: 60%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-2);
  font: 600 0.78rem/1.2 var(--body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  translate: -24px 0;
}
.window .url svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.window img,
.window .clip {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-2);
}

/* ---------- genre: what kind of game this is, in four cards ---------- */
.genre {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9svh var(--gutter) 6svh;
  text-align: center;
}
.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.feat {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 22px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(23, 51, 95, 0.9), rgba(13, 31, 61, 0.9));
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 24px 40px -28px rgba(0, 0, 0, 0.9);
}
.feat-ic {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 196, 77, 0.14);
  box-shadow: inset 0 0 0 2px rgba(255, 196, 77, 0.5);
}
.feat-ic svg {
  width: 40px;
  height: 40px;
}
.feat h3 {
  margin: 4px 0 0;
  font: 800 1.3rem/1.15 var(--display);
}
.feat p {
  margin: 0;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- phone-sized screens: a play bar docked at the bottom once the hero is gone ---------- */
.dock {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 999px;
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 0 0 2.5px var(--outline), 0 5px 0 2.5px var(--outline), 0 16px 30px -8px rgba(0, 0, 0, 0.8);
  font: 800 1.2rem/1 var(--display);
  text-decoration: none;
  transform: translateY(140%);
  transition: transform 320ms var(--ease);
}
.dock .ic {
  width: 1.3em;
  height: 1.3em;
}
.dock small {
  font: 700 0.78rem/1 var(--body);
  opacity: 0.75;
}
.dock.on {
  transform: none;
}
@media (max-width: 959px) {
  .dock {
    display: flex;
  }
}

/* ---------- ticker: everything you do, sliding past ---------- */
.ticker {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 18px 0;
  background: linear-gradient(180deg, #c93a41, var(--red) 50%, #b92f37);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.18), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
  rotate: -1.2deg;
  margin: -10px -20px 0;
  overflow: hidden;
}
.tick-row {
  display: flex;
  width: max-content;
  animation: tick 48s linear infinite;
}
.tick-rev {
  animation-direction: reverse;
  animation-duration: 56s;
}
.tick-row ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
}
.tick-row li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #4a1418;
  font: 800 1.02rem/1 var(--display);
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(90, 10, 20, 0.35);
}
.tick-row .ic {
  width: 26px;
  height: 26px;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- props: game icons floating around headings ---------- */
.genre,
.builds,
.stack-head {
  position: relative;
}
.props {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.prop {
  position: absolute;
  width: clamp(56px, 7vw, 96px);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.45));
  animation: bob 6s ease-in-out infinite alternate;
  translate: 0 var(--py, 0px);
}
.prop svg {
  width: 100%;
  height: auto;
}
.prop.p1 { left: 2%; top: 14%; rotate: -14deg; }
.prop.p2 { right: 4%; top: 8%; rotate: 12deg; animation-delay: -2s; }
.prop.p3 { left: 7%; bottom: 6%; rotate: 8deg; animation-delay: -4s; width: clamp(44px, 5vw, 70px); }
.prop.p4 { right: 9%; bottom: 14%; rotate: -10deg; animation-delay: -1s; width: clamp(44px, 5vw, 70px); }
@keyframes bob {
  to {
    transform: translateY(-14px) rotate(4deg);
  }
}
.genre > :not(.props),
.builds > :not(.props),
.stack-head > :not(.props) {
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .prop {
    width: 46px;
    opacity: 0.8;
  }
  .prop.p3,
  .prop.p4 {
    display: none;
  }
}

/* ---------- building picker ---------- */
.builds {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7svh var(--gutter) 8svh;
  text-align: center;
}
.bld-wrap {
  display: grid;
  gap: 22px;
  margin-top: 36px;
  text-align: left;
}
@media (max-width: 899px) {
  .bld-card {
    order: -1;
    position: relative;
    top: 0;
    scroll-margin-top: calc(var(--head) + 12px);
  }
}
@media (min-width: 900px) {
  .bld-wrap {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}
.bld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.bld {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 12px 6px 10px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d3d6c, #12284b);
  box-shadow: inset 0 0 0 2px rgba(190, 215, 255, 0.14), 0 4px 0 #061024;
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.bld-ic svg {
  width: 52px;
  height: 52px;
}
.bld-name {
  font: 700 0.8rem/1.15 var(--body);
  text-align: center;
  color: var(--text-2);
}
.bld[aria-pressed="true"] {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 3px rgba(255, 196, 77, 0.3), 0 7px 0 #061024;
}
.bld[aria-pressed="true"] .bld-name {
  color: var(--gold-hi);
}
@media (hover: hover) and (pointer: fine) {
  .bld:hover {
    transform: translateY(-3px);
  }
}
.bld-card {
  position: sticky;
  top: calc(var(--head) + 20px);
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: var(--panel);
  border: 1.5px solid rgba(255, 196, 77, 0.4);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}
.bld-big {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 196, 77, 0.3), rgba(255, 196, 77, 0.06) 70%);
  box-shadow: inset 0 0 0 2px rgba(255, 196, 77, 0.5);
}
.bld-big svg {
  width: 82px;
  height: 82px;
}
.bld-card h3 {
  margin: 4px 0 0;
  font: 800 1.7rem/1.1 var(--display);
}
.bld-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}
.bld-card.pop {
  animation: pop 360ms var(--pop);
}
@keyframes pop {
  from {
    transform: scale(0.96);
  }
}

/* ---------- stacked system cards ---------- */
.stack {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10svh var(--gutter) 6svh;
}
.stack-head {
  text-align: center;
  margin-bottom: 40px;
}
.scards {
  display: grid;
  gap: 28px;
}
.scard {
  --tone: #ffc44d;
  position: sticky;
  top: calc(var(--head) + 20px + var(--i) * 18px);
  display: grid;
  gap: 28px;
  align-items: center;
  min-height: min(76svh, 640px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 50%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%),
    linear-gradient(160deg, #183766, #0f2445 60%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tone) 45%, transparent), 0 -20px 50px -20px rgba(0, 0, 0, 0.7);
}
@media (min-width: 960px) {
  .scard {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
.scard-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 20%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tone) 60%, transparent);
  font: 800 0.86rem/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.scard-tag svg {
  width: 24px;
  height: 24px;
}
.scard h3 {
  margin: 16px 0 0;
  font: 800 clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem) / 1.05 var(--display);
  text-wrap: balance;
}
.scard p {
  margin: 14px 0 0;
  color: var(--text-2);
  max-width: 42ch;
}
.scard ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font: 700 0.98rem/1.3 var(--body);
}
.scard li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.scard li .ic {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.scard-media .window {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
}

/* ---------- evolution carousel ---------- */
.evo {
  position: relative;
  z-index: 1;
  padding: 10svh 0 8svh;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 36, 0.6) 30%, rgba(6, 16, 36, 0.6) 70%, transparent);
}
.evo-head {
  display: grid;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.evo-head .lede {
  margin: 0;
  text-align: left;
}
@media (min-width: 900px) {
  .evo-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .evo-head h2 {
    grid-column: 1 / -1;
  }
}
.evo-nav {
  display: flex;
  gap: 10px;
}
.evo-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  color: var(--gold-ink);
  font: 800 1.8rem/1 var(--display);
  box-shadow: 0 0 0 2px var(--outline), 0 4px 0 2px var(--outline);
  cursor: pointer;
}
.evo-btn:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 2px var(--outline), 0 1px 0 2px var(--outline);
}
.evo-track {
  display: flex;
  gap: 20px;
  margin: 32px 0 0;
  padding: 10px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 24px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.evo-track::-webkit-scrollbar {
  display: none;
}
.evo-card {
  flex: 0 0 min(80vw, 380px);
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b3a68, #10264a);
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 26px 40px -26px rgba(0, 0, 0, 0.9);
}
.evo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}
.evo-txt {
  padding: 18px 22px 24px;
}
.evo-card {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s, box-shadow 0.5s;
  opacity: 0.62;
  transform: scale(0.96);
}
.evo-card.is-on {
  opacity: 1;
  transform: none;
  box-shadow: inset 0 0 0 2px rgba(255, 196, 77, 0.75), 0 0 60px -18px rgba(255, 196, 77, 0.45), 0 26px 40px -26px rgba(0, 0, 0, 0.9);
}
.evo-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--gutter);
}
.evo-dots button {
  width: 34px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.evo-dots i {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.evo-dots .on i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold);
}
.evo-dots .run i::after {
  animation: evo-fill 3.4s linear both;
}
@keyframes evo-fill {
  from {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .evo-card {
    transition: none;
  }
}
.evo-n {
  font: 800 2.2rem/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}
.evo-txt h3 {
  margin: 6px 0 0;
  font: 800 1.4rem/1.1 var(--display);
}
.evo-txt p {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 0.98rem;
}

/* ---------- lower band: offer, questions ---------- */
.band {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding: 40px var(--gutter) 40px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 196, 77, 0.1), transparent 70%),
    linear-gradient(180deg, var(--band), #0b1b37 60%, var(--bg-deep));
}
.drift {
  position: absolute;
  left: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
}
.drift path {
  fill: var(--band);
}
.drift--top {
  bottom: 100%;
  margin-bottom: -1px;
}
.band h2 {
  text-align: center;
}
.lede {
  margin: 14px auto 0;
  max-width: 52ch;
  text-align: center;
  color: var(--text-2);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
}
.offer,
.faq {
  max-width: 1120px;
  margin: 0 auto;
  padding: 7svh 0;
}

/* free and full: two offer cards */
.cards {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
@media (min-width: 820px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}
.card {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 30px clamp(22px, 3vw, 36px) 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23, 51, 95, 0.9), rgba(13, 31, 61, 0.9));
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 30px 50px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.card--free {
  box-shadow: inset 0 0 0 2px rgba(255, 196, 77, 0.65), 0 0 60px -20px rgba(255, 196, 77, 0.35), 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}
.card h3 {
  margin: 4px 0 0;
  font: 800 1.5rem/1.1 var(--display);
}
.card p {
  margin: 0;
  color: var(--text-2);
  max-width: 42ch;
}
.card .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  font: 800 clamp(2.4rem, 1.8rem + 2vw, 3.4rem) / 1 var(--display);
  color: var(--text);
}
.card--free .price {
  color: var(--gold);
}
.card .price small {
  font: 700 0.92rem/1 var(--body);
  color: var(--text-2);
}
.card .btn {
  margin-top: 12px;
}
.tag {
  padding: 5px 12px 4px;
  border-radius: 999px;
  color: var(--gold-ink);
  background: var(--gold);
  font: 800 0.8rem/1.2 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag--dark {
  color: #fff;
  background: var(--red);
}
.mini {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font: 700 0.95rem/1.2 var(--body);
}
.mini li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini .ic {
  width: 20px;
  height: 20px;
}
.offer .note {
  margin: 22px auto 0;
  text-align: center;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* questions */
.faq {
  max-width: 820px;
  display: grid;
  gap: 12px;
}
.faq h2 {
  margin-bottom: 18px;
}
.faq details {
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  transition: border-color 200ms var(--ease);
}
.faq details[open] {
  border-color: rgba(255, 196, 77, 0.4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font: 800 1.12rem/1.3 var(--display);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background:
    linear-gradient(var(--gold-ink), var(--gold-ink)) center / 10px 2.5px no-repeat,
    linear-gradient(var(--gold-ink), var(--gold-ink)) center / 2.5px 10px no-repeat,
    var(--gold);
  transition: rotate 220ms var(--ease);
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-2);
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  padding: 40px var(--gutter) 56px;
  background: var(--bg-deep);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  color: var(--text-2);
  font-size: 0.95rem;
}
.foot-cta {
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: 20px 0 30px;
}
.logo--sm {
  justify-items: center;
}
.logo--sm .l1 {
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem);
}
.logo--sm .l2 {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem);
}
.logo--sm .ribbon {
  margin-left: 0;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.foot nav a {
  color: var(--text-2);
}
.foot a[aria-current="true"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.foot p {
  margin: 0;
}

/* ---------- snow: flakes drifting over everything ---------- */
.snow {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}
.snow i {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #fff;
  opacity: var(--o, 0.3);
  animation: fall var(--d) linear var(--w) infinite;
}
@keyframes fall {
  to {
    transform: translate(40px, 105svh);
  }
}
.page,
.foot {
  position: relative;
  z-index: 1;
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .snow,
  .scroll-hint i::after {
    display: none;
  }
  .stars i,
  .aurora,
  .hero-video,
  .tick-row,
  .prop,
  .hero-art img,
  .btn--play::after,
  .tree .star::before,
  .stage[data-lit="24"] .tree i {
    animation: none !important;
  }
  .tree .row i,
  .tree .star,
  .window,
  .dock,
  .btn,
  .top-tag,
  .hud-bar i,
  .halo {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .stage.launch .sleigh {
    animation: none;
    opacity: 1;
    translate: 20cqw -8cqh;
    rotate: -10deg;
  }
}
