:root { color-scheme: light; --ink: #202729; --muted: #63716d; --line: #d7dfdd; --paper: #f5f7f7; --accent: #22644f; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Arial, sans-serif; color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: 4px; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #e9b63b; outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; overflow-wrap: anywhere; }
.welcome-header { position: sticky; top: 0; z-index: 100; min-height: 92px; background: #192326; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; }
html { scroll-padding-top: 120px; }
.brand-link { display: inline-flex; flex-shrink: 0; }
.brand-link img { width: 170px; height: auto; display: block; }
.welcome-header nav { display: flex; align-items: center; gap: 28px; }
.welcome-header nav a { color: white; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.welcome-header nav a:hover { text-decoration: underline; }
.welcome-header .nav-signup { border: 1px solid #71827b; border-radius: 4px; padding: 10px 16px; }
.welcome-hero { position: relative; isolation: isolate; min-height: 420px; height: min(560px, calc(100svh - 220px)); overflow: hidden; background: #f0f0f0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -1; }
.hero-content { max-width: 1600px; margin: auto; padding: 48px 32px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: start; }
.eyebrow { font-size: 11px; font-weight: 700; color: #a32e33; margin: 0 0 12px; }
.hero-content h1 { font-size: 64px; margin: 0 0 16px; }
.hero-lead { font-size: 32px; line-height: 1.15; font-weight: 700; margin: 0 0 16px; }
.hero-blurb { max-width: 350px; font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; max-width: 480px; }
.hero-actions a { font-size: 13px; font-weight: 700; }
.action-link { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 20px; background: var(--accent); color: white; border-radius: 4px; text-decoration: none; }
.hero-free { font-size: 12px; margin: 16px 0 0; color: #43524b; }
.welcome-countdown { background: var(--accent); color: white; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px max(32px, calc((100% - 1536px) / 2)); }
.welcome-countdown .eyebrow { color: #dfebe4; margin-bottom: 4px; }
.welcome-countdown p { margin: 0; font-size: 14px; }
.countdown-line strong { display: block; font-size: 25px; font-variant-numeric: tabular-nums; line-height: 1.4; min-height: 35px; }
.countdown-line > span { display: block; }
.welcome-countdown > a { color: white; font-size: 14px; font-weight: 700; }
.shell { max-width: 1600px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; gap: 80px; padding: 40px 32px 48px; margin: auto; }
.welcome-stories { min-width: 0; }
.welcome-section { padding: 0 0 28px; scroll-margin-top: 24px; }
.welcome-section + .welcome-section { padding-top: 28px; border-top: 1px solid var(--line); }
.welcome-section h2 { font-size: 28px; margin: 0 0 16px; }
.welcome-section > p:not(.eyebrow) { font-size: 15px; max-width: 760px; margin-bottom: 16px; }
.game-steps { padding: 0; margin: 26px 0 0; list-style: none; }
.game-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.game-steps li > span { font-size: 13px; color: var(--accent); font-weight: 700; padding-top: 1px; }
.game-steps h3 { font-size: 17px; margin: 0 0 6px; }
.game-steps p { font-size: 14px; color: var(--muted); margin: 0; max-width: 650px; }
.league-story > a { font-size: 14px; font-weight: 700; }
.auth-panel { background: white; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; padding: 28px; min-width: 0; scroll-margin-top: 24px; }
.auth-panel h2 { font-size: 26px; margin: 0 0 8px; }
#auth-intro { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 44px; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); padding: 10px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
form { display: none; }
form.active { display: block; }
label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 700; }
input, select { width: 100%; min-width: 0; min-height: 44px; color: var(--ink); background: white; border: 1px solid #b8c4c2; border-radius: 4px; padding: 10px 12px; font-size: 15px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.primary, .secondary { min-height: 44px; width: 100%; margin-top: 20px; border-radius: 4px; padding: 12px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.primary { background: var(--accent); color: white; border: 0; }
.primary:hover, .action-link:hover { background: #184b3b; }
.secondary { background: white; color: var(--accent); border: 1px solid #b8c4c2; }
.optional { font-weight: 400; color: var(--muted); }
.country-hint, .field-hint { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 6px 0 0; }
.message { font-size: 13px; color: #a32e33; line-height: 1.5; overflow-wrap: anywhere; margin-top: 16px; }
.message:empty { display: none; }
.message.ok { color: var(--accent); }
.confirm { display: none; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; }
.confirm.active { display: block; }
.auth-footnote { font-size: 12px; color: var(--muted); margin: 20px 0 0; }
.welcome-footer { max-width: 1600px; margin: auto; padding: 24px 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) { .shell { gap: 40px; grid-template-columns: minmax(0, 1fr) 380px; } .hero-content { padding-block: 32px; } }
@media (max-width: 820px) {
  .welcome-countdown { grid-template-columns: 1fr 1fr; }
  .welcome-countdown > a { grid-column: 1 / -1; }
  .shell { grid-template-columns: 1fr; gap: 32px; }
  .auth-panel { grid-row: 1; max-width: 560px; width: 100%; }
  .hero-content h1 { font-size: 48px; }
  .hero-lead { font-size: 28px; }
  .hero-photo { object-position: 40% center; }
  .hero-content { background: rgba(255,255,255,.3); }
  .hero-blurb { max-width: 300px; }
}
@media (max-width: 600px) {
  .welcome-countdown { padding: 22px 16px; gap: 16px; grid-template-columns: 1fr; }
  .countdown-line strong { font-size: 26px; display: inline; margin: 0 4px; }
  .countdown-line > span { display: inline; }
  .welcome-header { padding: 16px; min-height: 72px; gap: 12px; }
  .brand-link img { width: 112px; }
  .welcome-header nav { gap: 14px; }
  .welcome-header nav a { font-size: 12px; }
  .welcome-header nav a:first-child { display: none; }
  .welcome-header .nav-signup { padding: 9px 10px; }
  .welcome-hero { height: 480px; min-height: 0; max-height: calc(100svh - 132px); }
  .hero-content { padding: 28px 16px; justify-content: start; background: rgba(255,255,255,.48); }
  .hero-content h1 { font-size: 44px; }
  .hero-lead { font-size: 28px; }
  .hero-blurb { max-width: 260px; font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: start; gap: 16px; }
  .hero-photo { object-position: 45% center; }
  .shell { padding: 28px 16px; }
  .auth-panel { padding: 22px; }
  .welcome-section h2 { font-size: 25px; }
  .welcome-footer { padding: 24px 16px; }
}
@media (max-height: 650px) and (min-width: 601px) { .welcome-hero { height: 440px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
