/* GrandStand sales site. Night game look: true black, glass, one green accent.
   Brand tokens come from grandstand-tokens.css, loaded before this file. */

:root {
  --font: -apple-system, "SF Pro Text", "SF Pro Display", Geist, system-ui, sans-serif;
  --gutter: 16px;
  --wrap: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow-lift: 0 30px 80px rgb(0 0 0 / 0.55);
}

@media (min-width: 760px) {
  :root { --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--gs-black);
  color: var(--gs-ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--gs-green-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(31 164 91 / 0.45); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; z-index: 200;
}
.skip:focus { left: 16px; }

/* Type */
h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--gs-ink);
}
h1 { font-size: clamp(38px, 6.2vw, 72px); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; }
p + p { margin-top: 1em; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--gs-ink-2); font-weight: 300; }
.muted { color: var(--gs-ink-2); }
.small { font-size: 14px; color: var(--gs-ink-3); }
.copy p { color: var(--gs-ink-2); }
.copy p strong { color: var(--gs-ink); font-weight: 500; }
.measure { max-width: 62ch; }
.numeral { font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #f5f5f7; }
.btn-ghost { background: var(--gs-surface); color: var(--gs-ink); border-color: var(--gs-line); }
.btn-ghost:hover { background: var(--gs-surface-2); }
.btn-text { color: var(--gs-green-light); font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Glass */
.glass {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.05));
  border: 1px solid var(--gs-line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.10);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-radius: var(--gs-radius-card);
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.open {
  background: rgb(0 0 0 / 0.72);
  border-bottom-color: var(--gs-line);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: block; width: 150px; flex: none; }
.nav-logo img { width: 100%; height: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 28px; }
.nav-links a { color: var(--gs-ink-2); font-weight: 400; font-size: 15.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gs-ink); text-decoration: none; }
.nav-links .btn, .nav-links .btn:hover, .nav-links .btn[aria-current="page"] { height: 42px; padding: 0 18px; font-size: 15px; color: #000; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gs-surface); border: 1px solid var(--gs-line); color: var(--gs-ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav.open .nav-toggle .x { display: block; }
.nav.open .nav-toggle .bars { display: none; }
.nav-sheet {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  padding: 8px var(--gutter) 24px;
  background: rgb(0 0 0 / 0.86);
  border-bottom: 1px solid var(--gs-line);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.nav-sheet.open { display: block; }
.nav-sheet ul { list-style: none; margin: 0; padding: 0; }
.nav-sheet li + li { border-top: 1px solid var(--gs-line); }
.nav-sheet a { display: block; padding: 16px 0; color: var(--gs-ink); font-size: 19px; font-weight: 300; }
.nav-sheet a:hover { text-decoration: none; color: var(--gs-green-light); }
.nav-sheet .btn, .nav-sheet .btn:hover { margin-top: 16px; width: 100%; color: #000; font-weight: 600; font-size: 16px; padding: 0 24px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-sheet { display: none !important; }
}

/* Sections */
main { padding-top: var(--nav-h); }
.section { padding: 72px 0; }
.section-tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin-top: 10px; }
.band { border-top: 1px solid var(--gs-line); }
@media (min-width: 900px) {
  .section { padding: 112px 0; }
  .section-head { margin-bottom: 56px; }
}

/* Reveal motion: subtle rise, nothing more. Elements are visible without JS. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Phone screenshot. The capture is the whole screen; the frame is just rounded corners and a hairline. */
.phone {
  width: 100%; max-width: 300px;
  border-radius: 38px; overflow: hidden;
  border: 1px solid var(--gs-line);
  background: #000;
  box-shadow: var(--shadow-lift);
}
.phone img { width: 100%; height: auto; }
.phone-sm { max-width: 240px; border-radius: 30px; }

/* Desktop screenshot */
.shot {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--gs-line);
  background: #000;
  box-shadow: var(--shadow-lift);
}
.shot img { width: 100%; height: auto; }

/* Hero (home) */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero-grid { display: grid; gap: 40px; }
.hero-copy { padding-bottom: 12px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lead { margin-top: 22px; max-width: 54ch; }
.hero-copy .btn-row { margin-top: 32px; }
.hero-phone { position: relative; height: 380px; overflow: hidden; }
.hero-phone .phone { max-width: 280px; margin: 0 auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: none; }
.hero-phone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, rgb(0 0 0 / 0), #000 90%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero { padding: 96px 0 0; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 56px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-phone { height: 560px; }
  .hero-phone .phone { max-width: 340px; margin: 0 0 0 auto; }
}

/* Game night strip (home): three screens, staggered so it's not three identical boxes */
.strip { display: grid; gap: 40px; }
.strip-item { display: grid; gap: 18px; }
.strip-item .phone { max-width: 260px; }
.strip-item h3 { margin-top: 6px; }
.strip-item p { color: var(--gs-ink-2); max-width: 36ch; }
@media (min-width: 760px) {
  .strip { grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
  .strip-item:nth-child(2) { padding-top: 72px; }
  .strip-item:nth-child(3) { padding-top: 144px; }
}

/* Office section (home) */
.office { display: grid; gap: 36px; }
.office .copy { max-width: 56ch; }
.office .copy h2 { margin-bottom: 16px; }
.office .copy p + p { margin-top: 14px; }
.office .btn-row { margin-top: 24px; }
@media (min-width: 900px) {
  .office { grid-template-columns: 0.9fr 1.5fr; align-items: center; gap: 56px; }
}

/* Photo band (home) */
.photo-band { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.15) 0%, rgb(0 0 0 / 0.1) 40%, rgb(0 0 0 / 0.88) 100%);
}
.photo-band .wrap { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 48px; }
.photo-band p { max-width: 40ch; font-size: clamp(22px, 3vw, 34px); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.photo-band .small { margin-top: 14px; color: rgb(255 255 255 / 0.55); font-size: 14px; font-weight: 400; }
@media (min-width: 900px) { .photo-band { min-height: 620px; } .photo-band img { object-position: 50% 55%; } }

/* Price sentence (home) */
.price-line { display: grid; gap: 24px; }
.price-line h2 { max-width: 20ch; }
.price-line p { color: var(--gs-ink-2); max-width: 52ch; }
.price-line .btn-row { margin-top: 8px; }
@media (min-width: 900px) { .price-line { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }

/* Definition list used for safety summaries and dashboard areas */
.dl { margin: 0; display: grid; gap: 0; }
.dl > div { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--gs-line); }
.dl > div:last-child { border-bottom: 1px solid var(--gs-line); }
.dl dt { font-weight: 500; font-size: 17px; color: var(--gs-ink); }
.dl dd { margin: 0; color: var(--gs-ink-2); max-width: 60ch; }
@media (min-width: 760px) {
  .dl > div { grid-template-columns: 240px 1fr; gap: 24px; }
}
.dl-2 { display: grid; gap: 0 48px; }
@media (min-width: 900px) {
  .dl-2 { grid-template-columns: 1fr 1fr; }
  .dl-2 > div { grid-template-columns: 1fr; gap: 6px; }
  .dl-2 > div:nth-last-child(2) { border-bottom: 1px solid var(--gs-line); }
}

/* Closing CTA */
.cta { padding: 72px 0 96px; }
.cta .glass { padding: 40px 28px; display: grid; gap: 24px; }
.cta h2 { max-width: 18ch; }
.cta p { color: var(--gs-ink-2); max-width: 50ch; }
.cta .btn-row { margin-top: 4px; }
.cta .small { margin-top: 10px; }
@media (min-width: 900px) {
  .cta { padding: 112px 0 128px; }
  .cta .glass { padding: 64px; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
}

/* Footer */
.footer { border-top: 1px solid var(--gs-line); padding: 40px 0 48px; }
.footer .wrap { display: grid; gap: 28px; }
.footer-logo { width: 140px; }
.footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { color: var(--gs-ink-2); font-size: 15px; }
.footer nav a:hover { color: var(--gs-ink); }
.footer .small { line-height: 1.6; }
@media (min-width: 900px) {
  .footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer nav ul { justify-content: center; }
}

/* Page header (inner pages) */
.page-head { padding: 56px 0 40px; }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 20px; max-width: 58ch; }
.page-head .kicker { color: var(--gs-ink-3); font-size: 15px; margin-bottom: 18px; }
@media (min-width: 900px) { .page-head { padding: 88px 0 64px; } }

/* How it works: numbered steps, phone beside text, alternating */
.steps { display: grid; gap: 64px; counter-reset: step; }
.step { display: grid; gap: 28px; align-items: center; }
.step .phone { max-width: 280px; margin: 0 auto; }
.step-copy { max-width: 48ch; }
.step-copy .n { display: block; color: var(--gs-ink-3); font-size: 15px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.step-copy h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 14px; }
.step-copy p { color: var(--gs-ink-2); }
.step-copy p + p { margin-top: 12px; }
@media (min-width: 820px) {
  .steps { gap: 96px; }
  .step { grid-template-columns: 1fr 1fr; gap: 56px; }
  .step .phone { margin: 0; }
  .step:nth-child(even) .phone { margin-left: auto; }
  .step:nth-child(even) .step-copy { order: -1; }
  .step:nth-child(odd) .step-copy { margin-left: auto; }
}

/* Points table */
.ledger { width: 100%; border-collapse: collapse; max-width: 720px; }
.ledger td { padding: 16px 0; border-top: 1px solid var(--gs-line); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 1px solid var(--gs-line); }
.ledger td:first-child { width: 110px; font-size: 30px; font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; padding-top: 14px; white-space: nowrap; }
.ledger td:last-child { color: var(--gs-ink-2); }

/* Side by side (text + one phone), used across inner pages */
.pair { display: grid; gap: 32px; align-items: center; }
.pair .phone { max-width: 280px; margin: 0 auto; }
.pair .copy { max-width: 52ch; }
.pair .copy h2 { margin-bottom: 16px; }
.pair .copy p + p { margin-top: 12px; }
.pair .copy ul { margin: 16px 0 0; padding-left: 20px; color: var(--gs-ink-2); }
.pair .copy li + li { margin-top: 8px; }
@media (min-width: 820px) {
  .pair { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .pair .phone { margin: 0 0 0 auto; }
  .pair.flip { grid-template-columns: 0.8fr 1.2fr; }
  .pair.flip .phone { order: -1; margin: 0 auto 0 0; }
}

/* For schools: dashboard areas */
.areas { display: grid; gap: 0; }
.area { padding: 24px 0; border-top: 1px solid var(--gs-line); display: grid; gap: 8px; }
.area:last-child { border-bottom: 1px solid var(--gs-line); }
.area h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.area p { color: var(--gs-ink-2); }
@media (min-width: 760px) {
  .areas { grid-template-columns: 1fr 1fr; gap: 0 56px; }
  .area:nth-last-child(2) { border-bottom: 1px solid var(--gs-line); }
}

/* Office night: a three-part timeline that reads top to bottom */
.timeline { display: grid; gap: 0; max-width: 760px; }
.timeline > div { display: grid; gap: 8px; padding: 26px 0 26px 32px; position: relative; border-left: 1px solid var(--gs-line); }
.timeline > div::before { content: ""; position: absolute; left: -5px; top: 36px; width: 9px; height: 9px; border-radius: 50%; background: var(--gs-green); }
.timeline h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.timeline p { color: var(--gs-ink-2); max-width: 60ch; }
.timeline .when { color: var(--gs-ink-3); font-size: 14px; }

/* Sponsor hub: desktop modal beside a phone */
.duo { display: grid; gap: 32px; align-items: start; }
.duo .shot { align-self: center; }
.duo .phone { max-width: 260px; margin: 0 auto; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1.6fr 0.7fr; gap: 48px; align-items: center; }
  .duo .phone { margin: 0 0 0 auto; }
}

/* Safety: spec sheet */
.spec { display: grid; gap: 48px; }
.spec aside { align-self: start; }
.spec aside .phone { max-width: 260px; margin: 0 auto; }
.spec aside .small { margin-top: 14px; text-align: center; max-width: 260px; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .spec { grid-template-columns: 1.5fr 0.8fr; gap: 72px; }
  .spec aside { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.qa { display: grid; gap: 0; }
.qa details { border-top: 1px solid var(--gs-line); }
.qa details:last-child { border-bottom: 1px solid var(--gs-line); }
.qa summary { cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 400; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--gs-ink-3); font-weight: 200; font-size: 28px; line-height: 1; flex: none; }
.qa details[open] summary::after { content: "\2212"; }
.qa details > p { color: var(--gs-ink-2); padding: 0 0 22px; max-width: 64ch; }

/* Pricing */
.price-hero { display: grid; gap: 40px; align-items: center; }
.price-hero .phone { max-width: 280px; margin: 0 auto; }
.price-hero .copy h1 { max-width: 14ch; }
.price-hero .copy .lead { margin-top: 20px; max-width: 48ch; }
.price-hero .copy .btn-row { margin-top: 28px; }
@media (min-width: 900px) {
  .price-hero { grid-template-columns: 1.3fr 0.7fr; gap: 64px; }
  .price-hero .phone { margin: 0 0 0 auto; }
}
.included { display: grid; gap: 40px; }
.included h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.included ul { list-style: none; margin: 0; padding: 0; }
.included li { padding: 14px 0; border-top: 1px solid var(--gs-line); color: var(--gs-ink-2); }
.included li:last-child { border-bottom: 1px solid var(--gs-line); }
.included li strong { color: var(--gs-ink); font-weight: 500; display: block; margin-bottom: 2px; }
@media (min-width: 900px) { .included { grid-template-columns: 1.3fr 1fr; gap: 72px; } }

/* Demo form */
.demo { display: grid; gap: 40px; align-items: start; }
.demo form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; color: var(--gs-ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--gs-ink);
  background: var(--gs-surface); border: 1px solid var(--gs-line); border-radius: var(--gs-radius-field);
  padding: 13px 16px; outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, rgb(245 245 247 / 0.6) 50%), linear-gradient(135deg, rgb(245 245 247 / 0.6) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { color: #000; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgb(255 255 255 / 0.4); background: var(--gs-surface-2); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.demo form .btn { justify-self: start; margin-top: 6px; }
.form-note { color: var(--gs-ink-3); font-size: 14px; }
.demo-aside .glass { padding: 28px; }
.demo-aside h2 { font-size: 24px; margin-bottom: 14px; }
.demo-aside ul { margin: 0; padding-left: 20px; color: var(--gs-ink-2); }
.demo-aside li + li { margin-top: 10px; }
.demo-aside .direct { margin-top: 28px; }
.demo-aside .direct a { font-size: 18px; word-break: break-all; }
@media (min-width: 900px) { .demo { grid-template-columns: 1.3fr 0.9fr; gap: 72px; } }
.sent { padding: 20px 24px; color: var(--gs-ink-2); }
.sent strong { color: var(--gs-ink); font-weight: 500; }
