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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--color-body-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-h1);
}

h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

p {
  font-size: 15px;
  line-height: 1.6;
}

th,
td {
  width: 100px;
}

.header {
  inset-inline: 0;
  top: 0;
  z-index: 40;
  background-color: var(--color-header-bg);
  padding: 10px 0;
}

.header__inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 10px 16px;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  width: 100px;
}

.header__logo-image {
  display: block;
}

.header__nav {
  display: none;
  position: static;
  width: 100%;
}

.header__nav--active {
  display: block;
}

.header__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 20px;
  margin: 0;
}

.header__menu-link {
  color: var(--color-header-text);
  text-decoration: none;
  font-weight: 700;
}

.header__menu-link:hover {
  color: var(--color-header-text-hover);
}

.header__burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  position: relative;
  border: none;
  background: none;
  padding: 0;
}

.header__burger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition:
    0.2s transform,
    0.2s opacity,
    0.2s top;
}

.header__burger--active .header__burger-line:nth-child(1) {
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
}

.header__action {
  display: none;
  justify-content: center;
  gap: 16px;
}

.header__inner--hidden .header__action {
  display: flex;
}

.header__button {
  min-height: 48px;
  border-radius: 10px;
  border: none;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s all;
}

.header__button--login {
  background-color: var(--color-login-bg);
  color: var(--color-button-text);
  border: 1px solid var(--color-login-bg);
}

.header__button--login:hover {
  background-color: var(--color-login-bg-hover);
  color: var(--color-login-bg);
  transition: 0.2s all;
}

.header__button--register {
  background-color: var(--color-register-bg);
  color: var(--color-button-text);
  border: 1px solid var(--color-register-bg);
}

.header__button--register:hover {
  background-color: var(--color-register-bg-hover);
  border: 1px solid var(--color-register-bg);
  color: var(--color-register-bg);
  transition: 0.2s all;
}

.page-main {
  padding: 20px 0;
  background-color: var(--color-body-bg);
}
.hero {
  padding-top: 0px !important;
  padding: 30px 20px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 300px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-h1);
}

.hero__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #222222;
}

.hero__actions {
  display: flex;
  justify-content: center;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border-radius: 999px;
  border: 1px solid var(--color-body-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  background-color: var(--color-register-bg);
  color: var(--color-button-text);
  cursor: pointer;
  transition: 0.2s all;
}
.hero__button:hover {
  background-color: var(--color-body-bg);
  color: var(--color-register-bg);
  border: 1px solid var(--color-register-bg);
  transition: 0.2s all;
}

.hero__media {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.content-block {
  margin: 40px 0;
}

.content-block__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 20px;
}

.content-block__inner h2,
.content-block__inner h3,
.content-block__inner h4 {
  color: var(--color-first-titles);
  margin-bottom: 16px;
}

.content-block__inner > h4,
.content-block__inner h5 {
  color: var(--color-second-titles);
  margin-bottom: 16px;
}

.content-block__inner p {
  margin-bottom: 16px;
  color: #222222;
}

.content-block__inner ul,
.content-block__inner ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-block__inner img {
  width: auto;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}

.content-block__inner table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 24px;
  margin-bottom: 30px;
  border: 1px solid #e6e6e6;
}

.content-block__inner > div {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-block__inner table th,
.content-block__inner table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 15px;
  color: #222222;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

.content-block__inner table thead th {
  background-color: #f9fbfd;
  color: #003366;
  font-weight: 600;
}

.content-block__inner a {
  color: #00bfa6;
  text-decoration: none;
}

.content-block__inner a:hover {
  color: #009985;
  text-decoration: underline;
}

.faq {
  padding: 20px;
  padding-bottom: 0 !important;
}

.faq__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq__title {
  margin: 0 0 32px;
  color: var(--color-first-titles);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-body-bg);
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.faq-item__header {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-item__question {
  text-align: left;
  color: #222222;
  font-size: 16px;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--color-faq-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
  flex: 0 0 32px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-faq-icon);
}

.faq-item__icon::before {
  width: 10px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 10px;
}

.faq-item__body {
  display: none;
  padding: 0 20px 18px 20px;
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item--open {
  border-left: 4px solid var(--color-register-bg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.faq-item--open .faq-item__body {
  display: block;
}

.faq-item--open .faq-item__icon {
  border-color: var(--color-register-bg);
  transform: rotate(180deg);
}

.faq-item--open .faq-item__icon::before,
.faq-item--open .faq-item__icon::after {
  background-color: var(--color-register-bg);
}

.faq-item--open .faq-item__icon::after {
  transform: rotate(90deg);
}

.footer {
  background-color: var(--color-footer-bg);
  color: #fafafa;
  padding: 32px 16px 40px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer__nav-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer__nav-link {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-footer-links);
}

.footer__nav-link:hover {
  color: var(--color-footer-links-hover);
}

.footer__disclaimer {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-footer-text);
}

.footer__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__badge-18 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffd12d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
}

.footer__brand {
  font-size: 14px;
  color: var(--color-footer-links);
}

.footer__brand:hover {
  color: var(--color-footer-links-hover);
}

.footer__copyright {
  font-size: 14px;
  color: var(--color-footer-text-copyright);
  margin: 0;
}

.footer--stuck {
  margin-top: auto !important;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-color: var(--color-back-to-top-bg);
  color: var(--color-back-to-top-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition:
    background-color 0.2s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 9999;
}

.back-to-top__icon {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.back-to-top:hover {
  background-color: var(--color-back-to-top-bg-hover);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .content-block__inner th,
  .content-block__inner td {
    padding: 6px 8px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  .header__nav-link {
    font-size: 16px;
  }

  .hero__inner {
    min-height: 350px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__text {
    font-size: 16px;
  }

  .content-block {
    margin: 30px 0;
  }
  .content-block__inner h2,
  .content-block__inner h3,
  .content-block__inner h4,
  .content-block__inner h5 {
    margin-bottom: 20px;
  }

  .content-block__inner p {
    margin-bottom: 20px;
  }

  .content-block__inner ul,
  .content-block__inner ol {
    margin-bottom: 24px;
  }

  .content-block__inner img {
    margin: 30px auto;
  }

  .content-table {
    margin-bottom: 40px;
  }

  .faq {
    padding: 60px;
    padding-bottom: 0 !important;
  }

  .faq__title {
    font-size: 28px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
  }

  .footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 991px) {
  .header__inner--hidden {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: var(--color-header-bg);

    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    align-content: flex-start;
  }

  .header__inner--hidden .header__wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo close"
      "nav  nav";
    row-gap: 16px;
    align-items: flex-start;
    width: 100%;
  }

  .header__inner--hidden .header__logo-link {
    grid-area: logo;
  }

  .header__inner--hidden .header__burger {
    grid-area: close;
    justify-self: flex-end;
  }

  .header__inner--hidden .header__nav {
    grid-area: nav;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header__inner--hidden .header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .header__inner--hidden .header__menu-link {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 12px 16px;
    margin: 0;

    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);

    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;

    box-shadow: none;
  }

  .header__inner--hidden .header__action {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    margin-top: 4px;
  }

  .header__inner--hidden .header__button {
    min-height: 48px;
    padding-inline: 16px;
  }
}

@media (min-width: 992px) {
  .header {
    padding: 8px 0;
  }

  .header__inner {
    min-height: 72px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 24px;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .header__logo-link {
    flex-shrink: 0;
  }

  .header__nav {
    position: static;
    height: auto;
    padding: 0;
    background-color: transparent;

    display: flex;
    flex: 1 1 auto;
    margin-left: 32px;
  }

  .header__menu {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;

    width: 100%;
    margin: 0;
    padding: 0;

    justify-content: space-evenly;
    gap: 0;
  }

  .header__menu-item {
    flex: 0 1 auto;
  }

  .header__menu-link {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
  }

  .header__burger {
    display: none;
  }

  .header__action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 16px;
    justify-content: flex-end;
  }
  .page-main {
    padding: 60px 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 0 !important;
    padding: 60px 40px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .hero__content {
    flex: 1 1 50%;
  }

  .hero__media {
    flex: 1 1 50%;
  }
}

body.body--noscroll {
  overflow: hidden;
}
