
/* ==================================================================
   Bull Run — a trading terminal at night.
   Near-black ground, one green that pays, one red that costs, and
   sodium light off the 1987 street. Dark by decision: every colour
   is painted explicitly, so there is no light-mode half-state.
   ================================================================== */

:root {
  --ink:       #07080A;
  --ink-2:     #0B0E12;
  --ink-3:     #10141A;
  --line:      #191E26;
  --line-2:    #29323E;

  --green:     #2BE68C;
  --green-dim: #0E7A4A;
  --green-lbl: #28C077;
  --green-ink: #04140C;
  --gold:      #E8A33C;
  --red:       #FF4E5B;

  --text:      #F0F3F6;
  --mute:      #8A939F;
  --faint:     #79838F;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
  --pad: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { color: var(--text); font-weight: 700; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--green-ink);
  padding: 12px 18px;
  font-weight: 800;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* --- shared type ------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}

h2 {
  font-size: clamp(29px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
  margin: 14px 0 0;
}

h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

p { margin: 16px 0 0; color: var(--mute); }
p.tight { margin-top: 10px; }

/* --- masthead ---------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
}

.brand b {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.masthead nav {
  display: flex;
  gap: 26px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.masthead nav a {
  color: var(--mute);
  text-decoration: none;
  transition: color .15s ease;
  white-space: nowrap;
}
.masthead nav a:hover { color: var(--green); }

/* --- hero -------------------------------------------------------- */

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 480px at 76% 12%, rgba(43, 230, 140, .07), transparent 62%),
    radial-gradient(760px 420px at 6% 88%, rgba(232, 163, 60, .05), transparent 66%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) 0 clamp(34px, 4vw, 52px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 163, 60, .34);
  background: rgba(232, 163, 60, .06);
  border-radius: 999px;
  padding: 6px 14px;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  flex: none;
}

h1 {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.042em;
  text-wrap: balance;
  margin: 22px 0 0;
}

h1 em {
  font-style: normal;
  color: var(--green);
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--mute);
  max-width: 44ch;
  margin: 20px 0 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 0 38px rgba(43, 230, 140, .2);
}
.btn-primary:hover { transform: translateY(-1px); background: #46F19E; }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--mute); background: var(--ink-3); }

.note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
  margin-top: 18px;
}

/* the phone: never rendered above its native 294px, so it stays sharp */
.hero figure { margin: 0; flex: none; }

.phone {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .66), 0 0 0 6px rgba(255,255,255,.015);
  width: fit-content;
}

.phone img {
  width: auto;
  height: clamp(360px, 54vh, 540px);
  max-width: 294px;
  object-fit: contain;
}

figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-top: 14px;
}

/* --- the numbers band -------------------------------------------- */

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.fig {
  padding: 26px 0 30px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.fig:last-child { border-right: 0; }

.fig b {
  display: block;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fig .g { color: var(--green); }

.fig span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 10px;
}

/* --- ticker tape -------------------------------------------------- */

.tape {
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 13px 0;
}

.tape-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 46s linear infinite;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.tape-track b { color: var(--green); font-weight: 700; }
.tape-track u { color: var(--gold); text-decoration: none; }
.tape-track s { color: var(--red); text-decoration: none; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- sections ----------------------------------------------------- */

.section {
  padding: clamp(60px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}

.head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.chapter {
  font-family: var(--mono);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: #3D4855;
  letter-spacing: -0.03em;
  flex: none;
}

.head-text { min-width: 0; }
.head-text h2 { margin-top: 8px; }

.prose { max-width: 62ch; }

/* --- beats -------------------------------------------------------- */

.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.beat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  padding: 24px 22px 26px;
}

.beat p { font-size: 15.5px; margin-top: 0; }

.beat .k {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-lbl);
  display: block;
  margin-bottom: 12px;
}

/* --- floors ------------------------------------------------------- */

.floors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.floor {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  padding: 24px 24px 26px 28px;
  overflow: hidden;
}

.floor::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c, var(--line-2));
}

.floor-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.floor h3 {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
}

.pays {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c, var(--text));
  flex: none;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--faint);
  margin-top: 11px;
}

.floor p { font-size: 15.5px; margin-top: 14px; }

/* --- split (text + phone) ------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.split.flip { grid-template-columns: auto minmax(0, 1fr); }
.split.flip > figure { order: -1; }

.split .phone img { height: clamp(340px, 46vh, 470px); }

/* --- rarity ladder -------------------------------------------------- */

.ladder {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  max-width: 420px;
}

.ladder li {
  display: grid;
  grid-template-columns: 22px 90px 1fr;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.ladder b {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-align: right;
}

.ladder .bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.ladder .bar i {
  display: block;
  height: 100%;
  background: var(--green-dim);
  border-radius: 3px;
}

.ladder li:last-child .bar i { background: var(--gold); }

/* --- rules ---------------------------------------------------------- */

.rules {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rules li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--mute);
}

.rules li:last-child { border-bottom: 1px solid var(--line); }

.rules em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green-lbl);
  padding-top: 4px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.price b {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.price span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- footer ---------------------------------------------------------- */

footer {
  padding: 44px 0 60px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}

footer .links { display: flex; gap: 24px; }
footer a { color: var(--mute); text-decoration: none; }
footer a:hover { color: var(--green); }

/* --- responsive ------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero figure { justify-self: center; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > figure { order: 0; }
  .split figure { justify-self: center; }
  .beats { grid-template-columns: 1fr; }
  .floors { grid-template-columns: 1fr; }
  .masthead nav { display: none; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .fig:nth-child(2) { border-right: 0; }
  .fig:nth-child(3), .fig:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .head { flex-direction: column; gap: 4px; }
  .chapter { font-size: 26px; }
  .cta { gap: 10px; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .phone img { height: clamp(320px, 52vh, 430px); }
  .ladder li { grid-template-columns: 20px 78px 1fr; gap: 10px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track { animation: none; }
  * { transition: none !important; }
}

.hero h1{font-size:clamp(48px,7vw,88px)}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.support-grid a{color:var(--green);overflow-wrap:anywhere}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.feature-grid article{border-top:1px solid var(--line-2);padding-top:24px}.feature-grid .label{color:var(--green);font:12px var(--mono);letter-spacing:.1em;margin-bottom:16px}.hero .phone{box-shadow:0 24px 100px #2be68c18}.hero .phone img{height:auto;width:294px}.masthead nav{margin:0}.masthead .brand img{width:40px;height:40px;border-radius:10px}@media(max-width:700px){.support-grid,.feature-grid{grid-template-columns:1fr;gap:30px}.masthead nav{display:flex;gap:16px}.hero h1{font-size:52px}.masthead .brand b{font-size:14px}}

footer nav{display:flex;gap:24px;flex-wrap:wrap}.masthead nav{display:flex;gap:20px}html{scroll-padding-top:90px}@media(max-width:520px){.masthead .wrap{height:auto;min-height:76px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:8px}.masthead nav{gap:18px;font-size:10px}.hero h1{font-size:clamp(40px,12vw,52px)}footer nav{gap:20px}}
