/* ================================================================
   League Vitals — Marketing Site
   Design system adapted from PraxisMBS pattern
   Primary navy locked to #022E75
   ================================================================ */

:root {
  --navy: #022E75;
  --navy-deep: #011a4d;
  --navy-darker: #000f2e;
  --navy-soft: #2a4d99;
  --blue: #1455fe;
  --blue-soft: #4a7dff;
  --blue-glow: rgba(20, 85, 254, 0.35);
  --ice: #e8f0ff;
  --bg-light: #f7f9fc;
  --bg-mid: #eef2f9;
  --bg-white: #ffffff;
  --border: #e3e8f1;
  --border-soft: #f0f3f8;
  --text: #022E75;
  --text-body: #3a4661;
  --text-muted: #6b7895;
  --text-white: #ffffff;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --amber: #f59e0b;
  /* Aliases: some pages authored with --color-* tokens; keep them wired to the same values */
  --color-bg-alt: var(--bg-light);
  --color-border: var(--border);
  --color-text-muted: var(--text-muted);
  --color-accent: #e11d48;
  --container: 1400px;
  --header-h: 84px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(2, 46, 117, 0.06);
  --shadow-md: 0 12px 32px rgba(2, 46, 117, 0.10);
  --shadow-lg: 0 24px 60px rgba(2, 46, 117, 0.14);
  --shadow-xl: 0 40px 100px rgba(2, 46, 117, 0.20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  transition: all .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(2, 46, 117, 0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color .35s var(--ease);
}
.brand img.brand-icon {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  transition: box-shadow .3s var(--ease);
}
.brand-text { white-space: nowrap; }
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
@media (max-width: 600px) {
  .brand-logo { height: 28px; }
}
/* On dark hero background (before scroll), the brand text becomes white */
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .brand img.brand-icon {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
/* On dark hero, invert the logo so navy shield + dark wordmark become white */
.site-header:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}
/* But when the page has a light hero, keep the logo in its natural navy state */
body.has-light-hero .site-header:not(.scrolled) .brand-logo { filter: none; }
body.has-light-hero .site-header:not(.scrolled) .brand { color: var(--text); }

.nav {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  color: var(--text-body);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--bg-mid); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Hide desktop-only CTA buttons on mobile — mobile menu takes over */
@media (max-width: 899px) {
  .nav-cta .btn.desktop-only { display: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 999px;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2, 46, 117, 0.25);
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(2, 46, 117, 0.35);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-light); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 16px var(--blue-glow); }
.btn-blue:hover { background: #0d3fd1; color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  transition: background .2s var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all .3s var(--ease);
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 32px 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 20px) 0 100px;
  background: linear-gradient(180deg, #050b22 0%, var(--navy-darker) 40%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
/* Home hero specifically tighter (light hero uses this) */
.hero.hero-light.hero-home {
  padding-top: calc(var(--header-h) + 12px);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 85, 254, 0.35) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 1;
}
.hero-glow-1 { top: -300px; left: -200px; }
.hero-glow-2 { bottom: -400px; right: -200px; background: radial-gradient(circle, rgba(74, 125, 255, 0.25) 0%, transparent 60%); }

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 80px; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-soft) 0%, #a5c1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-cta .btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}
.hero-cta .btn-primary:hover {
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 12px 40px rgba(255,255,255,0.25);
}
.hero-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.hero-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Header nav-cta buttons on dark hero (before scroll) */
.site-header:not(.scrolled) .nav-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.site-header:not(.scrolled) .nav-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.site-header:not(.scrolled) .nav a {
  color: rgba(255,255,255,0.85);
}
.site-header:not(.scrolled) .nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Light-hero pages: header nav + CTAs render dark-on-white before scroll */
body.has-light-hero .site-header:not(.scrolled) .nav a { color: var(--text-body); }
body.has-light-hero .site-header:not(.scrolled) .nav a:hover { color: var(--navy); background: var(--bg-mid); }
body.has-light-hero .site-header:not(.scrolled) .nav-cta .btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}
body.has-light-hero .site-header:not(.scrolled) .nav-cta .btn-ghost:hover {
  background: var(--bg-mid);
  border-color: var(--navy);
  color: var(--navy);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 520px;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero right — floating cards */
.hero-visual {
  position: relative;
  height: 560px;
  perspective: 1400px;
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.card-standings {
  top: 20px; left: 0;
  width: 340px;
  transform: rotateY(-8deg) rotateX(4deg);
}
.card-standings .card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.standings-row {
  display: grid;
  grid-template-columns: 22px 1fr 40px 40px 40px;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13.5px;
}
.standings-row:last-child { border-bottom: none; }
.standings-row .rank {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}
.standings-row .team {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.standings-row .team .badge {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-soft) 100%);
  flex-shrink: 0;
  font-size: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.standings-row .stat {
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.standings-row .pts {
  color: #fff;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: 'Space Grotesk', sans-serif;
}

.card-notification {
  top: 200px; right: 0;
  width: 320px;
  transform: rotateY(6deg) rotateX(-3deg);
}
.card-notification .notify-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card-notification .notify-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.card-notification .notify-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.card-notification .notify-time {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
}
.card-notification p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.card-notification .checkin {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.card-notification .chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
}
.chip.in { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.chip.out { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); }

.card-game {
  bottom: 20px; left: 40px;
  width: 340px;
  transform: rotateY(-4deg) rotateX(-5deg);
}
.card-game .game-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-weight: 500;
}
.card-game .live {
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-game .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px #ef4444;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.card-game .matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.card-game .team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.card-game .team-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.card-game .team-logo.home { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-soft) 100%); }
.card-game .team-logo.away { background: linear-gradient(135deg, #ef4444 0%, #f97316 100%); }
.card-game .team-name {
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.card-game .score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #fff;
}
.card-game .score .num { font-size: 34px; letter-spacing: -0.03em; }
.card-game .score .dash { color: rgba(255,255,255,0.35); font-size: 20px; }
.card-game .period {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 999px) {
  .hero-visual { display: none; }
}

/* ================= SECTIONS ================= */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 20px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ================= PHILOSOPHY ================= */
.philosophy {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .philosophy-grid { grid-template-columns: repeat(3, 1fr); } }
.philo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s var(--ease);
}
.philo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-soft);
}
.philo-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.philo-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.philo-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= WHO IT'S FOR ================= */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.audience-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ice);
  color: var(--navy);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}
.audience-card h3 { font-size: 22px; margin-bottom: 12px; }
.audience-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; line-height: 1.6; }
.audience-card ul { list-style: none; padding: 0; }
.audience-card li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-body);
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-soft);
}
.audience-card li:last-child { border-bottom: none; }
.audience-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ice);
  border: 2px solid var(--blue);
}

/* ================= PRICING ================= */
.pricing {
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}
.pricing-toggle {
  display: inline-flex;
  padding: 5px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin: 0 auto 48px;
  position: relative;
}
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.pricing-toggle button {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .3s var(--ease);
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
@media (max-width: 500px) {
  .pricing-toggle { padding: 4px; }
  .pricing-toggle button { padding: 8px 12px; font-size: 12.5px; }
}
.pricing-toggle button.active {
  color: #fff;
}
.pricing-toggle-slider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  background: var(--navy);
  border-radius: 999px;
  transition: all .35s var(--ease-out);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(2, 46, 117, 0.25);
}
.pricing-save {
  text-align: center;
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 48px;
  font-family: 'Space Grotesk', sans-serif;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .35s var(--ease);
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-soft);
}
.tier.featured {
  background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-deep) 100%);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(2, 46, 117, 0.35);
}
.tier.featured:hover { transform: translateY(-14px) scale(1.02); }
.tier.featured .tier-name,
.tier.featured .tier-price,
.tier.featured .tier-features li,
.tier.featured h3 { color: #fff; }
.tier.featured .tier-desc,
.tier.featured .tier-price-per { color: rgba(255,255,255,0.65); }
.tier.featured .tier-features li::before { color: var(--blue-soft); }
.tier.featured .btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.tier.featured .btn-primary:hover { background: #0d3fd1; }

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 6px 20px var(--blue-glow);
}

.tier-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tier-price .currency { font-size: 22px; font-weight: 500; }
.tier-price-per {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
}
.tier-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 16px 0 24px;
  min-height: 44px;
  line-height: 1.5;
}
.tier-cta { margin-bottom: 28px; }
.tier-cta .btn { width: 100%; }
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.tier-features li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  border-top: 1px solid var(--border-soft);
}
.tier.featured .tier-features li { border-color: rgba(255,255,255,0.08); }
.tier-features li:first-child { border-top: none; }
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 10px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.tier-features .highlight {
  font-weight: 600;
  color: var(--text);
}
.tier.featured .tier-features .highlight { color: #fff; }

/* League+ contact card */
.league-plus {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.league-plus::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 85, 254, 0.35) 0%, transparent 60%);
  filter: blur(60px);
}
.league-plus-content { position: relative; z-index: 2; }
.league-plus-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.league-plus h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}
.league-plus p {
  color: rgba(255,255,255,0.75);
  font-size: 15.5px;
  max-width: 620px;
  line-height: 1.6;
}
.league-plus-price {
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  margin-top: 12px;
  letter-spacing: 0.02em;
}
.league-plus .btn {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--navy);
  white-space: nowrap;
}
.league-plus .btn:hover { background: var(--ice); color: var(--navy-deep); }
@media (max-width: 800px) {
  .league-plus { grid-template-columns: 1fr; padding: 32px 28px; }
  .league-plus h3 { font-size: 24px; }
}

/* ================= PILLARS ================= */
.pillars {
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 68px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-soft);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  opacity: 0.5;
}
.pillar h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.pillar p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pillar-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-body);
}
.pillar-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

/* ================= COMPARISON TABLE ================= */
.compare {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compare-scroll {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14.5px;
}
.compare-table thead {
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.compare-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--border);
}
.compare-table th:not(:first-child), .compare-table td:not(:first-child) {
  text-align: center;
  width: 130px;
}
.compare-table th.featured-col {
  background: var(--navy);
  color: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  position: relative;
}
.compare-table td.featured-col {
  background: rgba(2, 46, 117, 0.03);
  font-weight: 500;
}
.compare-table td.featured-col:last-of-type,
.compare-table tr:last-child td.featured-col {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .row-label {
  font-weight: 500;
  color: var(--text);
}
.compare-table .row-group {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-mid);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 20px;
}
.compare-yes { color: var(--success); font-weight: 600; font-size: 18px; }
.compare-no { color: var(--border); font-weight: 400; font-size: 18px; }
.compare-partial { color: var(--amber); font-weight: 500; font-size: 13px; }

.compare-team-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}
.compare-team-note strong { color: var(--text); }

/* ================= VALUE / MATH ================= */
.value-math {
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}
.value-math-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .value-math-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.value-math-copy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}
.value-math-copy p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.value-math-copy .callout {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  padding: 18px 22px;
  background: var(--ice);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  line-height: 1.5;
}

.math-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.math-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}
.math-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.math-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.math-row:last-of-type { border-bottom: none; }
.math-row .label { color: var(--text-body); font-size: 15px; }
.math-row .value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.math-row.total {
  border-top: 2px solid var(--border);
  border-bottom: none;
  margin-top: 8px;
  padding-top: 20px;
}
.math-row.total .label { font-weight: 500; color: var(--text); }
.math-row.total .value { font-size: 26px; color: var(--navy); }
.math-row.total.savings .value {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= PROCESS ================= */
.process {
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-soft) 0%, var(--navy-soft) 100%);
    opacity: 0.3;
    z-index: 0;
  }
}
.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 12px;
}
.process-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(2, 46, 117, 0.12);
  transition: all .3s var(--ease);
}
.process-step:hover .process-num {
  background: var(--navy);
  color: #fff;
  transform: scale(1.05);
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ================= FAQ ================= */
.faq {
  background: #fff;
  border-top: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 60px; } }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--navy-soft); }
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
button.faq-q,
.faq-q {
  /* Reset default button chrome so the semantic <button> looks identical */
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
  gap: 20px;
}
.faq-q-text { flex: 1; }
.faq-toggle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s var(--ease);
  font-size: 14px;
}
.faq-item.open .faq-toggle {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
  padding: 0 24px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 24px; }

/* ================= CTA / CONTACT ================= */
.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(20, 85, 254, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 125, 255, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.cta-copy .section-eyebrow,
.cta-band .section-eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cta-copy h2 {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 20px;
}
.cta-copy p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.cta-highlights {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}
.cta-highlights li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.cta-highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-soft) 100%);
  box-shadow: 0 0 0 4px rgba(20, 85, 254, 0.15);
}
.cta-highlights li::after {
  content: '✓';
  position: absolute;
  left: 4px; top: 11px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.form-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all .25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.1);
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(20, 85, 254, 0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-row select option { background: var(--navy-deep); color: #fff; }
.form-row textarea {
  min-height: 120px;
  resize: vertical;
  font-family: 'Inter', sans-serif;
}
.form-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 500px) { .form-row-two { grid-template-columns: 1fr 1fr; } }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-submit {
  width: 100%;
  padding: 15px 24px;
  background: #fff;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  border-radius: 10px;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
}
.form-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 340px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 14.5px;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}

/* ================= REVEAL ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card { transform: none !important; }
}

/* ================= UTILITY ================= */
@media (max-width: 700px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .form-card { padding: 28px 22px; }
  .tier.featured { transform: none; }
  .tier.featured:hover { transform: translateY(-6px); }
}

/* ===================================================================
   SPLIT-PAGES ADDITIONS (2026-07-02)
   =================================================================== */

/* --- Home hero (centered) --- */
.hero-home .hero-home-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.hero-copy-center {
  text-align: center;
  max-width: 860px;
}
.hero-copy-center .hero-eyebrow { margin-left: auto; margin-right: auto; }
.hero-copy-center h1 { font-size: clamp(38px, 5.5vw, 68px); }
.hero-copy-center .accent { display: inline; }

/* --- Product choice cards on home --- */
.product-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
  max-width: 1100px;
}
.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}
.choice-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.choice-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.choice-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.choice-card strong { color: #fff; font-weight: 600; }
.choice-list {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: grid;
  gap: 6px;
}
.choice-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.5;
}
.choice-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
}
.choice-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.choice-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-soft);
  margin-top: 2px;
}
.choice-cta .arrow { transition: transform 0.2s ease; }
.choice-card:hover .choice-cta .arrow { transform: translateX(4px); }

@media (max-width: 860px) {
  .product-choice { grid-template-columns: 1fr; gap: 16px; }
  .choice-card { padding: 28px 22px 24px; }
}

/* --- Compare products table (home page) --- */
.compare-products {
  padding: 100px 0;
  background: var(--bg);
}
.th-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
}
.compare-products-table th { text-align: left; }
.compare-products-table th:first-child { min-width: 240px; }
.compare-product-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* --- Nav active state --- */
.nav a.active {
  color: var(--navy);
  background: var(--bg-mid);
}
.site-header:not(.scrolled) .nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* --- Cross-sell banner --- */
.cross-sell {
  margin: 40px auto 0;
  max-width: 720px;
  padding: 18px 26px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}
.cross-sell a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.cross-sell a:hover { text-decoration: underline; }

/* --- Audience grid two-up (leagues page) --- */
.audience-grid-two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 860px) { .audience-grid-two { grid-template-columns: 1fr; } }

/* --- Pricing grids sized to match tier count --- */
.pricing-grid-three { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin-left: auto; margin-right: auto; }
.pricing-grid-two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .pricing-grid-three, .pricing-grid-two { grid-template-columns: 1fr; }
}

/* --- Modes section (teams page) --- */
.modes {
  padding: 100px 0;
  background: var(--bg-mid);
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mode-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mode-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 12px 40px rgba(2, 46, 117, 0.09);
}
.mode-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(2, 46, 117, 0.08);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mode-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 8px;
  line-height: 1.2;
}
.mode-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.mode-card strong { color: var(--navy); font-weight: 600; }
.mode-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mode-card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
}
.mode-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
@media (max-width: 860px) { .modes-grid { grid-template-columns: 1fr; } }

/* --- Fair-teams feature section --- */
.fair-teams-feature {
  padding: 100px 0;
  background: var(--bg);
}
.ft-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.ft-feature-copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 6px 0 18px;
}
.ft-feature-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.ft-feature-copy strong { color: var(--navy); font-weight: 600; }
.ft-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.ft-feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.ft-feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 700;
}
.ft-feature-cta { margin-top: 12px; }

/* --- Fair-teams diagram --- */
.ft-diagram {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 20px;
  padding: 32px 28px;
  color: #fff;
  box-shadow: 0 30px 80px rgba(2, 46, 117, 0.22);
}
.ft-pool { }
.ft-pool-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.ft-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ft-chip {
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, 0.9);
}
.ft-arrow-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0;
}
.ft-arrow {
  padding: 6px 14px;
  background: rgba(74, 125, 255, 0.25);
  border: 1px solid rgba(74, 125, 255, 0.4);
  color: #fff;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.ft-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ft-split-side {
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ft-split-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}
.ft-total {
  margin-left: auto;
  font-size: 15px;
  color: var(--blue-soft);
}
.ft-jersey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.ft-white { background: #fff; color: var(--navy-deep); }
.ft-dark { background: #111; color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.ft-split-line {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  padding: 3px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.ft-split-line:last-child { border-bottom: none; }
.ft-diff {
  text-align: center;
  margin-top: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .ft-feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .ft-diagram { padding: 24px 20px; }
}

/* --- Fair-teams float card in hero (teams page) --- */
.card-fair-teams {
  padding: 18px;
  min-width: 280px;
}
.card-fair-teams .ft-header {
  font-size: 11px;
  color: var(--text-muted);
  margin: 8px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Space Grotesk', sans-serif;
}
.card-fair-teams .ft-side {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--bg-mid);
  border-radius: 8px;
}
.card-fair-teams .ft-side:last-child { margin-bottom: 0; }
.card-fair-teams .ft-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.card-fair-teams .ft-score {
  margin-left: auto;
  font-size: 14px;
  color: var(--navy);
}
.card-fair-teams .ft-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text);
  padding: 3px 0;
}
.card-fair-teams .ft-skill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--navy);
  font-weight: 600;
}
.card-fair-teams .ft-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 4px;
  font-style: italic;
}

/* --- Team stats float card --- */
.card-team-stats {
  padding: 18px;
  min-width: 220px;
}
.card-team-stats .ts-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.card-team-stats .ts-row.highlight {
  border-bottom: none;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
}
.card-team-stats .ts-label { color: var(--text-muted); }
.card-team-stats .ts-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--navy-deep);
}
.card-team-stats .period {
  margin-top: 10px;
  font-size: 11px;
  color: var(--navy);
  text-align: center;
  font-weight: 500;
}

/* --- Not-included note (teams page pricing) --- */
.not-included {
  margin: 40px auto 0;
  max-width: 780px;
  padding: 20px 26px;
  background: rgba(20, 85, 254, 0.05);
  border: 1px solid rgba(20, 85, 254, 0.15);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.not-included strong { color: var(--navy); }
.not-included a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--navy); }
.not-included a:hover { color: var(--blue); border-color: var(--blue); }

/* ============================================================
   ITERATION: hero badge, notification tier ladder, peer-rank UI
   ============================================================ */

/* Hero badge row (index.html "For hockey players, by hockey players") */
.hero-badge-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-badge svg { color: #FFB84D; flex-shrink: 0; }
@media (max-width: 600px) {
  .hero-badge {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* "Coming soon" inline tag for tier features + comparison rows */
.soon-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(20, 85, 254, 0.12);
  color: var(--blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 4px;
}

/* Peer-ranked tier badge — richer variant of .tier-badge */
.tier-badge-peer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  box-shadow: 0 8px 24px var(--blue-glow);
  letter-spacing: 0.06em;
  white-space: nowrap;
  max-width: calc(100% - 20px);
  font-size: 10.5px;
}
.tier-badge-peer svg { color: #FFB84D; flex-shrink: 0; }
@media (max-width: 480px) {
  .tier-badge-peer {
    font-size: 9.5px;
    padding: 6px 12px;
    letter-spacing: 0.04em;
  }
}

/* Peer-rank list inside the fair-teams diagram */
.ft-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.ft-rank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 85, 254, 0.08);
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--navy-deep);
}
.ft-rank-who { color: var(--text-body); }
.ft-rank-skill {
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.ft-rank-row.ft-rank-agg {
  background: linear-gradient(135deg, #ffffff 0%, rgba(20, 85, 254, 0.06) 100%);
  border-color: rgba(20, 85, 254, 0.35);
  margin-top: 6px;
}
.ft-rank-row.ft-rank-agg .ft-rank-who,
.ft-rank-row.ft-rank-agg .ft-rank-who strong { color: var(--navy); font-weight: 600; }
.ft-rank-final { color: var(--blue); font-weight: 700; }
.ft-pool-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  text-align: center;
}

/* ================================================================
   LIGHT HERO + HEART-PULSE ANIMATION (homepage)
   ================================================================ */
.hero.hero-light {
  background: #ffffff;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
/* Blue-grid backdrop for the entire hero — blueprint feel, very subtle */
.hero.hero-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(2, 46, 117, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 46, 117, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.4) 100%);
}
/* Ensure hero children (copy, cards, pulse) sit above the grid.
   Pulse is explicitly kept below hero-inner via its own z-index rules. */
.hero.hero-light > .hero-inner { position: relative; z-index: 2; }
.hero.hero-light h1 { color: var(--text); }
.hero.hero-light h1 .accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero.hero-light .hero-sub { color: var(--text-body); }
.hero.hero-light .hero-eyebrow {
  background: var(--bg-light);
  color: var(--navy);
  border: 1px solid var(--border);
}
.hero.hero-light .hero-eyebrow .dot { background: var(--blue); }
.hero.hero-light .hero-badge {
  background: var(--bg-light);
  color: var(--text-body);
  border: 1px solid var(--border);
}
.hero.hero-light .hero-badge svg { color: var(--amber); }
.hero.hero-light .hero-cta .btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 32px rgba(2, 46, 117, 0.20);
}
.hero.hero-light .hero-cta .btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 12px 40px rgba(2, 46, 117, 0.30);
}
.hero.hero-light .hero-cta .btn-ghost {
  color: var(--navy);
  border-color: var(--border);
  background: transparent;
}
.hero.hero-light .hero-cta .btn-ghost:hover {
  background: var(--bg-mid);
  border-color: var(--navy);
  color: var(--navy);
}
.hero.hero-light .stat-num { color: var(--text); }
.hero.hero-light .stat-label { color: var(--text-muted); }

/* Heart-pulse background layer.
   Anchored to the visible viewport (100vh), with the ECG band sitting
   near the lower third of that region — behind and just under the copy,
   never bisecting it. */
.hero-pulse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: min(38vh, 320px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3vh;
}
/* When JS marks the pulse as pinned to viewport (hero is in view but bottom is offscreen), position it fixed to the viewport bottom */
.hero-pulse.is-pinned {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}
.hero-pulse-svg {
  width: 100%;
  height: clamp(200px, 30vh, 300px);
  opacity: 1;
}
@media (max-width: 768px) {
  .hero-pulse {
    /* Tighter band on mobile so spikes never overlap copy */
    padding-bottom: 3vh;
    height: min(28vh, 220px);
  }
  .hero-pulse-svg { height: clamp(90px, 12vh, 130px); }
}
.hero-pulse-path {
  /* Path length measured at ~1954 for the wave defined in HTML. */
  stroke-dasharray: 1970;
  stroke-dashoffset: 1970;
  animation: heartPulseSweep 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  filter: drop-shadow(0 0 6px rgba(2, 46, 117, 0.35));
}
@keyframes heartPulseSweep {
  0%   { stroke-dashoffset: 1970; opacity: 1; }
  55%  { stroke-dashoffset: 0; opacity: 1; }
  75%  { stroke-dashoffset: 0; opacity: 1; }
  90%  { stroke-dashoffset: 0; opacity: 0; }
  90.01% { stroke-dashoffset: 1970; opacity: 0; }
  100% { stroke-dashoffset: 1970; opacity: 0; }
}
/* Soft radial vignette that pulses subtly with the beat */
.hero-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 65%, rgba(2, 46, 117, 0.07) 0%, transparent 55%);
  animation: heartPulseGlow 5s ease-in-out infinite;
}
@keyframes heartPulseGlow {
  0%, 40%, 100% { opacity: 0.55; }
  52%           { opacity: 1; }
  62%           { opacity: 0.75; }
}
/* Faint horizontal grid to give the ECG a graph-paper feel — very subtle */
.hero.hero-light .hero-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 46, 117, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 46, 117, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-pulse-path { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .hero-pulse::before { animation: none; opacity: 0.6; }
}

/* ================================================================
   HOME HERO SPLIT LAYOUT (v22, 2026-07-02)
   Two-column: left = copy + feature CTA card, right = screenshot showcase.
   Stacks vertically on mobile. Pulse remains at hero bottom.
   ================================================================ */

.hero-home .hero-home-inner.hero-home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1240px;
  padding-top: 8px;
  padding-bottom: 180px; /* leave room for pulse at bottom */
  align-items: start;
  width: 100%;
}
@media (min-width: 1000px) {
  .hero-home .hero-home-inner.hero-home-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    padding-top: 12px;
    padding-bottom: 200px;
  }
}
@media (min-width: 1280px) {
  .hero-home .hero-home-inner.hero-home-split {
    gap: 80px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.hero-copy-left {
  text-align: left;
  max-width: 620px;
}
.hero-copy-left h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  text-align: left;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero-copy-left .hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}
.hero-copy-left .hero-eyebrow { margin-left: 0; margin-right: 0; }
.hero-copy-left .hero-sub {
  text-align: left;
  max-width: 560px;
}
.hero-badge-row-left {
  justify-content: flex-start;
}

/* Feature CTA card */
.feature-cta-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(2, 46, 117, 0.08), 0 2px 8px rgba(2, 46, 117, 0.04);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(2, 46, 117, 0.14), 0 4px 12px rgba(2, 46, 117, 0.06);
  border-color: rgba(2, 46, 117, 0.2);
}

/* Tabs at top of feature CTA card */
.feature-cta-tabs {
  display: flex;
  gap: 0;
  margin: 0 -22px 4px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}
.feature-cta-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 14px 12px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--ease);
  line-height: 1.2;
}
.feature-cta-tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.feature-cta-tab:hover { color: var(--text); }
.feature-cta-tab.is-active {
  color: var(--navy);
}
.feature-cta-tab.is-active::after { transform: scaleX(1); }
.feature-cta-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.feature-cta-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.feature-cta-panel.is-active {
  display: flex;
  animation: ctaPanelFade 0.25s var(--ease);
}
@keyframes ctaPanelFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-cta-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.feature-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-cta-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feature-cta-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-cta-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.feature-cta-list li strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}
.feature-cta-list li span {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.45;
}
.feature-cta-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(2, 46, 117, 0.08) 0%, rgba(2, 46, 117, 0.14) 100%);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-cta-icon svg { width: 15px; height: 15px; }
.feature-cta-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.feature-cta-link .arrow {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.feature-cta-card:hover .feature-cta-link .arrow { transform: translateX(4px); }

/* Screenshot showcase (right column) */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  perspective: 1600px;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}

.screen-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font: inherit;
  color: inherit;
  box-shadow: 0 18px 48px rgba(2, 46, 117, 0.14), 0 4px 14px rgba(2, 46, 117, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
  display: block;
  width: 100%;
}
.screen-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Tilt each card slightly for depth — significant overlap for tight hero */
.screen-card-1 {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  z-index: 3;
  margin-right: 30px;
  margin-left: 0;
}
.screen-card-2 {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) translateX(24px);
  z-index: 2;
  margin-top: -70px;
  margin-left: 40px;
  margin-right: 0;
}
.screen-card-3 {
  transform: perspective(1600px) rotateY(-6deg) rotateX(-1deg);
  z-index: 1;
  margin-top: -70px;
  margin-right: 20px;
  margin-left: 10px;
}
.screen-card:hover {
  transform: perspective(1600px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 28px 80px rgba(2, 46, 117, 0.22), 0 6px 20px rgba(2, 46, 117, 0.08);
  z-index: 10;
}

/* Browser chrome bar */
.screen-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #f4f5f8;
  border-bottom: 1px solid var(--border);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
}
.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8dae0;
  flex-shrink: 0;
}
.chrome-dot:nth-child(1) { background: #ff6058; }
.chrome-dot:nth-child(2) { background: #ffbd2e; }
.chrome-dot:nth-child(3) { background: #28c840; }
.chrome-url {
  margin-left: 10px;
  color: var(--text-muted);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Image area with brand-blue tint overlay */
.screen-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 20 / 9;
  background: #0b1a3d;
}
.screen-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.screen-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(2, 46, 117, 0.38) 0%, rgba(20, 85, 254, 0.18) 60%, rgba(2, 46, 117, 0.25) 100%);
  mix-blend-mode: multiply;
  transition: opacity 0.4s var(--ease);
}
.screen-card:hover .screen-image img {
  transform: scale(1.03);
  filter: saturate(1.1) brightness(1.02);
}
.screen-card:hover .screen-tint { opacity: 0.45; }

.screen-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(2, 46, 117, 0.92);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.screen-expand {
  position: absolute;
  top: 42px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.screen-card:hover .screen-expand,
.screen-card:focus-visible .screen-expand {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile screenshot showcase: reset tilts, tighten margins */
@media (max-width: 999px) {
  .screen-card-1,
  .screen-card-2,
  .screen-card-3 {
    transform: none;
    margin: 0;
  }
  .hero-showcase {
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .screen-card:hover {
    transform: translateY(-3px);
  }
  .screen-expand { opacity: 1; transform: translateY(0); }
  .screen-image { aspect-ratio: 16 / 10; }
  .feature-cta-tabs {
    padding: 0 8px;
  }
  .feature-cta-tab {
    padding: 12px 10px 10px;
    font-size: 12.5px;
  }
}

/* ================================================================
   SCREENSHOT LIGHTBOX
   ================================================================ */
.screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.screen-lightbox[hidden] { display: none; }
.screen-lightbox.is-open { opacity: 1; }
.screen-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 34, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  padding: 0;
  cursor: zoom-out;
}
.screen-lightbox-inner {
  position: relative;
  max-width: min(1400px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.screen-lightbox.is-open .screen-lightbox-inner { transform: scale(1); }
.screen-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.screen-lightbox-caption {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 600px;
}
.screen-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 0.2s var(--ease);
  z-index: 3;
}
.screen-lightbox-close:hover { transform: scale(1.08); }
@media (max-width: 640px) {
  .screen-lightbox-close { top: -10px; right: -10px; width: 36px; height: 36px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .screen-card, .screen-card-1, .screen-card-2, .screen-card-3 {
    transform: none !important;
    transition: none !important;
  }
  .screen-lightbox, .screen-lightbox-inner {
    transition: none !important;
    transform: none !important;
  }
}

/* ======================= SUBPAGE HERO (leagues.html / teams.html) ======================= */
.hero.hero-subpage {
  min-height: auto;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 80px;
  align-items: flex-start;
}
.hero.hero-subpage .hero-inner {
  display: block;
  padding-top: 4px;
}
.hero-subpage-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding-top: 8px;
}
.hero-subpage-inner .hero-eyebrow { margin-bottom: 20px; }
.hero-subpage-inner h1 {
  font: 600 clamp(34px, 4.4vw, 56px)/1.06 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 20ch;
}
.hero-subpage-inner .hero-sub {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 60ch;
  margin: 0 0 28px;
}
.hero-cta-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .hero.hero-subpage { padding-bottom: 56px; }
  .hero-subpage-inner h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero-cta-left { width: 100%; }
  .hero-cta-left .btn { flex: 1 1 auto; text-align: center; }
}

/* ======================= FEATURE HIGHLIGHTS ======================= */
.feature-highlights {
  padding: 96px 0 100px;
  background: #ffffff;
  position: relative;
}
.feature-highlights .section-head { margin-bottom: 44px; }
.fh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .fh-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1000px) {
  .fh-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.fh-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.fh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(2,46,117,0.09);
  border-color: rgba(2,46,117,0.22);
}
.fh-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2,46,117,0.08), rgba(2,46,117,0.16));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.fh-icon svg { width: 22px; height: 22px; }
.fh-card h3 {
  font: 600 18px/1.28 'Space Grotesk', sans-serif;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}
.fh-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
  flex: 1;
}
.fh-benefit {
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--navy);
  padding-top: 12px;
  border-top: 1px dashed rgba(2,46,117,0.22);
  margin-top: 6px;
}
.fh-cta {
  margin-top: 52px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .feature-highlights { padding: 72px 0 76px; }
  .fh-cta { margin-top: 40px; }
}

/* ================= LEGAL PAGES (privacy / terms) ================= */
.legal-page {
  padding: 120px 0 80px;
  background: #f7f9fc;
  min-height: 70vh;
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(2, 46, 117, 0.08);
  border-radius: 16px;
  padding: 40px 36px 48px;
  box-shadow: 0 12px 40px rgba(2, 46, 117, 0.06);
}
@media (max-width: 700px) {
  .legal-page { padding: 100px 0 60px; }
  .legal-wrap { padding: 28px 20px 36px; border-radius: 12px; }
}
.legal-wrap .legal-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #022E75;
  margin-bottom: 10px;
}
.legal-wrap h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0b1b3a;
  line-height: 1.2;
  margin: 0 0 12px;
}
.legal-meta {
  font-size: 14px;
  color: #5b6b86;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(2, 46, 117, 0.1);
}
.legal-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #022E75;
  margin: 32px 0 12px;
}
.legal-wrap h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0b1b3a;
  margin: 20px 0 8px;
}
.legal-wrap p,
.legal-wrap li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #334155;
}
.legal-wrap p { margin: 0 0 14px; }
.legal-wrap ul,
.legal-wrap ol {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a {
  color: #022E75;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-wrap a:hover { color: #1455fe; }
.legal-wrap .legal-note {
  background: rgba(2, 46, 117, 0.05);
  border-left: 3px solid #022E75;
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 14.5px;
  color: #334155;
}

/* ==================================================================
   WAVE 2A — Accessibility + SEO additions (safe, appended, no changes
   to frozen pulse block at lines 2303-2482)
   ================================================================== */

/* Skip-to-content link: hidden until focused, then pinned top-left */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--blue, #022E75);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
  transition: left 120ms ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

/* Visible focus ring for keyboard users on primary interactive surfaces */
.btn:focus-visible,
.nav a:focus-visible,
.mobile-menu a:focus-visible,
.faq-q:focus-visible,
.nav-cta .hamburger:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==================================================================
   WAVE 2C — Expanded footer + device-frame partial (appended, safe)
   ================================================================== */

/* -- Expanded footer -- */
.footer-canada {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer-canada span[aria-hidden] { font-size: 15px; line-height: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-a11y-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-a11y-note a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}
.footer-a11y-note a:hover { color: #fff; text-decoration-color: #fff; }

.footer-social {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: all 160ms ease;
}
.footer-social:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}
.footer-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-a11y-note { font-size: 12px; }
}

/* -- Reusable device frame for product screenshots --
   Usage:
     <figure class="device-frame device-frame--desktop">
       <img src="..." alt="..." loading="lazy" width="1356" height="847">
       <figcaption class="visually-hidden">...</figcaption>
     </figure>
     <figure class="device-frame device-frame--mobile"> ... </figure>
*/
.device-frame {
  position: relative;
  margin: 0;
  border-radius: 14px;
  background: #0f172a;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  isolation: isolate;
}
.device-frame::before {
  /* Subtle top chrome bar to hint at browser/device */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 14px 14px 0 0;
  z-index: 1;
}
.device-frame::after {
  /* Three traffic-light dots on the top bar */
  content: "";
  position: absolute;
  top: 8px; left: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow:
    14px 0 0 #f59e0b,
    28px 0 0 #22c55e;
  z-index: 2;
}
.device-frame img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 22px;
  object-fit: cover;
  object-position: top center;
}
.device-frame figcaption {
  padding: 12px 4px 4px;
  font-size: 13.5px;
  color: var(--text-body, #475569);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

/* Desktop variant: 16:10 landscape */
.device-frame--desktop {
  aspect-ratio: auto;
  max-width: 100%;
}

/* Mobile variant: phone-shaped, smaller, no browser bar */
.device-frame--mobile {
  max-width: 260px;
  padding: 10px;
  border-radius: 28px;
  background: #0f172a;
}
.device-frame--mobile::before {
  height: 18px;
  background: #0f172a;
  border-radius: 28px 28px 0 0;
}
.device-frame--mobile::after {
  /* Notch instead of traffic lights on mobile */
  content: "";
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 6px;
  border-radius: 999px;
  background: #1e293b;
  box-shadow: none;
}
.device-frame--mobile img {
  margin-top: 18px;
  border-radius: 20px;
}

/* Screenshot showcase row: side-by-side desktop + mobile */
.screenshot-row {
  display: grid;
  gap: 24px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) {
  .screenshot-row {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

/* Visually hidden helper for a11y captions/labels */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================================================
   LEGAL / LONG-FORM DOCUMENT PAGES (Wave 4)
   Applied on .legal-doc wrapper — used by privacy, terms, sms-terms
   Gives long-form docs proper reading rhythm, spacing, and hierarchy
   =================================================================== */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-body);
}
.legal-doc h2 {
  font-size: 26px;
  margin: 56px 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-doc h2:first-of-type {
  margin-top: 40px;
  padding-top: 0;
  border-top: none;
}
.legal-doc h3 {
  font-size: 19px;
  margin: 32px 0 12px;
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-doc p {
  margin: 0 0 16px;
  line-height: 1.72;
  font-size: 15.5px;
}
.legal-doc ul, .legal-doc ol {
  margin: 0 0 20px;
  padding-left: 22px;
  line-height: 1.72;
  font-size: 15.5px;
}
.legal-doc li { margin: 0 0 8px; }
.legal-doc li:last-child { margin-bottom: 0; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc code {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  background: var(--bg-mid);
  border-radius: 4px;
  color: var(--navy);
  white-space: nowrap;
}
.legal-doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; text-decoration-color: rgba(20,85,254,0.35); }
.legal-doc a:hover { color: var(--navy); text-decoration-color: var(--navy); }

/* TL;DR summary block at the top of each legal page */
.legal-tldr {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 0 0 40px;
}
.legal-tldr h2 {
  font-size: 15px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue) !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  font-weight: 600;
}
.legal-tldr ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
  font-size: 15px;
}
.legal-tldr li { margin-bottom: 6px; }
@media (max-width: 700px) {
  .legal-tldr { padding: 22px 22px; }
}

/* Footnote / disclaimer paragraph at end of legal doc */
.legal-footnote {
  margin-top: 48px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-style: italic;
}

/* Sub-processor table (reuses .compare-table but with legal-doc scope) */
.legal-doc .compare-scroll { margin: 20px 0 28px; }
.legal-doc .compare-table { width: 100%; font-size: 14.5px; }
.legal-doc .compare-table th {
  background: var(--bg-mid);
  color: var(--text);
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.legal-doc .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.legal-doc .compare-table tr:last-child td { border-bottom: none; }

/* Jump-nav pill row (used on features.html) */
.jump-nav { padding: 32px 0 24px; }
.jump-nav .pillars-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.jump-nav .pillar,
.jump-nav a.pillar {
  text-decoration: none;
  color: var(--text);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.jump-nav .pillar:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.jump-nav .pillar p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.jump-nav .pill {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--ice);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}


