/* www.campus-ops.com — the public site. Same tokens and type as the app (frontend/src/styles/base.css):
   dark workroom palette, orange primary, electric teal secondary, Barlow Condensed for headings,
   IBM Plex Sans for reading. No scripts anywhere on the site; the CSP in site/README.md blocks them. */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #121418;
  --bg-2: #16191d;
  --card: #1a1d22;
  --field: #22262c;
  --line: #2b3037;
  --text: #eceef1;
  --text-2: #c4c9d0;
  --text-3: #a3aab3;
  --accent: #ff6b1a;
  --accent-text: #ff8a4c;
  --accent-ink: #16181b;
  --accent-wash: rgba(255, 107, 26, 0.14);
  --teal: #22c7bf;
  --teal-text: #4fd6cf;
  --warn: #e6c35c;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #ffa877; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: 44px; }
h3 { font-size: 28px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--text-3); }
.small { font-size: 15px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 600; z-index: 10; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-text); border-color: var(--accent-text); color: var(--accent-ink); }
.btn-line { background: transparent; color: var(--text); border-color: #3a4048; }
.btn-line:hover { border-color: var(--accent); color: var(--text); }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.wordmark span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--field); }
.login { min-height: 40px; padding: 0 16px; font-size: 15px; }
.brand + .login { margin-left: auto; } /* no nav (coming-soon mode): keep Log in on the right */

/* ---------- hero ---------- */
.hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 64px; max-width: 15ch; }
.lede { margin-top: 22px; font-size: 19px; color: var(--text-2); max-width: 44ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* The Friday board: a still of the app's facility timeline. Bars sit on a 14-column grid, one column per half
   hour from 3 PM to 10 PM. */
.board { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px; }
.board-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board-day { font-family: var(--display); font-size: 26px; font-weight: 700; }
.board-school { color: var(--text-3); font-size: 14px; }
.board-scroll { overflow-x: auto; }
.board-grid { min-width: 540px; padding: 6px 8px 4px 0; }
.hours { display: flex; justify-content: space-between; margin-left: 88px; padding: 6px 0 8px; font-size: 12px; color: var(--text-3); }
.hours span { width: 0; display: flex; justify-content: center; }
.lane { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; min-height: 44px; border-top: 1px solid #22262c; }
.lane-name { font-size: 13px; font-weight: 600; color: var(--text-2); }
.track { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); height: 44px; align-items: center; position: relative;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 7 - 1px), #22262c calc(100% / 7 - 1px), #22262c calc(100% / 7));
  background-position: -1px 0; }
.lane-bus { border-top: 1px dashed #3a4048; }
.bar { grid-row: 1; height: 30px; border-radius: 6px; padding: 0 8px; font-size: 12px; font-weight: 600; line-height: 30px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; }
.home { background: var(--accent); color: var(--accent-ink); }
.away { background: var(--teal); color: #0d1716; }
.practice { background: var(--accent-wash); color: #ffd2ae; box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.55); }
.community { background: var(--field); color: var(--text-2); box-shadow: inset 0 0 0 1px #3a4048; }
.hatch { z-index: 0; background: repeating-linear-gradient(135deg, rgba(255, 107, 26, 0.38) 0 4px, transparent 4px 9px);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.45); }
.b-band { grid-column: 1 / 7; }
.b-setup { grid-column: 6 / 9; border-radius: 6px 0 0 6px; }
.b-football { grid-column: 9 / 14; border-radius: 0; }
.b-teardown { grid-column: 14 / 15; border-radius: 0 6px 6px 0; }
.b-vball { grid-column: 3 / 10; }
.b-youth { grid-column: 7 / 13; }
.b-soccer { grid-column: 1 / 5; }
.b-tennis { grid-column: 2 / 10; }
.board-warn { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 12px; border-radius: 8px;
  background: rgba(230, 195, 92, 0.12); border: 1px solid rgba(230, 195, 92, 0.32); font-size: 14px; color: #f1dc9c; }
.warn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex-shrink: 0; }
.board figcaption { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ---------- sections ---------- */
.band { background: var(--bg-2); border-bottom: 1px solid var(--line); }
#who, .features, .trust, .contact { scroll-margin-top: 80px; }
.who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 72px 32px; }
.who-grid h2 { max-width: 14ch; }
.who-body > p { font-size: 19px; color: var(--text-2); max-width: 58ch; }
.who-list { margin: 28px 0 0; display: grid; gap: 14px; }
.who-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.who-list dt { font-weight: 600; }
.who-list dd { margin: 0; color: var(--text-2); }

.features { padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.section-title { margin-bottom: 36px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 32px 0; border-top: 1px solid var(--line); }
.feature h3 { font-size: 36px; color: var(--accent-text); }
.feature-head p { margin-top: 10px; font-size: 19px; color: var(--text); max-width: 30ch; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.feature li { position: relative; padding-left: 22px; color: var(--text-2); max-width: 62ch; }
.feature > .shot, .feature > .shot-pair, .feature > .shot-note { grid-column: 1 / -1; }
.shot { margin: 8px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0b0d10; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shot img { display: block; width: 100%; height: auto; }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: start; }
.shot-pair .shot { margin: 8px 0 0; }
.shot-phone { border-radius: 22px; }
.shot-note { margin: -12px 0 0; font-size: 13px; color: var(--text-3); }
.feature li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.extras { margin-top: 24px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.extras h3 { font-size: 24px; }
.extras dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.extras dt { font-weight: 600; }
.extras dd { margin: 4px 0 0; color: var(--text-2); font-size: 16px; }

.trust-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; padding: 72px 32px; align-items: start; }
.trust h2 { font-size: 56px; }
.trust p { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 48ch; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 36px; color: var(--text-2); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 0.25em; width: 7px; height: 13px; border: solid var(--teal);
  border-width: 0 3px 3px 0; transform: rotate(45deg); }

.contact { padding: 88px 0 96px; }
.contact-inner > * { max-width: 760px; }
.contact h2 { font-size: 56px; }
.contact p { margin-top: 16px; font-size: 19px; color: var(--text-2); }
.contact .small { font-size: 15px; color: var(--text-3); }
.mail { display: inline-block; margin: 28px 0 8px; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.1;
  color: var(--accent); text-decoration: none; border-bottom: 3px solid var(--accent-wash); overflow-wrap: anywhere; }
.mail:hover { color: var(--accent-text); border-bottom-color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { padding-top: 56px; padding-bottom: 80px; max-width: 860px; }
.legal-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.legal h1 { font-size: 56px; }
.legal-head .muted { margin-top: 10px; font-size: 15px; }
.draft { margin-top: 18px; padding: 12px 16px; border-radius: 10px; background: rgba(230, 195, 92, 0.12); border: 1px solid rgba(230, 195, 92, 0.35);
  color: #f1dc9c; font-size: 15px; }
.prose { max-width: 70ch; color: var(--text-2); }
.prose h2 { font-size: 32px; color: var(--text); margin: 44px 0 12px; scroll-margin-top: 80px; }
.prose h3 { font-size: 22px; color: var(--text); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th { text-align: left; font-weight: 600; color: var(--text); padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.prose td { padding: 10px 12px; border-bottom: 1px solid #22262c; vertical-align: top; }
.legal-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }

.notfound { padding-top: 96px; padding-bottom: 120px; }
.notfound h1 { font-size: 56px; }
.notfound p { margin-top: 16px; font-size: 18px; color: var(--text-2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #0b0d10; font-size: 15px; }
.foot-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; padding-top: 32px; padding-bottom: 32px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--text-3); }
.foot-links { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: flex-end; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.copy { grid-column: 1 / -1; color: var(--text-3); font-size: 14px; }

/* ---------- coming-soon home (templates/coming_soon.html) ---------- */
.soon { padding: 80px 0 96px; }
.soon-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.nowrap { white-space: nowrap; }
.eyebrow { margin: 0 0 18px; color: var(--teal-text); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.soon h1 { font-size: 76px; line-height: 1; }
.soon h1 .accent { color: var(--accent); }
.soon .lede { max-width: 30ch; }
.soon-board .board-grid { min-width: 0; padding-top: 10px; }
.s-band { grid-column: 1 / 6; }
.s-setup { grid-column: 7 / 9; }
.s-football { grid-column: 9 / 15; }
.s-vball { grid-column: 3 / 10; }
.s-practice { grid-column: 1 / 5; }
.s-league { grid-column: 7 / 13; }
.s-trip { grid-column: 2 / 10; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.key { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.key-home { background: var(--accent); }
.key-away { background: var(--teal); }
.key-other { background: var(--field); box-shadow: inset 0 0 0 1px #3a4048; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .hero-grid, .who-grid, .feature, .trust-grid, .soon-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .soon-grid { gap: 48px; }
  .hero h1 { max-width: 16ch; }
  .feature { gap: 18px; }
  .feature-head p { max-width: none; }
  .shot-pair { grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; }
}
@media (max-width: 720px) {
  html, body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-row { gap: 12px; min-height: 60px; }
  .nav { display: none; }
  .login { margin-left: auto; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 46px; }
  .soon { padding: 40px 0 56px; }
  .soon h1 { font-size: 52px; }
  .lede, .who-body > p, .feature-head p, .contact p { font-size: 17px; }
  h2, .trust h2, .contact h2, .legal h1, .notfound h1 { font-size: 38px; }
  .feature h3 { font-size: 30px; }
  .shot { border-radius: 8px; }
  .shot-pair { grid-template-columns: minmax(0, 1fr); }
  .shot-phone { width: 62%; margin: 0 auto; border-radius: 18px; }
  .board { padding: 14px 12px 12px; }
  .board-grid { min-width: 0; }
  .hours { margin-left: 58px; }
  .lane { grid-template-columns: 58px minmax(0, 1fr); }
  .lane-name { font-size: 12px; }
  .bar { font-size: 11px; padding: 0 5px; }
  .who-grid, .trust-grid { padding: 48px 16px; }
  .who-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .features { padding: 56px 0 48px; }
  .extras { padding: 20px; }
  .extras dl { grid-template-columns: minmax(0, 1fr); }
  .contact { padding: 56px 0 64px; }
  .mail { font-size: 30px; }
  .legal { padding-top: 36px; }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
}
@media print { .top, .foot, .legal-nav { display: none; } body { background: #fff; color: #000; } }
