:root {
  --accent: #00a3a5;
  --tint: #e8f8f9;
  --ink: #171717;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f7f4f5;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
a:focus-visible {
  outline: 3px solid #007e80;
  outline-offset: 4px;
}
.header {
  background: #fff;
}
.header__container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1040px;
  height: 80px;
  margin: auto;
}
.brand {
  display: inline-block;
  flex-shrink: 0;
}
.brand img {
  width: 90px;
  height: auto;
}
.header__advertisement {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
}
.page {
  padding: 24px 20px 40px;
}
.article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  font-size: 20px;
  line-height: 1.15;
}
.article h1 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
  color: #080808;
}
.article h2 {
  margin: 0 0 14px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}
.article p {
  margin: 0 0 24px;
}
.article .article__reading {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #929292;
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.article .article__updated {
  margin: 0 0 32px;
  color: #929292;
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.article__hero {
  width: 100%;
  height: 525px;
  margin: 0 0 36px;
  object-fit: cover;
}
.article section {
  margin: 0 0 16px;
}
.article section:last-child {
  margin-bottom: 0;
}
.callout {
  margin: -8px 0 16px;
  padding: 24px 16px;
  border-radius: 16px;
  background: var(--tint);
  scroll-margin-top: 24px;
}
.callout ul {
  margin: 0 0 24px;
  padding-left: 30px;
}
.callout p {
  margin-bottom: 24px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--accent);
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.2;
  transition: background 0.15s;
}
.button:hover {
  background: #008b8d;
}
.article__years {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px 10px;
  margin: -8px 20px 16px 0;
}
.article__year {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 4px;
  border-radius: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 28px;
  background: var(--tint);
  transition:
    background 0.15s,
    color 0.15s;
}
.article__year:hover {
  background: var(--accent);
  color: #fff;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-bottom: 24px;
}
.feature {
  padding: 16px;
  border-radius: 3px;
  background: #fff;
}
.feature h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #06abb7;
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.feature svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.15;
}
.article__explanation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.article__explanation p:last-child {
  margin-bottom: 0;
}
.article__explanation img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.footer {
  padding: 30px 20px 40px;
  color: #bcbcbc;
  background: #000;
}
.footer__container {
  max-width: 1040px;
  margin: auto;
}
.footer .brand {
  margin-bottom: 30px;
}
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer h2 {
  margin: 0 0 16px;
  color: #00afb5;
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.footer p {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.2;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
  margin: 10px 0 24px;
  font-size: 12px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .footer__copyright {
  margin: 0;
  text-align: center;
  color: #777;
  font-size: 14px;
}
.footer__title,
.footer__warning-title {
  color: var(--accent);
}
.footer__contacts,
.footer__disclaimer {
  margin-bottom: 20px;
}
.legal {
  padding: 48px 20px 64px;
}
.legal__container {
  max-width: 1040px;
  margin: auto;
  padding: 24px;
  background: #fff;
}
.legal__back {
  display: inline-block;
  margin-bottom: 28px;
  color: #008b8d;
}
.legal__title {
  margin: 0 0 32px;
  font-size: 40px;
}
.legal__section {
  margin-bottom: 28px;
}
.legal__subtitle {
  margin: 0 0 12px;
  font-size: 24px;
}
.legal__text,
.legal__item {
  font-size: 18px;
  line-height: 1.5;
}
.legal__text {
  margin: 0 0 12px;
}
.legal__link {
  color: #008b8d;
}
.legal__list {
  padding-left: 24px;
}
@media (max-width: 1080px) {
  .header__container {
    margin: 0 20px;
  }
}
@media (max-width: 767px) {
  .header__container {
    height: 72px;
    margin: 0 16px;
  }
  .brand img {
    width: 80px;
  }
  .page {
    padding: 16px 12px 24px;
  }
  .article {
    padding: 20px 16px;
    font-size: 18px;
    line-height: 1.35;
  }
  .article h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .article h2 {
    font-size: 22px;
    line-height: 1.2;
  }
  .article p {
    margin-bottom: 20px;
  }
  .article__hero {
    height: auto;
    aspect-ratio: 1040 / 525;
    margin-bottom: 28px;
  }
  .article .article__updated {
    margin-bottom: 24px;
  }
  .callout {
    padding: 20px 16px;
    margin-top: 0;
  }
  .callout ul {
    padding-left: 22px;
  }
  .button {
    font-size: 16px;
    min-height: 56px;
    border-radius: 12px;
  }
  .article__years {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
  }
  .article__year {
    font-size: 21px;
    min-height: 44px;
  }
  .features {
    gap: 12px;
  }
  .feature {
    padding: 14px;
  }
  .feature p {
    font-size: 14px;
    margin: 0;
  }
  .article__explanation {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article__explanation img {
    height: auto;
    min-height: 0;
  }
  .footer {
    padding: 28px 24px;
  }
  .footer__columns {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
  }
  .footer p,
  .footer__links {
    font-size: 13px;
  }
  .legal {
    padding: 24px 12px;
  }
  .legal__container {
    padding: 20px 16px;
  }
  .legal__title {
    font-size: 30px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .features,
  .footer__columns {
    grid-template-columns: 1fr;
  }
  .article__year {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
