/* Fore The Cup — palette taken from the logo: the deep forest of the
   wordmark and the bright fairway green of "CUP". */
:root {
  --ink: #013F2A;
  --ink-deep: #012B1D;
  --fairway: #489024;
  --fairway-bright: #5CAE33;
  --bg: #FFFFFF;
  --surface: #F6F8F5;
  --surface-alt: #EAF1E6;
  --text: #0F1F17;
  --text-muted: #5C6B62;
  --text-faint: #8A9791;
  --border: #E3EAE5;
  --max-width: 1040px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--fairway); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; object-fit: contain;
}
.brand span { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.2px; }
.brand span em { color: var(--fairway-bright); font-style: normal; }
.site-header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-header nav a { color: #B9D4C4; font-size: 0.92rem; font-weight: 600; }
.site-header nav a:hover { color: #fff; }

/* ------------------------------------------------------------------ hero */

.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  text-align: center;
}
.hero img.mark {
  width: 132px; height: 132px; border-radius: 50%;
  background: #fff; object-fit: contain; margin-bottom: 1.75rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  line-height: 1.1; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--fairway-bright); }
.hero .lead {
  max-width: 640px; margin: 0 auto 2rem;
  color: #C6DECF; font-size: 1.1rem;
}

.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
}
.btn-primary { background: var(--fairway); color: #fff; }
.btn-primary:hover { background: var(--fairway-bright); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-secondary:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-soon { opacity: 0.75; cursor: default; }

/* -------------------------------------------------------------- sections */

section.band { padding: 4rem 0; }
section.band.alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 2.5rem; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 0.6rem;
}
.section-head p { color: var(--text-muted); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

.formats { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.chip {
  background: var(--surface-alt); color: var(--ink);
  border: 1px solid #CFE2C4; border-radius: 999px;
  padding: 0.45rem 0.9rem; font-size: 0.88rem; font-weight: 700;
}

/* ----------------------------------------------------------------- prose */

.prose { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.prose h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 0.4rem; }
.prose .updated { color: var(--text-faint); font-size: 0.9rem; margin-bottom: 2rem; }
.prose h2 { font-size: 1.15rem; font-weight: 800; margin: 2rem 0 0.6rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { margin: 0.5rem 0 0.5rem 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--text); }
.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--fairway);
  border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink); color: #B9D4C4;
  padding: 2.5rem 0; margin-top: 0; font-size: 0.9rem;
}
.site-footer .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer a { color: #B9D4C4; }
.site-footer a:hover { color: #fff; }
.site-footer nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ------------------------------------------------------- screenshots */

.shots { padding-top: 3rem; padding-bottom: 1rem; }
.shot-row { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.shot { margin: 0; text-align: center; }
.shot img {
  max-width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(1, 43, 29, 0.14);
}
/* Both phone shots are cropped to the same height so their captions line up.
   The interesting part of a leaderboard is the top of it, so crop the bottom. */
.shot.phone img {
  width: 260px; height: 460px;
  object-fit: cover; object-position: top center;
}
.shot.wide img { width: 100%; max-width: 900px; margin: 0 auto; }
.shot figcaption {
  margin-top: 0.75rem; font-size: 0.88rem; color: var(--text-muted);
}
.cta-line {
  text-align: center; margin-top: 2rem; color: var(--text-muted);
}
.cta-line a { font-weight: 700; color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------ numbers */

.numbers { background: var(--ink); padding: 2.5rem 0; }
.stat-row {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
.stat strong {
  display: block; font-size: 2.6rem; font-weight: 800;
  color: var(--fairway-bright); letter-spacing: -1px; line-height: 1.1;
}
.stat span { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: #B9D4C4; }
.card h3 em { font-style: italic; color: var(--fairway); }
