/* ===== База ===== */
:root {
  --bg: #0E0E0E;
  --text: #ffffff;
  --font: 'Geist', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; }

.nowrap { white-space: nowrap; }

/* ===== Подвал ===== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 96px 24px 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 96px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-name {
  font-size: 18px;
  font-weight: 600;
}

.footer-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.40);
  font-size: 16px;
  line-height: 140%;
}

.footer-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
  line-height: 140%;
}

.footer-copy {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

.footer-copy a { color: rgba(255, 255, 255, 0.4); }

/* ===== Шапка ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* ===== Hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 24px 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.hero-title {
  margin: 0;
  max-width: 20ch;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.hero-subtitle {
  margin: 0;
  max-width: 62ch;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

/* Карусель экранов: одна и та же «листалка» на всех ширинах,
   на широких экранах не растягивается (max-width) */
.hero-screens {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 40px;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* вертикальный запас под увеличение центрального экрана;
     боковые отступы — чтобы крайние экраны не прилипали к краю */
  padding: 36px 48px;
  scrollbar-width: none;
}
.hero-screens::-webkit-scrollbar { display: none; }

.screen {
  width: auto;
  height: 494px;
  flex-shrink: 0;
  aspect-ratio: 723 / 1526; /* исходная пропорция скриншотов */
  scroll-snap-align: center;
  scroll-snap-stop: always; /* пейджинг: один свайп — один экран */
}
/* центрирование содержимого, корректно вырождающееся при переполнении */
.screen:first-child { margin-left: auto; }
.screen:last-child { margin-right: auto; }

/* ===== Waitlist ===== */
.waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 144px 24px 96px;
}

.waitlist-title {
  margin: 0;
  color: #FFF;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.waitlist-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.40);
  text-align: center;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 26.4px */
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.waitlist-input {
  width: 400px;
  max-width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #FFF;
  text-align: center;
  font-family: var(--font);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
}

.waitlist-input::placeholder {
  color: #FFF;
  opacity: 0.2;
}

.waitlist-input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.2);
}

.waitlist-submit {
  width: 400px;
  max-width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: #FFF;
  color: #0E0E0E;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
}

.waitlist-submit:hover { background: rgba(255, 255, 255, 0.9); }

/* ===== Features ===== */
.features {
  padding: 96px 24px;
}

.features-title {
  margin: 0 0 48px;
  color: #FFF;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1104px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  grid-row: span 1;
  grid-column: span 1;
  justify-self: stretch;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-card h3 {
  margin: 0;
  color: #FFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.40);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

.android-icon {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: -1px;
}

/* На узких экранах карусель full-bleed: выходим из бокового
   паддинга .hero, чтобы картинки уходили за край экрана */
@media (max-width: 767px) {
  .hero-screens {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }

  /* уменьшенные заголовки на мобильных */
  .hero-title { font-size: 40px; }
  .waitlist-title,
  .features-title { font-size: 32px; }
}

.logo {
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  box-shadow: 0 4px 250px 8px #FFF;
}
