@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
}

/**
  Плавный скролл
 */
html,
:has(:target) {
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  -webkit-transition-property: fill, stroke;
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Lexend";
  src: url(../fonts/Lexend-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-button: #4CFDC7;
  /* Яркий акцент для кнопок */
  --color-text-secondary: #18181b;
  /* Дополнительный текст, менее контрастный */
  --color-heading: #000000;
  /* Основные заголовки, максимальный контраст */
  --color-heading-secondary: #27272a;
  /* Дополнительные заголовки или подзаголовки */
  --color-gray: #fafafa;
  --border: 1px solid var(--color-dark);
  --border-radius: 14px;
  --border-radius-small: 7px;
  --border-radius-large: 45px;
  --shadow: 0 5px 0 0 var(--color-dark);
  --font-family-base: "Lexend", sans-serif;
  --container-width: 1140px;
  --container-padding-x: 20px;
  --section-padding-y: 70px;
  --input-height: 59px;
  --button-height: 68px;
  --transition-duration: 0.2s;
}
@media (max-width: 1280px) {
  :root {
    --section-padding-y: 50px;
  }
}
@media (max-width: 767px) {
  :root {
    --section-padding-y: 30px;
  }
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  -webkit-clip-path: inset(100%) !important;
          clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

@media (max-width: 1023px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .visible-mobile {
    display: none !important;
  }
}

body {
  font-size: clamp(16px, 1.25vw, 18px);
  font-family: var(--font-family-base);
  font-weight: 400;
  line-height: 1.28;
  color: var(--color-heading);
}

a,
button,
input,
textarea,
svg * {
  -webkit-transition-duration: var(--transition-duration);
          transition-duration: var(--transition-duration);
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 500;
}

h1, .h1 {
  font-size: clamp(43px, 4.8611111111vw, 70px);
}

h2, .h2 {
  font-size: clamp(36px, 2.7777777778vw, 40px);
}

h3, .h3 {
  font-size: clamp(26px, 2.0833333333vw, 30px);
}

h4, .h4 {
  font-size: clamp(18px, 1.3888888889vw, 20px);
}

.header__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 35px 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
}
.header__logo {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.header__nav {
  margin-left: auto;
}
.header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  gap: 40px;
  max-width: 480px;
}
.header__item:hover {
  opacity: 0.7;
}
.header__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  margin-left: 50px;
}

.offer__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  padding: 40px 0;
}
@media (max-width: 480px) {
  .offer__wrapper {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 40px;
  }
}
.offer__left {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 50%;
          flex: 1 0 50%;
}
.offer__left h1 {
  color: var(--color-heading);
}
.offer__left p {
  color: var(--color-heading-secondary);
}
.offer__right {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 50%;
          flex: 1 1 50%;
}
.offer__right img {
  margin-left: auto;
  width: 300px;
}
@media (max-width: 480px) {
  .offer__right img {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .offer__buttons {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.why {
  padding: 40px 0 100px 0;
  text-align: center;
}
.why__h2 {
  margin-bottom: 135px;
}
@media (max-width: 767px) {
  .why__h2 {
    margin-bottom: 75px;
  }
}
.why__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 80px;
}
@media (max-width: 767px) {
  .why__items {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.why__item img {
  margin: 0 auto;
  margin-bottom: 32px;
}
.why__item h4 {
  margin-bottom: 18px;
}

.trade {
  text-align: left;
  padding: 100px 0;
}
.trade__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
}
@media (max-width: 1023px) {
  .trade__wrapper {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 80px;
  }
}
.trade__h2 {
  max-width: 510px;
  margin-bottom: 64px;
}
.trade__left {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
}
@media (max-width: 1023px) {
  .trade__left {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}
.trade__right {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
}
.trade__right img {
  margin-top: -250px;
}
@media (max-width: 1023px) {
  .trade__right {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .trade__right img {
    margin: 0 auto;
  }
}
.trade__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.trade__item {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 33.3333%;
          flex: 1 0 33.3333%;
  text-align: left;
  width: 50%;
}
@media (max-width: 480px) {
  .trade__item {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
  }
}
.trade__item img {
  margin-bottom: 8px;
}
.trade__item h4 {
  margin-bottom: 18px;
}

.wallet {
  text-align: left;
  padding: 100px 0;
}
.wallet__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 1023px) {
  .wallet__content {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 80px;
  }
}
.wallet__h2 {
  max-width: 510px;
  margin-bottom: 64px;
}
.wallet__left {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
}
@media (max-width: 1023px) {
  .wallet__left img {
    margin: 0 auto;
  }
}
@media (max-width: 1023px) {
  .wallet__left {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}
.wallet__right {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
}
@media (max-width: 1023px) {
  .wallet__right {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}
.wallet__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 30px;
}

.graph {
  padding: 150px 0;
  background: var(--color-gray);
  text-align: center;
}
.graph__content {
  margin-bottom: 58px;
}
.graph__h2 {
  max-width: 530px;
  margin: 0 auto 32px auto;
}
.graph__subheader {
  margin-bottom: 48px;
}
.graph__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 100px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 767px) {
  .graph__items {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }
}
.graph__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.graph__img {
  margin-right: 8px;
}

.steps {
  padding: 100px 0;
  text-align: center;
}
.steps__h2 {
  margin-bottom: 64px;
}
.steps__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 46px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  gap: 20px;
}
@media (max-width: 767px) {
  .steps__items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 40px;
  }
}
.steps__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 300px;
          flex: 0 1 300px;
}
.steps__item img {
  max-width: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.steps__h4 {
  margin-bottom: 18px;
}
.steps__img {
  position: relative;
  background: var(--color-gray);
  width: 72px;
  height: 72px;
  border-radius: 8px;
  margin: 0 auto 16px auto;
}

.news {
  padding: 100px 0;
  text-align: center;
}
.news__h2 {
  margin-bottom: 64px;
}
.news__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 62px;
}
.news__item {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(33.333% - 22px);
          flex: 0 1 calc(33.333% - 22px);
  text-align: left;
  -webkit-box-shadow: 0 0 16px 0 rgba(9, 24, 26, 0.04);
          box-shadow: 0 0 16px 0 rgba(9, 24, 26, 0.04);
  border-radius: 0 0 8px 8px;
}
@media (max-width: 1023px) {
  .news__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 16px);
            flex: 0 1 calc(50% - 16px);
  }
}
@media (max-width: 480px) {
  .news__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
            flex: 0 1 100%;
  }
}
.news__content {
  padding: 16px 16px 32px 16px;
}
.news__subtitle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .news__subtitle {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.news__img {
  background: url(../../images/07-news/news_cover.jpg) no-repeat center/cover;
  height: 150px;
}
.news__title {
  margin-bottom: 32px;
}

.social {
  padding: 24px 0 64px 0;
}
.social__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  gap: 32px;
}
@media (max-width: 1023px) {
  .social__items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.social__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.social__img {
  margin-right: 8px;
}

.footer {
  padding: 100px 0;
}
.footer__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 40px;
  margin-bottom: 75px;
}
@media (max-width: 1023px) {
  .footer__content {
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
  }
}
.footer__links {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 180px;
          flex: 0 1 180px;
}
.footer__subtitle {
  margin-bottom: 38px;
  display: block;
  text-transform: uppercase;
}
.footer__item {
  margin-bottom: 16px;
}
.footer__policy {
  text-align: center;
  font-size: 12px;
}

.buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}

.button {
  padding: 10px 18px;
  border: none;
}
@media (max-width: 767px) {
  .button {
    width: 100%;
  }
}
.button__login, .button__viewexchange, .button__graph {
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--color-heading-secondary);
}
.button__signup, .button__getstarted, .button__steps {
  border-radius: 4px;
  background: var(--color-button);
  border: 1px solid var(--color-button);
}

.itemleft {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 33.3333%;
          flex: 1 1 33.3333%;
}
@media (max-width: 767px) {
  .itemleft {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}
.itemleft img {
  margin-bottom: 8px;
}
.itemleft h4 {
  margin-bottom: 18px;
}

.burger-button {
  padding: 0;
  background-color: transparent;
  border: none;
  width: 48px;
  aspect-ratio: 1;
  position: relative;
  border-radius: var(--border-radius-small);
  margin-left: auto;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}
@media (hover: hover) {
  .burger-button:hover {
    background-color: var(--color-button);
  }
}
@media (hover: none) {
  .burger-button:active {
    background-color: var(--color-button);
  }
}
.burger-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  content: "";
  width: 50%;
  background-color: var(--color-heading);
  height: 2px;
  border-radius: 5px;
  -webkit-box-shadow: 0 -8px, 0 8px;
          box-shadow: 0 -8px, 0 8px;
}

.mobile-overlay {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 34px 20px 20px 20px;
}
.mobile-overlay:modal {
  max-width: 100%;
  max-height: 100%;
}
.mobile-overlay__close-button-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.mobile-overlay__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 80vh;
  gap: 30px;
}
.mobile-overlay__item {
  text-align: center;
  padding: 10px;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}
.mobile-overlay__item:hover {
  background: var(--color-button);
}
.mobile-overlay__item:active {
  background: var(--color-button);
}

.cross-button {
  padding: 0;
  background-color: transparent;
  border: none;
  width: 48px;
  aspect-ratio: 1;
  position: relative;
  border-radius: var(--border-radius);
}
@media (hover: hover) {
  .cross-button:hover {
    background-color: var(--color-button);
  }
}
@media (hover: none) {
  .cross-button:active {
    background-color: var(--color-button);
  }
}
.cross-button::before, .cross-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 70%;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 5px;
}
.cross-button::before {
  rotate: 45deg;
}
.cross-button::after {
  rotate: -45deg;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}