:root {
  --font-main: "Inter", Arial, sans-serif;
  --color-accent: #00A0E3;
}

:root,
:root[data-theme=light] {
  color-scheme: light;
  --color-text: #1a1b1c;
  --color-bg-sizes: #f9f9f9;
  --color-bg: #fff;
  --color-bg-header: #fff;
  --color-bg-footer: #1a1b1c;
  --color-border: #e4e6e8;
  --boxShadow-header: 0 0 16px rgba(0,0,0,0.16);
  --boxShadow-hero: 0 0 7em 11em rgba(255,255,255,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --color-text: #fff;
    --color-bg: #1a1b1c;
    --color-bg-header: #000;
    --color-bg-sizes: #202224;
    --color-bg-footer: #000;
    --color-border: #34373b;
    --boxShadow-header: none;
    --boxShadow-hero: 0 0 7em 11em rgba(26,27,28,1);
  }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --color-text: #fff;
  --color-bg: #1a1b1c;
  --color-bg-header: #000;
  --color-bg-sizes: #202224;
  --color-bg-footer: #000;
  --color-border: #34373b;
  --boxShadow-header: none;
  --boxShadow-hero: 0 0 7em 11em rgba(26,27,28,1);
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}

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

body {
  padding: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  max-width: 120em;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
  font-family: var(--font-main);
}

:root [data-theme=light] {
  display: block;
}
:root [data-theme=dark] {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) [data-theme=light] {
    display: none;
  }
  :root:not([data-theme]) [data-theme=dark] {
    display: block;
  }
}
:root[data-theme=light] [data-theme=light] {
  display: block;
}
:root[data-theme=light] [data-theme=dark] {
  display: none;
}

:root[data-theme=dark] [data-theme=light] {
  display: none;
}
:root[data-theme=dark] [data-theme=dark] {
  display: block;
}

.container {
  display: block;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 0.75rem;
  container-type: inline-size;
}
.container--sm {
  max-width: 64rem;
}

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

.anchor {
  position: relative;
  top: -100px;
}

.section-title {
  position: relative;
  font-size: clamp(1.5rem, 0.3148rem + 2.4691vw, 2.5rem);
  font-weight: 700;
  padding-bottom: 0.25em;
  margin: 0 auto 1em;
}
.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 1.75em;
  height: 0.25rem;
  border-radius: 4px;
  background-color: var(--color-accent);
}
.section-title.container:after {
  left: 0.75rem;
}
.section-title--center {
  text-align: center;
}
.section-title--center:after {
  left: 0;
  right: 0;
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  padding: 0.5em 0;
  background-color: var(--color-bg-header);
  box-shadow: var(--boxShadow-header);
  z-index: 99;
}
.header__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: clamp(1rem, 0.4074rem + 1.2346cqi, 1.5rem);
}
.header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: clamp(1rem, 0.4074rem + 1.2346cqi, 1.5rem);
  list-style: none;
  margin-left: auto;
  margin-right: clamp(1rem, 0.4074rem + 1.2346cqi, 1.5rem);
}
.header__menu-link {
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 500;
  font-size: clamp(1rem, 0.7037rem + 0.6173cqi, 1.25rem);
}
.header__menu-item--buy .header__menu-link {
  color: #fff;
  background-color: var(--color-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  width: 120px;
  padding: 0.25em;
  border-radius: 4px;
}
.header__language {
  position: relative;
  cursor: pointer;
}
.header__language-active {
  font-size: clamp(1rem, 0.7037rem + 0.6173cqi, 1.25rem);
}
.header__language.open .header__languages {
  display: grid;
}
.header__languages {
  position: absolute;
  top: calc(100% + 1em);
  right: 0;
  display: none;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
}
.header__languages-item {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5em 1.5em;
  position: relative;
  z-index: 3;
}
.header__languages-item:first-child {
  padding-top: 1em;
}
.header__languages-item:last-child {
  padding-bottom: 1em;
}
.header__languages:after {
  content: "";
  position: fixed;
  inset: 0;
}

[data-theme=light] .header__languages {
  border: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero__shape {
  width: 50%;
  height: 150%;
  position: absolute;
  right: 65%;
  top: -300%;
  bottom: -300%;
  margin: auto;
  background-color: var(--color-bg);
  z-index: 1;
  transform: rotate(15deg);
}
.hero__shape:after {
  content: "";
  inset: 1px;
  box-shadow: var(--boxShadow-hero);
  position: absolute;
}
.hero__container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  z-index: 3;
  align-items: flex-start;
  align-content: flex-start;
}
.hero__title {
  margin: 0 0 0.25em;
  max-width: 40%;
  font-size: clamp(3rem, 1.8148rem + 2.4691cqi, 4rem);
  font-weight: 700;
  line-height: 1.1;
}
.hero__title span {
  color: var(--color-accent);
}
.hero__subtitle {
  font-size: clamp(1.25rem, 0.9537rem + 0.6173cqi, 1.5rem);
  max-width: 40%;
  margin: 0 0 0.6667em;
}
@media (min-width: 1025px) {
  .hero__subtitle {
    max-width: 30%;
  }
}
.hero__btn {
  font-size: clamp(1rem, 0.4074rem + 1.2346vw, 1.5rem);
  text-decoration: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background-color: var(--color-accent);
  padding: 0.35em 0.75em;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

.advantages {
  padding: clamp(2rem, -0.3704rem + 4.9383vw, 4rem) 0;
}
.advantages__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, -0.1852rem + 2.4691vw, 2rem);
  position: relative;
}
.advantages__items:after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background-color: var(--color-border);
  width: 1px;
}
.advantages__item {
  display: flex;
  align-content: center;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  gap: clamp(1rem, -0.1852rem + 2.4691vw, 2rem);
  padding: clamp(1rem, -0.1852rem + 2.4691vw, 2rem) 0.25em clamp(1rem, -0.1852rem + 2.4691vw, 2rem) 0;
}
.advantages__item:last-child, .advantages__item:nth-last-child(2) {
  border-bottom: none;
}
.advantages__item-icon {
  width: 90px;
  flex-shrink: 0;
}
.advantages__item-title {
  font-size: clamp(1rem, 0.4074rem + 1.2346vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.25em;
}
.advantages__item-description {
  font-size: clamp(0.8125rem, 0.5903rem + 0.463vw, 1rem);
}
.advantages__title {
  font-size: clamp(1.75rem, 0.2685rem + 3.0864vw, 3rem);
  margin: 0 0 0.35em;
  font-weight: 700;
}
.advantages__title span {
  color: var(--color-accent);
}
.advantages__subtitle {
  margin: 0 0 2em;
  font-size: clamp(1rem, 0.4074rem + 1.2346vw, 1.5rem);
  font-weight: 500;
  max-width: 70%;
}

.sizes {
  background-color: var(--color-bg-sizes);
  padding: clamp(2rem, -0.3704rem + 4.9383vw, 4rem) 0;
}
.sizes__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(3rem, 0.6296rem + 4.9383vw, 5rem);
}
.sizes__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, -0.1852rem + 2.4691vw, 2rem);
}
.sizes__item-image {
  margin-bottom: 2em;
  aspect-ratio: 456/417;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.sizes__item-text {
  font-size: clamp(1.5rem, 0.9074rem + 1.2346vw, 2rem);
  text-align: center;
  font-weight: 700;
  word-spacing: -3px;
}
.sizes__header {
  font-size: clamp(1.5rem, 0.9074rem + 1.2346vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.25em;
}
.sizes__description {
  font-size: clamp(1rem, 0.4074rem + 1.2346vw, 1.35rem);
}
.sizes__description p:last-child {
  margin-bottom: 0;
}

.faq {
  padding: clamp(2rem, -0.3704rem + 4.9383vw, 4rem) 0;
}
.faq__items {
  display: grid;
  gap: clamp(1rem, -0.1852rem + 2.4691vw, 2rem);
}
.faq__item-question {
  font-size: clamp(1.25rem, 0.6574rem + 1.2346vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.25em;
}
.faq__item-answer {
  font-size: clamp(1rem, 0.7037rem + 0.6173vw, 1.25rem);
}

.buy {
  padding: clamp(2rem, -0.3704rem + 4.9383vw, 4rem) 0;
  background-color: var(--color-bg-sizes);
}
.buy__description {
  font-size: clamp(1rem, 0.7037rem + 0.6173vw, 1.25rem);
  text-align: center;
  margin-bottom: 2em;
}
.buy__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, -0.1852rem + 2.4691vw, 2rem);
}
.buy__item {
  text-decoration: none;
  display: block;
  background-color: var(--color-bg);
}
.buy__item-image {
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  aspect-ratio: 16/6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 0 4em;
}
.buy__item-text {
  background-color: var(--color-accent);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  padding: 2em;
  text-decoration: none;
  font-size: clamp(1rem, 0.7037rem + 0.6173vw, 1.25rem);
  font-weight: 700;
}

.footer {
  background-color: var(--color-bg-footer);
  color: #fff;
  padding: clamp(2rem, -0.3704rem + 4.9383vw, 4rem) 0;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 2em;
  border-bottom: 1px solid #34373b;
  margin-bottom: 2em;
}
.footer__header {
  text-align: right;
  font-size: clamp(1rem, 0.7037rem + 0.6173vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 1em;
}
.footer__contact-items {
  display: grid;
  gap: 1em;
}
.footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 0.5em;
  text-decoration: none;
  color: #fff;
  text-align: right;
  justify-content: flex-end;
}
