/* Toeline marketing site — "Game Night" direction (design/landing/Main.dc.html, Mobile.dc.html). */

@font-face { font-family: "Saira Condensed"; font-weight: 800; font-display: swap; src: url("fonts/SairaCondensed-ExtraBold.woff") format("woff"); }
@font-face { font-family: "Saira Condensed"; font-weight: 900; font-display: swap; src: url("fonts/SairaCondensed-Black.woff") format("woff"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("fonts/Manrope-Variable.woff") format("woff"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/JetBrainsMono-Variable.woff") format("woff"); }

:root {
  --bg: #0c0603;
  --bg-raised: #100904;
  --bg-deep: #060403;
  --surface: #1c140e;
  --surface-hi: #241a12;
  --chip: #2b221a;
  --rule: #2a2019;
  --rule-hi: #352c25;
  --frame: #413528;
  --text: #f5f5f5;
  --muted: #aaa39d;
  --faint: #8a827b;
  --accent: #e8aa4e;
  --accent-hi: #f0c37e;
  --on-accent: #1e0d01;

  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: Manrope, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: 72px;
  --max: 1440px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 500; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { border-top: 1px solid var(--rule); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 900; line-height: 1; text-transform: uppercase; text-wrap: balance; }
.h2 { font-size: 64px; }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.section-head.center { align-items: center; text-align: center; margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; background: var(--accent); color: var(--on-accent); border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; transition: background 0.15s ease; }
.btn:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-lg { min-height: 58px; padding: 0 40px; font-size: 18px; box-shadow: 0 12px 48px rgba(232, 170, 78, 0.25); }
.btn[aria-disabled="true"] { cursor: default; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: 0.04em; color: var(--text); }
.wordmark span { color: var(--accent); }
.wordmark:hover { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero { background: radial-gradient(ellipse at 50% -20%, rgba(232, 170, 78, 0.12), rgba(12, 6, 3, 0) 60%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 80px; padding-bottom: 56px; text-align: center; }
.hero h1 { font-size: 100px; line-height: 0.98; max-width: 1000px; }
.hero .lede { font-size: 20px; max-width: 620px; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: 13px; font-weight: 600; color: var(--faint); }

/* Phone frames */
.phone { border-radius: 36px; border: 1px solid var(--frame); background: var(--surface); padding: 9px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); }
.phone img { width: 100%; border-radius: 28px; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 56px; padding-top: 24px; padding-bottom: 88px; }
.phones .phone { width: 290px; }
.phones .phone:first-child { transform: rotate(-3deg); }
.phones .phone:last-child { transform: rotate(2.5deg); margin-top: 36px; }

/* Games */
.games { background: var(--bg-raised); }
.games .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.game { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--rule-hi); border-radius: 16px; padding: 26px; }
.game h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; color: var(--accent); text-transform: uppercase; }
.game p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.game.all { background: var(--surface-hi); border-color: var(--frame); }
.game.all h3 { color: var(--text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; list-style: none; margin-bottom: 0; padding-left: 0; }
.chips li { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent-hi); background: var(--chip); border-radius: 6px; padding: 5px 9px; }

/* Big screen */
.tv { background: var(--bg-deep); }
.tv .wrap { display: flex; flex-direction: column; align-items: center; gap: 44px; padding-top: 96px; padding-bottom: 96px; }
.tv-stage { position: relative; width: 100%; max-width: 1100px; display: flex; justify-content: center; }
.screen { border-radius: 18px; border: 1px solid #3a3a3a; background: #000; padding: 12px; box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7); }
.screen img { width: 100%; border-radius: 8px; }
.tv-main { width: 89%; }
.tv-inset { position: absolute; right: 0; bottom: -48px; width: 35%; border-radius: 12px; padding: 8px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7); }
/* The app's Cricket TV render clips its top bar at 720p; crop that strip off. */
.tv-inset img { border-radius: 6px; aspect-ratio: 1280 / 684; object-fit: cover; object-position: bottom; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 56px; padding-top: 40px; justify-content: center; }
.feature { display: flex; flex-direction: column; gap: 6px; }
.feature h3 { font-weight: 800; font-size: 16px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Stats */
.stats { padding-top: 96px; }
.stats .section-head { padding-bottom: 44px; }
.readout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0; }
.readout > div { display: flex; flex-direction: column; gap: 8px; padding: 32px 48px; border-right: 1px solid var(--rule); }
.readout > div:last-child { border-right: 0; }
.readout dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--faint); }
.readout dd { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 48px; color: var(--text); }
.readout > div:first-child dd { color: var(--accent); }
.sample-note { border-bottom: 1px solid var(--rule); }
.sample-note p { text-align: right; padding-top: 10px; padding-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--faint); }
.stats-body { display: flex; gap: 72px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.stats-body .phone { flex: 0 0 auto; width: 320px; }
.spec { flex: 1 1 0; min-width: 0; margin: 0; }
.spec > div { display: flex; gap: 32px; padding: 22px 0; border-top: 1px solid var(--rule); }
.spec > div:last-child { border-bottom: 1px solid var(--rule); }
.spec dt { flex: 0 0 200px; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.spec dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Small stuff */
.small-stuff { background: var(--bg-raised); }
.small-stuff .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.small-stuff h3 { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.small-stuff p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Final CTA + footer */
.final { background: var(--surface); border-top: 1px solid var(--rule-hi); }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 80px; padding-bottom: 80px; }
.final h2 { font-size: 54px; text-align: center; }
.footer { background: var(--surface); border-top: 1px solid var(--rule-hi); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.footer small { font-size: 13px; color: var(--faint); }
.footer nav { display: flex; gap: 28px; }
.footer nav a { font-size: 13px; font-weight: 600; color: var(--muted); }
.footer nav a:hover { color: var(--text); }

/* Long-form pages (privacy, support) */
.doc { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-size: 64px; margin: 14px 0 12px; }
.doc .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }
.doc h2 { font-weight: 800; font-size: 20px; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0 0; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); font-weight: 700; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero h1 { font-size: 80px; }
  .h2 { font-size: 52px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout > div { padding: 28px 32px; }
  .readout dd { font-size: 40px; }
  .stats-body { gap: 48px; }
  .stats-body .phone { width: 280px; }
  .spec > div { flex-direction: column; gap: 8px; }
  .spec dt { flex-basis: auto; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .wordmark { font-size: 24px; }
  .nav-links { gap: 0; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { padding: 0 20px; font-size: 14px; }

  .hero-inner { gap: 18px; padding-top: 44px; padding-bottom: 36px; }
  .hero .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 56px; }
  .hero .lede { font-size: 16px; line-height: 1.6; }
  .cta-stack { align-self: stretch; gap: 10px; }
  .btn-lg { min-height: 54px; padding: 0 24px; font-size: 17px; }
  .cta-stack .btn-lg { width: 100%; }
  .cta-note { font-size: 12px; }

  .phones { padding: 12px 20px 56px; }
  .phones .phone:first-child { display: none; }
  .phones .phone:last-child { width: 100%; max-width: 330px; transform: none; margin-top: 0; border-radius: 34px; padding: 8px; }
  .phones .phone:last-child img { border-radius: 27px; }

  .eyebrow { font-size: 12px; }
  .h2 { font-size: 40px; }
  .lede { font-size: 15px; }
  .games .wrap { gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .game-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .game { padding: 22px; }
  .game h3 { font-size: 22px; }

  .tv .wrap { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .tv-main { width: 100%; }
  .screen { border-radius: 12px; padding: 6px; }
  .screen img { border-radius: 6px; }
  .tv-inset { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 0; }

  .stats { padding-top: 64px; }
  .stats .section-head { padding-bottom: 32px; }
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout > div { padding: 22px 20px; }
  .readout > div:nth-child(2n) { border-right: 0; }
  .readout > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .readout dt { font-size: 10px; }
  .readout dd { font-size: 36px; }
  .sample-note p { text-align: left; font-size: 10px; }
  .stats-body { flex-direction: column; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
  .stats-body .phone { width: 100%; max-width: 330px; }
  .spec { align-self: stretch; }

  .small-stuff .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 56px; }
  .final .wrap { padding-top: 56px; padding-bottom: 56px; }
  .final h2 { font-size: 40px; }
  .footer .wrap { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .footer nav { gap: 22px; flex-wrap: wrap; }

  .doc { padding-top: 32px; padding-bottom: 64px; }
  .doc h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
