:root {
  --account-shell: min(100% - 32px, 1280px);
  --account-line: oklch(100% 0 0 / 0.12);
  --account-soft: oklch(100% 0 0 / 0.055);
  --account-field: oklch(100% 0 0 / 0.075);
}

body {
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--account-line);
  background: color-mix(in oklab, var(--background) 84%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: var(--account-shell);
  min-height: 72px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.site-brand img {
  width: auto;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
  min-width: 0;
}

.site-nav a {
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: var(--foreground);
}

.auth-cta-pair {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-auth,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn-auth:hover,
.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-auth-ghost {
  border: 1px solid var(--account-line);
  color: var(--foreground);
  background: var(--account-soft);
}

.btn-auth-ghost:hover {
  border-color: color-mix(in oklab, var(--gold) 45%, transparent);
}

.btn-auth-solid,
.btn-primary {
  border: 0;
  color: var(--primary-foreground);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary.wide {
  width: 100%;
}

.btn-primary:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.flash-stack {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 32px));
}

.flash-stack:empty {
  display: none;
}

.flash-message {
  display: grid;
  gap: 4px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--card) 92%, black);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}

.flash-message strong {
  color: var(--foreground);
  font-size: 13px;
  line-height: 18px;
}

.flash-message span {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 18px;
}

.flash-message.is-success {
  border-color: color-mix(in oklab, var(--gold) 42%, transparent);
}

.flash-message.is-error {
  border-color: color-mix(in oklab, var(--primary) 55%, transparent);
}

.hero-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--account-line);
  background:
    linear-gradient(90deg, oklch(4.5% .012 20) 0%, oklch(6.5% .018 22) 46%, oklch(3.5% .01 20) 100%),
    var(--background);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: auto -6vw 0 -6vw;
  z-index: -3;
  height: 46%;
  background:
    linear-gradient(90deg, transparent 0%, oklch(62% .245 25 / .28) 34%, oklch(82% .14 85 / .2) 52%, oklch(62% .245 25 / .2) 70%, transparent 100%);
  filter: blur(28px);
  transform: skewY(-4deg);
  opacity: .82;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, transparent 72%, var(--background) 100%),
    linear-gradient(90deg, var(--background) 0%, oklch(8% .015 20 / .86) 42%, oklch(8% .015 20 / .28) 68%, var(--background) 100%);
  pointer-events: none;
}

.hero-showcase__photo {
  position: absolute;
  inset: auto -5vw -9vh -5vw;
  z-index: -2;
  height: min(54vw, 620px);
  min-height: 360px;
  background-image: url("/assets/hero-cars.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: min(1400px, 112vw) auto;
  opacity: .64;
  filter: saturate(1.12) contrast(1.08);
  pointer-events: none;
}

.hero-showcase__shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  width: min(100% - 48px, 1280px);
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 92px) 0 clamp(44px, 7vw, 96px);
}

.hero-showcase__copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 24px;
  max-width: 760px;
}

.hero-kicker,
.hero-start-badge,
.hero-prize-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  text-transform: uppercase;
}

.hero-start-badge {
  min-height: 34px;
  border: 1px solid color-mix(in oklab, var(--primary) 44%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 14%, transparent);
  color: var(--primary);
  padding: 0 16px;
}

.hero-start-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 80%, transparent);
}

.hero-title {
  margin: 0;
  color: var(--foreground);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(58px, 7.8vw, 126px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title span {
  color: var(--gold);
}

.hero-title__mobile {
  display: none;
}

.hero-title .hero-title__desktop,
.hero-title .hero-title__mobile {
  color: var(--foreground);
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: color-mix(in oklab, var(--foreground) 78%, var(--gold));
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-primary-action,
.hero-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}

.hero-primary-action {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0 30px;
  box-shadow: 0 24px 70px -22px color-mix(in oklab, var(--primary) 80%, transparent);
}

.hero-secondary-action {
  border: 1px solid var(--account-line);
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  color: var(--muted-foreground);
  padding: 0 22px;
}

.hero-primary-action:hover,
.hero-secondary-action:hover {
  transform: translateY(-2px);
}

.hero-secondary-action:hover {
  border-color: color-mix(in oklab, var(--gold) 38%, transparent);
  color: var(--foreground);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 600px);
}

.hero-facts div {
  display: grid;
  gap: 2px;
  min-height: 74px;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--card) 64%, transparent);
  padding: 13px 16px;
}

.hero-facts strong {
  color: var(--gold);
  font-family: Unbounded, Inter, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.hero-facts span {
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-transform: uppercase;
}

.hero-showcase__visual {
  position: relative;
  z-index: 1;
  min-height: min(54vw, 660px);
}

.hero-prize-tag {
  position: absolute;
  top: 2%;
  right: 0;
  z-index: 4;
  min-height: 40px;
  border: 1px solid var(--account-line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--background) 72%, transparent);
  color: var(--muted-foreground);
  padding: 0 16px;
  backdrop-filter: blur(12px);
}

.hero-car-stage {
  position: absolute;
  inset: 7% -5% 10% -12%;
}

.hero-car {
  position: absolute;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 34px 42px oklch(0% 0 0 / .62));
  user-select: none;
  pointer-events: none;
}

.hero-car--main {
  right: -2%;
  bottom: 13%;
  z-index: 3;
  width: min(56vw, 760px);
}

.hero-car--ghost {
  z-index: 1;
  opacity: .72;
  filter: grayscale(.18) brightness(.78) drop-shadow(0 24px 34px oklch(0% 0 0 / .56));
}

.hero-car--vesta {
  left: 2%;
  bottom: 36%;
  width: min(28vw, 360px);
  transform: rotate(-3deg);
}

.hero-car--largus {
  left: 18%;
  bottom: 12%;
  width: min(30vw, 390px);
  transform: rotate(2deg);
}

.hero-car--granta {
  right: 33%;
  bottom: 2%;
  width: min(25vw, 330px);
  transform: rotate(-2deg);
}

.hero-car--niva {
  right: -4%;
  bottom: -2%;
  width: min(27vw, 360px);
  transform: rotate(3deg);
}

.hero-prize-card {
  position: absolute;
  right: 4%;
  bottom: 4%;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: min(330px, 52%);
  border: 1px solid color-mix(in oklab, var(--gold) 38%, transparent);
  border-radius: 18px;
  background: color-mix(in oklab, var(--background) 80%, transparent);
  padding: 18px 20px;
  backdrop-filter: blur(14px);
}

.hero-prize-card span,
.hero-prize-card small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  line-height: 14px;
  text-transform: uppercase;
}

.hero-prize-card strong {
  color: var(--foreground);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1;
}

.stage-card,
.final-prize-panel,
.creator-proof,
.participate-panel {
  overflow-x: clip;
}

.stage-card,
.stage-card > .relative,
.final-prize-grid,
.final-prize-copy,
.summary-card,
.participate-inner {
  min-width: 0;
}

.landing-steps h2,
.landing-stages h2,
.landing-summary h2,
.final-prize-copy h2,
.participate-inner h2 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.stage-card h3,
.summary-card__label,
.hero-facts span {
  overflow-wrap: anywhere;
}

.stage-card__glow {
  right: 0 !important;
  transform: translateX(34%);
}

.creator-proof {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 130px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}

.creator-proof::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in oklab, var(--primary) 24%, transparent) 0%, transparent 64%),
    radial-gradient(circle, color-mix(in oklab, var(--gold) 12%, transparent) 0%, transparent 48%);
  filter: blur(34px);
  opacity: .82;
  transform: translateX(42%);
}

.creator-proof__head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.creator-proof__index {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-transform: uppercase;
}

.creator-proof h2 {
  margin: 0;
  color: var(--foreground);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: 0;
}

.creator-proof h2 span {
  color: var(--gold);
}

.creator-proof__head > p {
  max-width: 650px;
  margin: 0;
  color: color-mix(in oklab, var(--foreground) 74%, var(--muted-foreground));
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.creator-proof__head strong {
  color: var(--foreground);
  font-weight: 900;
}

.creator-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.creator-proof-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 232px;
  border: 1px solid var(--account-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--card) 88%, transparent), color-mix(in oklab, var(--background) 86%, transparent)),
    var(--card);
  padding: 24px;
  color: var(--foreground);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.creator-proof-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  filter: blur(8px);
  opacity: 0;
  transition: opacity .2s ease;
}

.creator-proof-card:not(.creator-proof-card--static):hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--gold) 38%, transparent);
}

.creator-proof-card:not(.creator-proof-card--static):hover::after {
  opacity: 1;
}

.creator-proof-card--static {
  cursor: default;
}

.creator-proof-card__platform {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 900;
  line-height: 16px;
  text-transform: uppercase;
}

.creator-proof-card__glyph {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.creator-proof-card__glyph.is-youtube {
  background: #ff1f1f;
}

.creator-proof-card__glyph.is-vk {
  background: #0077ff;
}

.creator-proof-card__glyph.is-telegram {
  background: #229ed9;
}

.creator-proof-card__glyph.is-content {
  background: color-mix(in oklab, var(--gold) 72%, var(--primary));
  color: var(--gold-foreground);
  font-size: 9px;
}

.creator-proof-card__num {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--primary);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.creator-proof-card__num sup {
  margin-left: 2px;
  font-size: .48em;
  vertical-align: super;
}

.creator-proof-card__label {
  color: color-mix(in oklab, var(--foreground) 78%, var(--gold));
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-transform: uppercase;
}

.creator-proof-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid var(--account-line);
  padding-top: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  overflow-wrap: anywhere;
}

.creator-proof-card__link span {
  transition: transform .2s ease;
}

.creator-proof-card:hover .creator-proof-card__link span {
  transform: translateX(4px);
}

.creator-proof-card__link.is-muted {
  color: var(--muted-foreground);
}

.creator-proof__foot {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid color-mix(in oklab, var(--gold) 24%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--gold) 10%, transparent), color-mix(in oklab, var(--card) 78%, transparent)),
    var(--card);
  padding: 22px 24px;
}

.creator-proof__foot > span {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--gold) 78%, var(--primary));
  color: var(--gold-foreground);
  font-size: 18px;
  font-weight: 900;
}

.creator-proof__foot p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.6;
}

.creator-proof__foot strong {
  color: var(--foreground);
  font-weight: 900;
}

.content-page {
  width: var(--account-shell);
  margin: 0 auto;
  padding: 56px 0 92px;
  color: var(--foreground);
}

.content-page h1,
.content-page h2,
.auth-title {
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
}

.panel,
.auth-card,
.profile-edit-card,
.cabinet-stat-card,
.cabinet-social-card,
.orders-list-section,
.orders-score-card,
.orders-stat-grid article,
.legal-panel {
  border: 1px solid var(--account-line);
  background: color-mix(in oklab, var(--card) 88%, black);
  box-shadow: var(--shadow-card);
}

.panel {
  border-radius: 18px;
  padding: 26px;
}

.auth-page {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 72px);
  padding: 56px 16px 92px;
  background:
    radial-gradient(circle at 18% 12%, oklch(62% .245 25 / .18), transparent 32%),
    radial-gradient(circle at 82% 40%, oklch(82% .14 85 / .12), transparent 30%);
}

.auth-card {
  width: min(100%, 520px);
  border-radius: 20px;
  padding: 34px 30px;
}

.auth-back,
.back-link,
.profile-edit-back,
.orders-page-actions a,
.orders-bottom-nav a {
  display: inline-flex;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  transition: color 0.18s ease;
}

.auth-back:hover,
.back-link:hover,
.profile-edit-back:hover,
.orders-page-actions a:hover,
.orders-bottom-nav a:hover {
  color: var(--foreground);
}

.auth-back {
  margin-bottom: 20px;
}

.auth-title {
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  font-weight: 900;
}

.auth-sub {
  max-width: 410px;
  margin: 0 0 26px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 23px;
}

.auth-card form,
.profile-edit-card form {
  display: grid;
  gap: 16px;
}

.field,
.profile-edit-field {
  display: grid;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-label,
.profile-edit-field label {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.req-dot,
.profile-edit-field label span {
  color: var(--gold);
  font-weight: 800;
}

.field-input,
.field-select,
.profile-edit-field input,
.profile-edit-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  background: var(--account-field);
  color: var(--foreground);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.field-input:focus,
.field-select:focus,
.profile-edit-field input:focus,
.profile-edit-field select:focus {
  border-color: color-mix(in oklab, var(--gold) 56%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 16%, transparent);
}

.field [data-city-other]:not([hidden]),
.profile-edit-field [data-city-other]:not([hidden]) {
  margin-top: 8px;
}

.profile-edit-field input:disabled {
  color: var(--muted-foreground);
  background: oklch(100% 0 0 / 0.035);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  user-select: none;
}

.check input {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid color-mix(in oklab, var(--foreground) 36%, transparent);
  border-radius: 5px;
  background: var(--account-field);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.check input:focus-visible + .check-box {
  outline: 2px solid color-mix(in oklab, var(--gold) 42%, transparent);
  outline-offset: 2px;
}

.check input:checked + .check-box {
  border-color: var(--gold);
  background: var(--gold);
}

.check input:checked + .check-box::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin: 4px 0 0 4px;
  border-left: 2px solid var(--gold-foreground);
  border-bottom: 2px solid var(--gold-foreground);
  transform: rotate(-45deg);
}

.check a,
.auth-foot a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--account-line);
  color: var(--muted-foreground);
}

.cabinet-page h1,
.profile-edit-head h1,
.orders-hero h1,
.content-page > h1,
.legal-panel h1 {
  margin: 8px 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.cabinet-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cabinet-top p:not(.eyebrow),
.profile-edit-head p:not(.eyebrow),
.orders-hero p,
.legal-panel p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 24px;
}

.cabinet-buy {
  min-width: 124px;
}

.cabinet-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.cabinet-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  border-radius: 18px;
  padding: 22px;
}

.cabinet-stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
  border-radius: 50%;
  background: color-mix(in oklab, var(--gold) 12%, transparent);
  color: var(--gold);
}

.cabinet-stat-icon svg,
.profile-link-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cabinet-stat-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cabinet-stat-card strong {
  font-family: Unbounded, Inter, sans-serif;
  font-size: 34px;
  line-height: 38px;
}

.cabinet-stat-copy span {
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}

.cabinet-social-section {
  margin-bottom: 34px;
}

.cabinet-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--account-line);
}

.cabinet-section-head h2,
.cabinet-panel-head h2,
.profile-edit-card h2,
.orders-list-head h2,
.panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
}

.cabinet-section-head span {
  color: var(--muted-foreground);
  font-size: 14px;
}

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

.cabinet-social-card {
  display: grid;
  gap: 16px;
  border-radius: 16px;
  padding: 18px;
}

.cabinet-social-card.is-soon {
  opacity: 0.55;
}

.cabinet-social-card form {
  display: block;
}

.cabinet-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cabinet-social-chip {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--social-color);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.cabinet-social-card h3 {
  margin: 0 0 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.cabinet-social-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
}

.cabinet-social-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--account-soft);
  color: var(--foreground);
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.cabinet-social-action:hover {
  background: var(--gradient-primary);
}

.cabinet-social-action.is-disabled {
  border: 1px dashed var(--account-line);
  background: transparent;
  color: var(--muted-foreground);
  cursor: not-allowed;
}

.cabinet-main-grid,
.profile-edit-grid,
.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.cabinet-panel-head,
.orders-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cabinet-panel-head a,
.orders-list-head a {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.profile-grid {
  display: grid;
  gap: 0;
}

.profile-grid div {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--account-line);
}

.profile-grid div:first-child {
  padding-top: 0;
}

.profile-grid dt {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 20px;
}

.profile-grid dd {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: right;
  overflow-wrap: anywhere;
}

.profile-password-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  margin-top: 18px;
  border: 1px solid color-mix(in oklab, var(--gold) 34%, transparent);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--gold);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.profile-password-action:hover {
  border-color: var(--gold);
  background: color-mix(in oklab, var(--gold) 8%, transparent);
}

.profile-password-action span {
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-password-action strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.cabinet-empty-orders {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 160px;
  border: 1px dashed var(--account-line);
  border-radius: 16px;
  padding: 24px;
  color: var(--muted-foreground);
}

.cabinet-empty-orders span {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--account-line);
  border-radius: 50%;
  background: var(--account-soft);
  color: var(--muted-foreground);
  font-size: 24px;
}

.cabinet-empty-orders p {
  margin: 0;
  line-height: 22px;
}

.cabinet-empty-orders strong {
  color: var(--foreground);
}

.orders-table {
  display: grid;
  gap: 10px;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.9fr) minmax(126px, 1fr) minmax(116px, 1fr) minmax(84px, 0.8fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: var(--account-soft);
  padding: 0 16px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.order-row:hover {
  border-color: color-mix(in oklab, var(--gold) 35%, transparent);
  color: var(--foreground);
}

.order-row strong {
  color: var(--foreground);
  text-align: right;
}

.profile-edit-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.profile-edit-card {
  border-radius: 18px;
  padding: 26px;
}

.profile-edit-card h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--account-line);
}

.profile-edit-note {
  margin: -8px 0 22px;
  color: var(--muted-foreground);
}

.profile-edit-submit {
  width: 100%;
  margin-top: 12px;
}

.profile-link-list {
  display: grid;
  gap: 14px;
}

.profile-link-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  background: var(--account-soft);
  padding: 13px 14px;
}

.profile-link-card.is-disabled {
  opacity: 0.58;
}

.profile-link-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--account-color);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.profile-link-card strong,
.profile-link-card span {
  display: block;
}

.profile-link-card strong {
  margin-bottom: 2px;
  font-weight: 800;
}

.profile-link-card span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.profile-link-card form {
  display: block;
}

.profile-link-card button {
  min-height: 34px;
  border: 1px solid var(--account-line);
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.profile-link-card button:disabled {
  color: var(--muted-foreground);
  cursor: not-allowed;
}

.orders-page-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.orders-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.orders-hero h1 span {
  color: var(--gold);
}

.orders-score-card {
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 20px;
  text-align: center;
}

.orders-score-card strong {
  color: var(--gold);
  font-family: Unbounded, Inter, sans-serif;
  font-size: 56px;
  line-height: 1;
}

.orders-score-card span {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.orders-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.orders-stat-grid article {
  border-radius: 16px;
  padding: 22px;
}

.orders-stat-grid strong {
  display: block;
  margin-bottom: 4px;
  font-family: Unbounded, Inter, sans-serif;
  font-size: 28px;
}

.orders-stat-grid span {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.orders-list-section {
  border-radius: 20px;
  padding: 24px;
}

.orders-table-large .order-row {
  min-height: 64px;
}

.orders-empty-large {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed var(--account-line);
  border-radius: 18px;
  color: var(--muted-foreground);
}

.orders-empty-large p {
  margin: 0 0 12px;
}

.orders-empty-large a {
  color: var(--gold);
  font-weight: 800;
}

.orders-bottom-nav {
  margin-top: 24px;
}

.back-link {
  margin-bottom: 18px;
}

.order-detail-grid {
  margin-top: 24px;
}

.checkout-items {
  display: grid;
  gap: 14px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  background: var(--account-soft);
  padding: 12px;
}

.checkout-item img {
  width: 84px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--account-soft);
}

.checkout-item strong {
  color: var(--foreground);
}

.checkout-item p {
  margin: 3px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.summary {
  display: grid;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--account-line);
  padding: 10px 0;
  color: var(--muted-foreground);
}

.summary-row strong {
  color: var(--foreground);
  text-align: right;
}

.summary-row.total {
  border-bottom: 0;
  color: var(--foreground);
  font-size: 18px;
}

.legal-page {
  max-width: 880px;
}

.legal-panel {
  border-radius: 20px;
  padding: 32px;
}

@media (max-width: 1040px) {
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase__shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-showcase__visual {
    min-height: 520px;
  }

  .hero-prize-tag {
    top: 0;
    right: auto;
    left: 0;
  }

  .hero-car-stage {
    inset: 9% -5% 8% -5%;
  }

  .hero-car--main {
    width: min(92vw, 720px);
    right: -8%;
  }

  .hero-car--vesta,
  .hero-car--largus,
  .hero-car--granta,
  .hero-car--niva {
    width: min(43vw, 330px);
  }

  .hero-prize-card {
    width: min(320px, 72%);
    right: 0;
  }

  .creator-proof__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 12px 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .auth-cta-pair {
    justify-self: end;
  }

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

  .cabinet-main-grid,
  .profile-edit-grid,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-showcase__photo {
    inset: auto 0 -5vh 0;
    min-height: 260px;
    height: 360px;
    background-size: 920px auto;
    opacity: .5;
    transform: scaleX(1.22);
  }

  .hero-showcase__shell {
    width: min(100% - 24px, 1280px);
    gap: 12px;
    padding: 30px 0 48px;
  }

  .hero-showcase__copy {
    gap: 18px;
  }

  .hero-kicker,
  .hero-start-badge {
    font-size: 11px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 48px);
    line-height: .94;
  }

  .hero-title__desktop {
    display: none;
  }

  .hero-title__mobile {
    display: inline;
  }

  .hero-lead {
    max-width: 340px;
    font-size: 17px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-primary-action,
  .hero-secondary-action {
    width: 100%;
    min-height: 52px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr 1.14fr;
    gap: 8px;
  }

  .hero-facts div {
    min-width: 0;
    min-height: 70px;
    padding: 10px 8px;
  }

  .hero-facts strong {
    font-size: 24px;
  }

  .hero-facts span {
    font-size: 9px;
    line-height: 12px;
  }

  .hero-showcase__visual {
    min-height: 380px;
    overflow: hidden;
  }

  .hero-prize-tag {
    min-height: 34px;
    font-size: 10px;
  }

  .hero-car-stage {
    inset: 12% 0 8% 0;
  }

  .hero-car--main {
    right: 0;
    bottom: 13%;
    width: min(92vw, 340px);
    transform: translateX(22%);
  }

  .hero-car--ghost {
    opacity: .48;
  }

  .hero-car--vesta {
    left: 0;
    bottom: 42%;
    width: 46vw;
    transform: translateX(-18%) rotate(-3deg);
  }

  .hero-car--largus {
    left: 0;
    bottom: 14%;
    width: 50vw;
    transform: translateX(-10%) rotate(2deg);
  }

  .hero-car--granta,
  .hero-car--niva {
    display: none;
  }

  .hero-prize-card {
    right: auto;
    left: 0;
    bottom: 0;
    width: min(300px, 88%);
    padding: 14px 16px;
  }

  .landing-steps,
  .landing-stages,
  .landing-final-prize,
  .landing-summary,
  #faq,
  .landing-participate {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .landing-steps,
  .landing-stages,
  .landing-final-prize,
  .landing-summary,
  #faq {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .landing-steps h2,
  .landing-stages h2,
  .landing-summary h2,
  #faq h2 {
    font-size: clamp(30px, 10vw, 38px) !important;
    line-height: 1.03 !important;
  }

  .landing-steps h3 {
    overflow-wrap: anywhere;
  }

  .stage-card {
    border-radius: 22px !important;
    padding: 22px !important;
  }

  .stage-card__glow {
    display: none;
  }

  .stage-card h3 {
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 1.02 !important;
  }

  .stage-card .inline-flex {
    min-width: 0;
  }

  .stage-card .grid.gap-3 {
    grid-template-columns: 1fr !important;
  }

  .stage-card .grid.gap-3 a {
    min-width: 0;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .stage-card .grid.gap-3 a > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .final-prize-panel {
    border-radius: 24px !important;
    padding: 28px 22px !important;
  }

  .final-prize-panel > .absolute {
    display: none;
  }

  .final-prize-grid {
    gap: 22px !important;
  }

  .final-prize-copy h2 {
    font-size: clamp(34px, 11vw, 40px) !important;
    line-height: 1 !important;
  }

  .final-prize-copy p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .final-prize-action {
    width: 100%;
    min-height: 52px;
    padding: 0 16px !important;
    font-size: 13px !important;
    line-height: 16px !important;
    text-align: center;
  }

  .summary-grid {
    gap: 10px !important;
  }

  .summary-card {
    border-radius: 16px !important;
    padding: 22px 12px !important;
  }

  .summary-card .text-5xl {
    font-size: 42px !important;
    line-height: 1 !important;
  }

  .summary-card__label {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .creator-proof {
    width: min(100% - 24px, 1280px);
    padding: 56px 0 40px;
    scroll-margin-top: 180px;
  }

  .creator-proof::before {
    display: none;
  }

  .creator-proof__head {
    gap: 18px;
    margin-bottom: 24px;
  }

  .creator-proof__index {
    margin-bottom: 12px;
  }

  .creator-proof h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .creator-proof__head > p {
    font-size: 16px;
    line-height: 1.5;
  }

  .creator-proof__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .creator-proof-card {
    min-height: 190px;
    border-radius: 16px;
    padding: 20px;
  }

  .creator-proof-card::after {
    width: 110px;
    height: 110px;
    right: 0;
    bottom: -42px;
  }

  .creator-proof-card__num {
    font-size: 42px;
  }

  .creator-proof__foot {
    gap: 12px;
    border-radius: 16px;
    padding: 18px;
  }

  .creator-proof__foot > span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .landing-participate {
    padding-bottom: 70px !important;
  }

  .participate-panel {
    border-radius: 24px !important;
    padding: 34px 18px !important;
  }

  .participate-inner {
    max-width: min(100%, 310px);
    margin: 0 auto;
  }

  .participate-inner h2 {
    font-size: clamp(30px, 10vw, 36px) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .participate-inner p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .participate-inner a {
    min-width: 176px;
    min-height: 52px;
    padding: 0 24px !important;
    font-size: 12px !important;
    line-height: 15px !important;
   }

  @media (max-width: 340px) {
    .hero-facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-facts div:last-child {
      grid-column: 1 / -1;
      grid-template-columns: auto 1fr;
      align-items: center;
      min-height: 58px;
    }

    .hero-facts div:last-child span {
      font-size: 10px;
      line-height: 13px;
    }

    .participate-inner h2 {
      font-size: 28px !important;
    }
  }

  .site-header__inner {
    width: min(100% - 24px, 1280px);
  }

  .site-brand {
    min-width: 104px;
  }

  .site-brand img {
    height: 28px;
  }

  .auth-cta-pair {
    gap: 6px;
  }

  .btn-auth,
  .btn-primary {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .site-nav {
    gap: 18px;
  }

  .content-page {
    width: min(100% - 24px, 1280px);
    padding-top: 36px;
  }

  .auth-page {
    padding: 36px 12px 68px;
  }

  .auth-card {
    padding: 26px 20px;
  }

  .field-row,
  .cabinet-stats,
  .cabinet-social-grid,
  .orders-stat-grid,
  .orders-hero {
    grid-template-columns: 1fr;
  }

  .cabinet-top,
  .cabinet-section-head,
  .cabinet-panel-head,
  .orders-list-head,
  .auth-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-row {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px;
  }

  .order-row strong {
    text-align: left;
  }

  .profile-grid div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .profile-grid dd {
    text-align: left;
  }

  .profile-link-card,
  .checkout-item {
    grid-template-columns: 1fr;
  }

  .checkout-item img {
    width: 100%;
    height: 150px;
  }

  .flash-stack {
    top: 120px;
    right: 12px;
  }
}
