:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #6b7280;
  --accent: #ff5a1f;
  --accent-2: #ffc533;
  --line: #e5e1d8;

  --accent-dark: #d9430f;
  --ink-soft: #2a2e37;
  --gold: #f2b134;
  --silver: #b8c0cc;
  --bronze: #c8834b;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --stripes: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--accent-2) 12px 24px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 900;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Шапка */
.site-header {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 10;
}

.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--stripes);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  width: auto;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .06em;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  background: var(--accent);
  transform: skewX(-30deg) scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: skewX(-30deg) scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 60px;
  }

  .brand img {
    height: 30px;
  }

  .site-nav {
    flex-basis: 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    padding-bottom: 12px;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .js .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .js .site-nav a::after {
    left: 4px;
    right: auto;
    width: 32px;
  }
}

/* Общие блоки */
main {
  display: block;
  padding-bottom: 56px;
}

main:has(> .section-dark:last-child) {
  padding-bottom: 0;
}

.section {
  padding: 48px 0;
}

.section-tight {
  padding-top: 0;
}

.section-dark {
  background: var(--ink);
  color: #fff;
  position: relative;
}

.section-dark a {
  color: var(--accent-2);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  text-transform: uppercase;
}

.section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 1em;
  background: var(--accent);
  transform: skewX(-20deg);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 18px;
}

.section-head .section-title {
  margin: 0;
}

.section-note {
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.page-head {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 44px 0 56px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.page-head::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -60px;
  width: 260px;
  background: var(--stripes);
  opacity: .9;
  transform: skewX(-24deg);
}

.page-head .container {
  position: relative;
}

.page-head h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: .25em;
  max-width: 14em;
}

.page-head p {
  max-width: 40em;
  color: #d4d7dd;
  margin: 0;
}

@media (max-width: 560px) {
  .page-head::before {
    width: 96px;
    right: -64px;
    opacity: .55;
  }

  .page-head .container {
    padding-right: 40px;
  }
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  transform: skewX(-12deg);
}

.kicker > span {
  display: inline-block;
  transform: skewX(12deg);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}

.card-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .7);
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn[disabled],
.btn[disabled]:hover {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.more-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .05em;
}

.loading {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* Главная: первый экран */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(22, 24, 29, .92) 0%, rgba(22, 24, 29, .72) 42%, rgba(22, 24, 29, .1) 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 92px;
}

.hero h1 {
  font-size: clamp(3rem, 12vw, 6.5rem);
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .95;
  margin-bottom: 16px;
}

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

.hero-lead {
  max-width: 30em;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: #e6e8ec;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 420px;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(22, 24, 29, .95) 0%, rgba(22, 24, 29, .75) 55%, rgba(22, 24, 29, .35) 100%);
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 76px;
  }
}

/* Главная: сетка карточек */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: -8px;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.next-card {
  position: relative;
  overflow: hidden;
  border-top: 0;
}

.next-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--stripes);
}

.next-label {
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .1em;
  margin: 6px 0 6px;
}

.next-name {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  margin-bottom: 12px;
}

.next-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 18px;
  align-items: start;
}

.next-map {
  border-radius: 8px;
  border: 1px solid var(--line);
}

@media (min-width: 901px) and (max-width: 1200px) {
  .next-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-map {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .next-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.next-date {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 10px 0 0;
}

.countdown {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  letter-spacing: .02em;
}

.countdown-caption {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 2px;
}

.countdown.is-live {
  background: var(--accent);
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--ink-soft);
  font-size: .95rem;
}

.meta-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-list strong {
  font-weight: 800;
}

.surface-icon {
  width: 18px;
  height: 18px;
}

/* Лидеры */
.leaders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.leader {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.leader-pos {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ink);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.leader:nth-child(1) .leader-pos {
  background: var(--gold);
}

.leader:nth-child(2) .leader-pos {
  background: var(--silver);
}

.leader:nth-child(3) .leader-pos {
  background: var(--bronze);
}

.leader-name {
  font-weight: 800;
  display: block;
}

.leader-team {
  display: block;
  margin-top: 2px;
  font-size: .85rem;
  color: var(--muted);
}

.leader-points {
  font-weight: 900;
  font-size: 1.3rem;
  text-align: right;
  line-height: 1;
}

.leader-points small {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 3px;
}

.last-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 12px;
}

.last-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.last-head span {
  color: var(--muted);
  font-size: .9rem;
}

/* О лиге */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.about p {
  color: #d4d7dd;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.facts li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: #d4d7dd;
  font-size: .9rem;
}

.facts strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--stripes);
}

/* Таблицы */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  text-align: left;
  padding: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}

.data-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.data-table tbody tr:nth-child(even) {
  background: #faf8f4;
}

.data-table tbody tr + tr {
  border-top: 1px solid var(--line);
}

.data-table .num {
  text-align: right;
}

.data-table .col-pos {
  width: 56px;
  text-align: center;
}

.data-table .col-points {
  font-weight: 900;
}

.data-table td.col-driver {
  font-weight: 700;
}

.pos-badge {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 4px;
  font-weight: 900;
}

.podium-1 .pos-badge,
.podium-2 .pos-badge,
.podium-3 .pos-badge {
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  min-width: 34px;
}

.podium-1 .pos-badge {
  background: var(--gold);
}

.podium-2 .pos-badge {
  background: var(--silver);
}

.podium-3 .pos-badge {
  background: var(--bronze);
}

.data-table tbody tr.podium-1 {
  background: #fff7e4;
}

.data-table tbody tr.podium-1 td:first-child {
  box-shadow: inset 4px 0 0 var(--gold);
}

.data-table tbody tr.podium-2 td:first-child {
  box-shadow: inset 4px 0 0 var(--silver);
}

.data-table tbody tr.podium-3 td:first-child {
  box-shadow: inset 4px 0 0 var(--bronze);
}

.data-table tr.is-dnf td {
  color: var(--muted);
}

.dnf-mark {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: #eceae5;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.team-emblem {
  width: 20px;
  height: 22px;
  flex: 0 0 auto;
}

.team-short {
  display: none;
  font-weight: 700;
}

.team-drivers {
  color: var(--muted);
  font-size: .85rem;
}

.data-table td.col-team-wide {
  white-space: normal;
  min-width: 200px;
}

@media (max-width: 560px) {
  .data-table th,
  .data-table td {
    padding: 9px 8px;
  }

  .data-table .col-team .team-name {
    display: none;
  }

  .data-table .col-team .team-short {
    display: inline;
  }
}

/* Календарь */
.season-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
}

.season-strip span {
  color: var(--muted);
  font-weight: 600;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 860px) {
  .event-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 16px;
}

.event-list > li:has(details[open]) {
  grid-column: 1 / -1;
}

.event-list > li:has(details[open]) .event-map img {
  max-height: 300px;
  object-fit: contain;
}

.event-card.is-next {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.event-map {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.event-map img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.event-round {
  display: table;
  margin-left: auto;
  padding: 5px 12px 5px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .08em;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}

.event-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.event-top h2 {
  font-size: 1.3rem;
  margin: 0;
}

.event-date {
  font-weight: 700;
  margin: 0;
}

.status {
  flex: 0 0 auto;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

.status-finished {
  background: #e7e5e0;
  color: #4b5160;
}

.status-next {
  background: var(--accent);
  color: #fff;
}

.status-upcoming {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.event-winner {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

.results-details {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.results-details summary {
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--accent-dark);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.results-details summary::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform .15s ease;
}

.results-details[open] summary::before {
  transform: rotate(90deg);
}

.results-details .table-wrap {
  margin-top: 12px;
}

.event-note {
  color: var(--muted);
  font-size: .9rem;
  margin: auto 0 0;
}

/* Таблица чемпионата */
.standings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px) {
  .standings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.standings-grid h2 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.table-hint {
  color: var(--muted);
  font-size: .88rem;
  margin: 10px 0 0;
}

/* Правила */
.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .rules-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rules-list {
  list-style: none;
  counter-reset: rule;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rules-list > li {
  counter-increment: rule;
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rules-list > li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent-2);
  font-weight: 900;
  font-size: .9rem;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.rules-list h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.rules-list p {
  margin: 0;
  color: var(--ink-soft);
}

.points-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.points-row li {
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  background: var(--bg);
  font-size: .8rem;
  color: var(--muted);
}

.points-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.side-stack {
  display: grid;
  gap: 20px;
}

.recruit {
  position: relative;
  overflow: hidden;
}

.recruit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--stripes);
}

.closed-note {
  margin: 4px 0 18px;
  padding: 12px 14px;
  background: #fff1e9;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-weight: 700;
}

.closed-note span {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: .9rem;
  margin-top: 2px;
}

.form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 5px;
  font-weight: 700;
  font-size: .9rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf8;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.form textarea {
  resize: vertical;
  min-height: 90px;
}

.form [disabled] {
  opacity: .75;
  cursor: not-allowed;
}

.contact p:last-child {
  margin-bottom: 0;
}

/* Подвал */
.site-footer {
  background: var(--ink);
  color: #b7bcc6;
  font-size: .9rem;
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--stripes);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.footer-inner p {
  margin: 0;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
