@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Questrial&display=swap");

:root {
  --bg: #c5c9cf;
  --bg-soft: #b8bec6;
  --bg-elev: #d9dee5;
  --ink: #191511;
  --ink-soft: rgba(25, 21, 17, 0.7);
  --ink-faint: rgba(25, 21, 17, 0.46);
  --line: rgba(25, 21, 17, 0.14);
  --line-strong: rgba(25, 21, 17, 0.24);
  --white: #ffffff;
  --ok: #3f8d66;
  --danger: #b44e48;
  --shadow: 0 18px 40px rgba(29, 23, 18, 0.06);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --header-h: 86px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(920px 380px at -8% -8%, rgba(255, 255, 255, 0.22), transparent 62%),
    radial-gradient(720px 320px at 104% 12%, rgba(25, 21, 17, 0.04), transparent 58%),
    linear-gradient(180deg, #d4d9e0 0%, #c5c9cf 36%, #aeb5bf 100%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Questrial", "Helvetica Neue", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 400;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(25, 21, 17, 0.12) 0.35px, transparent 0.35px);
  background-size: 3px 3px;
  z-index: -6;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(96px);
  pointer-events: none;
  z-index: -5;
}

.glow--a {
  width: 340px;
  height: 340px;
  top: 4%;
  left: -120px;
  background: rgba(255, 255, 255, 0.2);
}

.glow--b {
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: 10%;
  background: rgba(25, 21, 17, 0.05);
}

.container {
  width: min(1280px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(212, 218, 228, 0.84);
  backdrop-filter: blur(10px);
}

.home .topbar {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(23, 19, 16, 0.16), rgba(23, 19, 16, 0.06) 62%, transparent);
  border-bottom-color: rgba(25, 21, 17, 0.12);
}

.home .brand__wordmark,
.home .brand__subline,
.home .topbar__note {
  color: #d4d9e0;
}

.home .brand__wordmark {
  font-size: clamp(1.24rem, 2.2vw, 1.72rem);
}

.home .brand__subline {
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  letter-spacing: 0.17em;
}

.home .topbar__note {
  font-size: clamp(0.74rem, 1.05vw, 0.88rem);
  letter-spacing: 0.14em;
}

.home .brand__subline,
.home .topbar__note {
  opacity: 0.92;
}

.topbar__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__lockup {
  display: grid;
  gap: 0.08rem;
}

.brand__wordmark {
  font-family: "Questrial", sans-serif;
  font-size: clamp(0.96rem, 1.7vw, 1.26rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.brand__subline {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.brand__logo {
  display: block;
  width: clamp(180px, 22vw, 300px);
  height: auto;
  object-fit: contain;
}

.topbar__note {
  order: 4;
  flex: 0 0 auto;
  margin-left: 0;
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(25, 21, 17, 0.62);
}

.topbar__nav {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.lang-switch {
  order: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 21, 17, 0.14);
  background: rgba(255, 255, 255, 0.28);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  min-width: 36px;
  height: 28px;
  border-radius: 999px;
  padding: 0 0.55rem;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
}

.lang-switch__btn.is-active {
  background: rgba(25, 21, 17, 0.9);
  color: #d4d9e0;
}

.topbar__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.55rem;
}

.topbar__item--edge {
  margin-left: auto;
  order: 99;
}

.topbar__menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 21, 17, 0.14);
  background: rgba(255, 255, 255, 0.3);
  color: var(--ink-soft);
  text-decoration: none;
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.topbar__menu a:hover,
.topbar__menu a:focus-visible {
  color: var(--ink);
  border-color: rgba(25, 21, 17, 0.28);
  background: rgba(255, 255, 255, 0.56);
}

.topbar__menu a.is-active,
.topbar__menu a[aria-current="page"] {
  color: var(--ink);
  border-color: rgba(25, 21, 17, 0.34);
  background: rgba(255, 255, 255, 0.74);
}

.home .topbar__menu a {
  color: rgba(212, 218, 228, 0.9);
  border-color: rgba(212, 218, 228, 0.28);
  background: rgba(22, 18, 14, 0.2);
}

.home .lang-switch {
  border-color: rgba(212, 218, 228, 0.28);
  background: rgba(22, 18, 14, 0.22);
}

.home .lang-switch__btn {
  color: rgba(212, 218, 228, 0.88);
}

.home .lang-switch__btn.is-active {
  background: rgba(212, 218, 228, 0.86);
  color: #171310;
}

.home .topbar__menu a:hover,
.home .topbar__menu a:focus-visible {
  color: #d4d9e0;
  border-color: rgba(212, 218, 228, 0.6);
  background: rgba(22, 18, 14, 0.4);
}

.home .topbar__menu a.is-active,
.home .topbar__menu a[aria-current="page"] {
  color: #d4d9e0;
  border-color: rgba(212, 218, 228, 0.8);
  background: rgba(22, 18, 14, 0.54);
}

.topbar__toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(25, 21, 17, 0.2);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  width: 42px;
  height: 36px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.topbar__toggle span {
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 1px;
  background: rgba(25, 21, 17, 0.86);
}

.home .topbar__toggle {
  border-color: rgba(212, 218, 228, 0.3);
  background: rgba(22, 18, 14, 0.24);
}

.home .topbar__toggle span {
  background: rgba(212, 218, 228, 0.92);
}

main > section {
  animation: fade-up 520ms ease both;
}

main > section:nth-of-type(2) {
  animation-delay: 60ms;
}

main > section:nth-of-type(3) {
  animation-delay: 120ms;
}

.hero {
  padding: 0;
}

.hero__inner {
  display: block;
}

.hero__copy {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(22, 18, 14, 0.14), rgba(22, 18, 14, 0.06) 22%, rgba(22, 18, 14, 0.12) 100%),
    url("/images/user/mvmnt_visual_date.png?v=20260710-1") center center / cover no-repeat;
}

.hero__copy::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(193, 201, 214, 0.06), rgba(193, 201, 214, 0) 18%),
    linear-gradient(180deg, rgba(17, 13, 9, 0.12), rgba(17, 13, 9, 0) 24%, rgba(17, 13, 9, 0.22) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  align-content: end;
  min-height: 100svh;
  padding: clamp(7.4rem, 14vh, 9rem) clamp(1.2rem, 5vw, 4.8rem) clamp(2rem, 5vh, 3rem);
}

.hero__content > * {
  animation: fade-up 600ms ease both;
}

.hero__content > *:nth-child(1) {
  animation-delay: 80ms;
}

.hero__content > *:nth-child(2) {
  animation-delay: 140ms;
}

.label,
.topbar__note,
.format-pill,
.eyebrow {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
}

.hero__actions {
  grid-column: 9 / -1;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.format-pills--inline {
  margin-top: 0.35rem;
}

.format-pill {
  padding: 0.44rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(25, 21, 17, 0.14);
  background: rgba(255, 255, 255, 0.34);
  color: rgba(25, 21, 17, 0.86);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  min-height: 46px;
  padding: 0.82rem 1.24rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.78);
  color: #120f0c;
  font-family: "Questrial", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.btn--primary {
  background: rgba(255, 255, 255, 0.88);
  color: #120f0c;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.98);
}

.home .hero__actions .btn--primary {
  background: #d4d9e0;
  border-color: rgba(212, 218, 228, 0.78);
  color: #171310;
}

.home .hero__actions .btn--primary:hover {
  background: #d9dee5;
  border-color: rgba(245, 240, 230, 0.88);
}

.btn--light {
  background: rgba(212, 218, 228, 0.18);
  border-color: rgba(212, 218, 228, 0.42);
  color: #d4d9e0;
}

.btn--light:hover {
  background: rgba(212, 218, 228, 0.28);
  border-color: rgba(212, 218, 228, 0.56);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.2);
}

.btn--block {
  width: 100%;
}

.section {
  padding: clamp(2.4rem, 6vw, 4rem) 0;
}

.section--aesthetic {
  background: linear-gradient(180deg, rgba(212, 218, 228, 0.2) 0%, rgba(193, 201, 214, 0.12) 100%);
}

#format {
  scroll-margin-top: calc(var(--header-h) + 0.8rem);
}

.section--slate {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212, 218, 228, 0.16), rgba(170, 181, 196, 0.08));
}

.flow-block {
  display: grid;
  gap: clamp(2rem, 4vw, 3.2rem);
}

.section__head {
  display: grid;
  gap: 0.9rem;
}

.section__head--wide {
  max-width: 84ch;
}

.section__head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.section__head p {
  max-width: 72ch;
  line-height: 1.55;
}

.muted {
  color: var(--ink-soft);
}

.race-overview {
  display: grid;
  gap: 1.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-strong);
}

.race-overview__lead {
  display: grid;
  gap: 0.85rem;
  max-width: 70ch;
}

.race-overview__lead h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.98;
}

.race-cycle {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(25, 21, 17, 0.08);
}

.race-cycle__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.race-cycle__chip {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(25, 21, 17, 0.08);
  background: rgba(255, 255, 255, 0.22);
  font-family: "Questrial", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.1;
  text-align: center;
}

.race-cycle__chip--accent {
  background: rgba(25, 21, 17, 0.08);
}

.race-cycle__arrow {
  width: clamp(34px, 6vw, 56px);
  height: 1px;
  background: rgba(25, 21, 17, 0.22);
  position: relative;
}

.race-cycle__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(25, 21, 17, 0.22);
  border-right: 1px solid rgba(25, 21, 17, 0.22);
  transform: translateY(-50%) rotate(45deg);
}

.race-cycle__repeat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
}

.race-cycle__repeat-mark {
  font-family: "Questrial", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.9;
}

.race-cycle__repeat-copy {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.race-cycle__summary {
  max-width: 42ch;
  line-height: 1.55;
  color: var(--ink-soft);
}

.subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-strong);
}

.subsection-head h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.02;
}

.subsection-head--compact {
  padding-top: 0.35rem;
}

.subsection-head--split {
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.44rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem 1.6rem;
}

.category-item {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 1rem 0.2rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid rgba(25, 21, 17, 0.05);
}

.category-item__label {
  font-family: "Questrial", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.1;
}

.info-panel {
  display: grid;
  gap: 1rem;
  padding-top: 0.45rem;
}

.info-accordion {
  display: grid;
  gap: 0.75rem;
}

.info-item {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid rgba(25, 21, 17, 0.06);
}

.info-item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: "Questrial", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.1;
}

.info-item summary::-webkit-details-marker {
  display: none;
}

.info-item summary::after {
  content: "+";
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 1.15rem;
  color: var(--ink-faint);
}

.info-item[open] summary::after {
  content: "-";
}

.info-item__body {
  display: grid;
  gap: 0.85rem;
  padding: 0 0 1rem;
  max-width: 760px;
}

.info-item__body p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.info-map {
  overflow: hidden;
  border: 1px solid rgba(25, 21, 17, 0.12);
  background: rgba(255, 255, 255, 0.22);
  aspect-ratio: 16 / 9;
  min-height: 240px;
}

.info-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-map__link {
  width: fit-content;
  border-bottom: 1px solid rgba(25, 21, 17, 0.42);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.2;
}

.station-explorer {
  padding-top: 1.2rem;
  display: grid;
  gap: 1.35rem;
}

.station-explorer__body {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.station-tabs {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: unset;
  gap: 0.2rem;
}

.station-tabs-wrap {
  position: relative;
  min-width: 0;
}

.station-tab {
  appearance: none;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 0.9rem 0;
  text-align: left;
  display: grid;
  gap: 0.3rem;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, padding-left 150ms ease;
  color: var(--ink);
  border-radius: 0;
}

.station-tab:hover {
  transform: translateY(-1px);
  color: rgba(25, 21, 17, 0.86);
}

.station-tab.is-active {
  padding-left: 0.85rem;
  border-top-color: rgba(25, 21, 17, 0.28);
  box-shadow: inset 3px 0 0 rgba(25, 21, 17, 0.72);
}

.station-tab__index {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.station-tab__label {
  font-family: "Questrial", sans-serif;
  font-size: 1.02rem;
  line-height: 1.15;
}

.station-tab__volume {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.station-explorer__hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(25, 21, 17, 0.48);
}

.station-spotlight {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid rgba(25, 21, 17, 0.12);
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.52), rgba(12, 16, 22, 0.74));
  border-radius: 22px;
}

.station-spotlight__image,
.station-spotlight__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.station-spotlight__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.74;
  filter: grayscale(1) saturate(0) brightness(0.72) contrast(1.06) blur(1.1px);
  mix-blend-mode: normal;
  transform: scale(1.04);
}

.station-spotlight__image--ski-erg {
  object-position: center 18%;
}

.station-spotlight__veil {
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.22), rgba(10, 13, 18, 0.12) 24%, rgba(10, 13, 18, 0.48) 100%),
    radial-gradient(620px 280px at 84% 18%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(180deg, rgba(16, 21, 28, 0.2), rgba(16, 21, 28, 0.34));
}

.station-spotlight__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
}

.station-spotlight__meta {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 218, 228, 0.72);
}

.station-spotlight h4 {
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  line-height: 0.96;
  color: #d4d9e0;
}

.station-spotlight__volume {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 218, 228, 0.9);
}

.station-weights-wrap {
  display: grid;
  gap: 0.6rem;
}

.station-weights__title {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 218, 228, 0.74);
}

.station-weights {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.station-weights__item {
  min-height: 84px;
  padding: 0.85rem;
  border-top: 1px solid rgba(212, 218, 228, 0.16);
  background: rgba(212, 218, 228, 0.14);
  backdrop-filter: blur(8px);
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.station-weights__item span {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 218, 228, 0.62);
}

.station-weights__item strong {
  font-family: "Questrial", sans-serif;
  font-size: 1.1rem;
  line-height: 1.15;
  font-weight: 400;
  color: #d4d9e0;
}

.prize-board {
  padding-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.prize-board__hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(25, 21, 17, 0.48);
}

.prize-board__table {
  display: grid;
  gap: 0;
}

.prize-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(120px, 0.75fr));
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(25, 21, 17, 0.1);
}

.prize-row--head {
  padding-top: 0.25rem;
  border-top: 0;
}

.prize-row--head span {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.prize-row span {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.35;
  color: var(--ink);
}

.prize-row span:first-child {
  font-family: "Questrial", sans-serif;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
}

.prize-board__note {
  margin: 0.1rem 0 0;
  text-align: right;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.section--sponsors {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212, 218, 228, 0.14), rgba(170, 181, 196, 0.06));
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.sponsor-marquee {
  margin-top: 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid rgba(25, 21, 17, 0.1);
  border-bottom: 1px solid rgba(25, 21, 17, 0.1);
  background: transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}

.sponsor-marquee::-webkit-scrollbar {
  height: 0;
}

.sponsor-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: sponsors-marquee 36s linear infinite;
  animation-play-state: paused;
}

.sponsor-marquee.is-in-view .sponsor-marquee__track {
  animation-play-state: running;
}

.sponsor-marquee:active .sponsor-marquee__track,
.sponsor-marquee.is-user-scrolling .sponsor-marquee__track {
  animation-play-state: paused;
}

.sponsor-marquee:active {
  cursor: grabbing;
}

@media (hover: none) and (pointer: coarse) {
  .sponsor-marquee:active .sponsor-marquee__track,
  .sponsor-marquee.is-user-scrolling .sponsor-marquee__track {
    animation-play-state: running;
  }
}

.sponsor-marquee__group {
  flex: 0 0 auto;
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  padding: 1rem 0.9rem;
}

.sponsor-card {
  min-width: clamp(220px, 20vw, 300px);
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0.2rem 0.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.sponsor-card__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(30px, 3.1vw, 42px);
  object-fit: contain;
  filter: none;
}

.sponsor-card__logo--polleo {
  height: clamp(42px, 4.2vw, 62px);
}

.sponsor-card__logo--swy {
  height: clamp(26px, 2.8vw, 38px);
}

.sponsor-card__logo--anamaria {
  height: clamp(34px, 3.4vw, 46px);
}

.sponsor-card__logo--thefitness {
  height: clamp(64px, 6.6vw, 96px);
  filter: none;
  opacity: 1;
}

@keyframes sponsors-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section--portal {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.portal-auth-grid {
  display: grid;
  grid-template-columns: 1.05fr minmax(260px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.portal-auth,
.portal-account,
.race-registration,
.applicants-panel {
  display: grid;
  gap: 1rem;
}

.portal-auth__tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 0.35rem;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.24rem;
  background: rgba(255, 255, 255, 0.42);
}

.portal-auth__tab {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-family: "Questrial", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-soft);
}

.portal-auth__tab.is-active {
  background: rgba(25, 21, 17, 0.9);
  color: #d4d9e0;
}

.portal-form {
  display: grid;
  gap: 0.7rem;
}

.portal-form--wide {
  gap: 0.9rem;
}

.field-grid {
  display: grid;
  gap: 0.65rem;
}

.field-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.field--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: rgba(29, 25, 21, 0.9);
}

.field--check span {
  font-size: 0.86rem;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

.field > span {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field input,
.field select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  background-color: rgba(255, 255, 255, 0.56);
  -webkit-appearance: none;
  appearance: none;
  resize: vertical;
}

.field textarea:valid {
  background: var(--bg-elev);
  background-color: var(--bg-elev);
}

.field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-elev) inset;
  -webkit-text-fill-color: var(--ink);
}

.field select:required:invalid {
  color: rgba(25, 21, 17, 0.46);
}

.field select option {
  color: var(--ink);
}

.field select option[value=""] {
  color: rgba(25, 21, 17, 0.46);
}

.field input::placeholder {
  color: rgba(25, 21, 17, 0.46);
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.1fr);
  gap: 0.5rem;
}

.date-input {
  cursor: pointer;
}

.date-input::placeholder {
  color: rgba(25, 21, 17, 0.46);
}

.date-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(17, 13, 10, 0.42);
  backdrop-filter: blur(3px);
}

.date-modal__panel {
  width: min(860px, calc(100% - 1rem));
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.date-modal__panel h4 {
  font-size: 1.15rem;
}

.date-wheel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.date-wheel__col {
  display: grid;
  gap: 0.35rem;
}

.date-wheel__col > span {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.date-wheel__col select {
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.35rem;
  font: inherit;
}

.date-wheel__col option {
  padding: 0.42rem 0.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(25, 21, 17, 0.32);
  box-shadow: 0 0 0 3px rgba(25, 21, 17, 0.08);
}

.social-auth {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.social-auth__label {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.social-auth__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portal-account__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.portal-account__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.profile-summary {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.8rem;
}

.profile-summary h4 {
  font-size: 1.08rem;
}

.profile-summary__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-summary__grid div {
  display: grid;
  gap: 0.2rem;
}

.profile-summary__grid dt {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.profile-summary__grid dd {
  margin: 0;
  font-size: 0.95rem;
}

.partner-block {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.partner-block h4 {
  font-size: 1.1rem;
}

.applicants-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr);
  gap: 0.8rem;
}

.applicants-table-wrap {
  overflow-x: auto;
}

.applicants-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.applicants-table th,
.applicants-table td {
  text-align: left;
  padding: 0.74rem 0.45rem;
  border-top: 1px solid rgba(25, 21, 17, 0.08);
}

.applicants-table th {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.applicants-table td {
  font-size: 0.95rem;
  line-height: 1.35;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.panel--portal {
  display: grid;
  gap: 0.65rem;
}

.panel--portal h2,
.panel--portal h3 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.panel--portal-simple {
  max-width: 760px;
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.section--cta-image {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(14, 11, 9, 0.54), rgba(14, 11, 9, 0.32) 28%, rgba(14, 11, 9, 0.54) 100%),
    url("/images/user/mvmntrace_pozadina.png?v=20260711-1") center center / 130% auto no-repeat;
}

.portal-banner {
  min-height: clamp(380px, 52vw, 520px);
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.portal-banner .label,
.portal-banner h2,
.portal-banner .muted {
  color: #d4d9e0;
}

.portal-banner h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.portal-banner .muted {
  max-width: 52ch;
  color: rgba(212, 218, 228, 0.82);
}

.portal-banner .btn--ghost {
  background: rgba(212, 218, 228, 0.16);
  border-color: rgba(212, 218, 228, 0.26);
  color: #d4d9e0;
}

.portal-banner .btn--ghost:hover {
  background: rgba(212, 218, 228, 0.24);
}

.portal-banner .btn--primary {
  background: #d4d9e0;
  border-color: rgba(212, 218, 228, 0.78);
  color: #171310;
}

.portal-banner .btn--primary:hover {
  background: #d9dee5;
  border-color: rgba(212, 218, 228, 0.9);
}

.label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links a {
  border-bottom: 1px solid transparent;
}

.footer__links a:hover {
  border-bottom-color: currentColor;
}

main.section > .container.panel h1 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1;
}

main.section > .container.panel p {
  line-height: 1.55;
}

.msg {
  min-height: 20px;
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.msg[data-kind="error"] {
  color: var(--danger);
}

.msg[data-kind="success"] {
  color: var(--ok);
}

.is-hidden {
  display: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero__actions {
    grid-column: 7 / -1;
  }

  .station-explorer__body {
    grid-template-columns: 1fr;
  }

  .station-spotlight {
    padding: 1rem;
  }

  .prize-row {
    grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(104px, 0.7fr));
    gap: 0.8rem;
  }

  .field-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1280px, calc(100% - 1.2rem));
  }

  .topbar__inner {
    display: grid;
    min-height: auto;
    padding: 0.8rem 0;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    justify-items: stretch;
    gap: 0.6rem;
  }

  .topbar__toggle {
    display: inline-flex;
    justify-self: end;
  }

  .lang-switch {
    justify-self: end;
  }

  .topbar__nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .topbar.topbar--mobile-ready .topbar__nav {
    display: none;
  }

  .topbar.topbar--mobile-ready.topbar--menu-open .topbar__nav {
    display: block;
  }

  .topbar__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .topbar__menu li {
    width: 100%;
  }

  .topbar__item--edge {
    margin-left: 0;
    order: 99;
  }

  .topbar__menu a {
    font-size: 0.62rem;
    padding: 0.34rem 0.6rem;
    width: 100%;
    justify-content: flex-start;
  }

  .topbar__note {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .home .brand__wordmark {
    font-size: 1.26rem;
  }

  .home .brand__subline {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .home .topbar__note {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .hero__copy {
    min-height: max(560px, 100svh);
    background:
      linear-gradient(180deg, rgba(22, 18, 14, 0.14), rgba(22, 18, 14, 0.06) 22%, rgba(22, 18, 14, 0.12) 100%),
      url("/images/user/mvmnt_visual_mobile_date.png?v=20260710-1") center center / auto 88% no-repeat;
    background-color: #d4d9e0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: end;
    padding: clamp(6.4rem, 14vh, 8rem) 1rem 1.4rem;
  }

  .hero__actions {
    grid-column: 1;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel__actions {
    width: 100%;
  }

  .subsection-head,
  .subsection-head--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .race-cycle__track {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .race-cycle__arrow {
    width: 1px;
    height: 22px;
    margin-left: 1rem;
  }

  .race-cycle__arrow::after {
    top: auto;
    bottom: -1px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(135deg);
  }

  .portal-banner h2 {
    max-width: none;
  }

  .portal-auth-grid {
    grid-template-columns: 1fr;
  }

  .station-tabs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 220px);
    overflow-x: auto;
    gap: 0.7rem;
    padding: 0 3.2rem 0.2rem 3.2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .station-tabs::-webkit-scrollbar {
    display: none;
  }

  .station-tabs-wrap::before,
  .station-tabs-wrap::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
    font-size: 0.68rem;
    letter-spacing: 0;
    color: rgba(25, 21, 17, 0.32);
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease, color 180ms ease;
    z-index: 2;
  }

  .station-tabs-wrap::after {
    content: "›";
    right: 0;
    background: linear-gradient(90deg, rgba(170, 181, 196, 0), rgba(170, 181, 196, 0.68) 52%, rgba(170, 181, 196, 0.88) 100%);
  }

  .station-tabs-wrap::before {
    content: "‹";
    left: 0;
    background: linear-gradient(270deg, rgba(170, 181, 196, 0), rgba(170, 181, 196, 0.68) 52%, rgba(170, 181, 196, 0.88) 100%);
  }

  .station-tabs-wrap:not(.is-at-end)::after {
    opacity: 0.82;
  }

  .station-tabs-wrap:not(.is-at-start)::before {
    opacity: 0.82;
  }

  .station-tab {
    scroll-snap-align: start;
  }

  .station-tab {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    min-height: 96px;
  }

  .station-tab.is-active {
    padding-left: 0.9rem;
    box-shadow:
      inset 0 0 0 1px rgba(25, 21, 17, 0.22),
      inset 0 -2px 0 rgba(25, 21, 17, 0.72);
  }

  .station-spotlight {
    min-height: clamp(430px, 74svh, 560px);
  }

  .prize-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    padding: 0.9rem 0;
  }

  .prize-row--head {
    display: none;
  }

  .prize-row span {
    display: grid;
    gap: 0.18rem;
  }

  .prize-row span::before {
    content: attr(data-label);
    font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }

  .prize-row span:first-child,
  .prize-row span:nth-child(2) {
    grid-column: span 1;
  }

  .prize-board__note {
    text-align: left;
  }

  .field-grid--2,
  .field-grid--3,
  .applicants-controls {
    grid-template-columns: 1fr;
  }

  .profile-summary__grid {
    grid-template-columns: 1fr;
  }

  .date-wheel {
    grid-template-columns: 1fr;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home .brand__wordmark {
    font-size: 1.2rem;
  }

  .home .brand__subline {
    font-size: 0.74rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .station-weights {
    grid-template-columns: 1fr;
  }

  .station-tab {
    min-height: auto;
  }

  .home .topbar__note {
    font-size: 0.72rem;
  }

  .panel {
    padding: 0.85rem;
  }

  .prize-board__table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .prize-row {
    grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(92px, 0.78fr));
    gap: 0.6rem;
    min-width: 500px;
  }

  .prize-row--head {
    display: grid;
  }

  .prize-row span {
    display: block;
  }

  .prize-row span::before {
    display: none;
  }
}
