:root {
  --ink: #111820;
  --text: #303A43;
  --muted: #788593;
  --line: #DDE4E8;
  --green: #3FC046;
  --green-soft: #eaf7eb;
  --footer: #111820;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 160%;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
[class*="__container"] {
  width: 100%;
  max-width: 816px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-weight: 600;
}
h1 {
  font-size: 48px;
  line-height: 118%;
}
h2 {
  font-size: 33px;
  line-height: 128%;
}
h3 {
  font-size: 23px;
  line-height: 140%;
}
p {
  margin: 0 0 20px;
}
.header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header__container {
  max-width: 1132px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__brand img {
  width: 155px;
  height: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 52px;
  padding: 10px 27px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #102018;
  font-size: 16px;
  line-height: 125%;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.button:hover,
.button:focus-visible {
  background: #2db83c;
}
.button--header {
  min-height: 44px;
  padding: 9px 20px;
  font-size: 14px;
}
.article {
  padding-top: 55px;
}
.article__advertisement {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f3f6f8;
  color: #71808c;
  font-size: 11px;
  line-height: 140%;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article__category {
  margin: 27px 0 15px;
  padding-left: 12px;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-size: 13px;
  line-height: 120%;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.article h1 {
  max-width: 650px;
  margin: 0 0 24px;
}
.article__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 140%;
}
.article__meta strong {
  color: var(--ink);
}
.article__meta span {
  padding-left: 15px;
  border-left: 1px solid #63707B;
  color: var(--muted);
}
.article__hero {
  width: 100%;
  height: auto;
  aspect-ratio: 752/423;
  object-fit: cover;
  margin: 32px 0 40px;
  border-radius: 10px;
}
.article__lead {
  margin-bottom: 22px;
  padding-left: 20px;
  border-left: 4px solid var(--green);
  color: #2d3740;
  font-size: 19px;
  line-height: 158%;
}
.article__age-link {
  margin: 22px 0 30px;
}
.age-groups {
  scroll-margin-top: 20px;
}
.age-groups__cards {
  display: flex;
  gap: 20px;
}
.age-card {
  width: 33.333%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.age-card:hover,
.age-card:focus-visible {
  border-color: var(--green);
}
.age-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 236/177;
  object-fit: cover;
  border-bottom: 3px solid var(--green);
}
.age-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 18px;
}
.age-card__body strong {
  font-family: Lora, Georgia, serif;
  font-size: 36px;
  line-height: 115%;
  font-weight: 600;
}
.age-card__body > span {
  font-size: 14px;
  line-height: 130%;
  font-weight: 700;
}
.age-card__body b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--green);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}
.age-groups__note {
  margin: 24px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 150%;
}
.age-groups__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 145%;
  font-weight: 700;
}
.age-groups__benefits li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--green);
}
.article__section {
  margin-top: 62px;
}
.article__section h2 {
  /* max-width: 600px; */
  margin: 0 0 30px;
}
.benefit {
  margin-bottom: 45px;
}
.benefit h3 {
  margin: 0 0 8px;
}
.benefit p {
  margin: 0;
}
.article__section--start {
  margin-top: 55px;
}
.article__family {
  width: 100%;
  height: auto;
  aspect-ratio: 752/500;
  object-fit: cover;
  margin-bottom: 55px;
  border-radius: 10px;
}
.article__section--start h2 {
  margin-bottom: 20px;
}
.article__section--start h3 {
  margin: 45px 0 20px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f6f8;
}
.steps li {
  display: flex;
  gap: 18px;
  padding: 23px 24px;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 0;
}
.steps__number {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--footer);
  color: #fff;
  font-family: Lora, Georgia, serif;
  font-size: 19px;
}
.steps li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.steps strong {
  color: var(--ink);
  font-size: 17px;
}
.article__section--question {
  margin-top: 60px;
}
.article__section--question h2 {
  margin-bottom: 20px;
}
.age-picker {
  scroll-margin-top: 20px;
  margin-top: 40px;
  padding: 42px 40px 40px;
  border: 1px solid #d5ebd6;
  border-radius: 15px;
  background: var(--green-soft);
}
.age-picker h3 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 27px;
}
.age-picker__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.age-picker__choices button {
  width: calc((100% - 50px) / 6);
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.age-picker__choices button:hover,
.age-picker__choices button:focus-visible,
.age-picker__choices button[aria-pressed="true"] {
  border-color: var(--green);
  background: #d5f5d9;
}
.age-picker__button {
  display: flex;
  width: max-content;
  margin: 26px auto 0;
  min-width: 360px;
}
.disclaimer {
  margin: 48px 0 60px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 165%;
}
.disclaimer p:last-child {
  margin-bottom: 0;
}
.footer {
  padding: 65px 0 55px;
  background: var(--footer);
  color: #b9c1c8;
  font-size: 15px;
  line-height: 170%;
}
.footer__container {
  max-width: 1132px;
}
.footer__container > p {
  max-width: 860px;
}
.footer strong {
  color: #e4e7ea;
}
.footer a:hover {
  color: #fff;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 24px;
  padding-top: 25px;
  border-top: 1px solid #2a343d;
  color: #e4e7ea;
  font-weight: 600;
}
.footer__nav a {
  text-decoration: none;
}
.footer__copyright {
  margin: 0;
  color: #86919b;
}
@media (max-width: 991px) {
  .header__container {
    max-width: 816px;
  }
  .age-groups__cards {
    gap: 12px;
  }
  .age-card__body {
    padding: 14px;
  }
  .age-card__body strong {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  [class*="__container"] {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header__container {
    min-height: 52px;
  }
  .header__brand img {
    width: 125px;
  }
  .button--header {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .article {
    padding-top: 28px;
  }
  .article__category {
    margin: 23px 0 14px;
  }
  .article h1 {
    margin-bottom: 18px;
    font-size: 32px;
    line-height: 120%;
  }
  .article__meta {
    gap: 10px;
    font-size: 12px;
  }
  .article__meta span {
    padding-left: 10px;
  }
  .article__hero {
    margin: 24px 0 30px;
  }
  .article__lead {
    font-size: 18px;
  }
  .article__age-link {
    width: 100%;
    margin: 16px 0 25px;
    padding: 10px 15px;
  }
  .age-groups__cards {
    flex-direction: column;
    gap: 16px;
  }
  .age-card {
    width: 100%;
  }
  .age-card__body {
    padding: 17px;
  }
  .age-card__body strong {
    font-size: 32px;
  }
  .age-groups__benefits {
    gap: 8px 15px;
  }
  .article__section {
    margin-top: 50px;
  }
  .article__section h2 {
    font-size: 28px;
    line-height: 130%;
  }
  .article__section h3 {
    font-size: 20px;
  }
  .benefit {
    margin-bottom: 36px;
  }
  .article__section > .button {
    width: 100%;
  }
  .article__family {
    margin-bottom: 36px;
  }
  .steps li {
    gap: 13px;
    padding: 16px;
  }
  .steps__number {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .steps strong {
    font-size: 16px;
  }
  .age-picker {
    padding: 28px 16px;
    margin-top: 34px;
  }
  .age-picker h3 {
    font-size: 23px;
    line-height: 140%;
  }
  .age-picker__choices {
    gap: 8px;
  }
  .age-picker__choices button {
    width: calc((100% - 24px) / 4);
    height: 43px;
    font-size: 16px;
  }
  .age-picker__button {
    width: 100%;
    min-width: 0;
  }
  .disclaimer {
    margin-bottom: 38px;
  }
  .footer {
    padding: 40px 0;
  }
  .footer__nav {
    gap: 12px;
  }
}
.legal {
  padding: 55px 0 80px;
}
.legal__back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.legal h1 {
  margin: 0 0 30px;
}
.legal__content {
  overflow-wrap: anywhere;
}
.legal__content a {
  color: #268c35;
  text-decoration: underline;
}
.legal__content a:hover,
.legal__content a:focus-visible {
  color: #176326;
}
.legal__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 24px;
}
.legal__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 150%;
}
.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal__table th {
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 700;
}
.legal__content h2 {
  margin: 42px 0 14px;
}
.legal__content h3 {
  margin: 28px 0 10px;
}
.legal__content p {
  margin-bottom: 18px;
}
.legal__content ul {
  margin: 0 0 20px;
  padding-left: 26px;
}
.legal__content li {
  padding-left: 4px;
  margin-bottom: 8px;
}
.legal__content li::marker {
  color: var(--green);
}
@media (max-width: 767px) {
  .legal {
    padding: 30px 0 55px;
  }
  .legal h1 {
    font-size: 32px;
  }
  .legal__content h2 {
    font-size: 28px;
  }
  .legal__content h3 {
    font-size: 20px;
  }
}
