.land {
  --blue: #0062ad;
  --blue-hover: #2b8ed9;
  --blue-btn: #0062ad;
  --cream: #f2eeeb;
  --cream-dark: #e8d7ca;
  --text: #000000;
  --white: #ffffff;
  --border: #e3e5ea;
  --field-bg: #f6f7f8;
  --field-label: #333d53;

  font-family: 'Dewi', system-ui, sans-serif;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  letter-spacing: -0.03em;
}

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

.land a {
  text-decoration: none;
}

.land__container {
  width: var(--mg-wrap, min(1000px, calc(100% - 40px)));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.land__container--narrow {
  width: min(800px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

/* Крошки: родитель серый, ссылка без синего до hover (tools-shell даёт blue по умолчанию) */
.mg-page-pilot-holodnyy-hvost .mg-tool__crumbs.land__crumbs a,
.mg-page-pilot-holodnyy-hvost .land__crumbs a {
  color: inherit;
}

.mg-page-pilot-holodnyy-hvost .mg-tool__crumbs.land__crumbs a:hover,
.mg-page-pilot-holodnyy-hvost .mg-tool__crumbs.land__crumbs a:focus-visible,
.mg-page-pilot-holodnyy-hvost .land__crumbs a:hover,
.mg-page-pilot-holodnyy-hvost .land__crumbs a:focus-visible {
  color: var(--mg-blue-link, var(--blue, #0062ad));
}

.mg-page-pilot-holodnyy-hvost .land__hero {
  padding: 40px 0 56px;
}

/* Cream-полоса на всю ширину окна: native-shell иначе max-width 1200px + padding 80px */
.mg-native-wrap.mg-page-pilot-holodnyy-hvost > .mg-native-main {
  max-width: none;
  padding-inline: 0;
  margin-inline: 0;
}

/* ---------- Typography ---------- */
.land__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.land__crumbs a {
  color: inherit;
  transition: color 0.15s ease;
}

.land__crumbs a:hover {
  color: var(--blue);
}

.land__crumb--current {
  color: #8a8a8a;
}

.land__h1 {
  margin: 0;
  font-size: clamp(40px, 8.3vw, 100px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.land__h2 {
  margin: 0;
  font-size: clamp(28px, 6.6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.land__lead {
  margin: 40px 0 0;
  max-width: 900px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.land__section-lead {
  margin: 28px 0 0;
  max-width: 820px;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.land__note {
  margin: 28px 0 0;
  max-width: 640px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  color: #4a4a4a;
}

/* ---------- Sections ---------- */
.land__hero {
  background: var(--white);
}

.land__section {
  padding: clamp(48px, 6vw, 90px) 0;
  background: var(--white);
}

.land__section--cream {
  background: var(--cream);
}

/* Шаги как /feature-request «Как проходит запрос»: H2 → сетка, без лида */
#how.land__section--cream {
  padding: clamp(36px, 5vw, 64px) 0;
}

#how .land__h2 {
  line-height: 0.9;
  white-space: nowrap;
}

/* ---------- Hero actions ---------- */
.land__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

/* Hero filled CTA = канон mgig-btn (DS §4): 30px / 600 / min-height 60px / #0062AD */
.land__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 60px;
  padding: 0 48px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.7px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.land__btn::before,
.land__btn::after {
  content: none;
}

.land__btn--primary {
  background: #0062ad;
  color: #fff;
}

.land__btn--primary:hover,
.land__btn--primary:focus-visible {
  background: #2b8ed9;
  color: #fff;
}

.land__btn--wide {
  width: 100%;
  margin-top: 8px;
}

.land__link {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  transition: color 0.15s ease;
}

.land__link:hover {
  color: var(--blue-hover);
}

/* ---------- Problem cards ---------- */
.land__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.land__card {
  background: var(--cream);
  padding: 32px;
}

.land__section--cream .land__card {
  background: var(--white);
}

.land__card-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.land__card-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.land__card-text {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* ---------- Steps ---------- */
.land__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.land__step {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cream);
  padding: 32px;
}

.land__section--cream .land__step {
  background: var(--white);
}

.land__step-num {
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--text);
  margin-bottom: 24px;
}

.land__step-title {
  margin: 0 0 14px;
  min-height: calc(2 * 0.95em);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.land__step-text {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.land__accent {
  color: var(--blue);
}

/* ---------- Facts ---------- */
.land__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 48px;
  align-items: stretch;
}

.land__fact {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cream);
  padding: 32px;
}

.land__fact-title {
  margin: 0 0 14px;
  min-height: calc(2 * 1.1 * 1em);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
}

.land__fact .land__card-text {
  margin-top: 0;
}

/* ---------- FAQ (канон: белый фон, mg2-faq, синий +) ---------- */
.land__faq-section {
  background: var(--white, #fff);
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(16px, 2.5vw, 28px);
}

.land__faq-section .land__h2,
.land__form-section .land__h2 {
  text-align: left;
}

.land__faq {
  margin-top: 24px;
  max-width: 820px;
}

/* legacy land__faq-* → визуально как mg2-faq */
.land__faq-item,
.land__faq .mg2-faq__item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--border, var(--mg-border, #e5e5e5));
  background: transparent;
  padding: 0;
}

.land__faq-q,
.land__faq .mg2-faq__item summary,
.land__faq details summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  display: block;
}

.land__faq-q::-webkit-details-marker,
.land__faq details summary::-webkit-details-marker {
  display: none;
}

.land__faq-q::after,
.land__faq .mg2-faq__item summary::after,
.land__faq details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--blue, var(--mg-blue-link, #0062ad));
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.land__faq-item[open] .land__faq-q::after,
.land__faq .mg2-faq__item[open] summary::after,
.land__faq details[open] summary::after {
  content: '−';
}

.land__faq-a,
.land__faq .mg2-faq__item p,
.land__faq details p {
  margin: 0 0 18px;
  max-width: 700px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--muted, var(--mg-muted, #666));
}

/* ---------- Form (tools mg-tool-fr) ---------- */
.land__form-section {
  background: var(--white);
  padding-top: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.land__tool-fr.mg-tool-fr {
  padding-block: 0;
  background: transparent;
}

.land__tool-fr .mg-tool-fr__title {
  max-width: none;
}

.land__tool-fr .mg-tool-fr__panel {
  margin-top: 16px;
}

/* ---------- Adaptive ---------- */
@media screen and (max-width: 959px) {
  .land__cards,
  .land__steps,
  .land__facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 639px) {
  .land__container {
    width: min(1000px, calc(100% - 32px));
  }

  .land__cards,
  .land__steps,
  .land__facts {
    grid-template-columns: 1fr;
  }

  .land__btn {
    width: 100%;
    min-height: 52px;
    padding: 0 28px;
    font-size: 20px;
  }

  .land__hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #how .land__h2 {
    white-space: normal;
  }
}

/* Tilda `#allrecords a` бьёт классы; chrome здесь t-body, не mg-site--v2b */
#allrecords .land a.land__btn--primary,
.land a.land__btn--primary,
.land button.land__btn--primary {
  background: #0062ad;
  color: #fff;
}

#allrecords .land a.land__btn--primary:hover,
#allrecords .land a.land__btn--primary:focus-visible,
.land a.land__btn--primary:hover,
.land a.land__btn--primary:focus-visible,
.land button.land__btn--primary:hover,
.land button.land__btn--primary:focus-visible {
  background: #2b8ed9;
  color: #fff;
}

body.mg-site--v2b .land a.land__link {
  color: var(--blue);
}

body.mg-site--v2b .land a.land__link:hover {
  color: var(--blue-hover);
}
