:root {
  --bg: #14251a;
  --panel: #1c3122;
  --panel-line: rgba(239, 231, 209, 0.09);
  --cream: #efe7d1;
  --muted: #93a795;
  --muted-dark: #6f8a75;
  --gold: #cba15a;
  --gold-bright: #e0c079;
  --cabernet: #d98a97;
  --shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% 0%, #16281c 0%, #0c150f 70%);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.design-stage {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.mobile-preview {
  position: relative;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
}

.app-shell {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.site-header {
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(239, 231, 209, 0.12);
  background: var(--bg);
}

.brand {
  display: inline-flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand-mark {
  width: 24px;
  height: 29px;
  flex: 0 0 auto;
  color: var(--cream);
}

.brand-copy {
  min-width: 0;
}

.brand strong {
  display: block;
  overflow: hidden;
  color: var(--cream);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.cleve-scroll {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cleve-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.vineyard-panel {
  position: relative;
  height: 150px;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(28, 49, 34, 0.38) 0 14px, rgba(32, 55, 39, 0.18) 14px 28px),
    url("/static/images/napa-vineyard.jpg") center 56% / cover;
}

.vineyard-panel::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 37, 26, 0.48), rgba(20, 37, 26, 0.94)),
    linear-gradient(90deg, rgba(20, 37, 26, 0.5), rgba(20, 37, 26, 0.12) 52%, rgba(20, 37, 26, 0.5));
  content: "";
}

.vineyard-panel > div {
  position: absolute;
  right: 18px;
  bottom: 12px;
  left: 18px;
  z-index: 1;
}

.dateline {
  margin: 0;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bodoni Moda", Georgia, serif;
}

.vineyard-panel h1 {
  margin-top: 3px;
  color: var(--cream);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.cup-hero {
  padding: 18px 18px 0;
}

.scoreboard {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.score-tile {
  flex: 1;
  padding: 14px;
  border: 1px solid rgba(203, 161, 90, 0.45);
  border-radius: 14px;
  background: var(--panel);
  text-align: center;
}

.score-tile:first-child {
  border-color: rgba(122, 42, 55, 0.5);
}

.score-tile h2 {
  color: var(--team-color);
  font-size: 15px;
  font-weight: 600;
}

.score-tile strong {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cup-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 24px 18px 0;
}

.compact-section {
  padding-top: 24px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.round-list,
.row-list,
.leaderboard-list,
.team-grid,
.detail-list,
.leader-list,
.itinerary-list,
.draft-list,
.player-list {
  display: grid;
  gap: 10px;
}

.round-card,
.schedule-row,
.course-row,
.team-room,
.leaderboard-list li,
.match-row,
.leader-row,
.day-card,
.draft-team {
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel);
}

.round-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
}

.round-card > span:first-child,
.schedule-row > div,
.course-row > div {
  flex: 1;
  min-width: 0;
}

.round-card em,
.schedule-row time {
  display: block;
  color: var(--gold);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.round-card strong,
.schedule-row h3,
.course-row h3,
.team-room h2 {
  display: block;
  margin-top: 2px;
  color: var(--cream);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.08;
}

.round-card small,
.round-status small,
.schedule-row p,
.course-row p,
.team-room p,
.page-head p {
  color: var(--muted);
}

.round-card small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
}

.round-status {
  text-align: right;
}

.round-status strong {
  color: var(--cream);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.round-status small {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.round-card::after {
  color: var(--gold);
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.page-head {
  padding: 22px 18px 20px;
}

.page-head h1 {
  color: var(--cream);
  font-size: 26px;
  font-weight: 700;
}

.page-head > p:not(.dateline) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.page-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.page-subnav a {
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid rgba(239, 231, 209, 0.12);
  border-radius: 7px;
  background: rgba(239, 231, 209, 0.04);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-subnav a[aria-current="page"] {
  border-color: rgba(203, 161, 90, 0.45);
  color: var(--gold);
}

.leaderboard-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 24px 5px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 13px 14px;
}

.rank {
  color: var(--muted-dark);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.team-mark {
  width: 5px;
  height: 30px;
  border-radius: 99px;
  background: var(--team-color);
}

.team-name {
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
}

.points {
  color: var(--gold);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.schedule-row,
.course-row {
  display: flex;
  gap: 12px;
  padding: 13px 14px;
}

.schedule-row p,
.course-row p {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
}

.team-grid {
  gap: 18px;
}

.team-room {
  padding: 13px 15px;
}

.team-room .team-mark {
  display: block;
  margin-bottom: 18px;
}

.match-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
}

.match-row h3 {
  color: var(--cream);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.match-row p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.match-row > div {
  flex: 1;
  min-width: 0;
}

.match-row > span,
.player-row b {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.match-row-cabernet p {
  color: var(--cabernet);
}

.match-row-chardonnay p {
  color: var(--gold-bright);
}

.leader-list {
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel);
  gap: 0;
}

.leader-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 34px 42px;
  gap: 11px;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(239, 231, 209, 0.06);
  border-radius: 0;
}

.leader-row:last-child {
  border-bottom: 0;
}

.leader-row span {
  color: var(--muted-dark);
  font-size: 12px;
}

.leader-row strong {
  overflow: hidden;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-row small {
  color: var(--muted);
  font-size: 10px;
}

.leader-row em {
  color: var(--gold);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

.day-card {
  overflow: hidden;
  margin-bottom: 4px;
}

.day-card header {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(239, 231, 209, 0.08);
  background: repeating-linear-gradient(115deg, #20372700 0 12px, #23402c 12px 13px);
}

.day-card header > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.day-card h2 {
  color: var(--gold);
  font-size: 19px;
  font-weight: 700;
}

.day-card header span {
  color: var(--muted);
  font-size: 11px;
}

.day-card header strong {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.day-items {
  display: grid;
  gap: 13px;
  padding: 14px 16px;
}

.day-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.day-item time {
  width: 74px;
  flex: 0 0 auto;
  padding-top: 1px;
  color: var(--cabernet);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
}

.day-item p {
  margin: 0;
}

.day-item strong {
  display: block;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}

.day-item span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.35;
}

.day-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.draft-team {
  overflow: hidden;
  margin-bottom: 8px;
}

.draft-team header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(239, 231, 209, 0.09);
  background: var(--team-band);
}

.draft-team header > div {
  flex: 1;
}

.draft-team h2 {
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.draft-team header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10.5px;
}

.draft-team header span {
  color: var(--team-color);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-align: right;
}

.player-list {
  gap: 0;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px;
  border-bottom: 1px solid rgba(239, 231, 209, 0.06);
}

.player-row:last-child {
  border-bottom: 0;
}

.player-row > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(239, 231, 209, 0.08);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
}

.player-row strong {
  flex: 1;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
}

.player-row em {
  padding: 2px 7px;
  border: 1px solid rgba(203, 161, 90, 0.4);
  border-radius: 10px;
  color: var(--gold);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0;
}

.player-row small {
  width: 38px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.prototype-note {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 10.5px;
  font-style: italic;
  text-align: center;
}

.bottom-nav {
  position: relative;
  z-index: 40;
  display: flex;
  flex: 0 0 auto;
  border-top: 1px solid rgba(239, 231, 209, 0.12);
  background: var(--bg);
  padding: 9px 8px 20px;
}

.bottom-nav a,
.nav-more-toggle {
  display: grid;
  flex: 1;
  min-height: 36px;
  border: 0;
  background: transparent;
  place-items: center;
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-more-toggle {
  cursor: pointer;
}

.bottom-nav a:first-child,
.nav-more-toggle[aria-expanded="true"] {
  color: var(--gold);
}

.bottom-nav a:first-child::after {
  width: 20px;
  height: 2.5px;
  margin-top: -9px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
}

.nav-more-panel {
  position: absolute;
  right: 8px;
  bottom: calc(100% + 8px);
  display: grid;
  width: min(240px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(203, 161, 90, 0.35);
  border-radius: 10px;
  background: rgba(28, 49, 34, 0.98);
  box-shadow: 0 22px 55px -26px rgba(0, 0, 0, 0.8);
}

.nav-more-panel[hidden] {
  display: none;
}

.nav-more-panel a,
.nav-more-panel form button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(239, 231, 209, 0.08);
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: left;
  text-transform: uppercase;
}

.nav-more-panel form {
  margin: 0;
}

.nav-more-panel form button {
  border-bottom: 0;
  color: var(--cabernet);
  cursor: pointer;
}

.auth-section {
  padding-top: 4px;
}

.auth-form,
.scorecard-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form span,
.score-summary span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.auth-form input,
.scorecard-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(239, 231, 209, 0.13);
  border-radius: 8px;
  background: rgba(12, 21, 15, 0.62);
  color: var(--cream);
  font: inherit;
}

.auth-form input {
  height: 44px;
  padding: 0 12px;
}

.auth-form button,
.score-save,
.score-summary button {
  border: 1px solid rgba(203, 161, 90, 0.55);
  border-radius: 8px;
  background: var(--gold);
  color: #102016;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.auth-form button,
.score-save {
  min-height: 44px;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 138, 151, 0.35);
  border-radius: 8px;
  background: rgba(122, 42, 55, 0.24);
  color: var(--cabernet);
  font-size: 12px;
}

.scorecard-head {
  padding-bottom: 14px;
}

.score-summary {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: stretch;
  padding: 0 18px 14px;
}

.score-summary > div,
.score-summary form {
  min-height: 58px;
}

.score-summary > div {
  padding: 10px 12px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: var(--panel);
}

.score-summary strong {
  display: block;
  margin-top: 1px;
  color: var(--cream);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.score-summary button {
  width: 52px;
  height: 100%;
  background: transparent;
  color: var(--gold);
}

.scorecard-form {
  padding: 0 18px 24px;
}

.scorecard-grid {
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel);
}

.scorecard-row {
  display: grid;
  grid-template-columns: 42px 42px 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 43px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(239, 231, 209, 0.06);
  color: var(--cream);
  font-size: 12px;
}

.scorecard-row:last-child {
  border-bottom: 0;
}

.scorecard-labels {
  min-height: 34px;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.scorecard-row input {
  height: 30px;
  padding: 0 8px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.landing-page .cleve-scroll {
  scroll-behavior: smooth;
  background:
    linear-gradient(180deg, transparent 0 52%, rgba(12, 21, 15, 0.88) 52% 100%),
    var(--bg);
}

.landing-hero {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100dvh - 154px));
  align-content: end;
  gap: 18px;
  overflow: hidden;
  padding: 74px 18px 18px;
  background:
    linear-gradient(180deg, rgba(12, 21, 15, 0.16) 0%, rgba(12, 21, 15, 0.68) 46%, #14251a 100%),
    linear-gradient(90deg, rgba(20, 37, 26, 0.9), rgba(20, 37, 26, 0.24) 62%),
    url("/static/images/napa-vineyard.jpg") center / cover;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 52% 42%, rgba(239, 231, 209, 0.08), transparent 66%),
    linear-gradient(90deg, rgba(12, 21, 15, 0.72), transparent 20%, transparent 74%, rgba(12, 21, 15, 0.76)),
    linear-gradient(180deg, rgba(12, 21, 15, 0.42), transparent 24%, transparent 68%, rgba(12, 21, 15, 0.82));
  content: "";
  pointer-events: none;
}

.landing-hero > * {
  position: relative;
  z-index: 1;
}

.landing-hero-copy {
  max-width: 720px;
}

.landing-hero h1 {
  margin-top: 7px;
  max-width: 700px;
  color: var(--cream);
  font-size: clamp(47px, 14vw, 88px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
}

.landing-hero-copy > p:last-child {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(239, 231, 209, 0.86);
  font-size: clamp(15px, 4.2vw, 20px);
  line-height: 1.48;
}

.landing-countdown {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 17px;
  border: 1px solid rgba(239, 231, 209, 0.18);
  border-radius: 8px;
  background: rgba(12, 21, 15, 0.64);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.landing-countdown > p {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown-grid span {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid rgba(239, 231, 209, 0.13);
  border-radius: 7px;
  background: rgba(239, 231, 209, 0.08);
  text-align: center;
}

.countdown-grid strong {
  color: var(--cream);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(30px, 10vw, 56px);
  font-weight: 600;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.countdown-grid small,
.landing-countdown time {
  color: rgba(239, 231, 209, 0.7);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.landing-countdown time {
  color: rgba(239, 231, 209, 0.78);
}

.landing-login-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  padding: 14px 16px;
  border: 1px solid rgba(203, 161, 90, 0.34);
  border-radius: 8px;
  background: rgba(203, 161, 90, 0.15);
}

.landing-login-prompt p {
  margin: 0;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

.landing-login-prompt a {
  display: inline-grid;
  min-height: 39px;
  min-width: 124px;
  place-items: center;
  border-radius: 7px;
  background: var(--gold);
  color: #102016;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.promo-band {
  display: grid;
  gap: 24px;
  width: min(calc(100% - 36px), 920px);
  min-height: 330px;
  margin: 26px auto;
  padding: 44px 24px;
  align-content: center;
  border: 1px solid rgba(239, 231, 209, 0.14);
  border-radius: 8px;
  box-shadow: 0 30px 80px -46px rgba(0, 0, 0, 0.85);
}

.promo-band h2 {
  max-width: 780px;
  color: inherit;
  font-size: clamp(36px, 11vw, 78px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.promo-band > p {
  max-width: 700px;
  margin: 0;
  font-size: clamp(16px, 4.4vw, 24px);
  line-height: 1.48;
}

.promo-band-paper {
  background: rgba(239, 231, 209, 0.94);
  color: #15251b;
}

.promo-band-paper .section-kicker {
  color: #7a2a37;
}

.promo-band-gold {
  background: rgba(203, 161, 90, 0.9);
  color: #102016;
}

.promo-band-gold .section-kicker {
  color: rgba(16, 32, 22, 0.72);
}

.promo-band-forest {
  background:
    linear-gradient(135deg, rgba(122, 42, 55, 0.32), transparent 48%),
    rgba(32, 55, 39, 0.94);
  color: var(--cream);
}

.promo-band-forest .section-kicker {
  color: var(--gold-bright);
}

.scroll-reveal {
  transform: translateY(28px);
  opacity: 0;
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.scroll-reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.landing-hero .scroll-reveal {
  transform: none;
  opacity: 1;
}

.landing-hero + .promo-band.scroll-reveal {
  transform: none;
  opacity: 1;
}

@media (max-width: 759px) {
  .landing-hero {
    background-position: center, center, center bottom;
    background-size: auto, auto, auto 132%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .cleve-scroll {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

@media (min-width: 760px) {
  .design-stage,
  .mobile-preview,
  .app-shell {
    min-height: 100dvh;
  }

  .site-header {
    min-height: 76px;
    padding: 20px 34px;
  }

  .brand-mark {
    width: 30px;
    height: 36px;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small {
    font-size: 9px;
  }

  .page-head,
  .section,
  .score-summary,
  .scorecard-form {
    width: min(100%, 1120px);
    margin-right: auto;
    margin-left: auto;
  }

  .page-head {
    padding: 36px 36px 24px;
  }

  .section {
    padding-right: 36px;
    padding-left: 36px;
  }

  .bottom-nav {
    padding: 10px 28px 18px;
  }

  .bottom-nav a,
  .nav-more-toggle {
    min-height: 42px;
    font-size: 11px;
  }

  .landing-hero {
    min-height: calc(100dvh - 118px);
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    align-items: end;
    gap: 34px;
    padding: 120px 56px 72px;
  }

  .landing-hero-copy,
  .landing-login-prompt {
    grid-column: 1;
  }

  .landing-countdown {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .landing-login-prompt {
    max-width: 520px;
  }

  .promo-band {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
    align-items: center;
    min-height: 360px;
    padding: 58px 46px;
  }

  .promo-band > p {
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .app-shell {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    border-bottom-color: rgba(239, 231, 209, 0.1);
    background: rgba(20, 37, 26, 0.82);
    backdrop-filter: blur(18px);
  }

  .landing-page .site-header {
    background: linear-gradient(180deg, rgba(12, 21, 15, 0.78), rgba(12, 21, 15, 0.08));
  }

  .cleve-scroll {
    padding-top: 76px;
  }

  .landing-page .cleve-scroll {
    padding-top: 0;
  }

  .bottom-nav {
    position: fixed;
    top: 18px;
    right: 34px;
    z-index: 30;
    gap: 6px;
    width: auto;
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .bottom-nav a,
  .nav-more-toggle {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 7px;
    color: rgba(239, 231, 209, 0.74);
    letter-spacing: 1.2px;
  }

  .bottom-nav a:hover {
    background: rgba(239, 231, 209, 0.08);
    color: var(--cream);
  }

  .bottom-nav a:first-child,
  .nav-more-toggle[aria-expanded="true"] {
    color: var(--gold);
  }

  .bottom-nav a:first-child::after {
    display: none;
  }

  .nav-more-panel {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    width: 220px;
  }

  .scorecard-form {
    width: min(100%, 1280px);
  }

  .scorecard-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(52px, 1fr);
    grid-template-columns: 72px;
    grid-template-rows: 36px 36px 36px 52px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .scorecard-row {
    display: contents;
  }

  .scorecard-row > span,
  .scorecard-row > input {
    display: grid;
    min-height: 100%;
    align-items: center;
    justify-items: center;
    border-right: 1px solid rgba(239, 231, 209, 0.06);
    border-bottom: 1px solid rgba(239, 231, 209, 0.06);
  }

  .scorecard-row > span {
    padding: 0 8px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }

  .scorecard-labels > span {
    justify-items: start;
    color: var(--gold);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  .scorecard-row > input {
    min-height: 34px;
    width: calc(100% - 12px);
    height: 34px;
    margin: 8px 6px 9px;
  }

  .landing-hero {
    min-height: calc(100dvh - 42px);
    padding-right: clamp(72px, 7vw, 112px);
    padding-left: clamp(72px, 7vw, 112px);
  }

  .promo-band {
    width: min(78vw, 1180px);
    margin-top: 42px;
    margin-bottom: 42px;
    padding-right: clamp(52px, 5vw, 82px);
    padding-left: clamp(52px, 5vw, 82px);
  }

  .promo-band-paper {
    margin-right: auto;
    margin-left: clamp(72px, 8vw, 150px);
  }

  .promo-band-gold {
    margin-right: clamp(72px, 8vw, 150px);
    margin-left: auto;
    text-align: right;
  }

  .promo-band-gold > p {
    justify-self: start;
  }

  .promo-band-forest {
    width: min(66vw, 980px);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .promo-band-forest > p {
    justify-self: center;
  }
}
