/* hype-score — gold on near-black, editorial trading-desk */

:root {
  --base: #0b0f14;
  --surface: #151b23;
  --surface-2: #1b232e;
  --gold: #f5c542;
  --gold-deep: #d9a92f;
  --up: #2fd98a;
  --dn: #ff5470;
  --blue: #4d6bfe;
  --text: #e8edf2;
  --muted: #8a94a6;
  --ink: #10151c;
  --line: #232d3a;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-num: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

b { font-weight: 600; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--base) 88%, transparent);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--text); text-decoration: none; letter-spacing: -.02em;
}
.brand b { color: var(--gold); font-weight: 700; }
.links { display: flex; gap: 1.6rem; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s cubic-bezier(.16,1,.3,1), background .15s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-num); font-size: .82rem; color: var(--muted);
}
.ticker-track { display: flex; gap: 3rem; width: max-content; padding: .55rem 0; animation: slide 36s linear infinite; }
.ticker-track span { white-space: nowrap; }
.ticker-track b { font-weight: 600; }
.ticker .up b { color: var(--up); }
.ticker .dn b { color: var(--dn); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding: clamp(3.5rem, 9vh, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1200px; margin: 0 auto;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1.06; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--dn); }
.lede { margin: 1.4rem 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.lede b { color: var(--text); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.assurances {
  display: flex; gap: 1.5rem; flex-wrap: wrap; list-style: none;
  margin-top: 2.2rem; font-size: .88rem; color: var(--muted);
}
.assurances li { display: flex; align-items: center; gap: .5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-gold { background: var(--gold); } .dot-up { background: var(--up); } .dot-dn { background: var(--dn); }

.hero-panda { position: relative; justify-self: center; }
.hero-panda img { position: relative; z-index: 2; display: block; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .55)); }
.hero-panda figcaption {
  position: absolute; z-index: 2; bottom: -6%; right: -4%;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .5rem .9rem; font-family: var(--font-num); font-size: .85rem; color: var(--muted);
}
.hero-panda figcaption b { color: var(--up); }
.candles { position: absolute; inset: -12% -18%; z-index: 1; opacity: .5; }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 9vh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem); }
section > h2, .boards-head, .steps, .setups, .dsh, .tutorials { max-width: 1200px; margin-inline: auto; }
h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: -.01em; line-height: 1.15;
}
.eyebrow {
  font-family: var(--font-num); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .18em; margin-bottom: 1rem;
}
.eyebrow-blue { color: var(--blue); }

/* ---------- steps ---------- */
.steps ol {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; counter-reset: step;
}
.steps .num {
  font-family: var(--font-num); font-size: .8rem; color: var(--gold);
  display: block; border-top: 2px solid var(--gold); padding-top: .9rem; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.steps p b { color: var(--text); }

/* ---------- boards ---------- */
.boards-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.preview-note { font-family: var(--font-num); font-size: .78rem; color: var(--muted); }
.boards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.board {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); font-size: .95rem;
}
.board caption {
  caption-side: top; text-align: left; padding: .9rem 1.1rem .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.board.win caption { color: var(--up); }
.board.loss caption { color: var(--dn); }
.board th {
  text-align: left; font-family: var(--font-num); font-weight: 400; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  padding: .5rem 1.1rem; border-bottom: 1px solid var(--line);
}
.board td { padding: .7rem 1.1rem; border-bottom: 1px solid var(--line); }
.board tr:last-child td { border-bottom: 0; }
.board .pnl, .board td:first-child { font-family: var(--font-num); }
.board .up { color: var(--up); } .board .dn { color: var(--dn); }
.gold-rank td:first-child { color: var(--gold); font-weight: 600; }

/* ---------- setups ---------- */
.setups {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.setups-copy p { color: var(--muted); margin: 1.2rem 0; }
.setups-copy p b { color: var(--text); }
.proof-list { list-style: none; margin-bottom: 1.8rem; }
.proof-list li { padding: .45rem 0 .45rem 1.4rem; position: relative; color: var(--muted); font-size: .95rem; }
.proof-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: .62rem; }

.setup-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1.6rem; transform: rotate(1.2deg);
}
.setup-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.setup-card h3 { font-size: 1.15rem; font-weight: 600; }
.badge {
  font-family: var(--font-num); font-size: .72rem; letter-spacing: .08em;
  padding: .25rem .55rem; border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.badge-testnet { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 1.2rem 0;
}
.stats > div { background: var(--surface-2); padding: .7rem .8rem; }
.stats dt { font-family: var(--font-num); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stats dd { font-family: var(--font-num); font-size: 1.05rem; font-weight: 600; margin-top: .2rem; }
.teaser { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.setup-card footer { display: flex; align-items: center; gap: 1rem; }
.setup-card .price { font-family: var(--font-num); font-weight: 600; font-size: 1.25rem; color: var(--gold); }
.setup-card .seller { font-size: .82rem; color: var(--muted); margin-right: auto; }

/* ---------- dsh band ---------- */
.dsh {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--base), color-mix(in srgb, var(--blue) 7%, var(--base)));
}
.dsh h2 { margin-bottom: 1rem; }
.dsh > div > p { color: var(--muted); max-width: 44rem; }
.dsh > div > p b { color: var(--text); }
.feature-cols {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin: 2.2rem 0;
}
.feature-cols li { border-top: 1px solid var(--line); padding-top: 1rem; }
.feature-cols b { display: block; margin-bottom: .3rem; }
.feature-cols span { color: var(--muted); font-size: .92rem; }
.dsh .fineprint { margin-top: 1.2rem; font-size: .82rem; color: var(--muted); }

/* ---------- tutorials ---------- */
.guide-list { list-style: none; margin-top: 2.2rem; }
.guide-list a {
  display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline;
  gap: 1.2rem; padding: 1.3rem .4rem; text-decoration: none; color: var(--text);
  border-top: 1px solid var(--line); transition: background .15s;
}
.guide-list li:last-child a { border-bottom: 1px solid var(--line); }
.guide-list a:hover { background: var(--surface); }
.guide-list span { font-family: var(--font-num); color: var(--gold); font-size: .85rem; }
.guide-list em {
  grid-column: 2; font-style: normal; color: var(--muted); font-size: .88rem; display: block; margin-top: .15rem;
}
.guide-list a { grid-template-rows: auto auto; }

/* ---------- footer ---------- */
.foot {
  text-align: center; padding: 4rem 1.5rem 3rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem;
}
.foot p { max-width: 30rem; margin: 1rem auto; }
.foot-links { display: flex; gap: .8rem; justify-content: center; margin: 1rem 0; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot small { font-size: .78rem; opacity: .7; display: block; margin-top: 1.4rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero, .setups { grid-template-columns: 1fr; }
  .hero-panda { order: -1; }
  .hero-panda img { width: 170px; height: 170px; }
  .steps ol, .feature-cols { grid-template-columns: 1fr; }
  .boards-grid { grid-template-columns: 1fr; }
  .links { display: none; }
}
