:root {
  --black: #000000;
  --graphite: #141715;
  --line: #262a27;
  --white: #ffffff;
  --ash: #9aa39e;
  --green: #1fd67a;
  --green-ink: #04140b;
  --wide: "Archivo", system-ui, sans-serif;
  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { background: var(--black); color: var(--white); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--wide);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
  background: var(--black);
}

img { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

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

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 18px; }
.site-header nav { display: flex; gap: 28px; font-size: 15px; color: var(--ash); }
.site-header nav a { text-decoration: none; }

.o { color: var(--green); }

/* Hero */
.hero { padding-top: clamp(24px, 6vw, 72px); padding-bottom: clamp(56px, 9vw, 120px); overflow: hidden; }
.wordmark {
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  font-size: clamp(56px, 17vw, 196px);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.lede { margin: 0 0 28px; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--green); color: var(--green-ink);
}
.btn svg { width: 18px; height: 18px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn-quiet { background: none; color: var(--white); padding-left: 4px; text-decoration: underline; }
.note { margin: 14px 0 0; color: var(--ash); font-size: 14px; }

/* Phones, landing like reels stopping */
.reels { display: flex; justify-content: flex-end; align-items: flex-start; gap: clamp(10px, 1.6vw, 20px); padding-bottom: 56px; }
.phone {
  width: clamp(110px, 15vw, 210px);
  aspect-ratio: 1206 / 2622;
  border-radius: clamp(18px, 2.6vw, 34px);
  overflow: hidden;
  border: clamp(3px, 0.45vw, 6px) solid #1c1f1d;
  background: var(--graphite);
  box-shadow: 0 30px 60px -20px rgba(31, 214, 122, 0.25);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.reels .phone:nth-child(2) { transform: translateY(28px); }
.reels .phone:nth-child(3) { transform: translateY(56px); }

@media (prefers-reduced-motion: no-preference) {
  .reels .phone { animation: reel 1.1s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
  .reels .phone:nth-child(1) { animation-delay: 0.15s; }
  .reels .phone:nth-child(2) { animation-delay: 0.35s; --lift: 28px; }
  .reels .phone:nth-child(3) { animation-delay: 0.55s; --lift: 56px; }
  @keyframes reel {
    from { transform: translateY(calc(var(--lift, 0px) - 120%)); opacity: 0; }
    35% { opacity: 1; }
    to { transform: translateY(var(--lift, 0px)); opacity: 1; }
  }
}

/* Sections */
section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 18px;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.intro { margin: 0 0 44px; color: var(--ash); font-size: 19px; max-width: 52ch; }

/* Game ledger */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { text-align: left; font-weight: 500; font-size: 14px; color: var(--ash); padding: 0 0 14px; }
.ledger th:last-child, .ledger td:last-child { text-align: right; white-space: nowrap; }
.ledger td { padding: 22px 24px 22px 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.ledger td:last-child { padding-right: 0; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--green); }
.game { font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; }
.how { color: var(--ash); max-width: 48ch; }
.footnote { margin: 22px 0 0; color: var(--ash); font-size: 14px; max-width: 70ch; }

/* Daily rewards */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 7vw, 96px); align-items: center; }
.rewards { margin: 0; padding: 0; list-style: none; display: grid; gap: 26px; max-width: 54ch; }
.rewards strong { display: block; font-size: 19px; margin-bottom: 4px; }
.rewards span { color: var(--ash); }
.split .phone { width: clamp(180px, 22vw, 270px); }

/* Fair play */
.fair { background: var(--green); color: var(--green-ink); border-top: 0; }
.fair h2 { max-width: 20ch; }
.fair p { max-width: 60ch; font-size: 19px; margin: 0 0 14px; }
.fair a { color: var(--green-ink); }

/* Footer */
.site-footer { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; color: var(--ash); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* Legal page */
.legal { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal h1 { margin: 0 0 10px; font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.legal .updated { color: var(--ash); margin: 0 0 40px; }
.legal .summary { font-size: 20px; line-height: 1.5; max-width: 54ch; margin: 0 0 48px; padding-left: 20px; border-left: 3px solid var(--green); }
.legal article { max-width: var(--measure); }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 12px; max-width: none; letter-spacing: -0.01em; }
.legal p, .legal li { color: #d9dedb; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .reels { justify-content: flex-start; padding-top: 56px; }
  .split .phone { width: 210px; }
  .site-header nav { gap: 18px; }
  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; border-top: 1px solid var(--line); padding: 18px 0; }
  .ledger td { border: 0; padding: 0; }
  .ledger td.how { grid-column: 1 / -1; grid-row: 2; padding-top: 6px; }
  .game { white-space: normal; }
}
