/* ════════════════════════════════════════════════════════════════════════════
   EPSTEIN SIMULATOR · marketing site (v3, white-trust edition)
   The game's approved DOM-UI language: Lilita One + Nunito, the giui token
   palette as ACCENTS on clean white surfaces. Generated pixel key art in the
   hero; pixel art is content, never chrome. Gentle motion everywhere.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── giui accent palette (identical tokens to src/ui/dom/overlay.css) ── */
  --leaf:     #3e8e52;
  --brown:    #5d3a1e;
  --cream:    #fdf2cf;
  --bamboo:   #d9b569;
  --hibiscus: #e8506b;
  --leaf-d:     color-mix(in srgb, var(--leaf) 78%, #000);
  --bamboo-d:   color-mix(in srgb, var(--bamboo) 74%, #000);
  --hibiscus-d: color-mix(in srgb, var(--hibiscus) 76%, #000);
  --ink:        var(--brown);
  --ink-soft:   color-mix(in srgb, var(--brown), #fff 32%);
  --ink-faint:  color-mix(in srgb, var(--brown), #fff 48%);
  --line:       color-mix(in srgb, var(--brown), transparent 82%);
  --night:      color-mix(in srgb, var(--brown) 88%, #000);
  /* white-trust surfaces */
  --paper:   #ffffff;
  --surface: #f7f6f3;
  --tint:    #f7f7f4;
  /* hero art sky tone (for text shadows) */
  --ocean-d: #23708a;
  /* spacing + radius + control height */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --r1:8px; --r2:12px; --r3:18px; --r4:24px; --btn:48px;
  --display:"Lilita One",sans-serif;
  --body:"Nunito",sans-serif;
  --shadow-card: 0 0 0 1px var(--line), 0 10px 28px -14px rgba(93,58,30,.28);
  --shadow-pop:  0 0 0 1px var(--line), 0 18px 40px -16px rgba(93,58,30,.32);
  --spring: cubic-bezier(.2,1.4,.4,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--leaf), #fff 60%); }

/* pixel art = crisp; hi-res renders stay smooth */
.sprite, .feature__medallion img, .pricechip img, .chipline__coin img,
.tokencoin img, .footer__logo, .nav__logo { image-rendering: pixelated; }

/* ════ SHARED MOTION ════ */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes twinkle{ 0%,100% { opacity: .15; transform: scale(.7); } 50% { opacity: .9; transform: scale(1.15); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hop    { 0% { transform: translateY(0); } 35% { transform: translateY(-9px) scale(1.02,.98); } 70% { transform: translateY(0) scale(.99,1.01); } 100% { transform: none; } }
@keyframes shimmer { 0% { left: -60%; } 55%, 100% { left: 140%; } }
.floaty { animation: floaty 3.6s ease-in-out infinite; }

/* ════ TYPE ════ */
.kicker {
  font-family: var(--body);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--hibiscus);
  margin-bottom: var(--s3);
}
.kicker--light { color: var(--bamboo); }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: var(--s4);
  letter-spacing: .2px;
}
.h2--light { color: var(--cream); }
.h2--token { font-size: clamp(40px, 5.5vw, 58px); }
.lead {
  max-width: 620px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 48px;
  text-wrap: pretty;
}
.lead--light { color: color-mix(in srgb, var(--cream), transparent 22%); margin-left: auto; margin-right: auto; }
.center-note {
  text-align: center;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 52px auto 0;
}
.pill-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .4px;
  color: var(--brown);
  background: var(--bamboo);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;   /* a badge never wraps into a blob */
  flex: 0 0 auto;
}

/* ════ BUTTONS ════ */
.btn {
  height: var(--btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0 22px;
  border: 0;
  border-radius: var(--r2);
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: .3px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  transition: filter .12s ease, transform .15s var(--spring), box-shadow .12s ease;
}
.btn--play    { background: var(--hibiscus); color: #fff; box-shadow: 0 4px 0 var(--hibiscus-d); }
.btn--primary { background: var(--leaf); color: #fff; box-shadow: 0 4px 0 var(--leaf-d); }
.btn--bamboo  { background: var(--bamboo); color: var(--brown); box-shadow: 0 4px 0 var(--bamboo-d); }
.btn--cream   { background: #fff; color: var(--ink); box-shadow: 0 4px 0 color-mix(in srgb, var(--brown), transparent 72%); }
.btn--outline { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cream), transparent 55%); }
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn--play:hover    { box-shadow: 0 6px 0 var(--hibiscus-d); }
.btn--primary:hover { box-shadow: 0 6px 0 var(--leaf-d); }
.btn--bamboo:hover  { box-shadow: 0 6px 0 var(--bamboo-d); }
.btn--cream:hover   { box-shadow: 0 6px 0 color-mix(in srgb, var(--brown), transparent 72%); }
.btn:active { transform: translateY(3px); box-shadow: none; }
/* glossy shimmer sweeping across the main CTAs */
.btn--play, .btn--primary { position: relative; overflow: hidden; }
.btn--play::after, .btn--primary::after {
  content: "";
  position: absolute;
  top: -4px; bottom: -4px; left: -60%;
  width: 42%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5) 50%, transparent);
  transform: skewX(-18deg);
  animation: shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
.btn--primary::after { animation-delay: 1.4s; }
.btn--outline:active { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cream), transparent 55%); }
.btn--xl { height: 56px; padding: 0 28px; font-size: 18px; border-radius: 14px; }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--leaf), transparent 40%); outline-offset: 2px; }

/* ════ BADGES ════ */
.badge {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .4px;
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--leaf { background: var(--leaf); }
.badge--hibiscus { background: var(--hibiscus); }

/* ════ NAV ════ */
.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s5);
  width: min(1060px, 100%);
  height: 62px;
  padding: 0 10px 0 12px;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(35,112,138,.35);
  backdrop-filter: blur(8px);
}
.nav__brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; min-width: 0; }
.nav__logo { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--line); transition: transform .25s var(--spring); }
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.07); }
.nav__word { font-family: var(--display); font-size: 17px; color: var(--ink); white-space: nowrap; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease;
}
.nav__links a:hover { background: var(--surface); color: var(--ink); }
.nav__play { height: 44px; border-radius: 999px; padding: 0 24px; }

/* ════ HERO (generated pixel key art) ════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92svh;
  background: url('assets/img/hero.webp') center bottom / cover no-repeat #7fd4e3;
  overflow: hidden;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,112,138,.18), rgba(35,112,138,0) 34%);
  pointer-events: none;
}
/* soft drifting clouds — mobile only (the desktop hero art has its own painted clouds) */
.hero__clouds { display: none; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.cloud {
  position: absolute;
  width: 88px; height: 26px;
  background: #fff;
  border-radius: 999px;
  filter: blur(1.2px);
  opacity: .8;
  animation: drift 18s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 40px; height: 40px; top: -18px; left: 12px; }
.cloud::after  { width: 28px; height: 28px; top: -11px; left: 50px; }
.cloud--1 { top: 17%; left: 6%;  transform: scale(1);   opacity: .82; animation-duration: 19s; }
.cloud--2 { top: 12%; right: 7%; transform: scale(.82); opacity: .72; animation-duration: 23s; animation-delay: -6s; }
.cloud--3 { top: 27%; left: 38%; transform: scale(.62); opacity: .58; animation-duration: 27s; animation-delay: -12s; }
@keyframes drift { from { margin-left: 0; } to { margin-left: 26px; } }

.hero__inner {
  flex: 1;
  width: min(1060px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 140px 24px 120px;
  position: relative;
  z-index: 3;
}
.hero__top, .hero__btm { display: flex; flex-direction: column; align-items: inherit; width: 100%; }
.hero__top > *, .hero__btm > * { max-width: 560px; }
.rise { animation: riseIn .7s var(--spring) both; }
.r1 { animation-delay: .05s; } .r2 { animation-delay: .16s; } .r3 { animation-delay: .28s; }
.r4 { animation-delay: .38s; } .r5 { animation-delay: .48s; } .r6 { animation-delay: .6s; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -6px rgba(31,86,99,.35);
  margin-bottom: 26px;
}
.livedot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--leaf), transparent 40%); }
  75%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 86px);
  line-height: .98;
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 3px 0 rgba(31,86,99,.42), 0 16px 38px rgba(31,86,99,.5);
  margin-bottom: 18px;
}
.hero__sub {
  max-width: 520px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  color: #fff;
  background: rgba(18,56,68,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: var(--s4); flex-wrap: wrap; }
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 4;
}
.hero__wave svg { width: 100%; height: 56px; display: block; }
.hero__wave path { fill: #fff; }

/* ════ SECTIONS ════ */
.section { padding: 104px 24px; position: relative; background: #fff; }
.section--tint { background: var(--tint); }
.wrap { max-width: 1060px; margin: 0 auto; }
.wrap--faq { max-width: 760px; }

/* ════ CARD ════ */
.card { background: var(--paper); border-radius: var(--r4); box-shadow: var(--shadow-card); }

/* feature cards */
.cards3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s5);
  margin-bottom: 56px;
}
.feature { padding: var(--s5); transition: transform .18s var(--spring), box-shadow .18s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.feature__medallion {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
  margin-bottom: var(--s4);
}
.feature:hover .feature__medallion img { animation: hop .55s var(--spring); }
.feature__title { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: var(--s2); }
.feature__body { font-size: 15px; font-weight: 700; color: var(--ink-soft); line-height: 1.55; }

/* ════ SHOP SHOWCASE ════ */
.shopcase { padding: var(--s5); }
.shopcase__head { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.shopcase__sub { font-size: 14.5px; font-weight: 800; color: var(--ink-soft); }
.shoprail {
  overflow: hidden;
  margin: 0 calc(-1 * var(--s5));
  padding: var(--s1) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.shoprail__track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  padding: 0 var(--s5);
  animation: rail 120s linear infinite;
}
.shoprail:hover .shoprail__track { animation-play-state: paused; }
.shopitem {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: var(--s4) var(--s3);
  text-align: center;
  transition: transform .18s var(--spring), box-shadow .18s ease, background .18s ease;
}
.shopitem:hover {
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--leaf), #fff 92%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--leaf), transparent 55%);
}
.shopitem__art { height: 92px; display: flex; align-items: center; justify-content: center; }
.shopitem__art img {
  max-height: 92px;
  max-width: 128px;
  width: auto;
  animation: floaty 4.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 10px 8px rgba(93,58,30,.2));
}
.shopitem__name {
  font-family: var(--display);
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pricechip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--bamboo-d);
  background: color-mix(in srgb, var(--bamboo), #fff 78%);
  border: 1px solid color-mix(in srgb, var(--bamboo), #fff 45%);
  padding: 4px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.pricechip img { width: 18px; height: 18px; }

/* ════ ECONOMY — one card, two economies, no bridge ════ */
.duel {
  display: grid;
  grid-template-columns: 1fr 104px 1fr;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.duel__side { padding: var(--s6) var(--s5); min-width: 0; }
.duel__mid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
}
.duel__mid::before {
  content: "";
  position: absolute;
  top: 28px; bottom: 28px; left: 50%;
  border-left: 2px dashed color-mix(in srgb, var(--brown), transparent 70%);
}
.duel__nolabel {
  position: relative;
  z-index: 1;
  font-family: var(--body);
  font-weight: 900;
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hibiscus);
  background: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
  white-space: nowrap;
}
.chipline { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.chipline__title { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink); }
.chipline__coin {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
}
.chipline__coin--sol { font-size: 20px; font-weight: 900; background: var(--night); color: #7cf5c9; box-shadow: none; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s4); }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.45;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 1.5px 0 var(--leaf-d);
}
.sidenote { font-size: 13.5px; font-weight: 800; border-radius: var(--r2); padding: var(--s3) var(--s4); }
.sidenote--leaf {
  color: var(--leaf-d);
  background: color-mix(in srgb, var(--leaf), #fff 90%);
  border: 1px solid color-mix(in srgb, var(--leaf), #fff 65%);
}
.sidenote--bamboo {
  color: var(--bamboo-d);
  background: color-mix(in srgb, var(--bamboo), #fff 84%);
  border: 1px solid color-mix(in srgb, var(--bamboo), #fff 55%);
}
/* ════ LAND ════ */
.landgrid {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: 48px;
  align-items: start;
}
.shot {
  background: var(--paper);
  border-radius: var(--r4);
  box-shadow: var(--shadow-pop);
  padding: var(--s2);
  margin: 0;
  overflow: hidden;
}
.shot img {
  width: 100%;
  border-radius: var(--r3);
  transition: transform .35s var(--spring);
}
.shot:hover img { transform: scale(1.025); }
.shot__frame { position: relative; }
.mappin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: .3px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -8px rgba(21,63,78,.5);
  animation: floaty 4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  white-space: nowrap;
}
.mappin::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.mappin--sale::before  { background: var(--hibiscus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hibiscus), transparent 75%); }
.mappin--owned::before { background: var(--leaf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--leaf), transparent 75%); }
.shot__cap {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s2) var(--s1);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-soft);
}
.steps { list-style: none; display: flex; flex-direction: column; gap: var(--s5); margin-bottom: var(--s6); }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: var(--s4);
  align-items: start;
}
.step__num {
  font-family: var(--display);
  font-size: 17px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 3px 0 var(--leaf-d);
  transition: transform .22s var(--spring);
}
.step:hover .step__num { transform: translateY(-3px) rotate(-6deg); }
.step__text h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  padding-top: 10px;          /* optically centers the title on the number disc */
  margin-bottom: 6px;
}
.step__text p { font-size: 15px; font-weight: 700; color: var(--ink-soft); line-height: 1.5; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s4) var(--s2) var(--s3);
  text-align: center;
  min-width: 0;
  box-shadow: 0 6px 18px -12px rgba(93,58,30,.25);
  transition: transform .18s var(--spring), box-shadow .18s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(93,58,30,.32); }
.stat__v {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--leaf-d);
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.stat__l { font-weight: 800; font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-faint); }

.landcta { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); }
.landcta .btn { min-width: 170px; }
.landcta__note { font-size: 13px; font-weight: 800; color: var(--ink-faint); max-width: 280px; line-height: 1.45; }

/* ════ TOKEN (dark feature block on white) ════ */
.tokenblock {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 130% at 50% -10%, #2e8aa6, #1a4c5e 58%, #123844 100%);
  border-radius: 32px;
  box-shadow: 0 30px 70px -28px rgba(18,56,68,.65);
  padding: 64px 28px 56px;
  text-align: center;
}
.spark { color: #ffe9a3; }
.spark {
  position: absolute;
  color: var(--bamboo);
  font-size: 18px;
  animation: twinkle 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}
/* boarding-pass ticket */
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 26px 60px -22px rgba(0,0,0,.5);
  text-align: left;
  overflow: hidden;
}
.ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--s5);
  border-right: 2px dashed color-mix(in srgb, var(--brown), transparent 72%);
  background: var(--surface);
}
/* punched notches on the perforation */
.ticket__stub::before, .ticket__stub::after {
  content: "";
  position: absolute;
  right: -13px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1a4c5e;   /* matches the tokenblock backdrop */
}
.ticket__stub::before { top: -13px; }
.ticket__stub::after  { bottom: -13px; }
.ticket__coin {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--bamboo), #fff 14%);
  box-shadow: 0 0 0 4px var(--bamboo-d), 0 10px 22px -8px rgba(93,58,30,.45);
  animation: floaty 4.5s ease-in-out infinite;   /* the whole medallion floats as one unit */
}
.ticket__ticker {
  font-family: var(--display);
  font-size: 30px;
  color: var(--ink);
  letter-spacing: .5px;
}
.ticket__body {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  min-width: 0;
}
.ca {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--bamboo), #fff 30%);
  border-radius: var(--r2);
  padding: var(--s2);
}
.ca__label {
  flex: 0 0 auto;
  font-family: var(--body);
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 7px 4px 7px 8px;
  border-radius: var(--r1);
}
.ca__addr {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;   /* real CA: always show every character */
}
.ca__copy { height: 40px; border-radius: var(--r1); font-size: 14px; padding: 0 18px; flex: 0 0 auto; }
.pays { display: flex; flex-direction: column; gap: var(--s3); }
.pays__label { font-weight: 900; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-faint); }
.pays__row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.paychip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--display);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform .15s var(--spring);
}
.paychip:hover { transform: translateY(-2px); }
.paychip__ic {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  font-family: var(--body);
  background: var(--night);
  color: #7cf5c9;
}
.paychip--hot { background: var(--hibiscus); color: #fff; box-shadow: 0 3px 0 var(--hibiscus-d); }
.fine {
  margin-top: var(--s5);
  font-size: 13px;
  font-weight: 700;
  color: color-mix(in srgb, var(--cream), transparent 45%);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ════ CAST RAIL — compact, drifts sideways gently, pauses on hover ════ */
.castrail {
  overflow: hidden;
  padding: var(--s2) 0 var(--s3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.castrail__track {
  display: flex;
  gap: var(--s4);
  width: max-content;
  animation: rail 70s linear infinite;
}
.castrail:hover .castrail__track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }

.cast-card {
  flex: 0 0 auto;
  width: 178px;
  background: var(--paper);
  border-radius: var(--r3);
  box-shadow: var(--shadow-card);
  padding: var(--s2) var(--s2) var(--s3);
  text-align: center;
  transition: transform .18s var(--spring), box-shadow .18s ease;
}
.cast-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.cast-card__thumb {
  position: relative;
  border-radius: var(--r2);
  background: linear-gradient(180deg, #bfe6f5, #dff0d8 72%, #efe2bd);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 128px;
  overflow: hidden;
  margin-bottom: var(--s2);
}
.cast-card__thumb::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 10px;
  border-radius: 50%;
  background: rgba(93,58,30,.16);
  filter: blur(2px);
}
.cast-card__thumb img {
  position: relative;
  z-index: 1;
  height: 108px;
  width: auto;
  transform-origin: 50% 100%;
  animation: floaty 4.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.cast-card:hover .cast-card__thumb img { animation: hop .55s var(--spring); }
.cast-card__name {
  display: inline-block;
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: .4px;
  color: #fff;
  background: var(--hibiscus);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.cast-card__bio { font-size: 12px; font-weight: 700; color: var(--ink-soft); line-height: 1.4; padding: 0 var(--s1); }

/* ════ FAQ ════ */
.faq {
  background: var(--paper);
  border-radius: var(--r3);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--s3);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: var(--s3);
  cursor: pointer;
  border: 0;
  background: none;
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
  padding: 18px var(--s5);
  transition: background .12s ease;
}
.faq__q:hover { background: var(--surface); }
.faq__q:focus-visible { outline: 3px solid color-mix(in srgb, var(--leaf), transparent 40%); outline-offset: -3px; }
.faq__chip {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--body);
  font-weight: 900;
  font-size: 15px;
  color: var(--leaf-d);
  background: color-mix(in srgb, var(--leaf), #fff 86%);
  transition: transform .3s var(--spring), background .2s ease;
}
.faq.open .faq__chip { transform: rotate(45deg); background: color-mix(in srgb, var(--leaf), #fff 74%); }
/* one open at a time; the body slides both directions via grid-rows */
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--spring); }
.faq.open .faq__body { grid-template-rows: 1fr; }
.faq__body p {
  overflow: hidden;
  min-height: 0;
  padding: 0 var(--s5);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .26s ease .06s, transform .3s var(--spring) .06s, padding .2s ease;
}
.faq.open .faq__body p { padding-bottom: 20px; opacity: 1; transform: none; }

/* ════ FOOTER ════ */
.footer { background: var(--night); text-align: center; padding: 84px 24px 64px; }
.footer__logo {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bamboo), transparent 30%), 0 14px 34px rgba(0,0,0,.4);
}
.footer__slogan { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); color: var(--cream); margin-bottom: 28px; }
.footer__cta { display: flex; justify-content: center; margin-bottom: var(--s4); }
.footer__social { display: flex; gap: var(--s3); justify-content: center; margin-bottom: 44px; }
.social {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cream), transparent 60%);
  transition: transform .15s var(--spring), background .12s ease;
}
.social svg { width: 21px; height: 21px; display: block; }
.social:hover { transform: translateY(-3px) rotate(-8deg) scale(1.06); background: rgba(255,255,255,.16); }
.footer__legal {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
  color: color-mix(in srgb, var(--cream), transparent 55%);
}

/* ════ REVEAL ════ */
.reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .55s ease, transform .55s var(--spring); }
.reveal.in { opacity: 1; transform: none; }
/* siblings cascade in with a gentle stagger */
.cards3 .feature:nth-child(2), .steps .step:nth-child(2), .faq:nth-of-type(2) { transition-delay: .08s; }
.cards3 .feature:nth-child(3), .steps .step:nth-child(3), .faq:nth-of-type(3) { transition-delay: .16s; }
.faq:nth-of-type(4) { transition-delay: .24s; }
.faq:nth-of-type(5) { transition-delay: .32s; }
.reveal.in { transition-delay: inherit; }

/* ════ RESPONSIVE ════ */
@media (max-width: 960px) {
  .landgrid { grid-template-columns: 1fr; }
  .duel { grid-template-columns: 1fr; }
  .duel__mid { flex-direction: row; padding: var(--s2) 0; }
  .duel__mid::before {
    top: 50%; left: 28px; right: 28px; bottom: auto;
    border-left: 0;
    border-top: 2px dashed color-mix(in srgb, var(--brown), transparent 70%);
  }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .section { padding: 76px 18px; }

  /* hero: title up top over the sky, art breathing in the middle, CTAs at the base */
  .hero { min-height: 100svh; }
  .hero__clouds { display: block; }
  .hero__inner { padding: 92px 20px 72px; align-items: center; justify-content: space-between; text-align: center; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { margin-bottom: 0; }
  .hero__sub { font-size: 16px; margin-bottom: 22px; }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    gap: var(--s3);
  }
  .hero__veil { background: linear-gradient(180deg, rgba(35,112,138,.32), rgba(35,112,138,.16) 55%, rgba(35,112,138,0) 82%); }

  .mappin { font-size: 10px; padding: 5px 9px; }
  .stats { gap: var(--s2); }

  /* land CTA: one wide centered button, note beneath */
  .landcta { flex-direction: column; align-items: stretch; text-align: center; gap: var(--s3); }
  .landcta .btn { width: 100%; }
  .landcta__note { max-width: none; }

  /* token ticket: label left, Copy right, address underneath */
  .ca { flex-wrap: wrap; }
  .ca__copy { margin-left: auto; }
  .ca__addr { flex-basis: 100%; order: 3; padding: var(--s2) var(--s1) var(--s1); }
  .pays__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .paychip { justify-content: center; padding: 9px 6px; font-size: 13px; }
  .tokenblock { border-radius: 24px; padding: 48px 18px 44px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub {
    border-right: 0;
    border-bottom: 2px dashed color-mix(in srgb, var(--brown), transparent 72%);
  }
  .ticket__stub::before { top: auto; bottom: -13px; left: -13px; right: auto; }
  .ticket__stub::after  { bottom: -13px; left: auto; right: -13px; }
}

/* ════ MOTION SAFETY ════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floaty, .rise, .spark, .shopitem__art img, .mappin, .livedot, .ticket__coin,
  .shoprail__track, .castrail__track, .cast-card__thumb img,
  .btn--play::after, .btn--primary::after { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .cast-card, .btn, .feature, .shopitem, .shot img, .stat, .step__num,
  .faq__body, .faq__body p, .faq__chip, .nav__logo, .social { transition: none; }
}
