/* Broadcast direction — studio navy, electric lime, scoreboard chrome.
   Tokens match packages/app/renderer (Electron shell). */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #090c12;
  --surface: #0f141d;
  --elevated: #171e2a;
  --text: #eef1f6;
  --body: #b4bcc9;
  --muted: #5d6674;
  --lime: #c8f03c;
  --lime-dim: #8fae26;
  --amber: #eab308;
  --red: #e2564a;
  --line: rgba(255, 255, 255, 0.05);
  --ink: #101502;
  --font-display: "Bebas Neue", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius-cut: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --radius-card: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font-body);
  min-height: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- ticker ---- */
.ticker {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1;
  padding: 8px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker-track span {
  padding-right: 2rem;
}

.ticker b,
.ticker-track span {
  color: var(--muted);
}

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

/* ---- nav ---- */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.logo span,
.logo i {
  color: var(--lime);
  font-style: italic;
}

.nav-links {
  display: none;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--body);
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-cta {
  margin-left: auto;
}

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* ---- buttons / tags ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  cursor: pointer;
  border: none;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), opacity 160ms;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  font-style: italic;
  clip-path: var(--radius-cut);
  box-shadow: 0 10px 30px rgba(200, 240, 60, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(200, 240, 60, 0.32);
}

.btn-ghost {
  background: var(--surface);
  color: var(--body);
  border-top: 1px solid var(--line);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-ghost:hover {
  color: var(--text);
}

.comp-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  width: fit-content;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.lower-third {
  background: var(--lime);
  color: var(--ink);
  width: fit-content;
  font-weight: 800;
  font-size: 18px;
  font-style: italic;
  padding: 5px 16px 5px 12px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  margin-bottom: 16px;
}

/* ---- hero ---- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 40px;
    padding-bottom: 96px;
  }
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 240, 60, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 240, 60, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(200, 240, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 240, 60, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.lede {
  color: var(--body);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.hero-stats li {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 10px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}

.hero-stats span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* phone mock */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 240, 60, 0.18), transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  filter: blur(8px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 86vw);
  background: #05070b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  padding: 12px 10px 14px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.phone-notch {
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: #1a2030;
  margin: 0 auto 10px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px 10px;
}

.phone-logo {
  font-size: 16px;
}

.wallet-chip {
  font-size: 11px;
  color: var(--body);
  background: var(--surface);
  padding: 6px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.wallet-chip b {
  color: var(--lime);
}

.phone-ticker {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 6px 12px;
}

.phone-ticker b {
  color: var(--lime-dim);
}

.card-mock {
  margin: 14px 12px 0;
  background: linear-gradient(160deg, var(--elevated), var(--surface) 55%);
  clip-path: var(--radius-card);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 14px 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scoreline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team {
  flex: 1;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 6px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vs {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.kick {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
  letter-spacing: 0.08em;
}

.claim {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 700;
}

.claim em {
  color: var(--lime);
  font-style: normal;
}

.odds-strip {
  margin-top: auto;
  display: flex;
  gap: 6px;
  padding-top: 16px;
}

.chip {
  flex: 1;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 8px;
}

.chip .k {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.chip .v {
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.chip .v.lime {
  color: var(--lime);
}

.chip .v.small {
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}

.byline {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

.phone-hints {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 16px;
  font-size: 11px;
  color: var(--muted);
}

.phone-hints .take {
  color: var(--lime);
  font-weight: 700;
}

/* ---- sections ---- */
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.band-tight {
  padding-bottom: 64px;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--body);
}

.steps {
  list-style: none;
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.step {
  background: linear-gradient(160deg, var(--elevated), var(--surface) 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 20px;
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lime);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--body);
  font-size: 0.95rem;
}

.stack-grid,
.trust-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .stack-grid,
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stack-card,
.trust-card {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--lime-dim);
  padding: 20px 18px;
}

.stack-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}

.stack-card h3,
.trust-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.stack-card p,
.trust-card p {
  color: var(--body);
  font-size: 0.94rem;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 10px 12px;
  clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.shot img {
  width: 100%;
  border-radius: 8px;
  background: #05070b;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

/* CTA */
.cta-band {
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 36px 24px 40px;
  background: linear-gradient(160deg, var(--elevated), var(--surface) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (min-width: 800px) {
  .cta-band {
    padding: 48px 48px 52px;
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.cta-band > p {
  color: var(--body);
  max-width: 34rem;
  margin-bottom: 20px;
}

.code {
  background: #05070b;
  border-top: 1px solid var(--line);
  color: var(--text);
  padding: 16px 18px;
  overflow-x: auto;
  font: 500 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin-bottom: 22px;
  color: var(--lime-dim);
}

.code code {
  color: var(--lime);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--body);
}

.footer a:hover {
  color: var(--lime);
}

/* a11y */
:focus-visible {
  outline: 2px solid var(--lime-dim);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track,
  .live-dot {
    animation: none !important;
  }
}
