/* gg.football. Tokens from brand/tokens/brand.css (brand/CANON.md 4.0); the site is dark at every hour, as the app is. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("SchibstedGrotesk.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
/* the wordmark's face (CANON 4.1): Futura's geometry, Jost; every other word stays in the Grotesk */
@font-face {
  font-family: "Jost";
  src: url("Jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #111010;
  --raised: #1A1816;
  --plate: #221F1B;
  --bone: #EDE6D8;
  --quiet: #A69F92;
  --mute: #8E887B;
  --gold: #C9A227;
  --gold-light: #E0C56A;
  --live: #D23A3F;
  --rule: rgba(237, 230, 216, 0.16);
  --hair: rgba(237, 230, 216, 0.10);
  --face: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --brand-face: "Jost", Futura, "Century Gothic", sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --column: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--face);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--column); margin: 0 auto; padding: 0 var(--gutter); }

/* figures: tabular and lining wherever numbers sit in a column or change (CANON); never on prose, whose punctuation it widens */
table, .score .big, .verdict .ours { font-feature-settings: "tnum" 1, "lnum" 1; }

/* caps: short labels only, tracked */
.caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}
.gold { color: var(--gold); }

/* ————— bar ————— */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 16, 16, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--hair);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span, .wordmark { font-family: var(--brand-face); font-weight: 700; letter-spacing: 0; }
.brand span { font-size: 18px; }
.bar nav { display: flex; gap: 24px; }
.bar nav a { text-decoration: none; color: var(--quiet); font-size: 15px; font-weight: 500; transition: color 160ms var(--ease); }
.bar nav a:hover { color: var(--bone); }

/* ————— hero ————— */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  /* one gradient, as the app's hero band: club into ink. Vikings purple on the left, Lions blue on the right */
  content: ""; position: absolute; inset: -20% -10% 30% -10%;
  background:
    radial-gradient(60% 55% at 18% 30%, rgba(79, 38, 131, 0.42), transparent 70%),
    radial-gradient(55% 50% at 88% 22%, rgba(0, 118, 182, 0.30), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(48px, 8.4vw, 104px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hero .lede { margin: 28px 0 0; max-width: 30ch; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: var(--quiet); }
.hero .lede b { color: var(--bone); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}
.button:hover { background: #fff; transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; }
.platforms { color: var(--mute); font-size: 15px; }

/* the phones */
.phones { position: relative; height: clamp(520px, 56vw, 680px); }
.phone {
  position: absolute; width: clamp(220px, 23vw, 300px); aspect-ratio: 1260 / 2736;
  border-radius: clamp(30px, 3.4vw, 44px); padding: 8px;
  background: linear-gradient(160deg, #2c2925, #161412 60%);
  box-shadow: 0 0 0 1px rgba(237, 230, 216, 0.10), 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(23px, 2.7vw, 36px); }
.phone.front { right: 8%; top: 0; z-index: 2; }
.phone.back { right: 44%; top: 12%; transform: rotate(-6deg); opacity: 0.9; }

/* ————— the argument ————— */
.argument { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--raised); }
.argument .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.argument h2 { margin: 16px 0 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
.argument p { margin: 22px 0 0; color: var(--quiet); max-width: 40ch; }

/* a box score set as the app sets it */
.sheet { background: var(--ink); border: 1px solid var(--hair); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.score { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.disc { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.disc.car { background: #0085CA; box-shadow: inset 0 0 0 3px #BFC0BF; }
.disc.gb { background: #203731; box-shadow: inset 0 0 0 3px #A9B3AE; color: var(--bone); }
.score .big { text-align: center; white-space: nowrap; font-size: clamp(38px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.score .big small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.08em; color: var(--quiet); font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
th { text-align: right; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid var(--rule); }
th:first-child, td:first-child { text-align: left; }
td { text-align: right; padding: 11px 0; border-bottom: 1px solid var(--hair); font-weight: 500; }
td:first-child { color: var(--quiet); font-weight: 400; }
td.win { color: var(--bone); font-weight: 600; }
td.lose { color: var(--quiet); }
.verdict { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.verdict .ours { font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }

/* ————— rooms ————— */
.rooms { padding: clamp(64px, 9vw, 128px) 0 clamp(32px, 5vw, 64px); }
.rooms > .wrap > h2 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; }
.room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--hair); }
.room:last-child { border-bottom: 0; }
.room.flip .copy { order: 2; }
.room .rule { width: 56px; height: 3px; border-radius: 2px; margin-bottom: 20px; }
.room h3 { margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
.room p { margin: 18px 0 0; color: var(--quiet); max-width: 38ch; }
.room ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.room li { display: flex; gap: 12px; align-items: baseline; color: var(--bone); font-size: 16px; }
.room li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); transform: translateY(-2px); }
.room .shot { display: flex; justify-content: center; }
.room .phone { position: relative; right: auto; top: auto; }

/* ————— figures strip ————— */
.figures { border-top: 1px solid var(--hair); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.figure { padding: 0 clamp(12px, 2vw, 28px); border-left: 1px solid var(--hair); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure b { display: block; font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.figure span { display: block; margin-top: 10px; }

/* ————— close ————— */
.close { text-align: center; padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.close img { width: clamp(88px, 10vw, 120px); height: auto; margin: 0 auto 32px; }
.close h2 { margin: 0; font-size: clamp(40px, 6.4vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.close p { margin: 20px auto 0; color: var(--quiet); max-width: 34ch; }
.close .cta { justify-content: center; }

/* ————— footer ————— */
footer { border-top: 1px solid var(--hair); padding: 32px 0 48px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--quiet); }
footer a:hover { color: var(--bone); }
.signoff { font-weight: 700; color: var(--bone); letter-spacing: -0.01em; }

/* ————— prose (privacy, support) ————— */
.prose { max-width: 720px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 120px); }
.prose h1 { margin: 14px 0 0; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.prose .updated { margin-top: 14px; color: var(--mute); font-size: 15px; }
.prose h2 { margin: 48px 0 0; font-size: 22px; letter-spacing: -0.015em; font-weight: 600; }
.prose p, .prose li { color: var(--quiet); }
.prose p { margin: 14px 0 0; }
.prose ul { margin: 14px 0 0; padding-left: 20px; }
.prose li { margin: 8px 0; }
.prose b, .prose strong { color: var(--bone); font-weight: 600; }
.prose a { color: var(--bone); text-decoration-color: var(--mute); text-underline-offset: 3px; }
.prose dl { margin: 18px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.prose dt { color: var(--bone); font-weight: 600; }
.prose dd { margin: 0; color: var(--quiet); }

/* ————— motion ————— */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .rise.in { opacity: 1; transform: none; }
}

/* ————— narrow ————— */
@media (max-width: 900px) {
  .hero .wrap, .argument .wrap, .room { grid-template-columns: 1fr; }
  .room.flip .copy { order: 0; }
  .phones { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone.front { right: 4%; }
  .phone.back { right: auto; left: 2%; }
  .figures .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .figure:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar nav { gap: 16px; }
  .bar nav a.hide-sm { display: none; }
  .phones { height: 470px; }
  .phone { width: 200px; }
  .phone.back { top: 14%; }
  .disc { width: 44px; height: 44px; font-size: 13px; }
  .score { gap: 10px; }
  .prose dl { grid-template-columns: 1fr; gap: 4px; }
  .prose dd { margin-bottom: 10px; }
}
