/* L2D typography cleanup over the exported Tilda styles. */
:root {
  --l2d-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --t-headline-font: var(--l2d-font) !important;
  --t-text-font: var(--l2d-font) !important;
}

html,
body,
#allrecords,
.t-records,
.t-text,
.t-name,
.t-heading,
.t-title,
.t-descr,
.t-btn,
.t-submit,
.t-input,
.t-select,
.t-input__vis-ph,
.t-form__errorbox-wrapper,
.t-form__successbox,
.tn-atom,
.t-btnflex,
.l2d-header {
  font-family: var(--l2d-font) !important;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.t-title,
.t-heading,
h1,
h2,
h3,
.tn-atom h1,
.tn-atom h2,
.tn-atom h3 {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.t-descr,
.t-text,
.tn-atom,
.t-input,
.t-select {
  font-weight: 400 !important;
}

.t-cover .t-title,
.t-cover .t-title_xl,
.t712__title {
  max-width: 760px;
  font-size: clamp(32px, 2.65vw, 46px) !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
}

.t-cover .t-descr,
.t712__descr {
  max-width: 720px;
  font-size: clamp(18px, 1.5vw, 24px) !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

.t396__elem .tn-atom {
  line-height: inherit;
}

/* Car pages: keep old absolute-positioned Tilda blocks readable after font swap. */
#rec669598181 .tn-elem[data-elem-type="text"] .tn-atom,
#rec670460293 .tn-elem[data-elem-type="text"] .tn-atom,
#rec669766159 .tn-elem[data-elem-type="text"] .tn-atom {
  line-height: 1.35 !important;
}

#rec669598181 .tn-elem[data-elem-id="1700428830987"] .tn-atom {
  font-weight: 500 !important;
}

#rec669766159 .tn-elem[data-elem-id="1700567296682"] .tn-atom {
  font-size: clamp(28px, 2.6vw, 38px) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
}

#rec669598181 .tn-elem[data-elem-id="1700428831054"] .tn-atom,
#rec670460293 .tn-elem[data-elem-id="1700428831054"] .tn-atom,
#rec670460293 .tn-elem[data-elem-id="1700428831066"] .tn-atom,
#rec670460293 .tn-elem[data-elem-id="1700428831110"] .tn-atom,
#rec670460293 .tn-elem[data-elem-id="1700428831122"] .tn-atom {
  white-space: nowrap !important;
}

#rec669598181 .tn-elem[data-elem-id="1700429652589"] {
  width: 170px !important;
}

#rec669598181 .tn-elem[data-elem-id="1700429652589"] .tn-atom {
  white-space: nowrap !important;
}

#rec1889514281 .tn-elem[data-elem-id="1770559921544000001"] .tn-atom {
  font-size: clamp(24px, 2vw, 32px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
}

.t898__btn {
  left: auto !important;
  right: 24px !important;
}

.t943__buttonwrapper {
  left: auto !important;
  right: 24px !important;
}

#allrecords #rec1955689511 .t898.t898_pos_left .t898__btn {
  bottom: 24px !important;
  left: auto !important;
  right: 24px !important;
}

.t-form__inputsbox label,
.t-input-title,
.t-form .t-input-title,
.tn-form__submit,
.t-submit,
.t-btn,
.t-btnflex,
.t-btnflex__text {
  font-family: var(--l2d-font) !important;
  letter-spacing: 0 !important;
}

.t-submit,
.t-btn,
.t-btnflex,
.tn-form__submit button {
  font-weight: 700 !important;
  text-transform: none !important;
}

.l2d-header__link,
.l2d-header__drop-button,
.l2d-header__cta {
  font-family: var(--l2d-font) !important;
  letter-spacing: 0 !important;
}

.l2d-header__link,
.l2d-header__drop-button {
  font-weight: 700 !important;
  text-transform: none !important;
}

.l2d-header__cta {
  text-transform: none !important;
}

@media screen and (max-width: 640px) {
  .t-cover .t-title,
  .t-cover .t-title_xl,
  .t712__title {
    font-size: 24px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
  }

  .t-cover .t-descr,
  .t712__descr {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .t-title_xl,
  .t-title_xs {
    line-height: 1.1 !important;
  }

  #rec669598181 .tn-elem[data-elem-id="1700428830987"] .tn-atom {
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  #rec669598181 .tn-elem[data-elem-id="1700428831001"] .tn-atom {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  #rec669598181 .tn-elem[data-elem-id="1700428831054"] .tn-atom,
  #rec669598181 .tn-elem[data-elem-id="1700428831066"] .tn-atom,
  #rec669598181 .tn-elem[data-elem-id="1700428831110"] .tn-atom,
  #rec669598181 .tn-elem[data-elem-id="1700428831117"] .tn-atom,
  #rec670460293 .tn-elem[data-elem-id="1700428831054"] .tn-atom,
  #rec670460293 .tn-elem[data-elem-id="1700428831066"] .tn-atom,
  #rec670460293 .tn-elem[data-elem-id="1700428831110"] .tn-atom,
  #rec670460293 .tn-elem[data-elem-id="1700428831122"] .tn-atom {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  #rec669766159 .tn-elem[data-elem-id="1700567296682"] .tn-atom {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  #rec1889514281 .tn-elem[data-elem-id="1770559921544000001"] .tn-atom {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  .t898__btn,
  .t943__buttonwrapper {
    right: 16px !important;
  }

  #allrecords #rec1955689511 .t898.t898_pos_left .t898__btn {
    bottom: 16px !important;
    left: auto !important;
    right: 16px !important;
  }
}
