/* Шрифты: Golos Text и Unbounded (SIL Open Font License), локальные файлы — внешние запросы не нужны */
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/landing/fonts/golos-text-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/landing/fonts/golos-text-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/landing/fonts/golos-text-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/landing/fonts/golos-text-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/fonts/golos-text-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/fonts/golos-text-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing/fonts/golos-text-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing/fonts/golos-text-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/fonts/unbounded-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/fonts/unbounded-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing/fonts/unbounded-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/landing/fonts/unbounded-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ------------------------------------------------------------------ токены */
:root {
  --paper: #ffffff;
  --mist: #f3f6f4;
  --ink: #14211b;
  --ink-2: #44524b;
  --ink-3: #65736c;
  --rule: #d6ddd9;
  --brand: #138046;
  --brand-hover: #0f6b3a;
  --focus: #2f6bff;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.65rem, 1.05rem + 2vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 0.8em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  left: 16px;
}

/* ------------------------------------------------------------------ кнопки: капсулы, как станции пересадки на схеме */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

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

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

.btn-light:hover {
  background: #e6f2eb;
  border-color: #e6f2eb;
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ шапка */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.4) blur(10px);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

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

.org img {
  display: block;
  max-height: 30px;
  max-width: 150px;
  object-fit: contain;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.wordmark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(19, 128, 70, 0.18);
}

.brand-name {
  padding-left: 12px;
  border-left: 1px solid #b8c3bd;
  font-weight: 600;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  gap: 22px;
  font-size: 0.97rem;
}

.top-nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ первый экран */
.hero {
  background: var(--mist);
  padding: 56px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}

.hero-text {
  padding-top: 20px;
}

.nowrap {
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.35;
}

.status::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-3);
}

.status[data-kind="open"]::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(19, 128, 70, 0.2);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 0.75rem + 3.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}

.hint {
  font-size: 0.95rem;
  color: var(--ink-3);
  max-width: 48ch;
}

/* табло «Ближайший отбор»: заполняется из админки */
.next {
  margin-top: 26px;
  padding: 18px 22px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.next-title {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 10px;
  max-width: none;
}

.next-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 20px;
  margin: 0 0 8px;
}

.next-list dt {
  color: var(--ink-3);
}

.next-list dd {
  margin: 0;
  font-weight: 600;
}

.next-empty,
.next-note {
  color: var(--ink-2);
  font-size: 0.97rem;
  margin: 0;
}

.next-note {
  margin-top: 8px;
}

[hidden] {
  display: none !important;
}

/* схема-линза: пять линий выходят из капсулы «Личный кабинет» и сходятся в капсуле «Стажировка в MezEx» */
.map {
  margin: 0;
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.map figcaption {
  margin-top: 10px;
  font-size: 0.93rem;
  color: var(--ink-3);
  max-width: 44ch;
}

.ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.5s cubic-bezier(0.65, 0.05, 0.25, 1) forwards;
  animation-delay: calc(var(--i) * 0.09s + 0.15s);
}

.st {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.35s ease-out forwards;
  animation-delay: calc(var(--i) * 0.08s + 1.2s);
}

.cap {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 5;
}

.cap-end {
  fill: var(--ink);
}

.map-labels text,
.cap-labels text {
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 500;
  fill: var(--ink-2);
}

.cap-labels .strong {
  font-weight: 700;
  fill: var(--ink);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------ разделы */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--mist);
}

.section-lead {
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 62ch;
}

/* шкала времени */
.timeline {
  margin: 36px 0 8px;
  max-width: 980px;
}

.timeline-bar {
  display: flex;
  gap: 4px;
  height: 14px;
}

.seg {
  border-radius: 7px;
}

.seg-test {
  flex: 15;
  background: var(--ink);
}

.seg-cases {
  flex: 105;
  background: #9aa8a1;
}

.timeline-ticks {
  position: relative;
  height: 26px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.timeline-ticks span {
  position: absolute;
  left: calc(var(--at) * 100%);
  transform: translateX(-50%);
  white-space: nowrap;
}

.timeline-ticks span:first-child {
  transform: none;
}

.timeline-ticks span:last-child {
  transform: translateX(-100%);
}

.parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 28px;
  max-width: 980px;
}

.part h3 {
  margin-bottom: 4px;
}

.part-meta {
  color: var(--ink-3);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.part p:last-child {
  color: var(--ink-2);
}

.facts {
  list-style: none;
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 980px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.facts b {
  color: var(--ink);
  font-weight: 600;
}

/* направления */
.dirs {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  max-width: 900px;
}

.dir {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.dir:last-child {
  border-bottom: 1px solid var(--rule);
}

.dir-line {
  position: relative;
  display: block;
  height: 9px;
  margin-top: 9px;
  border-radius: 5px;
  background: var(--line);
}

.dir-line i {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--line);
  transform: translate(-50%, -50%);
}

.dir-line i:first-child {
  left: 40%;
}

.dir-line i:last-child {
  left: 74%;
}

.dir h3 {
  margin-bottom: 6px;
}

.dir p {
  margin: 0 0 6px;
}

.dir-cases {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.dir-roles {
  color: var(--ink-3);
  font-size: 0.93rem;
}

/* путь участника: линия со станциями, последняя — капсула */
.route {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.route li {
  position: relative;
  padding-top: 46px;
}

.route li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--ink);
  z-index: 1;
}

.route li::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  right: -28px;
  height: 6px;
  background: var(--ink);
}

.route li:last-child::before {
  width: 54px;
  border-radius: 999px;
  background: var(--brand);
  border-color: var(--ink);
}

.route li:last-child::after {
  display: none;
}

.route h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.route p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
}

/* честная игра */
.section-ink {
  background: var(--ink);
  color: #dbe5df;
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-ink .section-lead {
  color: #c9d6cf;
}

.section-ink :focus-visible {
  outline-color: #9cc4ff;
}

.strip {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 26px 0 28px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #3a1220;
  color: #ffdfe4;
  font-size: 0.97rem;
  font-weight: 500;
}

.strip::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b81;
}

.fair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 34px;
  max-width: 1040px;
}

.fair h3 {
  margin-bottom: 10px;
}

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

.fair li {
  position: relative;
  padding: 0 0 8px 22px;
}

.fair li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8fa39a;
}

.fair > div:first-child li::before {
  background: #4cc684;
}

.fair > div:nth-child(2) li::before {
  background: #ff6b81;
}

.fair-note {
  max-width: 78ch;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9d6cf;
}

/* итоги */
.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}

.rules {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  margin: 0;
}

.rules dt,
.rules dd {
  padding: 15px 0;
  border-top: 1px solid var(--rule);
}

.rules dt {
  font-weight: 600;
  padding-right: 20px;
}

.rules dd {
  margin: 0;
  color: var(--ink-2);
}

/* о компании */
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 600;
}

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

.company-facts li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--rule);
}

.company-facts li:last-child {
  border-bottom: 1px solid var(--rule);
}

.company-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

/* документы */
.docs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  max-width: 900px;
}

.docs li {
  padding: 18px 0 18px 58px;
  border-top: 1px solid var(--rule);
  position: relative;
}

.docs li:last-child {
  border-bottom: 1px solid var(--rule);
}

.docs li::before {
  content: "PDF";
  position: absolute;
  left: 0;
  top: 20px;
  width: 40px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b42335;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  padding: 2px 0;
}

.docs li > a {
  font-weight: 600;
  font-size: 1.07rem;
}

.doc-meta {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 0.95rem;
}

.doc-meta a {
  color: var(--ink-2);
}

/* вопросы */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.faq details {
  border-top: 1px solid var(--rule);
}

.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 20px;
}

/* призыв */
.cta {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta p {
  margin: 0;
  max-width: 56ch;
  color: #e3f3ea;
}

.cta :focus-visible {
  outline-color: #fff;
}

/* подвал */
.foot {
  padding: 40px 0 48px;
  font-size: 0.93rem;
  color: var(--ink-3);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 32px;
}

.foot p {
  margin: 0 0 4px;
}

.foot-org {
  color: var(--ink);
  font-weight: 600;
}

.foot a {
  color: var(--ink-2);
}

.foot-links {
  display: grid;
  gap: 6px;
  align-content: start;
}

/* ------------------------------------------------------------------ адаптивность */
@media (max-width: 1100px) {
  .route {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 640px;
  }
  .route li {
    padding: 0 0 26px 50px;
  }
  .route li::before {
    top: 2px;
  }
  .route li::after {
    top: 22px;
    bottom: -6px;
    left: 10px;
    right: auto;
    width: 6px;
    height: auto;
  }
  .route li:last-child::before {
    width: 26px;
    height: 44px;
  }
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-text {
    padding-top: 0;
  }
  .hero-side {
    max-width: 640px;
  }
  .top-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }
  .parts,
  .facts,
  .fair,
  .results-grid,
  .company-grid,
  .faq-wrap,
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .parts,
  .results-grid,
  .company-grid,
  .faq-wrap {
    gap: 28px;
  }
  .facts {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .top-inner {
    gap: 12px;
    min-height: 58px;
  }
  .brand {
    gap: 10px;
  }
  .brand-name {
    padding-left: 10px;
    font-size: 0.92rem;
  }
  .hero {
    padding: 36px 0 56px;
  }
  .lead {
    font-size: 1.08rem;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .map-labels {
    display: none;
  }
  .cap-labels text {
    font-size: 21px;
  }
  .dir {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .dir-line {
    width: 132px;
  }
  .rules,
  .next-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .next-list {
    gap: 0;
  }
  .next-list dt {
    margin-top: 8px;
    font-size: 0.9rem;
  }
  .rules dd {
    border-top: 0;
    padding-top: 0;
  }
  .docs li {
    padding-left: 0;
    padding-top: 48px;
  }
  .docs li::before {
    top: 18px;
  }
}

@media (max-width: 420px) {
  .btn-small {
    padding: 0 14px;
  }
  .brand-name {
    display: none;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ln,
  .st {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .btn,
  .faq summary::after {
    transition: none;
  }
}

@media print {
  .top,
  .cta,
  .actions,
  .skip {
    display: none !important;
  }
  .hero,
  .section-alt,
  .section-ink {
    background: #fff;
    color: #000;
  }
  .section-ink h2,
  .section-ink h3,
  .section-ink .section-lead,
  .fair-note {
    color: #000;
  }
  .ln,
  .st {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
