/* rektpot · site.css
 * owns the design tokens. every other stylesheet uses these vars and never
 * redefines them. flat fills, 3px ink outlines, hard offset shadows, no
 * gradients, no blur.
 */

/* ===================================================================
   design tokens (shared contract, defined once, here)
   =================================================================== */
:root {
  --ink: #1A1A1A;
  --sky: #7ED6F5;
  --sky-light: #A8E4F8;
  --pink: #FF5A8C;
  --pink-dark: #C34A72;
  --pink-light: #FFD4E5;
  --gold: #FFD93D;
  --gold-light: #FFF3C4;
  --mint: #9FEBB3;
  --lav: #C7B8FF;
  --lav-light: #E6E0FF;
  --cream: #FFF3D6;
  --white: #FFFFFF;
  /* secondary text. #3F4856 clears 5.6:1 on every section colour, sky included */
  --muted: #3F4856;
  /* deep pink for anything with white text on it (5.6:1). plain --pink is too
     light for white text and too loud under ink text, so it stays for fills:
     the pot, bars, dots, outlined display type. */
  --pink-deep: #C42460;

  --font: 'Fredoka', 'Poppins', system-ui, sans-serif;

  --outline: 3px solid var(--ink);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 3px 0 var(--ink);
  --shadow: 0 4px 0 var(--ink);
  --shadow-lg: 0 6px 0 var(--ink);
}

/* page-local helpers (not part of the shared contract) */
:root {
  --site-gutter: 16px;
  --site-nav-h: 64px;
}
@media (min-width: 768px) {
  :root { --site-gutter: 24px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--ink); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: var(--site-gutter);
  top: -80px;
  z-index: 100;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}

/* ===================================================================
   type
   =================================================================== */

/* chunky outlined headline: fill + ink stroke + hard drop. paint-order keeps
   the stroke outside the letters so they stay fat. */
.h-chunky {
  --fill: var(--white);
  color: var(--fill);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0.1em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0.075em 0 var(--ink);
  text-wrap: balance;
}

.section-title {
  font-size: clamp(32px, 7vw, 56px);
  text-align: center;
  max-width: 920px;
  margin: 0 auto 16px;
}
/* phones: a thinner outline keeps the holes in e, a, o open at 32px, and a
   little more leading keeps stacked lines apart */
@media (max-width: 599px) {
  .section-title {
    -webkit-text-stroke-width: 0.085em;
    text-shadow: 0 0.06em 0 var(--ink);
    line-height: 1.1;
  }
}

.section-intro {
  text-align: center;
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 34em;
  margin: 0 auto 44px;
  text-wrap: pretty;
}
.section-intro-wide { max-width: 44em; }

.card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}

/* ===================================================================
   buttons, chips, cards
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  color: var(--ink);
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* button system
   primary   .btn-pink   white on deep pink (5.6:1), the one "get in line" action
   alt       .btn-gold   ink on gold (12.6:1)
   secondary .btn-white  ink on white (17.4:1), also the .btn default
   disabled  .btn-soon   muted on cream, dashed, no shadow (8.4:1) */
.btn-pink { background: var(--pink-deep); color: var(--white); }
.btn-gold { background: var(--gold); }
.btn-white { background: var(--white); }

.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 15px; box-shadow: var(--shadow-sm); }
.btn-sm:hover { box-shadow: var(--shadow); }
.btn-lg { min-height: 56px; padding: 14px 24px; font-size: 18px; box-shadow: var(--shadow-lg); }
.btn-lg:hover { box-shadow: 0 8px 0 var(--ink); }
.btn-xl { min-height: 62px; padding: 16px 30px; font-size: 20px; box-shadow: var(--shadow-lg); }
.btn-xl:hover { box-shadow: 0 8px 0 var(--ink); }

/* the waitlist button while the bot doesn't exist yet */
.btn-soon,
.btn-soon:hover,
.btn-soon:active {
  background: var(--cream);
  color: var(--muted);
  border-style: dashed;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn-soon.is-nope { animation: nope 0.4s ease; }
@keyframes nope {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.card {
  position: relative;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: none;
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.icon-tile svg { width: 40px; height: 40px; }
.icon-tile-pink { background: var(--pink-light); }
.icon-tile-sky { background: var(--sky-light); }
.icon-tile-gold { background: var(--gold); }
.icon-tile-lav { background: var(--lav-light); }
.icon-tile-mint { background: var(--mint); }

/* ===================================================================
   header / nav
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sky);
  border-bottom: var(--outline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--site-nav-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  flex: none;
}
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo:hover .logo-mark { animation: wobble 0.5s ease; }
@keyframes wobble {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-8deg); }
  70% { transform: rotate(6deg); }
}

.nav-links { display: none; }
.nav-links ul { list-style: none; display: flex; gap: 2px; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { background: var(--sky-light); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
.nav-toggle:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

/* mobile menu panel */
.site-header.is-open .nav-links {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--sky);
  border-bottom: var(--outline);
  padding: 8px var(--site-gutter) 16px;
}
.site-header.is-open .nav-links ul { flex-direction: column; gap: 4px; }
.site-header.is-open .nav-links a { font-size: 19px; padding: 12px 14px; background: var(--white); border: var(--outline); box-shadow: var(--shadow-sm); }

@media (min-width: 880px) {
  .nav-links,
  .site-header.is-open .nav-links {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-header.is-open .nav-links ul { flex-direction: row; gap: 2px; }
  .site-header.is-open .nav-links a { font-size: 16px; padding: 8px 12px; background: none; border: 0; box-shadow: none; }
  .nav-toggle { display: none; }
}

/* ===================================================================
   hero
   =================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding: 28px 0 60px;
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 80px; }
}

/* sky decorations */
.hero-sky,
.waitlist-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cloud { position: absolute; width: 120px; height: 60px; animation: drift 16s ease-in-out infinite; }
.cloud-1 { top: 18px; left: -36px; width: 104px; height: 52px; }
.cloud-2 { top: 210px; right: -42px; width: 120px; height: 60px; animation-delay: -5s; }
.cloud-3 { display: none; }
.cloud-4 { display: none; }
@media (min-width: 960px) {
  .cloud-1 { top: 34px; left: 2%; width: 140px; height: 70px; }
  .cloud-2 { top: 54px; right: 3%; width: 120px; height: 60px; }
  .cloud-3 { display: block; bottom: 70px; left: 38%; width: 96px; height: 48px; animation-delay: -9s; }
  .cloud-4 { display: block; bottom: 120px; right: -30px; width: 150px; height: 75px; animation-delay: -12s; }
}
@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(22px); }
}

.deco-coin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: var(--outline);
  box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 6.5px var(--ink);
  animation: bob 4s ease-in-out infinite;
}
.deco-coin-1 { top: 340px; right: 9%; }
.deco-coin-2 { top: 420px; left: 6%; width: 18px; height: 18px; animation-delay: -1.3s; }
.deco-coin-3 { display: none; bottom: 4%; right: 7%; width: 30px; height: 30px; animation-delay: -2.6s; }
@media (min-width: 960px) {
  .deco-coin-1 { top: 96px; right: 12%; }
  .deco-coin-2 { top: auto; bottom: 18%; left: 8%; }
  .deco-coin-3 { display: block; bottom: 9%; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* stacking inside the hero (no stacking contexts on the wrappers on purpose):
   clouds 0 < copy (auto) < clock card 1 < pot 2 < flung coins 5 < bubble 6 */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "stage" "actions";
  row-gap: 28px;
  justify-items: center;
  text-align: center;
}
.hero-copy { grid-area: copy; }
.hero-stage { grid-area: stage; }
.hero-actions { grid-area: actions; width: 100%; }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "copy stage" "actions stage";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 32px;
    justify-items: start;
    text-align: left;
  }
  .hero-copy { align-self: end; }
  .hero-actions { align-self: start; }
  .hero-stage { align-self: center; justify-self: center; padding-top: 88px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .eyebrow { border-radius: 999px; font-size: 15px; }
}
.eyebrow-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--ink);
}

.hero-title {
  font-size: clamp(38px, 9.4vw, 68px);
  margin-bottom: 14px;
}
.hl-gold { color: var(--gold); }

.hero-sub {
  display: inline-block;
  font-size: clamp(26px, 6.4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pink);
  -webkit-text-stroke: 0.11em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0.08em 0 var(--ink);
}
/* at phone sizes (26-36px) the full outline fills the letter holes */
@media (max-width: 599px) {
  .hero-sub {
    -webkit-text-stroke-width: 0.085em;
    text-shadow: 0 0.06em 0 var(--ink);
  }
}

/* stage: rekt in his pot, sitting on the clock */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pot-wrap {
  position: relative;
  width: clamp(176px, 54vw, 270px);
  margin-bottom: -5px;
}
.rekt-pot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  overflow: visible;
  transform-origin: 50% 100%;
}

.rekt-bob { animation: rekt-bob 3.4s ease-in-out infinite; }
@keyframes rekt-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.rekt-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  95.5% { transform: scaleY(0.08); }
}

.pot-wrap.is-hop .rekt-pot { animation: pot-hop 0.7s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes pot-hop {
  0% { transform: translateY(0) scale(1, 1); }
  18% { transform: translateY(0) scale(1.07, 0.9); }
  45% { transform: translateY(-16px) scale(0.95, 1.06); }
  75% { transform: translateY(0) scale(1.03, 0.97); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* clock-zero speech bubble */
.zero-bubble {
  position: absolute;
  left: 50%;
  bottom: 94%;
  z-index: 6;
  width: max-content;
  max-width: min(310px, calc(100vw - 2 * var(--site-gutter)));
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px 14px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px) scale(0.7);
  transform-origin: 50% 100%;
  transition: opacity 0.18s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s linear 0.28s;
}
.zero-bubble.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 0s;
}
.zero-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-right: var(--outline);
  border-bottom: var(--outline);
  transform: translate(-50%, -48%) rotate(45deg);
}
.zero-big {
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}
.zero-small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* the global clock */
.clock-card {
  position: relative;
  z-index: 1;
  width: 100%;
  container-type: inline-size;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 14px 20px;
  text-align: center;
}
@media (min-width: 480px) {
  .clock-card { padding: 22px 22px 24px; }
}

.clock-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.clock-digits {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.06em;
  font-size: clamp(36px, 11vw, 88px);
  font-size: clamp(34px, 16.5cqi, 92px);
  margin-bottom: 14px;
}
.clock-unit { display: flex; flex-direction: column; align-items: center; }
.clock-box {
  display: block;
  width: 1.5em;
  padding: 0.12em 0 0.1em;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gold);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.clock-box-sec { background: var(--pink-deep); color: var(--white); }
.clock-colon {
  font-weight: 700;
  line-height: 1;
  padding-top: 0.1em;
  width: 0.36em;
  text-align: center;
}
.clock-unit-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

.clock-caveat {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.clock-local {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.clock-local strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* coins flung at clock zero */
.fling-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}
.fling-coin {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  will-change: transform;
}
.fling-coin i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gold);
  border: var(--outline);
  box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 6.5px var(--ink);
  animation: coin-flip 0.5s linear infinite;
}
@keyframes coin-flip {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.18); }
}

/* hero ctas + stat chips */
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  width: 100%;
  max-width: 420px;
}
.cta-row .btn { flex: 1 1 auto; }

.stat-chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 460px;
}
.chip {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2px;
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 8px 10px;
}
.chip-label { font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.chip-value { font-size: 19px; font-weight: 700; line-height: 1.15; }

@media (min-width: 960px) {
  .hero-actions { align-items: flex-start; }
  .cta-row { justify-content: flex-start; max-width: none; }
  .cta-row .btn { flex: 0 0 auto; }
  .chip { padding: 10px 14px; }
}

/* ===================================================================
   sections (one hero colour each)
   =================================================================== */
.section {
  position: relative;
  padding: 64px 0 72px;
  border-top: var(--outline);
}
@media (min-width: 768px) {
  .section { padding: 96px 0 104px; }
}

.section-how { background: var(--cream); }
.section-how .section-title { --fill: var(--pink); }

.section-demo { background: var(--lav-light); }
.section-demo .section-title { --fill: var(--gold); }

.section-fair { background: var(--mint); }

.section-chain { background: var(--pink-light); }
/* white fill (the .h-chunky default). pink letters on the light pink section
   were the hardest headline on the site to read. */

.section-rekt { background: var(--gold); }

.section-waitlist { background: var(--pink); overflow: hidden; }

.section-faq { background: var(--cream); }
.section-faq .section-title { --fill: var(--lav); }

/* ---------- how ---------- */
.steps,
.cards-3 {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .steps,
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; }
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  column-gap: 16px;
  padding: 34px 22px 24px;
}
.step .icon-tile { margin: 0; }
.step .card-title { margin: 0; }
.step p { grid-column: 1 / -1; margin-top: 16px; }
.step p,
.feature p { color: var(--muted); }
.step-num {
  position: absolute;
  top: -20px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--gold);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 48px;
  padding: 24px 20px;
}
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; padding: 32px; align-items: center; }
}
.split-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  text-wrap: balance;
}
.split-copy p { color: var(--muted); text-wrap: pretty; }

.split-bars { list-style: none; display: grid; gap: 12px; }
.split-row {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) 4.2em;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.split-place { font-size: 16px; }
.split-track {
  display: block;
  height: 24px;
  background: var(--cream);
  border: var(--outline);
  border-radius: 999px;
  overflow: hidden;
}
.split-fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  /* small enough that 4th (6.25%) and 5th (3.125%) keep their true 2:1 ratio
     on phone-width tracks */
  min-width: 4px;
  background: var(--c, var(--pink));
  border-right: var(--outline);
}
.split-pct { text-align: right; font-variant-numeric: tabular-nums; font-size: 16px; }
.split-more { margin-top: 14px; color: var(--muted); font-size: 16px; }

.pot-note {
  max-width: 40em;
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- fair ---------- */
.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  column-gap: 16px;
  padding: 24px 22px;
}
.feature .icon-tile { margin: 0; }
.feature .card-title { margin: 0; }
.feature p { grid-column: 1 / -1; margin-top: 16px; }

/* ---------- chain ---------- */
.chain-points {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .chain-points { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; }
}
.chain-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.chain-point .icon-tile { width: 56px; height: 56px; margin: 0; }
.chain-point .icon-tile svg { width: 34px; height: 34px; }
.chain-point p { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }

.footnote {
  max-width: 46em;
  margin: 40px auto 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- $REKT ---------- */
.rekt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  justify-items: center;
}
@media (min-width: 900px) {
  .rekt-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
  .rekt-copy .section-title,
  .rekt-copy .section-intro { text-align: left; margin-left: 0; }
}
.rekt-coin-wrap { width: clamp(140px, 40vw, 320px); }
.rekt-coin { width: 100%; height: auto; animation: coin-sway 6s ease-in-out infinite; }
@keyframes coin-sway {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-8px); }
}
.rekt-copy { width: 100%; max-width: 620px; }
.rekt-copy .section-intro { margin-bottom: 28px; }

.status { padding: 4px 0; margin-bottom: 20px; }
.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 20px;
}
.status-row + .status-row { border-top: 3px dashed var(--ink); }
.status-row dt { font-weight: 700; }
.status-row dd { color: var(--muted); font-weight: 600; display: inline-flex; align-items: baseline; gap: 8px; }
.status-dot {
  width: 11px;
  height: 11px;
  flex: none;
  align-self: center;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
}

.scam-note {
  background: var(--pink-light);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- waitlist ---------- */
.cloud-w1 { display: none; top: 40px; left: -40px; width: 130px; height: 65px; }
.cloud-w2 { bottom: 24px; right: -40px; width: 130px; height: 65px; animation-delay: -7s; }
@media (min-width: 900px) {
  .cloud-w1 { display: block; left: 4%; }
  .cloud-w2 { bottom: 40px; right: 3%; width: 150px; height: 75px; }
}
.section-waitlist .wrap { position: relative; z-index: 1; }
.section-waitlist .section-title { margin-bottom: 36px; }

.ticket {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 22px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
}
@media (min-width: 600px) {
  .ticket { padding: 36px 40px 30px; }
}
.ticket-body { font-size: 18px; text-align: left; text-wrap: pretty; }
.ticket-cta {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 3px dashed var(--ink);
}
.under-cta { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-h { font-size: inherit; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px 14px 20px;
  background: var(--white);
  border: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.faq-q:hover { background: var(--gold-light); }
.faq-q:focus-visible { outline-offset: -6px; border-radius: var(--radius); }
.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  background: var(--gold);
  border: var(--outline);
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--pink); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40em; }
.faq-a a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.faq-a a:hover { background: var(--gold-light); }

/* ===================================================================
   footer
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0 40px;
}
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 3px dashed var(--muted);
}
/* 900, not 768: logo + tagline + four links need about 760px in one row */
@media (min-width: 900px) {
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
}
.logo-footer { color: var(--white); }
.footer-tagline { font-size: 22px; font-weight: 700; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-links a {
  display: inline-block;
  padding: 8px 14px;
  border: 3px solid var(--white);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { background: var(--white); color: var(--ink); }
.footer-legal {
  max-width: 60em;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream);
}

/* ===================================================================
   reduced motion: no fling, no floating, no wobble
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud,
  .deco-coin,
  .rekt-bob,
  .rekt-eyes,
  .rekt-coin,
  .logo:hover .logo-mark,
  .pot-wrap.is-hop .rekt-pot,
  .btn-soon.is-nope,
  .fling-coin i { animation: none !important; }
  .btn,
  .zero-bubble,
  .faq-icon { transition: none !important; }
  .btn:hover,
  .btn:active { transform: none; }
  .fling-layer { display: none; }
}

/* ===================================================================
   prize split: pot breakdown bar (decision 0005) + "share of the
   winners' 97%" label. added with the 0005 copy. uses existing tokens
   only, no new colours.
   =================================================================== */
.potbar {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 3px dashed var(--ink);
}
.potbar-track {
  display: flex;
  height: 28px;
  background: var(--cream);
  border: var(--outline);
  border-radius: 8px;
  overflow: hidden;
}
.potbar-seg { display: block; height: 100%; }
.potbar-track .potbar-seg + .potbar-seg { border-left: var(--outline); }
/* winners take the rest (97%). the two thin slices are to scale on wide
   bars and get a minimum width so they stay visible on narrow ones. */
.potbar-track .potbar-seg-win { flex: 1 1 auto; }
.potbar-track .potbar-seg-house { flex: 0 0 max(2.5%, 22px); }
.potbar-track .potbar-seg-ops { flex: 0 0 max(0.5%, 6px); }
.potbar-seg-win { background: var(--gold); }
.potbar-seg-house { background: var(--pink-dark); }
.potbar-seg-ops { background: var(--lav); }
.potbar-key {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.potbar-key li { display: inline-flex; align-items: center; gap: 6px; }
.potbar-key strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.potbar-swatch {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 5px;
}
.split-label {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}
.split-extra {
  grid-column: 2 / -1;
  margin-top: -6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

/* ===================================================================
   terms page (/terms)
   long-form reading: ink on white at 18px, ~68ch lines, 1.65 leading.
   uses the shared tokens and the .btn-pink primary button as is.
   =================================================================== */
.terms-hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding: 20px 0 44px;
}
@media (min-width: 768px) {
  .terms-hero { padding: 28px 0 64px; }
}
.cloud-t1 { top: 6px; right: -44px; width: 104px; height: 52px; }
.cloud-t2 { display: none; }
.deco-coin-t1 { bottom: 22px; right: 12%; width: 20px; height: 20px; }
@media (min-width: 900px) {
  .cloud-t1 { top: 36px; right: 4%; width: 140px; height: 70px; }
  .cloud-t2 { display: block; bottom: 30px; left: 46%; width: 100px; height: 50px; animation-delay: -8s; }
  .deco-coin-t1 { bottom: auto; top: 46px; left: auto; right: 26%; }
}

/* phone: rekt sits beside the title, intro + date run full width.
   wider: rekt sits to the right of the whole block. */
.terms-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "back back" "title rekt" "intro intro" "updated updated";
  align-items: end;
  column-gap: 16px;
  max-width: calc(800px + 2 * var(--site-gutter)); /* lines up with .terms-card */
}
@media (min-width: 640px) {
  .terms-head {
    column-gap: 32px;
    grid-template-areas: "back rekt" "title rekt" "intro rekt" "updated rekt";
  }
}
.terms-back { grid-area: back; justify-self: start; }
.terms-title { grid-area: title; }
.terms-intro { grid-area: intro; }
.terms-updated { grid-area: updated; justify-self: start; }
.terms-rekt { grid-area: rekt; align-self: end; }
.terms-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.terms-back svg { width: 20px; height: 20px; flex: none; }
.terms-back:hover { text-decoration-thickness: 3px; }
.terms-title {
  font-size: clamp(56px, 13vw, 96px);
  margin: 8px 0 12px;
}
.terms-intro {
  max-width: 30ch;
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: pretty;
}
.terms-updated {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 14px;
  background: var(--white);
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 600;
}
.terms-rekt {
  width: clamp(104px, 26vw, 230px);
  height: auto;
  overflow: visible;
}

.terms-section { background: var(--cream); }
@media (min-width: 768px) {
  .terms-section { padding-top: 72px; }
}
.terms-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 20px 32px;
}
@media (min-width: 700px) {
  .terms-card { padding: 44px 56px 48px; }
}
.terms-sec + .terms-sec {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 3px dashed var(--ink);
}
.terms-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: clamp(21px, 2.8vw, 25px);
  font-weight: 700;
  line-height: 1.2;
}
.terms-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  flex: none;
  background: var(--gold);
  border: var(--outline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 19px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.terms-sec p,
.terms-sec li {
  /* about 65-70 characters a line. fredoka's lowercase is narrow next to
     its "0" (what ch measures), so 55ch, not 66ch */
  max-width: 55ch;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}
.terms-sec p + p,
.terms-sec p + ul,
.terms-sec ul + p { margin-top: 14px; }
.terms-sec ul { list-style: disc; padding-left: 1.4em; }
.terms-sec li { padding-left: 4px; }
.terms-sec li + li { margin-top: 8px; }
.terms-sec li::marker { color: var(--pink-deep); }
.terms-sec a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.terms-sec a:hover { background: var(--gold-light); }
.terms-end { display: flex; justify-content: center; margin-top: 40px; }
.terms-end .btn svg { width: 22px; height: 22px; flex: none; }
