/* Home page. One family (IBM Plex Sans) in sentence case, roomy soft cards, and color only where it means something:
   navy for the brand band, teal for the one thing to click and for good news. */
.home {
  --navy: #1f3a5f;
  --night: #172d4b;
  --signal: #3cc4b9;
  --signal-deep: #0f7c80;
  --ink: #18233a;
  --muted: #5b6577;
  --faint: #8a93a3;
  --line: #e6e9ef;
  --mist: #f5f7fa;
  --shadow: 0 1px 2px rgba(24, 35, 58, 0.04), 0 8px 24px rgba(24, 35, 58, 0.06);
  background: var(--mist);
  color: var(--ink);
}
.home h1, .home h2, .home h3 { font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif; font-weight: 700; text-transform: none; letter-spacing: -0.02em; }
.home .wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.home a { color: var(--navy); }
.home :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.masthead :focus-visible { outline-color: var(--signal); }
/* small letter-spaced caps: the one label style */
.home .pill, .tag { display: inline-block; font: 600 12px 'IBM Plex Sans', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }

/* masthead: the navy band carries the brand and the hero */
.masthead { background: var(--navy); color: #fff; padding-bottom: 88px; }
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand span:not(.mark) { color: #a9b8cc; font-weight: 400; }
.mark { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }
.bar nav { display: flex; gap: 24px; align-items: center; }
.bar nav a { color: #d6deea; text-decoration: none; font-weight: 500; font-size: 15px; }
.bar nav a:hover { color: #fff; }
.bar nav a.open { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); padding: 7px 14px; border-radius: 999px; }
.bar nav a.open:hover { border-color: #fff; }

.stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; padding-top: 64px; }
.stage h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.06; margin: 0 0 24px; color: #fff; }
.lede { font-size: 19px; line-height: 1.6; color: #c9d4e3; max-width: 32em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.home .cta { display: inline-block; background: var(--signal); color: #0d2a2c; font-weight: 600; padding: 13px 22px; border-radius: 999px; text-decoration: none; margin: 0; transition: background 0.15s; }
.home .cta:hover { background: #5fd3c9; }
.home .cta.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.home .cta.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.fine { font-size: 14px; color: #93a5bd; margin: 0; max-width: 34em; line-height: 1.55; }

/* the hero card: this week's plan, the way the app shows it */
.room { margin: 0; background: var(--night); border-radius: 20px; padding: 24px 26px 18px; box-shadow: 0 30px 60px rgba(5, 14, 28, 0.35); border: 1px solid rgba(255, 255, 255, 0.08); }
.room-tabs { display: flex; align-items: center; margin-bottom: 18px; }
.live { font-size: 12px; color: #93a5bd; display: flex; align-items: center; gap: 7px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(60, 196, 185, 0.2); }
.call .row { display: flex; justify-content: space-between; align-items: baseline; }
.tag { color: var(--signal); }
.who { font: 700 28px/1.15 'IBM Plex Sans', sans-serif; letter-spacing: -0.02em; color: #fff; margin: 10px 0 6px; }
.offer { margin: 0 0 18px; color: #c9d4e3; font-size: 15px; }
.verdict { font: 700 40px/1 'IBM Plex Sans', sans-serif; letter-spacing: -0.03em; color: var(--signal); margin: 0 0 18px; }
.why { list-style: none; margin: 0; padding: 0; color: #c9d4e3; font-size: 14.5px; }
.why li { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.room figcaption { font-size: 12px; color: #93a5bd; margin-top: 14px; }
/* the card opens the same plan in the sample league */
.room-link { display: block; color: inherit; text-decoration: none; border-radius: 20px; }
.room-link .room { transition: transform 0.15s, border-color 0.15s; }
.room-link:hover .room { transform: translateY(-2px); border-color: rgba(60, 196, 185, 0.45); }
.room-link:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.room figcaption .see { color: var(--signal); font-weight: 600; white-space: nowrap; }
.room-link:hover .see { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .room-link:hover .room { transform: none; } }

/* the season, step by step: each step a soft card, words left and the example right */
.night { padding-top: 96px; }
.home h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 32px; color: var(--ink); }
.night-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.night-steps > li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.step-text h3 { font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.step-text p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 30em; }
.night-steps .ex { max-width: 640px; }

/* pricing */
.pricing { padding-top: 96px; padding-bottom: 24px; }
.price-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.price-head h2 { margin: 0; }
.amount { margin: 0; color: var(--muted); font-size: 17px; }
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.plan.paid { box-shadow: 0 0 0 2px var(--navy), var(--shadow); border-color: transparent; }
.plan .pill { padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--muted); }
.plan.paid .pill { background: #dcf1f0; color: #0b5e61; }
.plan-price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 18px 0 20px; }
.plan-price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.ticks li { position: relative; padding: 9px 0 9px 30px; color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--signal-deep); border-bottom: 2px solid var(--signal-deep); transform: rotate(-45deg); }
.plan .cta.ghost { color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.plan .cta.ghost:hover { background: var(--mist); }
.plan.paid .cta { background: var(--navy); color: #fff; }
.plan.paid .cta:hover { background: #2a4b78; }
.refund { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* questions */
.faq { padding-top: 96px; max-width: 760px; margin-left: max(0px, calc((100% - 1080px) / 2)); }
.home details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 0; margin: 0; }
.home details:last-of-type { border-bottom: 1px solid var(--line); }
.home summary { padding: 20px 0; font-weight: 600; font-size: 17px; }
.home details p { color: var(--muted); margin: -8px 0 20px; line-height: 1.65; }

.home .site-foot { align-items: center; margin-top: 96px; }

@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; }
  .night-steps > li { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .home .wrap { padding-inline: 16px; }
  .bar nav a:not(.open) { display: none; }
  .masthead { padding-bottom: 48px; }
  .stage h1 { font-size: 34px; }
  .room { padding: 20px 18px 14px; }
  .who { font-size: 24px; }
  .verdict { font-size: 34px; }
  .night, .pricing, .faq { padding-top: 64px; }
  .night-steps > li { padding: 22px 18px; border-radius: 16px; }
  .plan { padding: 24px 20px; }
}
/* install, terms and privacy: the same navy band, shorter */
.masthead.slim { padding-bottom: 0; }
.install .masthead.slim { padding-bottom: 56px; }
.install .pitch { padding-top: 40px; }
.install .pitch h1 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 58px); line-height: 1.06; color: #fff; }
.install .lede { margin-bottom: 0; }
.install main { padding-top: 56px; }
.install ol.steps { margin: 0; }
.install ol.steps > li { margin: 0 0 20px; padding: 32px 32px 32px 88px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.install ol.steps > li::before { left: 32px; top: 32px; width: 36px; height: 36px; background: var(--navy); }
.install ol.steps h3 { margin: 4px 0 8px; font-size: 24px; line-height: 1.2; }
.install ol.steps p { max-width: 36em; color: var(--muted); font-size: 17px; line-height: 1.6; }
.install ol.steps .cta { margin-top: 20px; }
.install .cta { background: var(--navy); color: #fff; }
.install .cta:hover { background: #2a4b78; }
.install .cta.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.install .cta.ghost:hover { background: var(--mist); }
.install h2 { margin: 72px 0 16px; }
.install .sub { margin: 0; max-width: 36em; font-size: 17px; line-height: 1.6; }
.legal { padding-bottom: 8px; }
.home .legal h1 { margin-top: 48px; font-size: clamp(30px, 3.4vw, 40px); color: var(--ink); }
.home .legal h2 { margin: 36px 0 8px; font-size: 22px; }
@media (max-width: 520px) {
  .install .masthead.slim { padding-bottom: 40px; }
  .install .pitch { padding-top: 16px; }
  .install main { padding-top: 40px; }
  .install ol.steps > li { padding: 22px 18px; border-radius: 16px; }
  .install ol.steps > li::before { position: static; display: flex; margin-bottom: 12px; }
  .install ol.steps .cta { display: block; text-align: center; }
}

/* a phone can't run the extension, so its first button opens the free rankings instead */
.home .cta.phone-only, .to-pricing { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 520px) {
  .home .cta.phone-only { display: inline-block; }
  .home .cta.desk-only { display: none; }
  /* the header has no room for Pricing here, so the way there sits under the buttons */
  .home .to-pricing { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0 8px; color: #fff; font-weight: 600; text-underline-offset: 3px; }
  .brand, .bar nav a, .home .site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .home .site-foot { row-gap: 0; }
}

/* This week's pickups: a list made for phones */
.pickups h2 { margin: 0 0 6px; font-size: 24px; }
.pickups .pick-list { margin: 0 0 48px; }
.pickups .pick-list ol { list-style: none; margin: 16px 0 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.pickups .pick { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.pickups .pick:first-child { border-top: 0; }
.pickups .pick .rank { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.pickups .pick .player { display: grid; gap: 2px; min-width: 0; }
.pickups .pick .player .name b { font-size: 16px; }
.pickups .pick .player small { color: var(--muted); font-size: 13px; }
.pickups .pick .player .what { color: var(--ink); }
.pickups .pick .tag { margin-left: 8px; font-size: 11px; padding: 1px 6px; border-radius: 4px; vertical-align: 2px; }
.pickups .pick .tag.warn { background: #f3e6bd; color: #5e4a0e; }
.pickups .pick .games { display: grid; justify-items: end; gap: 1px; text-align: right; }
.pickups .pick .games b { font-size: 22px; line-height: 1; color: var(--signal-deep); font-variant-numeric: tabular-nums; }
.pickups .pick .games small { color: var(--muted); font-size: 12px; }
.pickups .pick .player .what { font-size: 13.5px; }
.pickups .pick .games .days { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.pickups .your-league { margin: 0 0 64px; padding-top: 8px; }
.pickups .your-league .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pickups .cta.ghost.dark { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
@media (max-width: 520px) {
  .pickups .pick { padding: 12px 14px; gap: 10px; grid-template-columns: 20px 1fr auto; }
  .pickups .your-league .actions .cta { display: block; width: 100%; text-align: center; }
}

/* the list fills in after load; hold its room so the footer doesn't jump */
#pickups { min-height: 100vh; }

/* depth and motion, shared with the app: the navy band has a faint teal light, cards lift under the pointer,
   and the steps and plans rise in as they scroll into view. Only opacity and transform move; reduced motion stops it. */
.masthead {
  background:
    radial-gradient(1000px 420px at 85% -80px, rgba(60, 196, 185, 0.2), transparent 70%),
    radial-gradient(800px 300px at 0% 110%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--night));
}
.home .cta { transition: background 0.15s, box-shadow 0.2s, transform 0.15s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home .cta:hover { transform: translateY(-1px); }
.home .cta:not(.ghost):hover { box-shadow: 0 8px 20px rgba(60, 196, 185, 0.28); }
.home .cta:active { transform: scale(0.97); transition-duration: 0.06s; }
.night-steps > li, .plan, .install ol.steps > li { transition: box-shadow 0.25s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (hover: hover) {
  .night-steps > li:hover, .plan:hover, .install ol.steps > li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(24, 35, 58, 0.05), 0 18px 40px rgba(24, 35, 58, 0.1); }
  .plan.paid:hover { box-shadow: 0 0 0 2px var(--navy), 0 2px 4px rgba(24, 35, 58, 0.05), 0 18px 40px rgba(24, 35, 58, 0.1); }
}
@keyframes home-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stage > * { animation: home-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.stage > :nth-child(2) { animation-delay: 0.12s; }
/* set by the page script only, so without it everything simply shows */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
  .night-steps > li:hover, .plan:hover, .home .cta:hover { transform: none; }
}

/* ───────────── Editorial: one photograph, one sentence, a serif voice ─────────────
   The home page leads with a full-bleed photo and a single statement in Instrument Serif, the nav floating quietly over
   it and a caption in the corner. Below, three steps read like pages of a magazine: no boxes, just type, space and the
   app itself. Plex stays for reading. */
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
.home { --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; --paper: #f6f4ef; --rule: #dcd8ce; background: var(--paper); }
.home h1, .home h2, .home .step-text h3, .home .plan-price { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* the hero: the photo fills the first screen; a dark wash keeps the words readable */
.masthead.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: min(100svh, 980px); padding-bottom: 0; background: #0d1a2c; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.55) 0%, rgba(8, 16, 30, 0.15) 30%, rgba(8, 16, 30, 0.2) 55%, rgba(8, 16, 30, 0.75) 100%),
    var(--hero-img, radial-gradient(1200px 700px at 50% 115%, #24476f 0%, #13263f 45%, #0b1625 100%));
  background-size: cover; background-position: center;
  animation: hero-settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
/* until the photograph arrives: the arc of a court, drawn faintly */
.hero-photo::after {
  content: ''; position: absolute; left: 50%; bottom: -38vmin; width: 120vmin; height: 76vmin; transform: translateX(-50%);
  border: 1.5px solid rgba(255, 255, 255, 0.09); border-radius: 50% 50% 0 0 / 100% 100% 0 0; border-bottom: 0;
}
.hero-photo.has-photo::after { display: none; }
@keyframes hero-settle { from { transform: scale(1.06); opacity: 0.6; } to { transform: none; opacity: 1; } }
.masthead.hero .bar { position: relative; z-index: 1; padding-top: 28px; }
.masthead.hero .brand { font-weight: 600; }
.masthead.hero .mark { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.masthead.hero .bar nav { gap: 32px; }
.masthead.hero .bar nav a { font-family: var(--serif); font-size: 21px; color: rgba(255, 255, 255, 0.86); }
.masthead.hero .bar nav a:hover { color: #fff; }
.masthead.hero .bar nav a.open { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 9px 16px; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.06); }
.masthead.hero .stage { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 40px; text-align: center; }
.masthead.hero .pitch { max-width: 900px; }
.masthead.hero .stage h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.98; margin: 0 0 28px; color: #fbf8f2; text-wrap: balance; }
.masthead.hero .lede { margin: 0 auto 36px; max-width: 34em; font-size: 18px; color: rgba(240, 236, 228, 0.82); }
.masthead.hero .actions { justify-content: center; }
.home .masthead.hero .cta { background: #fbf8f2; color: #10203a; border-radius: 999px; padding: 14px 26px; }
.home .masthead.hero .cta:hover { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.home .masthead.hero .cta.ghost { background: rgba(255, 255, 255, 0.04); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.home .masthead.hero .cta.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
/* the corner caption, like a plate number in a book */
.hero-caption { position: relative; z-index: 1; display: grid; gap: 2px; justify-items: start; padding-bottom: 28px; color: rgba(240, 236, 228, 0.82); text-decoration: none; font-size: 14px; }
.hero-caption .num { font-family: var(--serif); font-size: 17px; color: #fff; }
.hero-caption span:not(.num) { font-family: var(--serif); font-size: 19px; }
.hero-caption b { font-weight: 600; color: #fff; }
.hero-caption:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* the steps: no boxes, a hairline between them, a big serif title and the app beside it */
.night { padding-top: 128px; }
.night > h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; max-width: 12em; margin: 0 0 20px; }
.night .fine-print { margin: 0 0 72px; max-width: 36em; color: var(--muted); font-size: 16px; line-height: 1.6; }
.night-steps { gap: 0; counter-reset: none; }
.night-steps > li, .night-steps > li:hover { padding: 72px 0; background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; transform: none; gap: 72px; align-items: start; }
.step-no { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 20px; color: var(--muted); }
.step-text { position: sticky; top: 40px; }
.home .step-text h3 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; margin: 0 0 18px; }

/* pricing: two plain columns on a rule, the price in the serif */
.pricing { padding-top: 128px; }
.price-head h2, .faq h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; }
.tiers { gap: 0; border-top: 1px solid var(--rule); }
.plan, .plan:hover { border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; padding: 40px 48px 40px 0; }
.plan.paid, .plan.paid:hover { box-shadow: none; padding: 40px 0 40px 48px; border-left: 1px solid var(--rule); }
.plan-name { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); }
.plan.paid .plan-name { color: var(--signal-deep); }
.plan-price { font-size: 64px; letter-spacing: -0.02em; margin: 6px 0 20px; }
.plan-price small { font-family: 'IBM Plex Sans', sans-serif; }
.home details { border-top-color: var(--rule); }
.home details:last-of-type { border-bottom-color: var(--rule); }
.home summary { font-family: var(--serif); font-size: 24px; font-weight: 400; }

@media (max-width: 900px) {
  .masthead.hero .bar nav a:not(.open) { font-size: 18px; }
  .night-steps > li, .night-steps > li:hover { padding: 48px 0; gap: 32px; }
  .step-text { position: static; }
  .plan, .plan:hover, .plan.paid, .plan.paid:hover { padding: 32px 0; border-left: 0; }
  .plan.paid { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .masthead.hero { min-height: 92svh; }
  .masthead.hero .bar { padding-top: 16px; }
  .masthead.hero .stage h1 { font-size: 48px; }
  .masthead.hero .lede { font-size: 16px; }
  .masthead.hero .actions { flex-direction: column; align-items: stretch; }
  .home .masthead.hero .cta { text-align: center; }
  .home .masthead.hero .to-pricing { justify-content: center; }
  .hero-caption { padding-bottom: 20px; }
  .night, .pricing { padding-top: 80px; }
  .night .fine-print { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }
.masthead.hero .bar, .masthead.hero .stage, .hero-caption { width: 100%; }
.home .hero-caption, .home .hero-caption span { color: rgba(240, 236, 228, 0.82); }
.home .hero-caption .num, .home .hero-caption b { color: #fff; }
.masthead.hero .pitch { max-width: 980px; }
.masthead.hero .lede { max-width: 38em; }
/* the photograph is grayscale: a navy wash ties it to the brand, darker top and bottom for the nav and caption */
.hero-photo.has-photo {
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.7) 0%, rgba(8, 16, 30, 0.35) 30%, rgba(8, 16, 30, 0.45) 60%, rgba(8, 16, 30, 0.85) 100%),
    linear-gradient(rgba(23, 45, 75, 0.45), rgba(23, 45, 75, 0.45)),
    var(--hero-img) center / cover no-repeat,
    #0d1a2c;
}
.hero-photo.has-photo { --hero-img: url(/img/hero-2400.jpg); }
@media (max-width: 699px) { .hero-photo.has-photo { --hero-img: url(/img/hero-1200.jpg); } }

/* landing motion: the headline arrives word by word, the example slides in after its words, the photo drifts */
@keyframes word-in { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.reveal-on h1.split .w { display: inline-block; animation: word-in 0.7s calc(0.15s + var(--i) * 0.07s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal-on .masthead.hero .lede, .reveal-on .masthead.hero .actions, .reveal-on .masthead.hero .to-pricing { animation: home-rise 0.7s 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal-on .masthead.hero .actions { animation-delay: 0.8s; }
.reveal-on .hero-caption { animation: home-rise 0.7s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal-on .masthead.hero .stage > * { animation: none; }
.hero-photo { will-change: transform; }
.reveal-on .night-steps > li.reveal .ex { opacity: 0; transform: translateX(28px); transition: opacity 0.8s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .night-steps > li.reveal.seen .ex { opacity: 1; transform: none; }
.reveal-on .night-steps > li.reveal .step-no { display: inline-block; transform: translateY(8px); opacity: 0; transition: all 0.6s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .night-steps > li.reveal.seen .step-no { transform: none; opacity: 1; }
/* the CTA arrow nudges on hover */
.home .masthead.hero .cta:not(.ghost)::after { content: '→'; display: inline-block; margin-left: 8px; transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home .masthead.hero .cta:not(.ghost):hover::after { transform: translateX(4px); }
.hero-caption b::after { content: ' →'; }

/* ───────────── Sporty, product-led ─────────────
   The hero shows the product doing its job: a real week's plan whose odds count up, moves snapping in. Headlines in
   Barlow Condensed (the app's scoreboard face), body in Plex, quick motion with a purpose. */
.home { --display: 'Barlow Condensed', 'IBM Plex Sans', sans-serif; --paper: #f4f6f9; --rule: #dfe4ec; background: var(--paper); }
.home h1, .home h2, .home .step-text h3, .home .plan-price { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; text-transform: none; }
.masthead.hero .bar nav a:not(.open) { font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 500; }
.home summary { font-family: 'IBM Plex Sans', sans-serif; font-size: 17px; font-weight: 600; }
.plan-name { font-family: 'IBM Plex Sans', sans-serif; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.step-no { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--signal-deep); }

/* hero: navy with a faint court grid and the teal light, headline left, the live plan right */
.masthead.hero { min-height: auto; background: radial-gradient(1000px 520px at 85% 0%, rgba(60, 196, 185, 0.18), transparent 70%), linear-gradient(180deg, var(--navy), var(--night)); padding-bottom: 96px; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  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: 56px 56px; -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent); mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent); }
.masthead.hero .stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; text-align: left; padding-top: 56px; padding-bottom: 0; }
.masthead.hero .pitch { max-width: none; }
.masthead.hero .stage h1 { font-size: clamp(52px, 6.4vw, 88px); line-height: 0.95; margin: 0 0 24px; color: #fff; text-transform: none; }
.masthead.hero .lede { margin: 0 0 32px; max-width: 30em; font-size: 19px; color: #c9d4e3; }
.masthead.hero .actions { justify-content: flex-start; }
.home .masthead.hero .cta { background: var(--signal); color: #0d2a2c; }
.home .masthead.hero .cta:hover { background: #5fd3c9; box-shadow: 0 10px 28px rgba(60, 196, 185, 0.3); }

/* the plan card */

/* steps and pricing in the same voice */
.night > h2 { font-size: clamp(40px, 5vw, 64px); line-height: 0.98; }
.home .step-text h3 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.plan-price { font-size: 60px; }
/* the note sits on its own line under the price, so it never wraps under a 60px line box */
.plan-price small { display: block; margin: 6px 0 0; font-size: 15px; line-height: 1.4; }
.price-head h2, .faq h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1; }

@media (max-width: 900px) {
  .masthead.hero .stage { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; }
}
@media (max-width: 520px) {
  .masthead.hero { padding-bottom: 48px; }
  .masthead.hero .stage h1 { font-size: 48px; }
  .masthead.hero .lede { font-size: 16px; }
}

/* Pickups: after the list, the way into Statsmith for your own league */

/* ───────────── Play the week ─────────────
   The hero card is a small game: tap the plan's moves and watch the week's odds climb. Numbers are the sample
   league's real plan, step by step. */
/* the next move reads as a button by its shape: a teal ring and a plus disc, no instruction text */

/* the season pass is one tap from the top: in the header on every screen, and under the hero's buttons */
.home .call-hero .to-pricing { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 var(--space-md, 12px); color: #d6deea; font-weight: 600; text-underline-offset: 3px; }
.home .call-hero .to-pricing:hover { color: #fff; }
@media (max-width: 520px) {
  .bar nav { gap: 16px; }
  .bar nav a { white-space: nowrap; font-size: 14px; }
  .bar nav a.pass-link { display: inline-flex; }
  .bar nav a.open { padding: 0 12px; }
  .bar .brand span { display: none; }
  .home .call-hero .to-pricing { justify-content: center; margin-top: 4px; }
}

/* tool pages (rankings, schedule, trade check): one table or three points, then the way into the app */
.tools main { padding-top: 40px; }
.tools .rank-table, .tools .sched-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-variant-numeric: tabular-nums; }
.tools th, .tools td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; font-size: 15px; }
.tools thead th { border-top: 0; color: var(--muted); font: 600 12px 'IBM Plex Sans', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.tools .n { text-align: right; }
.tools .rank-table td.n:first-child, .tools .rank-table th.n:first-child { text-align: left; width: 44px; color: var(--muted); }
.tools .rank-table small { display: block; color: var(--muted); font-size: 13px; }
.tools .rank-table .opt { color: var(--muted); font-size: 14px; }
.tools .rank-table .worth { font-weight: 700; font-size: 17px; color: var(--signal-deep); }
.tools .rank-table .tag { margin-left: 8px; font-size: 11px; padding: 1px 6px; border-radius: 4px; vertical-align: 1px; }
.tools .sched-scroll { overflow-x: auto; border-radius: 16px; }
.tools .sched-table { min-width: 720px; }
.tools .sched-table th, .tools .sched-table td { padding: 9px 10px; text-align: center; font-size: 14px; }
.tools .sched-table th:first-child { text-align: left; padding-left: 16px; font-weight: 600; }
.tools .sched-table thead small { display: block; font-weight: 400; letter-spacing: 0; }
.tools .sched-table td.off { background: var(--mist); }
.tools .sched-table td.n { font-weight: 700; font-size: 16px; text-align: center; }
.tools .sched-table td.g4, .tools .sched-table td.g5 { color: var(--signal-deep); }
.tools .sched-table td.g2, .tools .sched-table td.g1, .tools .sched-table td.g0 { color: #a2542a; }
.tools .sched-table td.next { font-weight: 400; color: var(--muted); }
.tools .sched-table tfoot th, .tools .sched-table tfoot td { color: var(--muted); font-size: 13px; font-weight: 400; }
.tools .your-league { margin-top: 56px; }
.tools .your-league h2 { margin-top: 0; }
.trade .pitch .actions { margin: 28px 0 0; }
.trade .pitch .cta { background: var(--signal); color: #0d2a2c; }
.trade .pitch .cta.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.trade ol.trade-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; counter-reset: none; }
.trade ol.trade-points > li { margin: 0; padding: 28px; }
.trade ol.trade-points > li::before { content: none; }
.trade ol.trade-points h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.trade ol.trade-points p { font-size: 16px; }
.tools .tag.warn { background: #f3e6bd; color: #5e4a0e; }
.trade main > h2 { margin: 56px 0 12px; }
.tools .sched-table tbody th, .tools .sched-table thead th:first-child, .tools .sched-table tfoot th { position: sticky; left: 0; background: #fff; }
/* the tool pages, linked from the foot of every page */
.home .tools-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.home .tools-nav a { color: var(--navy); font-weight: 500; text-decoration: none; }
.home .tools-nav a:hover { text-decoration: underline; }
.home .tools-nav + .site-foot { margin-top: 0; border-top: 0; padding-top: 16px; }
@media (max-width: 900px) {
  .trade ol.trade-points { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .tools .rank-table .opt { display: none; }
  .tools th, .tools td { padding: 10px 12px; }
  .home .tools-nav { margin-top: 64px; }
}
