body:has(> .promo-auth),
body:has(> .promo-document) {
  margin: 0;
}

.promo-auth,
.promo-auth *,
.promo-document,
.promo-document * {
  box-sizing: border-box;
}

.promo-auth {
  align-items: center;
  background: #f6f6f7;
  color: #202223;
  display: flex;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  width: 100%;
}

.promo-auth__heading,
.promo-auth__text {
  margin: 0;
  padding: 0;
}

.promo-auth__heading {
  font-size: 2rem;
  line-height: 1.2;
}

.promo-auth__text {
  color: #616161;
  font-size: 1rem;
  line-height: 1.5;
}

.promo-auth__content {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  width: 100%;
}

.promo-auth__form {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}

.promo-auth__label {
  display: grid;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
}

.promo-auth__input {
  background: #fff;
  border: 1px solid #8a8a8a;
  border-radius: 4px;
  font: inherit;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.promo-auth__input:focus {
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
  outline: none;
}

.promo-auth__help,
.promo-auth__error {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.promo-auth__help {
  color: #616161;
}

.promo-auth__error {
  color: #8e0b21;
}

.promo-auth__button {
  background: #303030;
  border: 1px solid #303030;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  justify-self: start;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
}

.promo-document {
  background: #f5f6f4;
  color: #1d211f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

.promo-document__header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d8ddd9;
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
}

.promo-document__brand {
  color: #17201c;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.promo-document__navigation {
  display: flex;
  gap: 24px;
}

.promo-document__navigation a,
.promo-document__content a {
  color: #086c52;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.promo-document__navigation a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.promo-document__navigation a:hover,
.promo-document__navigation a:focus-visible,
.promo-document__content a:hover,
.promo-document__content a:focus-visible {
  color: #074c3c;
  text-decoration: underline;
}

.promo-document__main {
  margin: 0 auto;
  padding: 72px 0 88px;
  width: min(100% - 48px, 800px);
}

.promo-document__kicker {
  color: #8a3e2d;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.promo-document__main h1 {
  color: #171a18;
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
  max-width: 720px;
}

.promo-document__description {
  color: #505854;
  font-size: 18px;
  line-height: 1.6;
  margin: 20px 0 0;
  max-width: 680px;
}

.promo-document__content {
  border-top: 1px solid #cfd5d1;
  margin-top: 48px;
}

.promo-document__content section {
  border-bottom: 1px solid #d8ddd9;
  padding: 30px 0;
}

.promo-document__content h2 {
  color: #1d211f;
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.promo-document__content h3 {
  color: #303632;
  font-size: 16px;
  line-height: 1.4;
  margin: 24px 0 8px;
}

.promo-document__content p,
.promo-document__content li,
.promo-document__contact {
  color: #3f4743;
  font-size: 15px;
  line-height: 1.7;
}

.promo-document__content p {
  margin: 10px 0 0;
}

.promo-document__content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.promo-document__content li + li {
  margin-top: 7px;
}

.promo-document__contact {
  display: inline-block;
  font-weight: 650;
  margin-top: 8px;
}

.promo-document__footer {
  background: #fff;
  border-top: 1px solid #d8ddd9;
  color: #616965;
  display: flex;
  font-size: 13px;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 32px;
}

@media (max-width: 640px) {
  .promo-document__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
  }

  .promo-document__navigation {
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }

  .promo-document__main {
    padding: 48px 0 64px;
    width: min(100% - 40px, 800px);
  }

  .promo-document__main h1 {
    font-size: 32px;
  }

  .promo-document__description {
    font-size: 16px;
  }

  .promo-document__content {
    margin-top: 36px;
  }

  .promo-document__footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 20px;
  }
}
