/* ═══════════════════════════════════════════════════════
   UnLeague marketing landing — unleague.site
   Tokens mirror app/lib/theme.dart (class M)
   ═══════════════════════════════════════════════════════ */

:root {
  --paper: #ffffff;
  --surface: #f4f4f2;
  --dark: #1c1c1e;
  --ink: #111111;
  --mute: #8a8a8e;
  --line: #e9e9e7;
  --soft-line: #f0f0ee;
  --marigold: #ffb803;
  --flame: #f5401b;
  --grass-deep: #2f5514;
  --grass: #3f6b1b;
  --grass-mid: #5a9a28;
  --grass-lite: #7db33f;

  --r-lg: 22px;
  --r-md: 15px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.12);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
}

/* ── Reset ───────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, p, figure, figcaption {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* ── Type helpers ────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.eyebrow--dark {
  color: var(--mute);
}

/* ── Brand wordmark (matches the in-app mark) ────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__icon {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.brand__mark {
  display: inline-flex;
  flex-direction: column;
}

.brand__word {
  font-size: 1.15rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__mark--light .brand__word { color: #fff; }

/* ── Nav ─────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav--stuck {
  border-bottom-color: var(--soft-line);
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.05);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links {
  display: none;
  gap: 1.6rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mute);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav__cta:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

@media (min-width: 780px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  position: relative;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(125, 179, 63, 0.22) 0%, transparent 55%),
    linear-gradient(100deg, rgba(5, 9, 5, 0.95) 0%, rgba(6, 11, 6, 0.88) 38%, rgba(6, 11, 6, 0.6) 72%, rgba(6, 11, 6, 0.72) 100%),
    linear-gradient(to bottom, rgba(4, 8, 4, 0.55) 0%, transparent 22%, rgba(4, 8, 4, 0.6) 100%);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}

@media (min-width: 940px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2rem;
    padding-block: clamp(3.5rem, 6vw, 5rem) clamp(4rem, 7vw, 5.5rem);
  }
}

.hero__copy {
  max-width: 38rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--grass-lite);
  position: relative;
  white-space: nowrap;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
  margin-bottom: 1.9rem;
  font-weight: 500;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.3rem;
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.45rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.pills svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.9;
}

.pills__live svg {
  color: var(--flame);
  opacity: 1;
}

/* ── Get buttons ─────────────────────────────────────── */

.get-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.get-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 178px;
  padding: 0.7rem 1.25rem 0.7rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.get-btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.get-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.7);
}

.get-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.get-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.get-btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.get-btn--primary .get-btn__icon { color: var(--grass); }

.get-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.get-btn__small {
  font-size: 0.66rem;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.get-btn__big {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* on a phone the two buttons read better full-bleed than 178px stubs */
@media (max-width: 480px) {
  .get-row {
    flex-direction: column;
    align-items: stretch;
  }
  .get-btn { min-width: 0; }
}

/* ── Device (phone) frame ────────────────────────────── */

.device {
  --w: 280px;
  --bezel: 9px;
  --radius: 40px;
  width: min(100%, var(--w));
}

.device__frame {
  position: relative;
  padding: var(--bezel);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #33343a 0%, #0c0c0e 26%, #0c0c0e 72%, #2c2d33 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 28px 60px -20px rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.18);
}

/* side buttons */
.device__frame::before,
.device__frame::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(#3a3b41, #17181b);
}

.device__frame::before { top: 21%; height: 6%; }
.device__frame::after { top: 31%; height: 11%; }

/* bar + screen share one clipped rounded box, so the top corners follow the
   frame's curve instead of the status bar's own (much shorter) height */
.device__view {
  border-radius: calc(var(--radius) - var(--bezel));
  overflow: hidden;
  background: var(--screen-bg, #fff);
}

.device__bar {
  background: var(--screen-bg, #fff);
  padding: 0.5rem 1.05rem 0.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.82);
  font-variant-numeric: tabular-nums;
}

.device__bar-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.device__bar-icons svg { height: 8px; width: auto; display: block; }

.device__screen {
  position: relative;
  background: var(--screen-bg, #fff);
  aspect-ratio: 738 / 1446;
}

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device__cam {
  position: absolute;
  top: calc(var(--bezel) + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.25);
}

.device figcaption {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: var(--mute);
  font-weight: 500;
  line-height: 1.45;
}

.device figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

/* Hero pair — a front phone with a second angled behind it */

.hero__devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1px;
}

.hero .device--front {
  --w: clamp(238px, 62vw, 296px);
  position: relative;
  z-index: 2;
}

.hero .device--back {
  display: none;
}

@media (min-width: 940px) {
  .hero__devices {
    justify-content: flex-end;
    padding-right: clamp(0px, 3vw, 34px);
  }

  .hero .device--front {
    --w: 292px;
    transform: rotate(2.5deg);
  }

  .hero .device--back {
    display: block;
    --w: 236px;
    position: absolute;
    left: 0;
    bottom: -8%;
    z-index: 1;
    transform: rotate(-8deg);
    opacity: 0.97;
  }

  .hero .device--back .device__frame {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 34px 70px -22px rgba(0, 0, 0, 0.75);
  }
}

/* ── Sections ────────────────────────────────────────── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.75rem, 8vw, 6rem) var(--gutter);
}

.section__head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.organisers__copy h2,
.pitch h2,
.get h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--mute);
  line-height: 1.55;
  font-weight: 500;
  max-width: 34rem;
}

.section__head--center .section__lead {
  margin-inline: auto;
}

/* ── Watch live ──────────────────────────────────────── */

.watch {
  position: relative;
  isolation: isolate;
}

.watch::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 40%;
  background: radial-gradient(90% 100% at 50% 0%, rgba(125, 179, 63, 0.14), transparent 70%);
  pointer-events: none;
}

.eyebrow--live {
  color: var(--flame);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 3px rgba(245, 64, 27, 0.16);
}

/* landscape phone */
.tv {
  --bezel: 11px;
  --radius: 32px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.tv__frame {
  position: relative;
  padding: var(--bezel);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #33343a 0%, #0c0c0e 22%, #0c0c0e 74%, #2c2d33 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 34px 70px -26px rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.14);
}

/* volume / power keys along the top edge */
.tv__frame::before,
.tv__frame::after {
  content: "";
  position: absolute;
  top: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3a3b41, #17181b);
}

.tv__frame::before { right: 21%; width: 4%; }
.tv__frame::after { right: 27%; width: 7%; }

.tv__screen {
  position: relative;
  border-radius: calc(var(--radius) - var(--bezel));
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #07100a;
}

.tv__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* scrims so the overlays stay readable over the footage */
.tv__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, transparent 42%);
}

.tv__cam {
  position: absolute;
  top: 50%;
  left: calc(var(--bezel) + 7px);
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}

.tv__top {
  position: absolute;
  z-index: 1;
  top: clamp(0.6rem, 2vw, 1rem);
  left: clamp(0.7rem, 2.2vw, 1.15rem);
  right: clamp(0.7rem, 2.2vw, 1.15rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tv__views {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: clamp(0.62rem, 1.3vw, 0.74rem);
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
}

.tv__views svg {
  width: 13px;
  height: 13px;
}

.tv__wordmark {
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* the lower-third scoreboard */
.tv__board {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(0.7rem, 2.4vw, 1.15rem);
  transform: translateX(-50%);
  max-width: calc(100% - clamp(1.4rem, 4.4vw, 2.3rem));
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1rem);
  padding: clamp(0.35rem, 1.1vw, 0.5rem) clamp(0.6rem, 1.8vw, 0.9rem);
  border-radius: var(--r-pill);
  background: rgba(10, 12, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: #fff;
}

.tv__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--flame);
  color: #fff;
  font-size: clamp(0.55rem, 1.15vw, 0.66rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.5rem;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.tv__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.tv__team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.tv__team img {
  width: clamp(26px, 4.6vw, 34px);
  height: clamp(26px, 4.6vw, 34px);
  border-radius: 9px;
  flex-shrink: 0;
}

.tv__team b {
  font-size: clamp(0.7rem, 1.5vw, 0.86rem);
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.tv__nums {
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 0 clamp(0.1rem, 0.6vw, 0.35rem);
}

.tv__nums span {
  opacity: 0.5;
  font-weight: 600;
  margin: 0 0.22rem;
}

.tv__min {
  font-size: clamp(0.62rem, 1.3vw, 0.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}

/* narrow screens: drop the club names, keep crests + score */
@media (max-width: 560px) {
  .tv__team b { display: none; }
  .tv__min { display: none; }
}

/* mowed-pitch band, used to break up two white sections */
.grass-strip {
  --band: clamp(26px, 5vw, 54px);
  height: clamp(10px, 1.6vw, 14px);
  background: repeating-linear-gradient(
    90deg,
    var(--grass) 0 var(--band),
    var(--grass-lite) var(--band) calc(var(--band) * 2)
  );
}

/* ── Screens rail ────────────────────────────────────── */

.screens {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.screens__rail {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
}

.screens .device--tall {
  --w: 292px;
  text-align: center;
}

.screens .device figcaption {
  max-width: 20rem;
  margin-inline: auto;
}

@media (min-width: 760px) {
  .screens__rail {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: start;
  }
  .screens .device--tall { --w: 100%; max-width: 300px; }
  /* middle phone sits slightly proud, like a shelf */
  .screens .device--tall:nth-child(2) { transform: translateY(-1.5rem); }
}

/* ── Feature grid ────────────────────────────────────── */

.features {
  background: var(--paper);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--grass);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__icon--live { color: var(--flame); }

.feature h3 {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--mute);
  line-height: 1.5;
  font-weight: 500;
}

/* ── Pitch band ──────────────────────────────────────── */

.pitch {
  position: relative;
  color: var(--paper);
  overflow: hidden;
}

.pitch__bg {
  position: absolute;
  inset: 0;
}

.pitch__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.pitch__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17, 40, 8, 0.92), rgba(30, 55, 14, 0.84));
}

.pitch__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3.75rem, 8vw, 5.5rem) var(--gutter);
  text-align: center;
}

.pitch__inner .eyebrow {
  justify-content: center;
}

.pitch p:not(.eyebrow) {
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

/* ── Organisers ──────────────────────────────────────── */

.organisers__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 900px) {
  .organisers__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    justify-items: stretch;
  }
}

.organisers .device--wide {
  --w: 300px;
  text-align: center;
}

.organisers .device figcaption {
  max-width: 20rem;
  margin-inline: auto;
}

.check-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.7 9.5 3.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

/* ── Get the app ─────────────────────────────────────── */
/* Charcoal panel with a white pill CTA — the same idiom as the
   app's own live match card. */

.get {
  background: var(--paper);
}

.get__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) clamp(3.5rem, 8vw, 5.5rem);
}

.get__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 52rem;
  margin: 0 auto;
  background: var(--dark);
  color: #fff;
  border-radius: clamp(24px, 4vw, 32px);
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.35rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.65);
}

/* soft grass floodlight behind the icon */
.get__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55%;
  left: 50%;
  width: min(120%, 40rem);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(125, 179, 63, 0.3), rgba(125, 179, 63, 0) 72%);
  pointer-events: none;
}

.get__icon {
  margin: 0 auto 1.15rem;
  border-radius: 18px;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.8);
}

.get h2 {
  color: #fff;
}

.get__lead {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 26rem;
  margin: 0 auto 2rem;
}

.get__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.cta {
  flex: 1 1 17rem;
  max-width: 19rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  text-align: left;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.cta--solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.9);
}

.cta--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.95);
}

.cta--solid .cta__icon { color: var(--grass); }

.cta--ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.cta--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.cta__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cta__big {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.cta__small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.005em;
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 780px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer__copy { grid-column: 1 / -1; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer__brand img { border-radius: 9px; }

.footer__brand p {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer__links a:hover { color: #fff; }

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer__copy a { font-weight: 600; }
.footer__copy a:hover { color: #fff; }

/* ── Reveal on scroll ────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  /* keep the composed hero / rail offsets after the reveal lands */
  @media (min-width: 940px) {
    .hero .device--front.reveal { transform: translateY(18px) rotate(2.5deg); }
    .hero .device--front.reveal.is-in { transform: rotate(2.5deg); }
    .hero .device--back.reveal { transform: translateY(18px) rotate(-8deg); }
    .hero .device--back.reveal.is-in { transform: rotate(-8deg); }
  }

  @media (min-width: 760px) {
    .screens .device--tall:nth-child(2).reveal { transform: translateY(calc(-1.5rem + 18px)); }
    .screens .device--tall:nth-child(2).reveal.is-in { transform: translateY(-1.5rem); }
  }
}

/* ── Reduced motion ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature,
  .get-btn,
  .cta,
  .btn,
  .nav__cta { transition: none; }
}
