:root {
  --olive: #808000;
  --olive-dark: #5f5f00;
  --olive-pale: #f3f3e4;
  --turquoise: #00d4bb;
  --turquoise-dark: #00907f;
  --cream: #fdfbf4;
  --ink: #23211c;
  --muted: #6e685c;
  --line: #e7e1d2;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* ---------- header ---------- */
.site-header {
  background: var(--olive);
  color: var(--white);
  padding: 1rem 1.25rem;
}
.site-header .wrap {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand span { color: var(--turquoise); }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 1.1rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover { text-decoration: underline; }

/* ---------- layout ---------- */
main .wrap, .wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
main { padding-bottom: 3rem; }

.hero {
  padding: 2.75rem 0 1.5rem;
  text-align: center;
}
.hero .kicker {
  display: inline-block;
  background: var(--olive-pale);
  border: 1px solid var(--olive);
  color: var(--olive-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* ---------- leaderboard ---------- */
.leaderboard { margin-top: 2.25rem; }
.board-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.board-row:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.board-rank {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.board-row.champion .board-rank { background: var(--turquoise-dark); }
.board-info { flex: 1 1 auto; min-width: 0; }
.board-info .sandwich { font-weight: 700; font-size: 1.08rem; }
.board-info .shop { color: var(--muted); font-size: 0.95rem; }
.board-score {
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--olive-pale);
  border: 1px solid var(--olive);
  color: var(--olive-dark);
  padding: 0.35rem 0.7rem;
  border-radius: 0.6rem;
  white-space: nowrap;
}
.board-row.champion .board-score {
  background: var(--olive);
  color: var(--turquoise);
  border-color: var(--olive);
}
.champ-pill {
  display: inline-block;
  background: var(--turquoise);
  color: #06302b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------- sections ---------- */
section.block { margin-top: 2.75rem; }
h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--turquoise);
  display: inline-block;
}
h3 { font-size: 1.2rem; margin: 1.4rem 0 0.4rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem 1.2rem; padding: 0; }
li { margin-bottom: 0.5rem; }
a { color: var(--turquoise-dark); }
a:hover { color: var(--olive-dark); }

/* ---------- score card ---------- */
.score-card {
  background: var(--olive);
  color: var(--white);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}
.score-card .label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--turquoise);
  margin-bottom: 0.5rem;
}
.score-card .big {
  font-family: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--turquoise);
}
.score-card .of { font-size: 1.1rem; color: var(--white); opacity: 0.85; }

/* ---------- facts table ---------- */
.facts {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.facts dl { margin: 0; }
.facts dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.8rem;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0.1rem 0 0; }

/* ---------- spotlight ---------- */
.spotlight {
  background: var(--white);
  border: 2px solid var(--olive);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1rem;
}
.spotlight .big {
  font-family: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--turquoise-dark);
}

/* ---------- cta ---------- */
.cta {
  background: var(--olive-pale);
  border: 1px solid var(--olive);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2.5rem;
}
.cta .btn {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}
.cta .btn:hover { background: var(--olive-dark); color: var(--white); }

/* ---------- review nav ---------- */
.review-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.review-nav a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  flex: 1 1 12rem;
}
.review-nav a:hover { border-color: var(--olive); }
.review-nav .dir { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8d2c4;
  padding: 2rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.site-footer .wrap { max-width: 46rem; margin: 0 auto; }
.site-footer a { color: var(--turquoise); }
.site-footer .fine { color: #8d877a; font-size: 0.85rem; margin-top: 0.75rem; }

@media (min-width: 40rem) {
  h1 { font-size: 2.6rem; }
  .board-rank { width: 3rem; height: 3rem; font-size: 1.3rem; }
  .score-card .big { font-size: 4rem; }
}
