/* ═══════════════════════════════════════════════════════════
   Predict Stocks — design tokens
   paper/ink base · green-vs-red dual accent · one dark island
   ═══════════════════════════════════════════════════════════ */
:root {
  --paper: #F4F6F0;
  --paper-raise: #FDFEFA;
  --ink: #0C1310;
  --ink-60: rgba(12, 19, 16, .62);
  --ink-40: rgba(12, 19, 16, .40);
  --hairline: rgba(12, 19, 16, .14);
  --green: #00B25C;
  --green-deep: #00693C;
  --green-wash: rgba(0, 178, 92, .10);
  --mint: #7BD8A8;
  --red: #E5484D;
  --red-deep: #A93438;
  --board: #0E2A1C;
  --board-raise: #143726;
  --board-line: rgba(244, 246, 240, .16);
  --board-text: #E9F2EA;
  --board-dim: rgba(233, 242, 234, .62);
  --amber: #F5B841;

  --font-display: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1140px;
  --radius: 16px;
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.section--board :focus-visible, .board :focus-visible { outline-color: var(--mint); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cta__consent { max-width: 44rem; margin-top: .7rem; color: var(--ink-40); font: 400 .7rem/1.5 var(--font-mono); }

/* ── ticker tape ───────────────────────────────────────────── */
.tape {
  background: var(--ink);
  color: var(--board-text);
  overflow: hidden;
  padding: .55rem 0;
  font: 500 .78rem/1 var(--font-mono);
  letter-spacing: .04em;
  white-space: nowrap;
}
.tape--foot { background: var(--board); }
.tape__track {
  display: inline-flex;
  gap: 2.75rem;
  width: max-content;
  padding-left: 2.75rem;
  animation: tape-slide 30s linear infinite;
}
.tape__item--up { color: var(--mint); }
.tape__item--down { color: #F2A0A3; }
@keyframes tape-slide { to { transform: translateX(-50%); } }

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav__mark {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 800 1.15rem/1 var(--font-display);
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  position: relative; display: inline-block; overflow: hidden;
  width: 34px; height: 34px; flex: 0 0 34px;
}
.brand-logo img {
  position: absolute; width: 48px; max-width: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.brand-name { transform: translateY(-1px); }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a {
  font: 500 .9rem/1 var(--font-body);
  text-decoration: none; color: var(--ink-60);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a strong { color: var(--green-deep); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--green); color: #FFFFFF;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none; border: 0; border-radius: 999px;
  padding: .85rem 1.6rem;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }
.btn--small { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn--ghost:hover { background: var(--green-wash); box-shadow: inset 0 0 0 1.5px var(--green-deep); }

/* ── type helpers ──────────────────────────────────────────── */
.eyebrow {
  font: 600 .75rem/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.eyebrow--inverse { color: var(--mint); }
.section__title {
  font: 800 clamp(1.9rem, 3.6vw, 2.9rem)/1.08 var(--font-display);
  letter-spacing: -.01em;
  max-width: 18ch;
}
.section__title--inverse { color: var(--board-text); max-width: 22ch; }
.section__lede { max-width: 52ch; color: var(--ink-60); margin-top: 1rem; }
.section__lede--inverse { color: var(--board-dim); }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap); margin-inline: auto;
  padding: 4.5rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem; align-items: center;
}
.hero__copy { min-width: 0; }
.hero__title {
  font: 800 clamp(2.6rem, 5.2vw, 4.3rem)/1.02 var(--font-display);
  letter-spacing: -.02em;
}
.hero__title-accent { color: var(--green-deep); }
.hero__sub { margin-top: 1.4rem; max-width: 46ch; color: var(--ink-60); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; list-style: none; padding: 0;
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.fact__num { display: block; font: 600 1.35rem/1.1 var(--font-mono); color: var(--ink); }
.fact__label { display: block; font: 500 .78rem/1.4 var(--font-mono); color: var(--ink-40); text-transform: uppercase; letter-spacing: .08em; }

/* ── the call board (signature) ────────────────────────────── */
.board {
  min-width: 0;
  background: var(--board);
  color: var(--board-text);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 24px 60px -24px rgba(12, 19, 16, .45);
  font-family: var(--font-mono);
}
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.board__market { font: 600 .95rem/1 var(--font-mono); letter-spacing: .06em; }
.board__round {
  font: 600 .62rem/1 var(--font-mono); letter-spacing: .14em;
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent);
  border-radius: 999px; padding: .3rem .6rem;
}
.board__chart { margin-top: .9rem; width: 100%; height: auto; border-radius: 10px; }
.board__meta {
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 1rem; margin-top: .9rem;
  padding-top: .8rem; border-top: 1px solid var(--board-line);
}
.board__meta-label { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--board-dim); }
.board__meta-value { font: 600 1.05rem/1.3 var(--font-mono); }
.board__price--timer .board__meta-value { color: var(--amber); }
.board__calls { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.call {
  border: 0; border-radius: 12px;
  font: 600 .92rem/1 var(--font-mono); letter-spacing: .05em;
  padding: .95rem .5rem; color: #fff;
  transition: filter .15s ease, transform .1s ease, opacity .15s ease;
}
.call--green { background: var(--green); }
.call--red { background: var(--red); }
.call:hover { filter: brightness(1.12); }
.call:active { transform: translateY(1px); }
.call:disabled { opacity: .35; cursor: default; filter: none; }
.board__slip {
  margin-top: .9rem; min-height: 4.6rem;
  border: 1px dashed var(--board-line);
  border-radius: 12px;
  display: grid; place-items: center; text-align: center;
  padding: .7rem .9rem;
}
.board__slip-hint { font-size: .72rem; color: var(--board-dim); max-width: 34ch; }
.board__slip-title { font: 600 .95rem/1.4 var(--font-mono); }
.board__slip-title--win { color: var(--mint); }
.board__slip-title--lose { color: #F2A0A3; }
.board__slip-title--push { color: var(--amber); }
.board__slip-sub { font-size: .72rem; color: var(--board-dim); margin-top: .25rem; }

/* ── sections ──────────────────────────────────────────────── */
.section { max-width: var(--wrap); margin-inline: auto; padding: 5.5rem 1.5rem; }
.section + .section { padding-top: 0; }
.section--board { max-width: none; padding: 5.5rem 0; background: var(--board); }
.section--board__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.section__title { margin-bottom: .25rem; }

/* ── how it works: ticket stubs ────────────────────────────── */
.stubs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 2.5rem;
}
.stub {
  position: relative;
  background: var(--paper-raise);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
}
.stub::after { /* perforation */
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 3.55rem;
  border-top: 1.5px dashed var(--hairline);
}
.stub__no { font: 600 .78rem/1 var(--font-mono); color: var(--green-deep); letter-spacing: .1em; }
.stub__title { font: 700 1.3rem/1.2 var(--font-display); margin-top: 1.35rem; }
.stub__body { margin-top: .6rem; color: var(--ink-60); font-size: .95rem; }
.stub__note {
  margin-top: .9rem; font: 500 .74rem/1.5 var(--font-mono);
  color: var(--ink-40);
}
.rules {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.rules dt { font: 600 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-40); }
.rules dd { margin: .35rem 0 0; font-size: .92rem; }

/* ── the burn ──────────────────────────────────────────────── */
.flywheel { margin-top: 3rem; }
.flywheel__bar {
  display: flex; height: 84px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--board-line);
}
.flywheel__seg {
  display: flex; flex-direction: column; justify-content: center;
  padding-inline: 1.2rem; min-width: 0;
  font: 600 1.5rem/1 var(--font-mono);
}
.flywheel__seg em { font: 500 .68rem/1.3 var(--font-mono); font-style: normal; letter-spacing: .06em; margin-top: .3rem; }
.flywheel__seg--burn { background: var(--green); color: #06281A; }
.flywheel__seg--vault { background: var(--mint); color: #06281A; }
.flywheel__seg--ops { background: var(--board-raise); color: var(--board-dim); }
.flywheel__legend {
  list-style: none; padding: 0; margin-top: 1.4rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.flywheel__legend li { font-size: .9rem; color: var(--board-dim); border-top: 1px solid var(--board-line); padding-top: .9rem; }
.flywheel__legend strong { color: var(--board-text); display: block; margin-bottom: .2rem; }
.burnboard {
  margin-top: 3rem; padding: 1.6rem 1.8rem;
  border: 1px solid var(--board-line); border-radius: 14px;
  display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap;
}
.burnboard__label { font: 600 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--board-dim); }
.burnboard__value { font: 800 2.6rem/1 var(--font-display); color: var(--mint); }
.burnboard__note { font: 400 .78rem/1.4 var(--font-mono); color: var(--board-dim); }

/* ── token ─────────────────────────────────────────────────── */
.token { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; margin-top: 2.5rem; }
.token__table { width: 100%; border-collapse: collapse; align-self: start; }
.token__table th, .token__table td {
  text-align: left; padding: .85rem 0;
  border-top: 1px solid var(--hairline); vertical-align: top;
}
.token__table tr:last-child th, .token__table tr:last-child td { border-bottom: 1px solid var(--hairline); }
.token__table th {
  font: 600 .72rem/1.6 var(--font-mono); text-transform: uppercase;
  letter-spacing: .12em; color: var(--ink-40); width: 9.5rem; padding-right: 1rem;
}
.token__table td { font-size: .95rem; }
.token__alloc {
  background: var(--paper-raise); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; align-self: start;
}
.token__alloc-title { font: 700 1.15rem/1.2 var(--font-display); }
.alloc__bar {
  display: flex; height: 58px; border-radius: 10px; overflow: hidden;
  margin-top: 1.1rem; border: 1px solid var(--hairline);
}
.alloc__seg {
  display: flex; flex-direction: column; justify-content: center;
  padding-inline: .8rem; font: 600 1rem/1 var(--font-mono); min-width: 0;
}
.alloc__seg em { font: 500 .6rem/1.3 var(--font-mono); font-style: normal; letter-spacing: .04em; margin-top: .2rem; white-space: nowrap; }
.alloc__seg--curve { background: var(--green); color: #06281A; }
.alloc__seg--treasury { background: var(--mint); color: #06281A; }
.alloc__seg--air { background: var(--amber); color: #4A3608; }
.token__alloc-note { margin-top: 1rem; font-size: .85rem; color: var(--ink-60); }

/* ── roadmap ───────────────────────────────────────────────── */
.map {
  list-style: none; padding: 0; margin: 3.5rem 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem;
  align-items: end;
}
.map__item { border-top: 1px solid var(--hairline); padding-top: 1.1rem; }
.map__candle {
  display: block; width: 22px; border-radius: 3px;
  background: var(--green); margin-bottom: 1.1rem; position: relative;
}
.map__candle::before, .map__candle::after {
  content: ""; position: absolute; left: 50%; width: 2px;
  transform: translateX(-50%); background: var(--green-deep);
}
.map__candle::before { top: -14px; height: 14px; }
.map__candle::after { bottom: -14px; height: 14px; }
.map__candle--p0 { height: 26px; }
.map__candle--p1 { height: 44px; }
.map__candle--p2 { height: 62px; }
.map__candle--p3 { height: 82px; }
.map__candle--p4 { height: 104px; }
.map__phase { font: 700 1.15rem/1.2 var(--font-display); }
.map__when { font: 500 .7rem/1 var(--font-mono); color: var(--green-deep); letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.map__body { margin-top: .55rem; font-size: .88rem; color: var(--ink-60); }

/* ── CTA / alerts ──────────────────────────────────────────── */
.section--cta { text-align: center; }
.section--cta .section__title { max-width: none; }
.section--cta .section__lede { margin-inline: auto; }
.cta__form {
  display: flex; gap: .7rem; justify-content: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.cta__input {
  font: 500 .95rem/1 var(--font-mono);
  padding: .85rem 1.2rem; min-width: 300px;
  border: 1.5px solid var(--hairline); border-radius: 999px;
  background: var(--paper-raise); color: var(--ink);
}
.cta__input::placeholder { color: var(--ink-40); }
.cta__input:focus-visible { outline-offset: 0; border-color: var(--green-deep); }
.cta__status { margin-top: 1rem; font: 500 .85rem/1.5 var(--font-mono); color: var(--green-deep); min-height: 1.4em; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { margin-top: 2.5rem; max-width: 760px; }
.faq__item { border-top: 1px solid var(--hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem .25rem;
  font: 600 1.05rem/1.3 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font: 400 1.4rem/1 var(--font-mono); color: var(--green-deep);
  transition: transform .15s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 .25rem 1.25rem; color: var(--ink-60); max-width: 62ch; }

/* ── footer ────────────────────────────────────────────────── */
.footer { background: var(--paper); }
.footer__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 3rem 1.5rem 4rem;
}
.footer__note { margin-top: 1.4rem; max-width: 68ch; font-size: .82rem; color: var(--ink-40); }
.footer__fine { margin-top: 1.2rem; font: 500 .78rem/1 var(--font-mono); color: var(--ink-60); }
.footer__fine a { color: var(--green-deep); }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 2.75rem; padding-top: 3rem; }
  .stubs { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .flywheel__legend { grid-template-columns: 1fr; }
  .token { grid-template-columns: 1fr; gap: 2rem; }
  .map { grid-template-columns: 1fr; align-items: start; }
  .map__candle { display: none; }
  .map__item { border-top: 1px solid var(--hairline); padding: 1.1rem 0 0; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .rules { grid-template-columns: 1fr; }
  .flywheel__bar { flex-direction: column; height: auto; }
  .flywheel__seg { padding-block: 1rem; }
  .board__meta { grid-template-columns: 1fr 1fr; }
  .cta__input { min-width: 0; width: 100%; }
  .cta__form { flex-direction: column; align-items: stretch; }
  .hero__facts { gap: 1.5rem; }
}

/* ── reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape__track { animation: none; }
  .btn, .call { transition: none; }
}
