/* Racqu — site stylesheet
   Token system:
   Color   — ink #1B2B22 (charcoal-green), paper #F2F5EE (pale sage),
             ball #C4D600 (tennis-ball chartreuse, sparing accent),
             clay #A6503A (clay-court brick, sparing accent),
             muted #5B6B5E (secondary text/lines)
   Type    — display: 'Big Shoulders Display' (condensed, scoreboard feel)
             body: 'Work Sans' (clean, legible for long-form legal text)
*/

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #1B2B22;
  --paper: #F2F5EE;
  --ball: #C4D600;
  --clay: #A6503A;
  --muted: #5B6B5E;
  --line: rgba(27, 43, 34, 0.14);
  --max: 700px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration-color: var(--ball);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--clay); text-decoration-color: var(--clay); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  padding: 56px 0 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Brand mark — sourced from the app icon asset (icon1024.png), which
   ships opaque-white-square per App Store/Play Store's no-transparency
   requirement. Circular-cropping it here via border-radius trims the
   square's white corners down to a thin ring, keeping it from reading
   as a white box against the site's --paper background. If a true
   transparent SVG version of the mark is ever produced, this wrapper
   can go back to just being decorative padding. */
.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-mark--lg { width: 56px; height: 56px; }
.brand-mark--sm { width: 36px; height: 36px; }
.wordmark {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 10vw, 72px);
  letter-spacing: 0.5px;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}
.wordmark .dot { color: var(--ball); }
.tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 40ch;
}

nav.site {
  display: flex;
  gap: 20px;
  margin: 28px 0 0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
nav.site a { text-decoration: none; color: var(--muted); }
nav.site a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ball); text-decoration-thickness: 2px; text-underline-offset: 4px; }
nav.site a:hover { color: var(--clay); }

/* Court-line divider — a signature element: two horizontal rules of
   different width, echoing a tennis court's singles + doubles sidelines
   converging toward the net. Used to separate structural sections. */
.court-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 44px 0;
}
.court-divider span { display: block; height: 1px; background: var(--line); }
.court-divider span:first-child { width: 100%; }
.court-divider span:last-child { width: 56%; }

/* Main content */
main { padding: 8px 0 80px; }

h1.page-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
}
.effective-date {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

h2 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 40px 0 12px;
}
h2:first-of-type { margin-top: 0; }

p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

.callout {
  border-left: 3px solid var(--ball);
  background: rgba(196, 214, 0, 0.08);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 32px;
}

.coming-soon-badge {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay);
  border: 1px solid var(--clay);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 28px 0 0;
}

.live-badge {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(196, 214, 0, 0.22);
  border: 1px solid var(--ball);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 28px 0 0;
}

.store-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}
.store-badge-link {
  display: inline-flex;
  padding: 12px;
  line-height: 0;
}
.store-badge-link img {
  display: block;
  height: 48px;
  width: auto;
}
.store-btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
}
.store-btn--secondary {
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
}

/* Feature list — homepage bullets summarizing core app functionality.
   Custom dot marker (ball accent) replaces default bullets to match
   the legal-page ul/li styling already defined below without reusing
   it verbatim, since this list sits in a more marketing-forward context. */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 24px 0 28px;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ball);
}

.home-links {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  font-weight: 600;
}

/* Forms — added for reset-password.html. No other page uses inputs/
   buttons yet, so these are new additions, not modifications to
   anything existing. */
.field-label {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 6px;
}
input[type="password"],
input[type="email"] {
  display: block;
  width: 100%;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 18px;
}
input[type="password"]:focus-visible,
input[type="email"]:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
  border-color: var(--clay);
}
.btn-primary {
  display: inline-block;
  width: 100%;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-primary:hover:not(:disabled) { background: var(--clay); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }

.status-block { margin: 8px 0 0; }
.error-text { color: var(--clay); font-size: 14px; margin: -8px 0 18px; }
.success-title { margin-bottom: 8px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--clay); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  header.site { padding-top: 40px; }
}
