/**
 * Оформление hero-секции как в оригинальном дизайне:
 * белый фон, крупный заголовок, синяя CTA-кнопка, выравнивание по левому краю.
 * Шрифты в папке проекта: index_files/fonts/
 */

/* Подключение шрифтов из папки проекта */
@font-face {
  font-family: "TrustHead";
  src: url("fonts/e21d6bf08459d7e0-s.p.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TrustBody";
  src: url("fonts/11bf447c34a2180c-s.p.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Фон страницы и хедера — чистый белый */
body.min-h-screen.bg-trustWhite,
body.min-h-screen.bg-trustWhite.dark\:bg-trustBlack,
header.bg-trustWhite,
header.dark\:bg-trustBlack {
  background-color: #ffffff !important;
}

/* Мобильное меню при открытии — тоже белый фон */
header div[data-isopen="true"] {
  background-color: #ffffff !important;
}

/* Hero: первый блок с заголовком и CTA — левый отступ и воздух как в оригинале */
.responsive-page-paddings .container .flex.flex-col a[href*="trustwallet.com/download"],
.responsive-page-paddings .mx-auto .flex.flex-col a[href*="trustwallet.com/download"] {
  margin-top: 0;
}

/* CTA «Скачать мобильное приложение» — как в оригинале: насыщенный синий, белый текст, pill */
a[href*="trustwallet.com/download"] {
  background-color: #0500ff !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 1rem 2rem !important;
  border-radius: 9999px;
  min-height: 56px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  /* убираем hover-оверлей с зелёным — псевдоэлемент не показываем */
}
a[href*="trustwallet.com/download"]::before {
  display: none !important;
}
a[href*="trustwallet.com/download"]:hover,
a[href*="trustwallet.com/download"]:focus {
  background-color: #0400e6 !important;
  color: #ffffff !important;
}
a[href*="trustwallet.com/download"] {
  font-family: "TrustBody", system-ui, sans-serif !important;
}

/* Везде по умолчанию — шрифт TrustBody */
body {
  font-family: "TrustBody", system-ui, -apple-system, sans-serif !important;
}

/* Заголовки — шрифт TrustHead */
h1, h2, h3, h4, h5, h6,
h1.font-wixMadefor,
h1.text-trustBlack.font-wixMadefor,
.text-mobileH1.font-wixMadefor,
.tablet\:text-desktopH1.font-wixMadefor {
  font-family: "TrustHead", "TrustBody", system-ui, sans-serif !important;
}

/* Заголовок hero — жирный (700), без принудительного чёрного */
h1.font-wixMadefor,
h1.text-trustBlack.font-wixMadefor,
.text-mobileH1.font-wixMadefor,
.tablet\:text-desktopH1.font-wixMadefor {
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: normal;
}
@media (min-width: 768px) {
  h1.tablet\:text-desktopH1,
  .tablet\:text-desktopH1.tablet\:leading-desktopH1 {
    font-size: clamp(2.5rem, 5vw, 3.25rem) !important;
    line-height: 1.2 !important;
  }
}

/* Подзаголовок hero — обычный вес, удобный line-height */
.container p.text-lightBlack,
.container p.text-trustBlack,
.mx-auto p.text-lightBlack,
.mx-auto p.text-trustBlack,
.flex.flex-col p.text-lightBlack,
.flex.flex-col p.text-trustBlack {
  font-weight: 400;
  max-width: 65ch;
  line-height: 1.55;
  letter-spacing: normal;
}

/* Контент hero выровнен по левому краю с достаточными отступами */
.responsive-page-paddings .container.text-left,
.responsive-page-paddings .mx-auto.text-left {
  text-align: left !important;
  padding-left: min(2.5rem, 5vw);
  padding-right: min(2.5rem, 5vw);
}
@media (max-width: 767px) {
  .responsive-page-paddings .container.text-left,
  .responsive-page-paddings .mx-auto.text-left {
    padding-left: min(1.25rem, 4vw);
    padding-right: min(1.25rem, 4vw);
  }
}

/* Иконка меню (гамбургер) — синяя, как в оригинале (логотип с градиентом не трогаем) */
header button[role="switch"] svg path,
header button[role="switch"] svg line {
  stroke: #0500ff !important;
}
header .stroke-trustBlue {
  stroke: #0500ff !important;
}

/* Логотип — оставляем градиент; при необходимости можно задать явно */
/* Отступ между заголовком и подзаголовком — как в оригинале (чёткое разделение) */
.flex.flex-col.gap-6 h1,
.flex.flex-col.gap-7 h1 {
  margin-bottom: 0.75rem;
}
.flex.flex-col.gap-6 p,
.flex.flex-col.gap-7 p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
