/**
 * Стили лендинга akvint.pro (до 30.09.2026 — вторая проба на /test/).
 *
 * Основа — макет владельца tmp/AkvintV2.html; стили вынесены из страницы
 * в файл, чтобы их держала test/palette.test.ts: светлая и тёмная тема —
 * подмена переменных палитры, и цвет, зашитый числом ниже неё, остался бы
 * светлым пятном на тёмной странице (тёмная тема — просьба владельца,
 * 30.09.2026). Шрифты — свои, из ../fonts: ничего с чужих серверов.
 */

/* Свои шрифты: переменные, один файл на набор символов — поэтому
   @font-face на набор, а не на вес. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/onest-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Layout: light single-column flow. Every block is a band with its own label + H2; bands alternate white / pale blue and are split by a hairline. */
:root {
  --bg: #F4F8FA;
  --surface: #FFFFFF;
  --ink: #10293A;
  --muted: #4A6070;
  --faint: #9AAEBA;
  --line: #D9E4EA;
  --accent: #0B7A7C;
  --accent-soft: #E0F2F1;
  --accent-ink: #075759;
  --accent-line: #9DC7C8;
  --on-accent: #FFFFFF;
  --warn: #B83A30;
  --warn-soft: #FBE9E6;
  --header-bg: rgba(255, 255, 255, .94);
  --phone: #10293A;
  --shadow: 0 18px 40px -18px rgba(16, 41, 58, .28);
  /* Тёмные блоки — «Аквинт» в сравнении, приватность, последний призыв. */
  --inv-bg: #10293A;
  --inv-text: #FFFFFF;
  --inv-muted: #C9DAE3;
  --inv-faint: #9EB6C4;
  --inv-accent: #8FD3D0;
  --inv-line: rgba(255, 255, 255, .4);
  --f-display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* Тёмная — только по выбору кнопкой в шапке: по умолчанию страница светлая,
   какая бы тема ни стояла в системе (решение владельца, 30.09.2026).
   Значения — из тёмной палитры приложения (src/styles.css): человек
   уходит отсюда в приложение, и цвета по пути не должны меняться.
   Тёмные блоки в тёмной теме — глубокая бирюза: тёмно-синий макета
   на тёмном фоне пропал бы. */
:root[data-theme='dark'] {
  --bg: #0A1B24;
  --surface: #122B37;
  --ink: #E9F2F4;
  --muted: #9FB6C0;
  --faint: #5F7A86;
  --line: #2A4C5C;
  --accent: #23A38D;
  --accent-soft: #143A37;
  --accent-ink: #3FD1B0;
  --accent-line: #2F7F74;
  --on-accent: #02231D;
  --warn: #F2766A;
  --warn-soft: #3A1E1D;
  --header-bg: rgba(10, 27, 36, .92);
  --phone: #2A4C5C;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --inv-bg: #0F3A3D;
  --inv-text: #FFFFFF;
  --inv-muted: #C9DAE3;
  --inv-faint: #9EB6C4;
  --inv-accent: #8FD3D0;
  --inv-line: rgba(255, 255, 255, .4);
  color-scheme: dark;
}

/* ——— Ниже палитры цветов числом нет: test/palette.test.ts ——— */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  padding-inline: 0; margin: 0;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* blocks */
.band { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.band.white { background: var(--surface); }
.band.tint { background: var(--bg); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 40px; max-width: 780px; }
.sec-label { font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 14px; border-radius: 99px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.sub-h { margin-bottom: 16px; }
.eyebrow { font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 14px 24px; border-radius: 12px; border: 2px solid transparent; min-height: 50px; text-align: center; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .92rem; border-radius: 10px; }
.top .btn-sm { white-space: nowrap; }
/* До 400 точек логотип, кнопка темы и «Попробовать бесплатно» в одну строку
   не входят: на 320 страница съезжала вбок на 24 точки (ревью), на 360
   и 375 — на 28, с тех пор как в шапке встала кнопка темы (замер,
   30.09.2026). Там кнопка переносит слово на вторую строку. */
@media (max-width: 399px) { .top .btn-sm { white-space: normal; line-height: 1.15; padding: 6px 10px; } }
@media (max-width: 420px) { .top .wrap { gap: 10px; } .top .btn-sm { padding: 8px 12px; font-size: .85rem; } .brand { font-size: 1.1rem; gap: 8px; } }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 900px) { .nav { display: flex; } }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 80px) clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lead { font-size: 1.18rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts svg { flex: none; }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; font-size: .88rem; font-weight: 500; }
.chip.ok svg { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* На широком экране плашки лежали поверх телефона и закрывали снимок:
   первая — верх «Обзора», вторая — полосу вкладок (замечание владельца,
   30.09.2026). Теперь они и там строкой под телефоном, как на узком. */
.demo-note { font-size: .8rem; color: var(--muted); text-align: center; }

/* Рамка телефона; внутри — снимок приложения. Стили нарисованных экранов
   макета убраны вместе с ними: их заменили снимки. */
.phone { width: min(292px, 100%); background: var(--phone); border-radius: 38px; padding: 10px; box-shadow: var(--shadow); }
.screen { border-radius: 29px; overflow: hidden; }

/* problem */
.pain { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pain li { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.pain svg { flex: none; margin-top: 4px; color: var(--warn); }

/* for whom */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .98rem; padding: 10px 18px; border-radius: 99px; }
.cmp-wrap { margin-top: 56px; }
.cmp { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .cmp { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cmp > div { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cmp > div.us { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.cmp > div.us p { color: var(--inv-muted); }
.cmp p { color: var(--muted); font-size: .96rem; }
.cmp .lbl { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); font-family: var(--f-display); }
.cmp .us .lbl { color: var(--inv-accent); }

/* solution: desktop = tabs on the left + one phone; phone = swipeable row of cards */
.sol { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.slide { display: flex; flex-direction: column; gap: 14px; }
.tab { text-align: left; font: inherit; background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; display: grid; gap: 4px; transition: border-color .15s, background .15s; }
.tab b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.tab span { font-size: .94rem; color: var(--muted); }
.phone-cell { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.touch { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; font-size: .78rem; color: var(--muted); }
.touch b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .72rem; margin-right: 5px; }
.sol-foot { margin-top: 18px; }
.swipe-hint, .dots { display: none; }

@media (max-width: 899px) {
  /* Лента — сеткой, а слайды делят с ней строки (subgrid): описание над
     телефоном у всех слайдов одной высоты, и телефоны при листании стоят
     на одной линии, а не прыгают вслед за двумя или тремя строками текста
     (снимок владельца с iPhone, 30.09.2026). */
  .sol { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(86%, 330px); grid-template-rows: auto auto; column-gap: 14px; row-gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: -20px; padding: 4px 20px 16px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .sol::-webkit-scrollbar { display: none; }
  .slide { grid-row: span 2; display: grid; grid-template-rows: subgrid; align-items: start; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 20px; }
  .slide .tab { background: none; border: 0; padding: 0 2px; cursor: default; pointer-events: none; }
  .slide .tab b { font-size: 1.1rem; }
  .swipe-hint { display: block; text-align: center; font-size: .85rem; color: var(--muted); margin-top: 4px; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
  .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .15s, width .15s; }
  .dots i.on { background: var(--accent); width: 22px; border-radius: 99px; }
}
/* Браузер без subgrid (Safari до 16): слайды — столбцом, описание растягивается
   и прижимает телефон к низу слайда; строка «1 Сумма 2 Статья» под первым
   телефоном его чуть приподнимает, но прыжка на целую строку нет. */
@supports not (grid-template-rows: subgrid) {
  @media (max-width: 899px) {
    .slide { display: flex; flex-direction: column; gap: 14px; }
    .slide .tab { flex: 1; align-content: start; }
  }
}
@media (min-width: 900px) {
  .sol { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: repeat(4, auto); column-gap: 72px; row-gap: 10px; align-items: start; }
  .slide { display: contents; }
  .slide .tab { grid-column: 1; }
  .slide:nth-child(1) .tab { grid-row: 1; }
  .slide:nth-child(2) .tab { grid-row: 2; }
  .slide:nth-child(3) .tab { grid-row: 3; }
  .slide:nth-child(4) .tab { grid-row: 4; }
  .slide .phone-cell { grid-column: 2; grid-row: 1 / span 4; align-self: center; display: none; }
  .slide.on .phone-cell { display: flex; }
  .tab:hover { border-color: var(--accent-line); }
  .slide.on .tab { border-color: var(--accent); background: var(--accent-soft); }
  .slide.on .tab span { color: var(--ink); }
  .sol-foot { text-align: center; }
}

/* privacy */
.utp { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); background: var(--inv-bg); color: var(--inv-text); border-radius: 26px; padding: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .utp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.utp h3 { color: var(--inv-text); font-size: 1.3rem; }
.utp-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.utp-points li { display: flex; gap: 12px; color: var(--inv-text); }
.utp-points svg { flex: none; margin-top: 4px; color: var(--inv-accent); }
.mech { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.mech-title { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: stretch; }
.node { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; font-size: .78rem; line-height: 1.35; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.node svg { color: var(--accent); }
.node.mid { background: var(--bg); border-style: dashed; }
.node.mid svg { color: var(--muted); }
.node b { font-family: var(--f-display); font-weight: 600; }
.arrow { align-self: center; color: var(--muted); font-size: 1.1rem; }
.mech-cap { font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .arrow { transform: rotate(90deg); justify-self: center; }
}

/* features */
.ben { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ben { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ben { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ben > div { background: var(--bg); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ben .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.ben p { color: var(--muted); font-size: .95rem; }
.roles { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .roles { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 40px; } }
.roles p { color: var(--muted); margin-top: 8px; }
.role-list { display: grid; gap: 10px; }
.role { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: .93rem; }
.role b { font-family: var(--f-display); font-weight: 600; }
@media (max-width: 480px) { .role { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* trust */
.fr { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fr { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.fr-main { display: flex; flex-direction: column; gap: 16px; }
.fr-main > p { color: var(--muted); }
.people { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: .92rem; color: var(--muted); }
.person b { display: block; font-family: var(--f-display); color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.stat-big { background: var(--accent-soft); border-radius: 18px; padding: 22px; }
.stat-big b { font-family: var(--f-display); font-size: 2.4rem; color: var(--accent-ink); display: block; line-height: 1.1; }
.stat-big span { color: var(--ink); font-size: .96rem; }
.cases { display: grid; gap: 12px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.case small { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; color: var(--muted); font-family: var(--f-display); }
.case p { font-size: .96rem; }
.case b { color: var(--accent-ink); font-weight: 600; }
.proof-wrap { margin-top: 56px; }
.proof { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof > div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.proof p { color: var(--muted); font-size: .95rem; }
.proof a { font-weight: 600; margin-top: auto; padding-top: 6px; }
.fb { margin-top: 20px; font-size: .96rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }

/* test */
.test-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .test-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan.main { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.badge { align-self: flex-start; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.badge.quiet { background: var(--bg); color: var(--muted); }
.price { font-family: var(--f-display); font-weight: 700; font-size: 2.1rem; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-note { color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li svg { flex: none; margin-top: 4px; color: var(--accent); }
.plan li.off { color: var(--muted); }
.plan li.off svg { color: var(--faint); }
.plan .btn { margin-top: auto; }
.start { margin-top: 48px; }
.steps { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: s; padding: 0; margin: 0; list-style: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--bg); border-radius: 16px; padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-weight: 700; }
.steps b { font-family: var(--f-display); font-weight: 600; display: block; }
.steps span { color: var(--muted); font-size: .94rem; }
.invite { margin-top: 18px; background: var(--accent-soft); border-radius: 18px; padding: 20px 24px; }
.invite p { max-width: 70ch; }
.after { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* faq */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 68ch; }

/* final cta */
.final { background: var(--inv-bg); color: var(--inv-text); border-radius: 28px; padding: clamp(32px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final p { color: var(--inv-muted); max-width: 52ch; }
.final .cta-row { justify-content: center; margin-top: 6px; }
.final .btn-ghost { background: transparent; color: var(--inv-text); border-color: var(--inv-line); }
.final .btn-ghost:hover { border-color: var(--inv-text); }
.final small { color: var(--inv-faint); }

/* footer */
.foot-band { padding-block: 48px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-title { font-size: 1.5rem; margin-bottom: 28px; }
.foot { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .foot { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot h4 { font-family: var(--f-display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .96rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { color: var(--muted); font-size: .93rem; margin-top: 10px; max-width: 38ch; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Снимки приложения в рамке телефона — вместо нарисованных экранов. */
.screen.shot img { display: block; width: 100%; height: auto; border-radius: 29px; }
/* Скрытая ссылка — там, где синяя подчёркнутая выбивалась бы из надписи,
   заголовка или подвала: цвет и начертание окружающего текста, подчёркивание
   только при наведении. Фокус с клавиатуры виден по общему :focus-visible. */
a.hl { color: inherit; text-decoration: none; }
a.hl:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Логотип — картинкой: знак и слово в одной пропорции при любом масштабе. */
.brand img { display: block; height: 34px; width: auto; }
@media (max-width: 420px) { .brand img { height: 28px; } }

/* Картинки под тему: снимки приложения и логотип сделаны в обеих, и страница
   показывает ту, что совпадает с её собственной. Скрытая с loading="lazy"
   не качается. */
.for-dark { display: none !important; }
:root[data-theme='dark'] .for-dark { display: block !important; }
:root[data-theme='dark'] .for-light { display: none !important; }

/* Переключатель темы — одна кнопка: в шапке телефона места на две нет.
   Значок показывает, куда переключит: луна в светлой, солнце в тёмной. */
.top-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .to-light { display: none; }
:root[data-theme='dark'] .theme-toggle .to-light { display: block; }
:root[data-theme='dark'] .theme-toggle .to-dark { display: none; }
@media (max-width: 420px) { .top-actions { gap: 8px; } .theme-toggle { width: 36px; height: 36px; } }
