/* Walk On Hoops — night court: black hardwood, orange rim, white court lines */
:root {
  --bg: #0A0A0B;
  --surface: #141518;
  --line: #2A2D33;
  --fg: #F5F5F2;
  --muted: #A3A8AE;
  --accent: #FF6B1A;
  --accent-soft: #FFB27A;
  --live: #3DDC84;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.logo-word { font-family: var(--display); font-size: 24px; letter-spacing: 0.04em; line-height: 1; }
.nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* Type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-court { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(52px, 9vw, 104px); }
.hero h1 span { color: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(61, 220, 132, 0.12); color: #8AF0B8; font-size: 13px; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--live); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--accent); color: #0A0A0B; }
.btn-primary:hover { background: #FF8540; color: #0A0A0B; }
.btn-ghost { border: 1px solid #3A3E45; color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }

/* Live court card (sample of the app) */
.court-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.court-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.court-name { font-family: var(--display); font-size: 32px; line-height: 1; text-transform: uppercase; margin: 0; }
.court-area { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.count { text-align: right; flex: none; }
.count b { display: block; font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 0.9; color: var(--accent); }
.count small { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 13px; font-weight: 600; }
.busy { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; height: 64px; }
.busy span { border-radius: 6px 6px 2px 2px; background: #363A41; }
.busy span.peak { background: var(--accent); }
.busy-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 11px; color: var(--muted); text-align: center; margin-top: -8px; }
.sample-note { font-size: 12px; color: var(--muted); margin: 0; }

/* Sections */
section.block .wrap { padding-block: 72px; }
.block + .block { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(38px, 6vw, 60px); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }
.feature h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.story h2 { font-size: clamp(44px, 7vw, 76px); }
.story h2 span { color: var(--accent); }
.story-body { display: flex; flex-direction: column; gap: 16px; max-width: 36em; min-width: 0; }
.story-body p { margin: 0; color: #D5D8DB; }
.definition { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--muted); font-size: 15px; }
.definition b { color: var(--fg); }

.follow { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }

/* Document pages (privacy, support) */
.doc .wrap { padding-block: 56px 72px; }
.doc-inner { max-width: 44em; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(44px, 8vw, 72px); }
.doc h2 { font-size: 22px; margin: 22px 0 0; line-height: 1.3; }
.doc p, .doc li { color: #D5D8DB; }
.doc p { margin: 0; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.meta { color: var(--muted); font-size: 15px; }
.notice { background: rgba(255, 194, 71, 0.08); border: 1px solid rgba(255, 194, 71, 0.35); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: #F3DFA8; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.contact-card .email { font-size: 22px; font-weight: 800; color: var(--fg); user-select: all; word-break: break-word; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
details + details { margin-top: -6px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 16px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero .wrap, .story { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero .wrap { padding-block: 48px 56px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  section.block .wrap { padding-block: 56px; }
  .nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
