/* Thallos — тёмная тема. Базовый цвет взят из самой иконки приложения (#03071a),
   поэтому логотип и OG-картинка стыкуются с фоном без швов. */

:root {
  --bg: #03071a;
  --bg-2: #060c22;
  --bg-3: #0a1130;
  --fg: #f7f9fc;
  --muted: #97a6b8;
  --dim: #6a798c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #35c9b8;
  --accent-2: #4ade9f;
  --sleep: #4ea1ff;
  --strain: #a78bfa;
  --maxw: 1180px;
  --readw: 720px;
  --ease: cubic-bezier(.22, .68, .26, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* height:auto обязателен: у картинок проставлены атрибуты width/height ради
   резервирования места при загрузке, и без этого CSS-ширина их растягивает. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(53, 201, 184, .3); color: #fff; }

/* Плёночное зерно поверх всей страницы: убирает «пластиковость» больших
   градиентных заливок и полосы на тёмных переходах. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--readw); }

/* ---------- Навигация ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 7, 26, .6);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled { background: rgba(3, 7, 26, .86); border-bottom-color: var(--line); }
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand img { width: 27px; height: 27px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(90deg) scale(1.08); }
.brand span { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 13.5px; white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-links a.nav-cta {
  color: var(--accent); box-shadow: inset 0 0 0 1px rgba(53, 201, 184, .4);
  padding: 7px 15px; border-radius: 980px; font-weight: 500;
}
.nav-links a.nav-cta:hover { background: rgba(53, 201, 184, .12); color: var(--accent-2); }
@media (max-width: 760px) {
  .nav-links { gap: 14px; }
  .nav-links a.hide-sm { display: none; }
}

/* ---------- Живой фон ---------- */

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .5;
  will-change: transform;
}
.aurora i:nth-child(1) {
  width: 780px; height: 780px; left: 50%; top: -280px; margin-left: -390px;
  background: radial-gradient(circle, rgba(53, 201, 184, .5), transparent 68%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora i:nth-child(2) {
  width: 620px; height: 620px; left: 8%; top: 120px;
  background: radial-gradient(circle, rgba(78, 161, 255, .38), transparent 68%);
  animation: drift2 27s ease-in-out infinite;
}
.aurora i:nth-child(3) {
  width: 560px; height: 560px; right: 4%; top: 30px;
  background: radial-gradient(circle, rgba(74, 222, 159, .32), transparent 68%);
  animation: drift3 31s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1) } 50% { transform: translate3d(-40px,50px,0) scale(1.12) } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1) } 50% { transform: translate3d(70px,-40px,0) scale(1.16) } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1) } 50% { transform: translate3d(-60px,60px,0) scale(1.1) } }

/* ---------- Герой ---------- */

.hero {
  position: relative; text-align: center; overflow: hidden;
  padding: 70px 24px 0;
}
.hero > .wrap, .hero > * { position: relative; z-index: 1; }

.hero-orb-wrap { position: relative; width: min(240px, 50vw); margin: 0 auto 30px; }
.hero-orb { width: 100%; animation: breathe 7s ease-in-out infinite; }
.hero-orb-wrap::before {
  content: ""; position: absolute; inset: -14%;
  border-radius: 50%; border: 1px solid rgba(53, 201, 184, .22);
  animation: spin 26s linear infinite;
}
.hero-orb-wrap::after {
  content: ""; position: absolute; inset: -26%;
  border-radius: 50%; border: 1px dashed rgba(120, 190, 255, .13);
  animation: spin 44s linear infinite reverse;
}
@keyframes breathe { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 44px rgba(53,201,184,.34)) } 50% { transform: scale(1.045); filter: drop-shadow(0 0 72px rgba(53,201,184,.5)) } }
@keyframes spin { to { transform: rotate(360deg) } }

.hero h1 {
  font-size: clamp(40px, 7.6vw, 88px);
  line-height: 1.03; letter-spacing: -.04em; font-weight: 700;
  margin: 0 0 22px;
}
.hero .sub {
  font-size: clamp(17px, 2.2vw, 23px); line-height: 1.45; color: var(--muted);
  max-width: 620px; margin: 0 auto 34px;
}
.gradient {
  background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 42%, var(--sleep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Поэтапное появление при загрузке */
.rise { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.rise.d1 { animation-delay: .05s } .rise.d2 { animation-delay: .16s }
.rise.d3 { animation-delay: .27s } .rise.d4 { animation-delay: .38s }
.rise.d5 { animation-delay: .5s }
@keyframes rise { to { opacity: 1; transform: none } }

.scroll-cue {
  display: block; width: 22px; height: 36px; margin: 46px auto 0;
  border: 1px solid var(--line-2); border-radius: 12px; position: relative;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 6px;
  margin-left: -1.5px; border-radius: 2px; background: var(--accent);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1 } 60% { transform: translateY(12px); opacity: .1 } }

/* ---------- Секции ---------- */

.section { padding: 116px 0; position: relative; }
.section.tight { padding: 78px 0; }
.panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.panel-up { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.headline {
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -.032em;
  font-weight: 700; margin: 0 0 20px;
}
.headline .muted { color: var(--dim); }
.body-lg { font-size: clamp(16px, 1.75vw, 19.5px); line-height: 1.62; color: var(--muted); margin: 0 0 16px; }
.center { text-align: center; }
.center .body-lg { margin-left: auto; margin-right: auto; max-width: 620px; }

/* ---------- Рамка телефона ---------- */

.phone { position: relative; width: min(304px, 74vw); margin: 0 auto; }
.phone-body {
  position: relative; border-radius: 46px; padding: 10px;
  background:
    linear-gradient(150deg, #46536f 0%, #1a2138 18%, #0b1122 48%, #161d33 78%, #4a5776 100%);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(255, 255, 255, .05),
    inset 0 1px 1px rgba(255, 255, 255, .22),
    inset 0 -1px 1px rgba(255, 255, 255, .1);
}
/* Фон рамки — тёмный, а не белый: пока картинка экрана не догрузилась, видно
   «выключенный дисплей», а не вспышку белого листа. */
.phone-screen {
  position: relative; border-radius: 37px; overflow: hidden;
  background: #0a0f1e; aspect-ratio: 1242 / 2688;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.phone-screen img { transition: opacity .4s var(--ease); }
.phone-screen img { width: 100%; display: block; }
/* Динамический остров */
.phone-body::after {
  content: ""; position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 14px; background: #05070e; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
/* Блик по стеклу */
.phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(112deg,
    transparent 32%, rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, .06) 52%, transparent 62%);
  transform: translateX(-140%);
  animation: glare 7.5s ease-in-out infinite;
}
@keyframes glare { 0%, 62% { transform: translateX(-140%) } 88%, 100% { transform: translateX(140%) } }
/* Свечение под устройством */
.phone::before {
  content: ""; position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%);
  width: 118%; height: 46%; border-radius: 50%; z-index: -1;
  background: radial-gradient(ellipse, rgba(53, 201, 184, .3), transparent 68%);
  filter: blur(42px);
}

/* ---------- Кольца показателей ---------- */

.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 62px; }
@media (max-width: 760px) { .rings { grid-template-columns: 1fr; gap: 42px; max-width: 300px; margin-inline: auto; } }
.ring-item { text-align: center; }
.ring-wrap { position: relative; width: 152px; height: 152px; margin: 0 auto 20px; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-wrap circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring-track { stroke: rgba(255, 255, 255, .07); }
.ring-bar { stroke-dasharray: 408; stroke-dashoffset: 408; transition: stroke-dashoffset 1.6s var(--ease); }
.in .ring-bar { stroke-dashoffset: var(--off); }
/* grid-auto-flow:column ставит число и знак «%» в строку (при place-items:center
   они складывались друг под другом), align-items:baseline сажает их на общую
   базовую линию, place-content центрирует пару внутри кольца. */
.ring-val {
  position: absolute; inset: 0;
  display: grid; grid-auto-flow: column; place-content: center; align-items: baseline;
  font-size: 33px; font-weight: 300; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.ring-val small { font-size: 15px; opacity: .55; margin-left: 2px; }
.ring-item h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 9px; font-weight: 600; }
.ring-item p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Залипающая витрина ---------- */

.showcase { position: relative; }
.showcase-pin {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  display: grid; place-items: center; overflow: hidden;
}
.sc-slide {
  position: absolute; inset: 0; margin: auto; width: 100%;
  max-width: var(--maxw); padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;
  align-content: center;
  opacity: 0; transform: translateY(28px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.sc-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.sc-slide:nth-child(even) .sc-media { order: -1; }
.sc-media .phone { width: min(268px, 62vw); }
.sc-progress {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.sc-progress b {
  width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16);
  transition: background .4s var(--ease), width .4s var(--ease);
}
.sc-progress b.on { background: var(--accent); width: 40px; }

@media (max-width: 900px) {
  .showcase { height: auto !important; }
  .showcase-pin { position: static; height: auto; min-height: 0; display: block; padding: 20px 0; }
  .sc-slide {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    grid-template-columns: 1fr; gap: 36px; padding: 54px 24px; margin: 0 auto;
  }
  .sc-slide:nth-child(even) .sc-media { order: 0; }
  .sc-progress { display: none; }
}

/* ---------- Крупные числа ---------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px 30px; }
.stat .num {
  font-size: clamp(46px, 6.4vw, 74px); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  margin: 0 0 14px; font-variant-numeric: tabular-nums;
}
.stat p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.55; }
/* `.stat p` (0,1,1) перебивал `color: transparent` из `.gradient` (0,1,0),
   и числа выходили сплошным серым вместо градиента. */
.stat .num.gradient { color: transparent; }

/* ---------- Карточки ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }

/* Поверхность карточки — светлее фона за счёт полупрозрачной заливки, а не
   отдельного цвета: так она одинаково читается и на #03071a, и на панелях.
   Плюс светлая линия по верхней кромке — она и создаёт ощущение объёма. */
.card {
  position: relative; border-radius: 22px; padding: 28px 26px; overflow: hidden;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .028) 46%, rgba(255, 255, 255, .015) 100%),
    var(--bg-2);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 50px -34px rgba(0, 0, 0, .95);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(53, 201, 184, .16), transparent 46%);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 201, 184, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 60px -30px rgba(0, 0, 0, .95),
              0 0 44px -18px rgba(53, 201, 184, .5);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font-size: 18.5px; margin: 0 0 10px; letter-spacing: -.014em; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.58; }

/* Иконка в тонированном квадрате */
.card-ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(53, 201, 184, .2), rgba(53, 201, 184, .05));
  border: 1px solid rgba(53, 201, 184, .28);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.card-ico svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-ico { transform: scale(1.08) rotate(-4deg); border-color: rgba(74, 222, 159, .55); }

/* Бенто: широкие карточки чередуются слева и справа, ряды всегда заполнены */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .card:nth-child(1),
.bento .card:nth-child(4),
.bento .card:nth-child(6) { grid-column: span 2; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card:nth-child(1),
  .bento .card:nth-child(4),
  .bento .card:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card:nth-child(n) { grid-column: span 1; }
}

/* ---------- Живой отклик на курсор ---------- */

/* Пятно света едет за курсором по герою — страница «замечает» посетителя */
.cursor-glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  left: 0; top: 0; margin: -310px 0 0 -310px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(53, 201, 184, .13), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease);
  will-change: transform;
}
.hero:hover .cursor-glow { opacity: 1; }

/* Кнопки чуть тянутся к курсору */
.magnetic { will-change: transform; }

/* ---------- Демонстрация ассистента ---------- */

.ask { display: grid; grid-template-columns: 300px 1fr; gap: 26px; margin-top: 46px; text-align: left; }
@media (max-width: 880px) { .ask { grid-template-columns: 1fr; gap: 18px; } }

.ask-chips { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 880px) { .ask-chips { flex-direction: row; flex-wrap: wrap; } }
.ask-chip {
  appearance: none; cursor: pointer; text-align: left; font: inherit; font-size: 15px;
  color: var(--muted); padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1);
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.ask-chip:hover { color: var(--fg); border-color: rgba(53, 201, 184, .45); transform: translateX(3px); }
.ask-chip.on {
  color: var(--fg); background: rgba(53, 201, 184, .12);
  border-color: rgba(53, 201, 184, .55);
}

.ask-window {
  border-radius: 22px; padding: 26px 26px 22px; min-height: 300px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 26px 56px -34px rgba(0, 0, 0, .95);
  display: flex; flex-direction: column; gap: 16px;
}
.ask-q {
  align-self: flex-end; max-width: 86%; padding: 11px 16px; border-radius: 16px 16px 4px 16px;
  background: rgba(167, 139, 250, .18); border: 1px solid rgba(167, 139, 250, .3);
  font-size: 15px; color: var(--fg);
}
.ask-a {
  max-width: 92%; padding: 14px 17px; border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  font-size: 15px; line-height: 1.6; color: var(--muted); white-space: pre-wrap;
}
.ask-a b { color: var(--fg); font-weight: 600; }
.ask-a .cur {
  display: inline-block; width: 7px; height: 15px; vertical-align: -2px;
  background: var(--accent); margin-left: 2px; animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0 } }
.ask-note { color: var(--dim); font-size: 13.5px; margin: 18px 0 0; }

/* ---------- Манифест: крупные строки, появляются одна за другой ---------- */

.creed { text-align: center; max-width: 940px; margin: 0 auto; }
.creed p {
  font-size: clamp(23px, 3.5vw, 46px); line-height: 1.22; letter-spacing: -.035em;
  font-weight: 600; margin: 0 0 22px; color: var(--fg);
}
.creed p:last-child { margin-bottom: 0; }
.creed .dim { color: var(--dim); }
.creed .accent { color: var(--accent); }
.creed .small {
  font-size: clamp(16px, 1.9vw, 20px); font-weight: 400; line-height: 1.6;
  color: var(--muted); letter-spacing: 0; max-width: 620px; margin-inline: auto;
}
.creed-rule {
  width: 1px; height: 64px; margin: 0 auto 46px;
  background: linear-gradient(180deg, transparent, var(--accent));
}

/* Полноширинное утверждение перед призывом */
.statement {
  text-align: center; font-size: clamp(26px, 4.2vw, 54px); line-height: 1.14;
  letter-spacing: -.035em; font-weight: 700; max-width: 900px; margin: 0 auto;
}
.statement .gradient { display: inline; }

/* ---------- Три шага ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 58px; text-align: left; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin-inline: auto; } }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(53, 201, 184, .05));
}
.step .n {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--accent);
  display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.018em; font-weight: 600; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.6; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block; background: var(--accent); color: #01201d;
  padding: 14px 28px; border-radius: 980px; font-weight: 600; font-size: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 10px 30px -8px rgba(53, 201, 184, .55);
}
.btn:hover { background: var(--accent-2); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(74, 222, 159, .7); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(53, 201, 184, .45); }
.btn.ghost:hover { background: rgba(53, 201, 184, .1); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(74, 222, 159, .7); }

/* Загрузка: официальный бейдж App Store + запасная текстовая кнопка */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.badge { display: inline-block; line-height: 0; transition: transform .25s var(--ease), filter .25s; }
.badge:hover { transform: translateY(-3px); filter: brightness(1.08); text-decoration: none; }
.badge img { width: 182px; }
#download .badge img { width: 208px; }
.soon { color: var(--dim); font-size: 14.5px; margin: 20px 0 0; }

/* ---------- Плашка-предупреждение ---------- */

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--bg-2); border-radius: 14px; padding: 19px 23px; margin: 26px 0;
  color: var(--muted); font-size: 15.5px; line-height: 1.62;
}
.callout strong { color: var(--fg); }

/* ---------- Подвал ---------- */

.footer { border-top: 1px solid var(--line); padding: 48px 0 60px; background: var(--bg); }
.footer-in { display: flex; flex-wrap: wrap; gap: 18px 34px; justify-content: space-between; align-items: center; }
.footer a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--fg); text-decoration: none; }
.footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer .copy { color: var(--dim); font-size: 13.5px; }

/* ---------- Текстовые (юридические) страницы ---------- */

.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.09; letter-spacing: -.032em; margin: 0 0 12px; font-weight: 700; }
.doc .updated { color: var(--dim); font-size: 14.5px; margin: 0 0 38px; }
.doc .lede { font-size: 19px; color: var(--muted); line-height: 1.58; margin: 0 0 28px; }
.doc h2 { font-size: 23px; letter-spacing: -.018em; margin: 48px 0 14px; font-weight: 600; }
.doc h3 { font-size: 17.5px; margin: 28px 0 9px; font-weight: 600; }
.doc p, .doc li { color: var(--muted); line-height: 1.7; }
.doc p { margin: 0 0 15px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc li::marker { color: var(--dim); }
.doc strong { color: var(--fg); font-weight: 600; }
.doc .card { margin: 20px 0; }
.doc .card:hover { transform: none; }
.doc .card h3 { margin-top: 0; }

.tablewrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
th { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* ---------- Появление при прокрутке ---------- */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s } .reveal.d2 { transition-delay: .16s } .reveal.d3 { transition-delay: .24s }

/* ---------- Телефон: плотнее по вертикали ---------- */

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section.tight { padding: 56px 0; }
  .hero { padding-top: 44px; }
  .hero-orb-wrap { margin-bottom: 24px; }
  .rings { margin-top: 46px; }
  .stats { gap: 40px 24px; text-align: center; }
  .stat .num { margin-bottom: 10px; }
  .callout { padding: 16px 18px; }
  .cards { gap: 14px; }
  .card { padding: 22px 20px; }
  .doc { padding: 46px 0 72px; }
  .doc h2 { margin-top: 38px; }
  .footer { padding: 36px 0 46px; }
  .footer-in { justify-content: center; text-align: center; }
  .footer .links { justify-content: center; }
  .sc-slide { padding: 44px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise { opacity: 1 !important; transform: none !important; transition: none; animation: none; }
  .hero-orb, .hero-orb-wrap::before, .hero-orb-wrap::after,
  .aurora i, .phone-screen::after, .scroll-cue::after { animation: none !important; }
  .ring-bar { transition: none; }
}
