:root {
  --green: #034802;
  --green-dark: #002f06;
  --mint: #F4F9F1;
  --page-bg: #f4f9f1;
  --ink: #242020;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(940px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}
.header {
  display: flex;
  min-height: 75px;
  padding: 8px 20px;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: block;
  width: 82px;
  height: 58px;
}
.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header__advertisement {
  color: #b8b8b8;
  font-size: 14px;
  font-weight: 300;
}
.header-divider {
  height: 31px;
  background: var(--page-bg);
}

.article {
  padding: 35px 17px 30px;
}
.article h1 {
  margin: 0 30px 28px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.article h2 {
  margin: 26px 0 15px;
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.34;
}
.article h3 {
  line-height: 1.3;
}
.article p + p {
  margin-top: 25px;
}
.article__hero,
.article__wide-image {
  width: 100%;
  object-fit: cover;
}
.article__hero {
  aspect-ratio: 3 / 2;
}
.article__wide-image {
  margin-bottom: 19px;
}

.split {
  display: grid;
  align-items: stretch;
  gap: 16px;
}
.split--image-right,
.split--balanced {
  grid-template-columns: 1fr 1fr;
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split p + p {
  margin-top: 25px;
}

.check-cards {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.check-card {
  min-height: 109px;
  padding: 17px 16px;
  border-radius: 4px;
  background: var(--mint);
  font-family: Arial, sans-serif;
}
.check-card h3 {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}
.check-card h3 span {
  margin-right: 6px;
}
.check-card p,
.check-card p + p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.18;
}

.question-list {
  padding-left: 28px;
  color: var(--green);
  font-style: italic;
}
.tick-list {
  display: grid;
  margin: 18px 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  list-style: none;
}
.tick-list li {
  position: relative;
  padding: 7px 0 7px 39px;
}
.tick-list li::before {
  position: absolute;
  top: 4px;
  left: 5px;
  color: var(--green);
  content: "✓";
  font-size: 25px;
}

.consultation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.consultation__note {
  color: var(--green);
  font-style: italic;
  font-weight: 500;
}
.lead-form {
  align-self: start;
  padding: 27px 16px 25px;
  background: var(--mint);
}
.lead-form h3 {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 28px;
  font-weight: 500;
  text-align: center;
}
.lead-form label {
  display: block;
}
.lead-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lead-form input {
  width: 100%;
  height: 53px;
  padding: 0 15px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.lead-form > label + label,
.lead-form button {
  margin-top: 16px;
}
.lead-form input::placeholder {
  color: #c8c8c8;
}
.lead-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(7, 91, 10, 0.1);
}
.lead-form button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}
.lead-form button:hover {
  background: #044608;
}
.lead-form button:active {
  transform: translateY(1px);
}
.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.lead-form__status {
  min-height: 0;
  margin-top: 0 !important;
  color: var(--green);
  font-size: 14px;
  text-align: center;
}
.lead-form__status:not(:empty) {
  margin-top: 12px !important;
}
.lead-form__status--error {
  color: #a51d1d;
}

.disclaimer {
  padding: 25px 16px;
  background: var(--mint);
  color: #a9aca8;
  font-size: 14px;
  line-height: 1.55;
}
.footer {
  padding: 29px 0 20px;
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}
.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 47px;
}
.footer h2 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__bottom {
  display: flex;
  margin-top: 39px;
  align-items: center;
  justify-content: space-between;
  color: #ACACAC;
  font-size: 14px;
}
.footer__bottom nav {
  display: flex;
  gap: 32px;
}
.footer__bottom a {
  text-decoration: none;
}

.legal {
  padding: 55px 24px 70px;
}
.legal__title {
  margin-bottom: 25px;
  color: var(--green);
  font-size: 38px;
  line-height: 1.2;
}
.legal__updated {
  margin: -12px 0 28px;
  color: #737873;
  font-size: 14px;
}
.legal__content,
.legal__section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal__section-title,
.legal__subsection-title {
  margin-top: 18px;
  color: var(--green);
}
.legal__link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}
.legal__list {
  padding-left: 25px;
}
.legal__contact {
  font-style: normal;
}

@media (min-width: 941px) {
  .footer {
    width: 100vw;
    margin-left: calc((940px - 100vw) / 2);
    padding-right: calc((100vw - 940px) / 2);
    padding-left: calc((100vw - 940px) / 2);
  }
}

@media (max-width: 760px) {
  .header {
    min-height: 67px;
    padding: 6px 16px;
  }
  .header__logo {
    width: 72px;
    height: 52px;
  }
  .header-divider {
    height: 18px;
  }
  .article {
    padding: 27px 14px 24px;
  }
  .article h1 {
    margin: 0 0 22px;
  }
  .article h2 {
    margin-top: 24px;
  }
  .split,
  .consultation__grid,
  .check-cards,
  .tick-list,
  .footer__columns {
    grid-template-columns: 1fr;
  }
  .split--image-right img {
    grid-row: 1;
  }
  .split img {
    height: auto;
  }
  .check-cards {
    gap: 10px;
  }
  .check-card {
    min-height: 0;
  }
  .tick-list {
    gap: 0;
  }
  .consultation__grid {
    gap: 22px;
  }
  .lead-form {
    padding: 23px 13px;
  }
  .footer {
    padding: 28px 16px 20px;
  }
  .footer__columns {
    gap: 28px;
  }
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
}
