/* Gameday Pick Club: landing, terms and privacy.
   Same turf, chalk and amber as the app, so the site and the app read as one product.
   The one loud thing is the amber marker loop (a circled pick). Everything else stays quiet. */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("/fonts/bigshoulders-800.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("/fonts/bigshoulders-900.woff2") format("woff2"); }

:root {
  --turf: #0B231A;
  --turf-deep: #081A13;
  --turf-raised: #10301F;
  --turf-line: rgba(238, 240, 230, 0.12);
  --chalk: #EEF0E6;
  --chalk-dim: #BCC8BD;
  --chalk-faint: #93A699;
  --marker: #FFB627;
  --marker-ink: #241800;
  --win: #5BE3A2;
  --live: #FF6B5E;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ui: "Archivo", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--turf);
  /* five-yard lines, as in the app */
  background-image: repeating-linear-gradient(180deg, transparent 0 139px, rgba(238, 240, 230, 0.035) 139px 140px);
  color: var(--chalk);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: var(--marker); text-underline-offset: 3px; }
a:hover { color: #FFC857; }
:focus-visible { outline: 2px solid var(--marker); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 900; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--marker); color: var(--marker-ink); padding: 8px 12px; border-radius: 6px; font-weight: 600; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- the loop: a hand-drawn marker circle ---------- */
.loop { position: absolute; pointer-events: none; overflow: visible; }
.loop path { fill: none; stroke: var(--marker); stroke-width: 2.6px; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- header ---------- */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: 0.01em; }
.brand:hover { color: var(--chalk); }
.brand svg { width: 34px; height: 22px; flex: none; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--chalk-dim); text-decoration: none; }
.top nav a:hover { color: var(--chalk); }
.top nav a.pill { color: var(--marker-ink); background: var(--marker); padding: 9px 16px; border-radius: 999px; }
.top nav a.pill:hover { background: #FFC857; color: var(--marker-ink); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-weight: 800; font-size: 17px; text-decoration: none; padding: 15px 26px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); }
.btn:hover { background: #FFC857; color: var(--marker-ink); }
.btn.quiet { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--turf-line); }
.btn.quiet:hover { box-shadow: inset 0 0 0 1.5px var(--chalk-dim); color: var(--chalk); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 9vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--display); font-size: clamp(46px, 6.9vw, 98px); line-height: 0.9; letter-spacing: -0.005em; }
.hero .lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20px); color: var(--chalk-dim); max-width: 34em; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin: 18px 0 0; font-size: 15px; color: var(--chalk-faint); }

/* the pick sheet */
.sheet { margin: 0; background: var(--turf-deep); border: 1px solid var(--turf-line); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 60px rgba(2, 10, 6, 0.5); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 14px; border-bottom: 1px solid var(--turf-line); }
.sheet-title { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.sheet-when { font-size: 14px; color: var(--chalk-faint); text-align: right; }
.games { list-style: none; margin: 0; padding: 0; }
.game { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; column-gap: 8px; row-gap: 1px; padding: 12px 4px 11px; border-bottom: 1px solid var(--turf-line); }
.game:last-child { border-bottom: 0; }
.team { position: relative; justify-self: start; font-weight: 600; font-size: 16px; padding: 7px 12px; white-space: nowrap; }
.cell { display: flex; align-items: center; gap: 2px; min-width: 0; }
.team .line { color: var(--chalk-faint); font-weight: 400; margin-left: 4px; }
.team .loop { inset: -5px -9px -6px -7px; width: calc(100% + 16px); height: calc(100% + 11px); }
.at { color: var(--chalk-faint); font-size: 13px; text-align: center; }
.status { grid-column: 1 / -1; justify-self: start; padding-left: 12px; font-size: 13px; color: var(--chalk-faint); white-space: nowrap; }
.status.final { color: var(--win); font-weight: 600; }
.status.live { color: var(--chalk); font-weight: 600; }
.status.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: 1px; }
.lock { display: inline-block; margin-left: 0; font-size: 11.5px; font-weight: 800; color: var(--marker-ink); background: var(--marker); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.sheet-foot { margin-top: 12px; padding: 0 4px; font-size: 14px; color: var(--chalk-faint); }

/* one orchestrated moment: the picks get circled, then the final score lands */
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheet-in 500ms ease-out both; }
  .sheet .loop path { stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 760ms cubic-bezier(0.3, 0, 0.2, 1) forwards; }
  .game:nth-child(1) .loop path { animation-delay: 550ms; }
  .game:nth-child(2) .loop path { animation-delay: 800ms; }
  .game:nth-child(3) .loop path { animation-delay: 1050ms; }
  .game:nth-child(4) .loop path { animation-delay: 1300ms; }
  .game:nth-child(5) .loop path { animation-delay: 1550ms; }
  .sheet .lock { animation: pop 260ms ease-out 1900ms both; }
  .sheet .status.final, .sheet .status.live { animation: fade 400ms ease-out 2100ms both; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--turf-line); }
.section h2 { font-family: var(--display); font-size: clamp(42px, 5.4vw, 68px); line-height: 0.95; max-width: 14em; }
.section .intro { margin-top: 18px; color: var(--chalk-dim); max-width: 38em; font-size: 18px; }

/* the games, as rows of a sheet */
.modes { margin-top: clamp(32px, 5vw, 52px); }
.mode { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: 28px 0; border-top: 1px solid var(--turf-line); }
.mode:last-child { border-bottom: 1px solid var(--turf-line); }
.mode h3 { font-family: var(--display); font-size: clamp(32px, 3.4vw, 42px); line-height: 1; }
.mode p { color: var(--chalk-dim); max-width: 34em; }
.mode p:last-child { margin-bottom: 0; }
.mode ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--chalk-faint); }
.mode li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.mode li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--chalk-faint); }

/* a week, in order */
.week { margin-top: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; }
.week li { padding: 22px 24px 4px 0; border-top: 2px solid var(--chalk-dim); position: relative; }
.week li + li { padding-left: 24px; }
.week li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--turf); border: 2px solid var(--chalk-dim); }
.week li + li::before { left: 24px; }
.week li:last-child { border-top-color: var(--marker); }
.week li:last-child::before { border-color: var(--marker); background: var(--marker); }
.week .when { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; margin-bottom: 8px; display: block; }
.week p { color: var(--chalk-dim); font-size: 16px; }

/* pricing */
.plans { margin-top: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; }
.plan { border: 1px solid var(--turf-line); border-radius: 22px; padding: 28px 28px 26px; background: rgba(8, 26, 19, 0.6); }
.plan.best { border-color: rgba(255, 182, 39, 0.5); }
.plan h3 { font-family: var(--ui); font-weight: 600; font-size: 18px; color: var(--chalk-dim); }
.price { margin: 14px 0 6px; font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 0.9; }
.price .num { position: relative; display: inline-block; padding: 4px 6px; }
.price small { font-family: var(--ui); font-weight: 600; font-size: 17px; color: var(--chalk-dim); margin-left: 12px; }
.price .loop { inset: -9px -14px -11px -12px; width: calc(100% + 26px); height: calc(100% + 20px); }
.plan .per { color: var(--chalk-faint); font-size: 15px; margin: 0; }
.save { display: inline-block; margin-left: 8px; font-family: var(--ui); font-size: 13px; font-weight: 800; color: var(--marker-ink); background: var(--marker); padding: 3px 9px; border-radius: 999px; vertical-align: 6px; }
.plan-notes { margin-top: 26px; max-width: 44em; color: var(--chalk-dim); }
.plan-notes p { margin-bottom: 0.6em; }

/* the money statement */
.money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.money p { font-size: 19px; color: var(--chalk-dim); max-width: 32em; }
.money p strong { color: var(--chalk); font-weight: 600; }

/* questions */
.faq { margin-top: clamp(28px, 4vw, 44px); max-width: 780px; }
.faq details { border-top: 1px solid var(--turf-line); }
.faq details:last-child { border-bottom: 1px solid var(--turf-line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--chalk-faint); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--chalk-dim); margin: -4px 0 22px; max-width: 40em; }

/* invite band */
.invite { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--turf-line); }
.invite .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.invite h2 { font-family: var(--display); font-size: clamp(42px, 5.4vw, 68px); line-height: 0.95; }
.invite p { margin: 16px 0 0; color: var(--chalk-dim); max-width: 34em; font-size: 18px; }

/* ---------- footer ---------- */
.foot { background: var(--turf-deep); padding: 36px 0 44px; font-size: 14px; color: var(--chalk-faint); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--chalk-dim); text-decoration: none; }
.foot nav a:hover { color: var(--chalk); text-decoration: underline; }
.foot p { margin: 0; max-width: 46em; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-size: clamp(52px, 7vw, 80px); line-height: 0.95; }
.legal .updated { margin: 14px 0 34px; color: var(--chalk-faint); font-size: 15px; }
.legal .summary { background: rgba(8, 26, 19, 0.7); border: 1px solid var(--turf-line); border-radius: 18px; padding: 20px 24px 6px; margin-bottom: 36px; }
.legal .summary p, .legal .summary li { color: var(--chalk); }
.legal h2 { font-family: var(--ui); font-weight: 800; font-size: 21px; line-height: 1.3; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--chalk-dim); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.45em; }
.legal strong { color: var(--chalk); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--turf-line); color: var(--chalk-dim); }
.legal th { color: var(--chalk); font-weight: 600; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .sheet { max-width: 560px; }
  .mode { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .week { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 28px; }
  .week li:nth-child(3) { padding-left: 0; }
  .week li:nth-child(3)::before { left: 0; }
  .money { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav a:not(.pill) { display: none; }
  .brand { font-size: 23px; }
  .sheet { padding: 16px 12px 14px; border-radius: 18px; }
  .sheet-title { font-size: 28px; }
  .game { padding: 11px 2px 10px; }
  .sheet-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sheet-when { text-align: left; }
  .team { font-size: 14.5px; padding: 6px 8px; }
  .status { padding-left: 8px; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week li, .week li + li { padding-left: 24px; }
  .week li::before, .week li + li::before { left: -7px; top: 26px; }
  .week li { border-top: 0; border-left: 2px solid var(--chalk-dim); padding-top: 18px; }
  .week li:last-child { border-left-color: var(--marker); }
  .week li:nth-child(3) { padding-left: 24px; }
  .week li:nth-child(3)::before { left: -7px; }
  .game { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); column-gap: 8px; }
  .price small { margin-left: 14px; }
  .week { row-gap: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .price { font-size: 62px; }
}
