@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=BBH+Sans+Hegarty:400");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
/* Макет 1440 px: на всю ширину до --layout-max-screen, дальше не растёт */
:root {
  --layout-base-width: 1440px;
  --layout-max-screen: 1980px;
  /* ширина окна для масштаба не больше 1980px → контент не тянется на ультрашироких */
  --layout-scale: max(
    calc(990 / 1440),
    calc(min(100vw, var(--layout-max-screen)) / var(--layout-base-width))
  );
}

html,
body {
  margin: 0px;
  min-height: 100%;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  overflow-x: clip;
}

.page-scale {
  width: calc(var(--layout-base-width) * var(--layout-scale));
  max-width: var(--layout-max-screen);
  margin-inline: auto;
}

.page-scale > .desktop {
  width: var(--layout-base-width);
  transform-origin: top left;
  transform: scale(var(--layout-scale));
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

.desktop .navbar a.nav-anchor {
  color: inherit;
  cursor: pointer;
}

.desktop .navbar a.nav-anchor:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Герой: визуал может перекрывать навбар — отключаем у него hit-test */
.desktop .hero .hero-visual {
  pointer-events: none;
}

/* Hero: реальные кнопки вместо div */
.desktop .hero button.frame,
.desktop .hero button.div-wrapper {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.desktop .hero button.frame {
  border: none;
}

/* Форма «Ранний доступ» */
.desktop form.group-49 {
  margin: 0;
}

.desktop .early-access-section button.frame-7 {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  border: none;
  text-align: center;
}

.desktop .early-input,
.desktop .early-select {
  width: 169px;
  height: 55px;
  padding: 0 21px;
  margin: 0;
  border-radius: 6px;
  border: 1.5px solid #c6c6c6;
  background: #ffffff;
  font-family: "SF Pro Display-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #202020;
  letter-spacing: 0;
  box-sizing: border-box;
}

.desktop .early-input::placeholder {
  color: #7f7f7f;
}

.desktop .early-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("img/early-access-form-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 21px center;
  background-size: 13px 8px;
}

.desktop .early-select:invalid {
  color: #7f7f7f;
}

.desktop .early-input:focus-visible,
.desktop .early-select:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.desktop .early-select option {
  color: #202020;
}

/* FAQ: аккордеон (вместо статичной вёрстки group-50/51) */
.desktop .FAQ {
  height: auto;
  min-height: 376px;
  padding: 63px 0 56px;
}

.desktop .FAQ .faq-title {
  margin: 0;
  font-weight: 700;
  position: static;
  top: auto;
  left: auto;
}

.desktop .FAQ .faq-columns {
  display: flex;
  gap: 38px;
  padding: 0;
  align-items: flex-start;
}

.desktop .footer .footer-social-link {
  color: #ffffff;
}

.desktop .FAQ .faq-card {
  flex: 1;
  min-width: 0;
  max-width: 628px;
  background-color: #ffffff;
  border-radius: 11.81px;
  border: 1px solid #c6c6c6;
  box-shadow: 4px 6px 11.6px #00000030;
  overflow: hidden;
}

.desktop .FAQ .faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.desktop .FAQ .faq-item:last-child {
  border-bottom: none;
}

.desktop .FAQ .faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 36px;
  min-height: 56px;
  font-family: "SF Pro Display-Semibold", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 19.3px;
  color: #202020;
  letter-spacing: 0;
}

.desktop .FAQ .faq-summary::-webkit-details-marker {
  display: none;
}

.desktop .FAQ .faq-summary::after {
  content: "\203A";
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #4a4a4a;
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.desktop .FAQ .faq-item[open] > .faq-summary::after {
  transform: rotate(90deg);
}

.desktop .FAQ .faq-summary:focus {
  outline: none;
}

.desktop .FAQ .faq-summary:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: -2px;
}

.desktop .FAQ .faq-answer {
  padding: 0 48px 18px 36px;
}

.desktop .FAQ .faq-answer p {
  margin: 0;
  font-family: "SF Pro Display-Regular", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #555555;
}

@media (prefers-reduced-motion: reduce) {
  .desktop .FAQ .faq-summary::after {
    transition: none;
  }
}

@font-face {
  font-family: "SF Pro Display-Semibold";
  src: local("SF Pro Display-Semibold");
}
@font-face {
  font-family: "SF Pro Display-Bold";
  src: local("SF Pro Display-Bold");
}
@font-face {
  font-family: "SF Pro Display-Medium";
  src: local("SF Pro Display-Medium");
}
@font-face {
  font-family: "SF Pro Display-Regular";
  src: local("SF Pro Display-Regular");
}
