/* ==========================================================================
   Dai1 — design tokens
   Palette:  paper (bg) · ink (text) · moss (primary accent, nature/motion)
             stone (secondary, monuments/architecture) · clay (signature route)
             gold  (rank accent, used sparingly)
   Type:     Cormorant Garamond (display, elegance) · Work Sans (body, humanist)
             IBM Plex Mono (data — distances, points, coordinates)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Work+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --paper:        #F6F2E8;
  --paper-deep:   #EFE9DB;
  --ink:          #2B2A26;
  --ink-soft:     #5A574E;
  --stone:        #8C8577;
  --stone-line:   #D9D2C2;
  --moss:         #57624A;
  --moss-deep:    #3F4736;
  --clay:         #A85A34;
  --gold:         #9C8140;

  --display: 'Cormorant Garamond', serif;
  --body:    'Work Sans', sans-serif;
  --mono:    'IBM Plex Mono', monospace;

  --max: 1120px;
  --edge: clamp(24px, 5vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{ overflow-x: hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

:focus-visible{
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* ---------- nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.nav.is-scrolled{
  background: rgba(246,242,232,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--stone-line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__mark{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.01em;
}
.nav__mark span{ color: var(--moss); }
.nav__links{
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 14px;
  font-weight: 500;
}
.nav__links a{
  position: relative;
  padding-bottom: 4px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav__links a:hover, .nav__links a.is-active{ color: var(--ink); }
.nav__links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--moss);
  transition: right 0.25s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after{ right: 0; }
.nav__cta{
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__cta:hover{ background: var(--ink); color: var(--paper); }

.nav__toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span{
  display: block;
  width: 22px; height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{ background: var(--moss); color: var(--paper); }
.btn--primary:hover{ background: var(--moss-deep); }
.btn--ghost{ border-color: var(--stone); color: var(--ink); }
.btn--ghost:hover{ border-color: var(--ink); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 168px var(--edge) 96px;
  overflow: hidden;
}
.hero__contours{
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner{
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.hero__eyebrow{ margin-bottom: 22px; }
.hero h1{
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero p.lede{
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 44px;
}
.hero__actions{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 88px;
}
.hero__note{
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--stone);
}

/* signature route element */
.route{
  display: flex;
  align-items: flex-end;
  gap: 0;
  max-width: 760px;
}
.route__stop{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.route__dot{
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--clay);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--clay);
}
.route__label{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.route__path{
  flex: 1;
  height: 24px;
  margin: 0 -2px;
}
.route__path path{
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  stroke-dashoffset: 300;
  animation: draw 2.6s ease forwards 0.4s;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

/* ---------- section shell ---------- */
section{ padding: 108px 0; }
.section--deep{ background: var(--paper-deep); }
.section__head{ margin-bottom: 64px; max-width: 640px; }
.section__head h2{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  margin: 14px 0 0;
  line-height: 1.1;
}

/* ---------- how it works ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps::before{
  content: "";
  position: absolute;
  top: 20px; left: 6%; right: 6%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--stone-line) 0 6px, transparent 6px 12px);
}
.step{ position: relative; padding-right: 32px; }
.step__num{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--clay);
  background: var(--paper);
  display: inline-block;
  padding-right: 10px;
  position: relative;
  z-index: 1;
}
.step h3{
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  margin: 20px 0 12px;
}
.step p{ color: var(--ink-soft); font-size: 15px; margin: 0; max-width: 32ch; }

/* ---------- explore split ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split__text .eyebrow{ margin-bottom: 18px; }
.split__text h2{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  margin: 0 0 20px;
  line-height: 1.12;
}
.split__text p{ color: var(--ink-soft); margin: 0 0 16px; max-width: 42ch; }
.split__stats{
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.split__stats div{ }
.split__stats b{
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--moss-deep);
}
.split__stats span{ font-size: 12.5px; color: var(--stone); }

/* phone mockup illustration — iPhone 17 Pro style frame */
.phone{
  position: relative;
  width: min(320px, 100%);
  margin: 0 auto;
  aspect-ratio: 9/18.5;
  background: linear-gradient(155deg, #57574f 0%, #38392f 24%, #232420 60%, #4a4a41 100%);
  border-radius: 44px;
  padding: 3px;
  box-shadow: 0 30px 60px -20px rgba(43,42,38,0.4);
}
.phone::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(246,242,232,0.22) 0%, transparent 28%, transparent 72%, rgba(246,242,232,0.08) 100%);
  pointer-events: none;
  z-index: 2;
}
.phone::after{
  content: "";
  position: absolute;
  top: 22%; left: -2px;
  width: 2px; height: 9%;
  background: rgba(0,0,0,0.5);
  border-radius: 1px 0 0 1px;
  box-shadow: 0 34px 0 rgba(0,0,0,0.5), 0 -46px 0 rgba(0,0,0,0.4);
}
.phone__notch{
  position: absolute;
  top: 17px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}
.phone__screen{
  position: relative;
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 41px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 8px solid #101110;
}

/* ---------- season / friends ---------- */
.season{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.season__card{
  background: var(--paper);
  border: 1px solid var(--stone-line);
  border-radius: 20px;
  padding: 36px;
}
.season__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss-deep);
  border: 1px solid var(--moss);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.season__badge::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
}
.friend-row{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--stone-line);
}
.friend-row:last-child{ border-bottom: none; }
.friend-row__avatar{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.friend-row__name{ flex: 1; font-size: 14.5px; }
.friend-row__stat{ font-family: var(--mono); font-size: 13px; color: var(--stone); }

/* ---------- scoreboard teaser ---------- */
.teaser{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.teaser__text h2{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  margin: 14px 0 20px;
}
.teaser__text p{ color: var(--ink-soft); max-width: 38ch; margin: 0 0 28px; }

.podium{
  background: var(--paper);
  border: 1px solid var(--stone-line);
  border-radius: 20px;
  overflow: hidden;
}
.podium__row{
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--stone-line);
}
.podium__row:last-child{ border-bottom: none; }
.podium__row.is-first{ background: linear-gradient(90deg, rgba(156,129,64,0.08), transparent 60%); }
.podium__rank{ font-family: var(--mono); font-size: 14px; color: var(--stone); }
.podium__row.is-first .podium__rank{ color: var(--gold); }
.podium__name{ font-size: 15px; font-weight: 500; }
.podium__dests, .podium__pts{ font-family: var(--mono); font-size: 13px; color: var(--ink-soft); text-align: right; }
.podium__pts{ color: var(--moss-deep); font-weight: 500; }

/* ---------- footer ---------- */
footer{
  padding: 64px var(--edge) 40px;
  border-top: 1px solid var(--stone-line);
}
.footer__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 40px;
}
.footer__mark{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
}
.footer__mark span{ color: var(--moss); }
.footer__tag{ color: var(--stone); font-size: 13.5px; margin-top: 8px; max-width: 32ch; }
.footer__links{ display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col h5{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 14px;
}
.footer__col a{ display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.footer__col a:hover{ color: var(--ink); }
.footer__bottom{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--stone);
  padding-top: 24px;
  border-top: 1px solid var(--stone-line);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- rewards / medals & trophies ---------- */
.rewards__grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.reward{ text-align: center; }
.reward__badge{ width: 84px; height: 84px; margin: 0 auto 18px; }
.reward__label{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
}
.reward__sub{ font-size: 12.5px; color: var(--stone); margin: 0; line-height: 1.4; }

/* ---------- generic segmented tabs (gender / period switchers) ---------- */
.tabs{
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--stone-line);
  flex-wrap: wrap;
}
.tab-btn{
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 4px;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  margin-right: 22px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tab-btn.is-active{ color: var(--ink); border-color: var(--clay); }
.tab-btn:hover{ color: var(--ink); }

/* ---------- empty-state podium ---------- */
.podium-empty{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: end;
  max-width: 640px;
  margin: 0 auto;
}
.podium-empty__spot{
  background: var(--paper);
  border: 1px dashed var(--stone-line);
  border-radius: 16px;
  padding: 28px 16px 22px;
  text-align: center;
}
.podium-empty__spot.is-first{ padding-top: 40px; border-color: var(--gold); border-style: solid; }
.podium-empty__rank{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.08em;
}
.podium-empty__spot.is-first .podium-empty__rank{ color: var(--gold); }
.podium-empty__avatar{
  width: 44px; height: 44px;
  margin: 12px auto 14px;
  border-radius: 50%;
  border: 1px dashed var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--stone-line);
}
.podium-empty__spot.is-first .podium-empty__avatar{ border-color: var(--gold); color: var(--gold); }
.podium-empty__label{ font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.podium-empty__pts{ font-family: var(--mono); font-size: 12px; color: var(--stone); margin-top: 6px; }

.empty-note{
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  margin: 28px 0 0;
}

/* ---------- mini leaderboard lists (weekly / monthly, no podium) ---------- */
.mini-lists{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mini-list{
  background: var(--paper);
  border: 1px solid var(--stone-line);
  border-radius: 16px;
  padding: 28px 30px;
}
.mini-list h3{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 4px;
}
.mini-list .mini-sub{ font-size: 12.5px; color: var(--stone); margin: 0 0 20px; }
.mini-list__row{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--stone-line);
  font-size: 14px;
  color: var(--stone);
}
.mini-list__row:last-child{ border-bottom: none; }
.mini-list__rank{ font-family: var(--mono); font-size: 12.5px; width: 18px; flex-shrink: 0; }

/* ---------- in-game dial illustration (light, matches reference) ---------- */
.phone__map{
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 4px 20px 22px;
  gap: 14px;
}

/* top-left "end game" control */
.phone__topbar{
  position: absolute;
  top: 34px; left: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 5;
}
.phone__end{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(43,42,38,0.08);
}
.phone__end-label{
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  color: var(--stone);
}

/* arrow + big distance readout, above the ring */
.dial-heading{
  text-align: center;
  margin-top: 34px;
}
.dial-heading__arrow{
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 26px solid var(--ink);
  margin: 0 auto 10px;
}
.dial-heading__dist{
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dial{
  position: relative;
  width: 84%;
  aspect-ratio: 1;
}
.dial__face{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__ring{ fill: none; stroke: url(#steelGrad); stroke-width: 9; }
.dial__ring-inner{ fill: var(--paper); stroke: var(--stone-line); stroke-width: 1; }

/* destination badges — all revealed for the chosen route */
.dial__badge{
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 2px 6px rgba(43,42,38,0.1);
  z-index: 2;
}
.dial__badge.is-next{
  width: 30px; height: 30px;
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
  box-shadow: 0 0 0 5px rgba(168,90,52,0.16), 0 3px 10px rgba(168,90,52,0.4);
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse{
  0%, 100%{ box-shadow: 0 0 0 5px rgba(168,90,52,0.16), 0 3px 10px rgba(168,90,52,0.4); }
  50%{ box-shadow: 0 0 0 8px rgba(168,90,52,0.08), 0 3px 14px rgba(168,90,52,0.55); }
}

/* user's own position marker, travels along the track */
.dial__user{
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--moss-deep);
  border: 2.5px solid var(--paper);
  box-shadow: 0 0 0 2px var(--moss), 0 3px 10px rgba(43,42,38,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--paper);
  z-index: 3;
}

/* inner faded map with traced route */
.dial__hub{
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: var(--paper-deep);
  overflow: hidden;
  z-index: 1;
}
.dial__hub-map{ position: absolute; inset: 0; opacity: 0.55; }
.dial__hub-map line{ stroke: var(--stone-line); stroke-width: 0.9; }
.dial__hub-route{ fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dial__hub-start{
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(168,90,52,0.2);
}

/* points readout, bottom-centre inside the ring */
.dial__points{
  position: absolute;
  bottom: 18%; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
.dial__points span{
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: 2px;
}
.dial__points b{
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
}

/* stats grid below the ring */
.dial-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  width: 100%;
}
.dial-stats__item{ text-align: center; }
.dial-stats__item span{
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 4px;
}
.dial-stats__item b{
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}



/* ---------- empty leaderboard table ---------- */
.board--empty tbody td{ color: var(--stone); }
.board__empty-row td{
  text-align: center !important;
  padding: 56px 20px !important;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft) !important;
}

/* ---------- scoreboard page ---------- */
.sb-header{ padding: 156px var(--edge) 56px; }
.sb-header .eyebrow{ margin-bottom: 18px; }
.sb-header h1{
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  margin: 0 0 16px;
}
.sb-header p{ color: var(--ink-soft); max-width: 52ch; font-size: 16px; }

.year-tabs{
  display: flex;
  gap: 8px;
  margin: 40px 0 0;
  border-bottom: 1px solid var(--stone-line);
}
.year-tab{
  font-family: var(--mono);
  font-size: 14px;
  padding: 12px 6px;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  margin-right: 20px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.year-tab.is-active{ color: var(--ink); border-color: var(--clay); }
.year-tab:hover{ color: var(--ink); }

.board{ padding-top: 48px; padding-bottom: 108px; }
.board__table{
  width: 100%;
  border-collapse: collapse;
}
.board__table thead th{
  text-align: left;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--stone-line);
}
.board__table thead th:not(:first-child){ text-align: right; }
.board__table thead th:nth-child(2){ text-align: left; }
.board__table tbody td{
  padding: 18px 20px;
  border-bottom: 1px solid var(--stone-line);
  font-size: 15px;
}
.board__table tbody td:not(:first-child){ text-align: right; font-family: var(--mono); font-size: 13.5px; color: var(--ink-soft); }
.board__table tbody td:nth-child(2){ text-align: left; font-family: var(--body); font-size: 15px; color: var(--ink); }
.board__table tbody tr.rank-1,
.board__table tbody tr.rank-2,
.board__table tbody tr.rank-3{ position: relative; }
.board__table tbody tr.rank-1 td:first-child{ color: var(--gold); font-weight: 600; }
.board__table tbody tr.rank-2 td:first-child,
.board__table tbody tr.rank-3 td:first-child{ color: var(--ink); font-weight: 600; }
.board__table tbody td.points{ color: var(--moss-deep); font-weight: 500; }
.board__name{ display: flex; align-items: center; gap: 12px; }
.board__avatar{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.sponsors{ padding: 72px 0 100px; }
.sponsors .eyebrow{ display: block; text-align: center; margin-bottom: 32px; }
.sponsors__row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sponsor{
  width: 148px; height: 56px;
  border: 1px dashed var(--stone-line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--stone);
  text-align: center;
  padding: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px){
  .split, .season, .teaser{ grid-template-columns: 1fr; gap: 48px; }
  .split img, .split .phone{ order: -1; }
  .steps{ grid-template-columns: 1fr; gap: 40px; }
  .steps::before{ display: none; }
  .step{ padding-right: 0; }
  .mini-lists{ grid-template-columns: 1fr; }
  .rewards__grid{ grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 560px){
  .podium-empty{ grid-template-columns: 1fr; max-width: 280px; }
  .podium-empty__spot.is-first{ padding-top: 28px; order: -1; }
  .rewards__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .nav__links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px var(--edge);
    box-shadow: -8px 0 30px rgba(43,42,38,0.08);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-size: 20px;
  }
  .nav__links.is-open{ transform: translateX(0); }
  .nav__cta{ display: none; }
  .nav__toggle{ display: block; }
  .hero{ padding-top: 132px; }
  .route{ flex-wrap: wrap; }
  .route__path{ display: none; }
  .footer__top{ flex-direction: column; }
}
