/* Сайты «Подписка для …». Сначала телефон.
   Вид задаётся темой на <html data-theme>: happ — светлый сине-фиолетовый, incy — тёмно-зелёный с лаймом.
   Цвета incy сняты с настоящих экранов приложения INCY 4.0.1 (18.11.2026): фон #0e1a11…#09110b,
   кнопки и выделения #b8da48, текст на них тёмный. */
/* Montserrat — шрифт самого приложения INCY (лежит внутри него четырьмя начертаниями). Лицензия SIL OFL 1.1,
   текст — assets/fonts/OFL.txt. Файлы переменные (400–700), по одному на набор знаков; браузер качает
   только те, знаки которых есть на странице, и только там, где шрифт назначен, то есть на incy.at. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/montserrat-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/montserrat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/montserrat-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; }
:root {
  --bg: #fbfbfe;
  --surface: #ffffff;
  --soft: #f1f1fb;
  --text: #14152b;
  --muted: #5f6278;
  --line: #e4e4f1;
  --line-strong: #c4c4de;
  --field-edge: #8788ab;
  --app-bg: #f1f1f5;
  --app-knob: #ffffff;
  --app-idle: #b3b3c0;
  --app-ring: rgba(20, 21, 43, .04);
  --accent: #5b5bd6;
  --accent-ink: #ffffff;
  --accent-soft: #ecebff;
  --link: #4747c2;
  --btn-radius: 12px;
  /* тени нейтральные и небольшие; цветных теней и свечения нет */
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --app-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  --hero-bg: none;
  --gutter: 20px;
  /* системный шрифт устройства: приложение Happ на нём и работает */
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-ui);
  --sticky-h: 0px;
  color-scheme: light;
}
[data-theme="incy"] {
  --bg: #0b140f;
  --surface: #121f18;
  --soft: #0f1a14;
  --text: #e8f5f0;
  --muted: #9dada5;
  --line: #21342a;
  --line-strong: #3b5546;
  --field-edge: #5f7d6b;
  --app-bg: linear-gradient(180deg, #0e1a11 0%, #09110b 100%);
  --app-knob: #11201a;
  --app-idle: #6b9080;
  --app-ring: #1d3325;
  --accent: #b8da48;
  --accent-ink: #101b08;
  --accent-soft: rgba(184, 218, 72, .13);
  --link: #b8da48;
  --btn-radius: 12px;
  --font-display: "Montserrat", var(--font-ui);
  /* в тёмной теме глубину дают ступени поверхности и тонкие линии, а не тени */
  --card-shadow: none;
  --app-shadow: none;
  /* как в самом приложении: сверху фон чуть светлее, книзу темнеет; без сетки и пятна в углу */
  --hero-bg: linear-gradient(180deg, #0e1a11 0%, #0b140f 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font-ui);
  padding-bottom: var(--sticky-h);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
/* Выбор срока и способа оплаты: кольцо только при управлении с клавиатуры, вокруг самой кнопки.
   У поля почты своя рамка (seo.css), второе кольцо вокруг подписи не нужно. */
.seg input:focus-visible + span, .methods input:focus-visible + span, .trial input:focus-visible + span {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
h2 { letter-spacing: -0.01em; }
b, strong { font-weight: 600; }
/* цифры одной ширины: цены и сроки не «прыгают» при переключении */
.plan-price, .t-total, .t-pm, .tiles b, .steps li::before { font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(40px, 11.5vw, 68px); }
h2 { font-size: clamp(28px, 7.4vw, 44px); }
h3 { font-size: 19px; letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
p, li, figcaption { text-wrap: pretty; }
.sub { margin-top: 12px; color: var(--muted); max-width: 40em; }

/* шапка */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; letter-spacing: 0; }
.brand svg { width: 32px; height: 32px; flex: none; }
/* у INCY логотип — сама надпись, без квадрата */
.brand svg.word { width: auto; height: 18px; }
.top nav { display: none; gap: 24px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }
.top .top-buy { display: none; }
.top-help { font-size: 15px; color: var(--muted); text-decoration: none; }
.top-help:hover { color: var(--text); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 16px 24px; border: 0; border-radius: var(--btn-radius);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 17px; font-weight: 600;
  text-decoration: none; text-align: center; cursor: pointer; letter-spacing: 0; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn.wide { width: 100%; }
.btn.small { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--field-edge); }
.btn.quiet:hover { box-shadow: inset 0 0 0 1.5px var(--accent); filter: none; }
.link { color: var(--muted); font-size: 16px; }
.link:hover { color: var(--text); }

/* первый экран */
.hero { background: var(--hero-bg); padding: 24px 0 40px; }
.hero h1 span { color: var(--accent); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 12px 8px 12px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 30em; }

/* блок покупки */
.buy { margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 12px 4px; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: center; white-space: nowrap; background: var(--soft); box-shadow: inset 0 0 0 1px var(--field-edge); }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.buy-row { margin-top: 20px; display: grid; gap: 16px; }
.plan-price { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: 0; }
.plan-note { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 1.5em; }
/* пробный день — отдельной кнопкой под главной */
.trial { display: block; margin-top: 12px; cursor: pointer; }
.trial input { position: absolute; opacity: 0; pointer-events: none; }
.trial span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border-radius: var(--btn-radius); font-size: 16px; font-weight: 600; text-align: center; box-shadow: inset 0 0 0 1.5px var(--field-edge); }
.trial input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.trial input:checked + span::before { content: "\2713"; margin-right: 8px; color: var(--link); font-weight: 600; }
.buy .btn { width: 100%; }
.ticks { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 600; margin-right: 8px; }

/* форма оплаты */
.field { display: block; margin-top: 16px; }
.field span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 0;
  background: var(--soft); color: var(--text); font: inherit; font-size: 17px;
  box-shadow: inset 0 0 0 1.5px var(--field-edge);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.methods { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.methods label { cursor: pointer; }
.methods input { position: absolute; opacity: 0; pointer-events: none; }
.methods span { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--soft); box-shadow: inset 0 0 0 1px var(--field-edge); }
.methods input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); }
.buy .btn.wide { width: 100%; margin-top: 16px; }
.buy .btn[disabled] { opacity: .65; cursor: default; }
.pay-error { margin-top: 12px; font-size: 15px; font-weight: 600; color: #c4332b; }
[data-theme="incy"] .pay-error { color: #ff8a80; }
.pay-note { margin-top: 12px; font-size: 15px; color: var(--muted); }
.pay-note + .pay-note { margin-top: 4px; }
.pay-note a { color: var(--link); }
.seg label[hidden] { display: none; }

/* страница после оплаты */
.paid { max-width: 40em; }
.paid .key { margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.paid .key .field { margin-top: 0; }
.paid .key input { font-size: 15px; font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.paid .cta { margin-top: 16px; }

/* Рисунок главного экрана приложения: повторяет настоящий экран (снят 18.11.2026), данные условные. */
.app { width: min(100%, 360px); margin: 32px auto 0; padding: 16px; border-radius: 24px; background: var(--app-bg); box-shadow: inset 0 0 0 1px var(--line), var(--app-shadow); font-size: 14px; line-height: 1.3; }
.app .i { width: 20px; height: 20px; flex: none; }
.app-bar { display: flex; align-items: center; justify-content: space-between; color: var(--text); min-height: 36px; }
.app-bar > .i { width: 24px; height: 24px; }
.app-power {
  width: 112px; height: 112px; margin: 12px auto 24px; border-radius: 50%; display: grid; place-items: center;
  color: var(--app-idle); background: var(--app-knob);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 12px var(--app-ring);
}
.app-power svg { width: 44px; height: 44px; }
.app-hint { text-align: center; color: var(--app-idle); font-size: 14px; margin: -8px 0 16px; }
.app-label { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 4px 8px; }
.app-card { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.app-card-head { display: flex; align-items: center; gap: 8px; padding: 12px; color: var(--muted); }
.app-card-head div { min-width: 0; }
.app-card-head b { display: block; color: var(--text); font-size: 15px; font-weight: 500; }
.app-card-head span { font-size: 11px; }
.app-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.app-acts i { font-style: normal; }
.app-meta { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--accent-soft); font-size: 12px; color: var(--text); }
.app-meta .i { width: 16px; height: 16px; color: var(--muted); }
.app-meta i { flex: 1; font-style: normal; text-align: center; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-strong); font-variant-numeric: tabular-nums; }
.app-srv { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); }
.app-srv div { min-width: 0; flex: 1; }
.app-srv b { display: block; color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-srv span { font-size: 11px; }
.app-srv em { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.app-srv .flag { width: 28px; height: 20px; }
.app-srv .i { width: 16px; height: 16px; }
.app-srv.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
/* INCY: название лаймом, зелёная точка и время отклика, «VLESS» цветом ссылки, вкладки внизу — как в приложении */
.app-word { font-weight: 600; font-size: 18px; color: var(--accent); }
.app-btn { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--muted); }
.app-incy .app-card-head b { font-weight: 600; }
.app-incy .app-acts i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); }
.app-incy .app-acts .i { width: 16px; height: 16px; }
.app-incy .app-srv { border-top: 0; }
.app-incy .app-srv em { font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace; }
.app-incy .app-srv em i { width: 8px; height: 8px; border-radius: 50%; background: #4cc38a; }
.app-incy .app-srv u { text-decoration: none; color: #7aa7ff; }
.app-tabs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; color: var(--muted); }
.app-tabs span { display: grid; justify-items: center; gap: 4px; padding: 8px 0; border-radius: 12px; }
.app-tabs .on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* флаги — нарисованы, чтобы одинаково выглядеть на телефоне и компьютере */
.flag { flex: none; width: 24px; height: 17px; border-radius: 4px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.flag-de { background: linear-gradient(#17181c 33.3%, #d5202b 33.3% 66.6%, #f7c531 66.6%); }
.flag-nl { background: linear-gradient(#ae1c28 33.3%, #fff 33.3% 66.6%, #21468b 66.6%); }
.flag-fi { background: linear-gradient(90deg, transparent 27%, #1b4f9e 27% 43%, transparent 43%), linear-gradient(transparent 36%, #1b4f9e 36% 64%, transparent 64%), #fff; }
.flag-se { background: linear-gradient(90deg, transparent 27%, #fecc02 27% 43%, transparent 43%), linear-gradient(transparent 36%, #fecc02 36% 64%, transparent 64%), #1067a8; }
.flag-us { background: linear-gradient(90deg, #3c3b6e 42%, transparent 42%) 0 0 / 100% 54% no-repeat, repeating-linear-gradient(#b22234 0 2.4px, #fff 2.4px 4.8px); }

/* плитки фактов */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 8px 0 12px; }
.tiles div { padding: 20px 0; border-top: 1px solid var(--line); }
.tiles b { display: block; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.tiles span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 16em; }

section { padding: 60px 0; }
.band { background: var(--soft); }

/* тарифы строками */
.t-table { margin-top: 24px; }
.t-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name total" "pm btn";
  gap: 8px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line);
}
.t-row:last-child { border-bottom: 1px solid var(--line); }
.t-name { grid-area: name; display: flex; align-items: center; gap: 12px; font-size: 19px; }
.t-save { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--link); white-space: nowrap; }
.t-total { grid-area: total; font-size: 22px; font-weight: 600; letter-spacing: 0; text-align: right; white-space: nowrap; }
.t-pm { grid-area: pm; color: var(--muted); font-size: 15px; }
.t-row .btn { grid-area: btn; justify-self: end; }

/* что входит и страны */
.included { margin-top: 28px; display: grid; gap: 24px; }
.included div { padding-top: 16px; border-top: 1px solid var(--line); }
.included p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.mini { margin-top: 44px; font-size: 14px; color: var(--muted); font-weight: 600; }
.countries { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 17px; font-weight: 600; }
.countries li { display: flex; align-items: center; gap: 12px; }

/* три шага */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 14px; font-weight: 600; color: var(--link); margin-bottom: 12px; letter-spacing: .04em; }
.steps p { margin-top: 8px; color: var(--muted); }

/* установка */
.install { margin-top: 24px; }
.install .row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.install .row:last-child { border-bottom: 1px solid var(--line); }
.install h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.install .yours { display: none; font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 4px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.install .you .yours { display: inline-block; }
.install .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; }
.install .links a { color: var(--link); text-decoration: none; font-weight: 600; }
.install .links a::after { content: " ↗"; font-weight: 400; }
.install .links a:hover { text-decoration: underline; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 44em; }

/* вопросы */
.faq { margin-top: 20px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-size: 26px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 44em; }
.faq a { color: var(--link); }

/* последняя кнопка */
.final .wrap > * { max-width: 34em; }
.final { background: var(--accent-soft); }
.cta { margin-top: 24px; display: grid; gap: 16px; justify-items: center; }
.cta .btn { width: 100%; }

/* страница проверок и документы */
.page { padding: 32px 0 64px; }
.page h1 { font-size: clamp(34px, 9vw, 56px); }
.page .lead { max-width: 36em; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: s; max-width: 44em; }
.checks li { counter-increment: s; padding: 20px 0; border-top: 1px solid var(--line); }
.checks li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 14px; font-weight: 600; color: var(--link); margin-bottom: 8px; letter-spacing: .04em; }
.checks h2 { font-size: 21px; letter-spacing: 0; line-height: 1.25; }
.checks p { margin-top: 8px; color: var(--muted); }
.offer { margin-top: 40px; padding: 24px 24px; border-radius: 20px; background: var(--accent-soft); max-width: 44em; }
.offer h2 { font-size: clamp(26px, 6.5vw, 34px); }
.offer p { margin-top: 12px; color: var(--muted); }
.prose h1 { font-size: clamp(32px, 8vw, 48px); }
.prose h2 { font-size: 22px; letter-spacing: 0; margin-top: 32px; line-height: 1.25; }
.prose p { margin-top: 12px; color: var(--muted); max-width: 44em; }
.todo { background: #ffe58a; color: #4a3800; padding: 1px 8px; border-radius: 4px; font-weight: 600; }

/* подвал */
footer { padding: 44px 0 44px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.foot { display: grid; gap: 24px; }
.foot-h { color: var(--text); font-weight: 600; margin-bottom: 8px; }
.foot p + p { margin-top: 0; }
.foot a { text-decoration: none; display: inline-block; padding: 12px 0; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.legal { margin-top: 24px; font-size: 14px; max-width: 60em; }
.legal + .legal { margin-top: 8px; }

/* закреплённая кнопка на телефоне */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s ease;
}
.sticky.on { transform: none; }
.sticky .btn { min-height: 52px; }

/* согласие на счётчик: узкая полоса над закреплённой кнопкой */
.consent {
  position: fixed; left: 0; right: 0; bottom: var(--sticky-h); z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px var(--gutter); font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 8px; flex: none; }

@media (min-width: 560px) {
  .buy-row { grid-template-columns: 1fr auto; align-items: end; }
  .buy .btn { width: auto; }
  .ticks { grid-auto-flow: column; justify-content: start; gap: 24px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .cta { grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 24px; }
  .cta .btn { width: auto; }
  .foot { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .top nav { display: flex; }
  .top .top-buy { display: inline-flex; }
  .hero { padding: 64px 0 72px; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
  .app { margin: 0 0 0 auto; }
  .lead { font-size: 19px; }
  section { padding: 96px 0; }
  .top-help { display: none; }
  .t-row { grid-template-columns: 1.2fr 1.4fr .8fr auto; grid-template-areas: "name pm total btn"; gap: 20px; padding: 20px 0; }
  .t-total { text-align: left; }
  .included { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .sticky { display: none; }
  .consent { bottom: 0; }
  .offer { padding: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky { transition: none; }
}

/* Заголовки, кнопки, меню, цена и рисунок приложения набраны шрифтом приложения; текст статей — системным.
   Правило стоит в конце файла: у кнопок выше задано font: inherit, и оно иначе перебило бы шрифт. */
h1, h2, h3, .brand, .btn, .top nav, .subnav, .seg span, .trial span, .plan-price, .tiles b, .t-total, .app { font-family: var(--font-display); }
