/* Лендинг приложения — цвета, шрифты и скругления из дизайна приложения (docs/new-app/tokens.json). */

@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("fonts/exo2.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("fonts/exo2-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --surface: #F3F3F3;
  --surface-2: #E8E8E8;
  --text: #1E1E1E;
  --text-2: #41474E;
  --outline: #C0C7CF;
  --link: #006780;
  --tonal: #D2E5F2;
  --on-tonal: #0D1D26;
  --cta: #00B9E4;
  --on-cta: #1E1E1E;
  --hero: #30363C;
  --hero-text: #FFFFFF;
  --hero-text-2: #B7C9D5;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='27.71'%3E%3Cpath d='M0 0V27.71M24 0V27.71M0 0L48 27.71M0 27.71L48 0' stroke='%2300B9E4' stroke-opacity='.16' fill='none'/%3E%3C/svg%3E");
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 28px;
  --wrap: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1E1E;
    --surface: #262626;
    --surface-2: #303030;
    --text: #E2E2E2;
    --text-2: #C0C7CF;
    --outline: #41474E;
    --link: #00B9E4;
    --tonal: #384953;
    --on-tonal: #D2E5F2;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: "Exo 2", "Inter", sans-serif; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 32px; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Шапка: логотип, разделы, «Скачать» */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--outline) 60%, transparent);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.top-logo { color: var(--text); display: inline-flex; }
.logo { display: block; height: 22px; width: auto; }
.top-nav { display: flex; gap: 24px; margin-left: auto; }
.top-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top-nav { display: none; } .top-row .btn { margin-left: auto; } }

/* Кнопки и кнопки магазинов */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.btn-cta { background: var(--cta); color: var(--on-cta); }
.btn-cta:hover { background: #03AAD0; }
.btn-small { height: 40px; padding: 0 20px; font-size: 15px; }
.push { margin-left: auto; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 176px; height: 60px; padding: 0 22px; border-radius: var(--radius-l);
  background: var(--cta); color: var(--on-cta); text-decoration: none; line-height: 1.15;
}
.store-small { font-size: 12px; font-weight: 500; opacity: .8; }
.store-big { font-family: "Exo 2", "Inter", sans-serif; font-size: 20px; font-weight: 700; }
.store-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.store.is-soon { cursor: default; }

/* Первый экран — графитовая плашка с изометрической сеткой и голубым уголком, как карточка бонусов в приложении */
.hero {
  position: relative; overflow: hidden;
  background: var(--grid) var(--hero);
  color: var(--hero-text);
}
.hero::after {
  content: ""; position: absolute; top: 0; right: 0; width: min(38vw, 420px); height: min(30vw, 300px);
  background: linear-gradient(225deg, #00B9E4 0 49.6%, transparent 50%);
  pointer-events: none;
}
.hero-row { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.eyebrow { color: var(--cta); font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-style: italic; font-weight: 800; }
.lead { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: var(--hero-text-2); max-width: 32em; }
.hero .store-ghost { color: var(--hero-text); }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--hero-text-2); max-width: 34em; }

.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 260px; }
.phone-front { right: 14%; top: 0; z-index: 2; }
.phone-back { right: 46%; top: 56px; transform: rotate(-6deg); opacity: .92; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 0; }
  .hero-phones { height: 380px; overflow: hidden; margin: 0 -20px; }
  .hero-phones .phone { width: 210px; }
  .phone-front { right: calc(50% - 160px); }
  .phone-back { right: calc(50% + 10px); top: 40px; }
}

/* Телефон: снимок экрана в скруглённой рамке */
.phone {
  margin: 0; aspect-ratio: 1080 / 2100; border-radius: 34px; overflow: hidden;
  border: 9px solid #121416; background: #121416;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* Разделы */
.section { padding: 88px 0; }
.section-tint { background: var(--surface); }

/* Как это работает: 1 — вход; 2 — на мойке два способа: QR на посту или пост из приложения (слова владельца 28.10.2026) */
.how { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.way { background: var(--bg); border-radius: var(--radius-l); padding: 20px; }
.way h4 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.way p { font-size: 15.5px; }
.step { background: var(--surface); border-radius: var(--radius-xl); padding: 28px; }
.step-num {
  display: block; font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 800;
  font-size: 56px; line-height: 1; color: var(--cta); margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-2); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--bg); border-radius: var(--radius-l); padding: 24px; }
.feature-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-m);
  background: var(--tonal); color: var(--on-tonal); margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; font-size: 18px; }
.feature p { color: var(--text-2); font-size: 15.5px; }
.aside { margin-top: 28px; color: var(--text-2); font-size: 15.5px; max-width: 48em; }

@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .how, .ways, .features { grid-template-columns: 1fr; }
}

/* Экраны — лента телефонов, листается вбок */
.gallery {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 28px;
  scrollbar-width: thin;
}
.shot { margin: 0; flex: 0 0 220px; scroll-snap-align: center; }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--text-2); text-align: center; }
.shot .phone { box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); }

/* Скачать — та же графитовая плашка, что наверху */
.download { background: var(--grid) var(--hero); color: var(--hero-text); padding: 72px 0; }
.download-row { display: flex; align-items: center; gap: 36px; }
.download h2 { margin-bottom: 10px; }
.download p { color: var(--hero-text-2); font-size: 18px; }
.download .stores { margin-top: 24px; }
.download .store-ghost { color: var(--hero-text); }
.download-icon { width: 96px; height: 96px; flex: none; border-radius: 50%; box-shadow: 0 0 0 6px rgba(0, 185, 228, .25); }
@media (max-width: 760px) { .download-row { flex-direction: column; align-items: flex-start; } }

/* Подвал */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--outline); }
.foot-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand a:first-child { color: var(--text); display: inline-flex; margin-bottom: 14px; }
.foot-brand p { color: var(--text-2); font-size: 15px; max-width: 30em; }
.foot-docs { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-docs a { color: var(--text-2); }
.foot-legal { margin-top: 32px; color: var(--text-2); font-size: 13px; }

/* Документы — текст из приложения */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }
.doc h1 { font-family: "Exo 2", "Inter", sans-serif; font-size: clamp(26px, 4vw, 34px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 12px; }
.doc p, .doc li { margin: 0 0 12px; color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.logo-inline { display: inline-block; height: .72em; width: auto; vertical-align: baseline; margin: 0 .1em; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; }
