/* White Hot — the game's own look (2026-10-21): the dark map's ground, the heat ramp
   tiles glow on (dull red → cherry → orange → yellow → white hot, App/ReverdureApp/
   Map/HeatRamp.swift), the ember the play button wears, and Liquid Glass panels.
   Mobile-first. The share landing page (server/app/routes/share.py) copies these
   tokens; change them together. */

:root {
  --ground: #0a1017;          /* the dark map's ground */
  --ground-2: #0f1720;
  --ink: #f6f2ec;
  --ink-soft: #c9c4bd;
  --ink-mute: #8d8780;
  --line: rgba(255, 255, 255, 0.08);

  /* The heat ramp's stops. */
  --heat-0: #330503;
  --heat-1: #8c0d05;
  --heat-2: #d91f0a;
  --heat-3: #ff4d0f;
  --heat-4: #ff8c1f;
  --heat-5: #ffd973;
  --heat-6: #ffffff;
  --ramp: linear-gradient(90deg, var(--heat-0) 0%, var(--heat-1) 30%, var(--heat-2) 55%,
                          var(--heat-3) 75%, var(--heat-4) 87%, var(--heat-5) 95%, var(--heat-6) 100%);

  /* The play button's ember, top over bottom. */
  --ember-top: #ff8c1f;
  --ember: #f56b17;
  --ember-ink: #1b0a02;

  /* The map's border colours. */
  --you: #2e7dd6;
  --ally: #a33be6;
  --rival: #d6342e;

  /* Liquid Glass, the dark kind. */
  --glass: rgba(26, 32, 42, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.10);
  --glass-shine: rgba(255, 255, 255, 0.06);
  --radius: 28px;

  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
          Roboto, Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ground);
  color: var(--ink-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ember-top); }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* The words that are the game's name glow on the ramp's top. */
.hot {
  background: linear-gradient(90deg, var(--heat-4), var(--heat-5) 55%, var(--heat-6));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Glass: a translucent panel that lenses what's under it, with a lit top edge. */
.glass, .card, .diff, .feature, .faq-item, .site-header, .btn-glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

/* HEADER */
.site-header {
  position: sticky; top: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 24px); max-width: calc(var(--wrap) - 20px);
  margin: 12px auto 0; padding: 9px 10px 9px 16px;
  border-radius: 999px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
}
.wordmark-icon { width: 30px; height: 30px; border-radius: 8px; }

/* BUTTONS — capsules, the app's */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 650; text-decoration: none; border-radius: 999px;
  white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, var(--ember-top), var(--ember));
  color: var(--ember-ink);
  padding: 15px 26px; font-size: 1.05rem;
  box-shadow: 0 10px 34px -12px rgba(255, 120, 30, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 42px -12px rgba(255, 120, 30, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-glass { color: var(--ink); }
.btn-sm { padding: 8px 15px; font-size: .92rem; }
.btn-lg { padding: 18px 32px; font-size: 1.12rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.cta-meta { font-size: .9rem; color: var(--ink-mute); }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
/* Narrow: the words stack over the art, so it darkens from the top and keeps its
   glow down behind the phone. Wide: the words sit left, on the cold side. */
.hero-bg {
  position: absolute; inset: -60px 0 0 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 23, 0.94) 0%, rgba(10, 16, 23, 0.9) 42%, rgba(10, 16, 23, 0.35) 72%, var(--ground) 100%),
    url("assets/territory.jpg") 58% 88% / auto 115% no-repeat;
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; font-size: .8rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase; color: var(--heat-4);
}
.hero h1 { font-size: clamp(2.8rem, 9vw, 4.6rem); line-height: 1.0; font-weight: 850; letter-spacing: -0.035em; }
.lead { margin: 22px 0 0; font-size: 1.15rem; max-width: 34rem; color: var(--ink-soft); }

.hero-art { display: flex; justify-content: center; }
.phone {
  width: min(310px, 78vw); padding: 10px; border-radius: 52px;
  background: linear-gradient(160deg, #2a2f38, #0c0f14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -30px rgba(255, 90, 20, 0.35),
              0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.phone-screen { width: 100%; border-radius: 43px; }

/* BANDS */
.band { padding: 84px 0; position: relative; }
.band-alt { background: linear-gradient(180deg, var(--ground) 0%, var(--ground-2) 50%, var(--ground) 100%); }
.kicker {
  margin: 0 0 10px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--heat-4);
}
.section-title { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.1; font-weight: 800; margin-bottom: 34px; }

/* THE IDEA */
.band-idea { padding-top: 40px; }
.statement { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.18; font-weight: 800; }
.statement-sub { margin: 18px 0 0; font-size: 1.12rem; }
.ramp {
  position: relative; display: flex; justify-content: space-between; gap: 6px;
  margin-top: 30px; padding: 30px 4px 0;
  font-size: .78rem; font-weight: 650; color: var(--ink-mute);
  letter-spacing: .02em;
}
.ramp::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  border-radius: 7px; background: var(--ramp);
  box-shadow: 0 0 30px -6px rgba(255, 120, 30, 0.6);
}
.ramp span:last-child { color: var(--ink); }

/* CARDS */
.cards { display: grid; gap: 16px; }
.card { border-radius: var(--radius); padding: 26px 24px; }
.card h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.card p { margin: 0; }
.card-ico {
  display: inline-flex; width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--ember-ink);
  background: linear-gradient(180deg, var(--ember-top), var(--ember));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.card-ico svg { width: 24px; height: 24px; }

/* DIFFERENTIATORS */
.diffs { display: grid; gap: 16px; }
.diff { border-radius: var(--radius); padding: 24px; }
.diff h3 { font-size: 1.12rem; margin-bottom: 8px; }
.diff p { margin: 0; }

/* FEATURES */
.features { display: grid; gap: 14px; margin-top: 18px; }
.feature { border-radius: 22px; padding: 22px 22px 20px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; font-size: .98rem; }
.splits { display: grid; gap: 7px; margin-top: 16px; }
/* The ramp laid across the full width, shown as far as the split ran — the app's. */
.splits span {
  height: 6px; border-radius: 3px; width: calc(var(--p) * 1%);
  background: var(--ramp); background-size: calc(100% * 100 / var(--p)) 100%;
}

/* MISSION */
.band-mission { background: radial-gradient(60% 90% at 50% 100%, rgba(255, 77, 15, 0.12), transparent 70%); }
.mission-copy { font-size: 1.15rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq-item { border-radius: 22px; padding: 20px 22px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.faq-item p { margin: 0; }

/* FINAL CTA */
.band-cta { overflow: hidden; padding: 110px 0; }
/* The closing ask: cold ground, one faint ember under the button. */
.cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(40% 60% at 50% 85%, rgba(255, 77, 15, 0.14), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.08; font-weight: 850; margin-bottom: 30px; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-mark { color: var(--ink); font-weight: 800; }
.footer-copy { color: var(--ink-mute); }

/* WIDER */
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .diffs { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .hero-bg {
    background:
      linear-gradient(90deg, var(--ground) 0%, rgba(10, 16, 23, 0.92) 30%, rgba(10, 16, 23, 0.35) 70%, rgba(10, 16, 23, 0.6) 100%),
      linear-gradient(180deg, rgba(10, 16, 23, 0) 60%, var(--ground) 100%),
      url("assets/territory.jpg") 62% 40% / cover no-repeat;
  }
  .hero { padding: 84px 0 110px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .features { grid-template-columns: repeat(4, 1fr); }
}
