/* Тяжёлые пакеты: сайт tpakety.ru. Один файл стилей на все страницы. */

@font-face {
  font-family: Onest;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --page-a: #bbddd2;
  --page-b: #fde4d1;
  --card: #fbf5ec;
  --card-2: #f7efe5;
  --text: #1d2620;
  --muted: #5f655d;
  --line: #e5dccf;
  --green: #1a9e7c;
  --green-dark: #087359;
  --link: #0a5f47;
  --soft: #e6f4ec;
  --soft-2: #cfe9d8;
  --warm: #fce1be;
  --warm-text: #1d2620;
  --btn: #087359;
  --btn-text: #ffffff;
  --band-tint: rgba(255, 255, 255, 0.42);
  --band-warm: linear-gradient(100deg, #fbe3c2, #fdeedd 60%, #f6e6cf);
  --band-green: linear-gradient(100deg, #cfe9d8, #e6f4ec 55%, #d7efe6);
  --band-deep: linear-gradient(110deg, #075c48, #0a7a5f 60%, #0b6a55);
  --art-a: #cfe9d8;
  --art-b: #fbe6cb;
  --shadow: 0 6px 20px rgba(8, 115, 89, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 80, 62, 0.18);
  --shadow-btn: 0 6px 14px rgba(8, 115, 89, 0.28);
  --r-xl: clamp(24px, 2.6vw, 44px);
  --r-lg: 24px;
  --r-md: 16px;
  --gutter: clamp(16px, 4vw, 72px);
  --gap: clamp(12px, 1.4vw, 24px);
  --fs-body: clamp(16px, 0.3vw + 14.6px, 19px);
  --fs-small: clamp(13px, 0.2vw + 12px, 15px);
  --fs-h3: clamp(18px, 0.5vw + 15.5px, 24px);
  --fs-h2: clamp(28px, 2.6vw + 14px, 56px);
  --fs-h1: clamp(38px, 4.6vw + 14px, 92px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-a: #0f1a16;
    --page-b: #1a1714;
    --card: #1b2520;
    --card-2: #17201c;
    --text: #eef1ea;
    --muted: #a9b1a7;
    --line: #2f3a34;
    --green: #2fb894;
    --green-dark: #5fd3b1;
    --link: #6fdcbb;
    --soft: #20332b;
    --soft-2: #254236;
    --warm: #3a2e1e;
    --warm-text: #f5ead8;
    --band-tint: rgba(255, 255, 255, 0.035);
    --band-warm: linear-gradient(100deg, #2c2418, #241f18 60%, #2a2319);
    --band-green: linear-gradient(100deg, #17271f, #1b2d25 55%, #16261f);
    --band-deep: linear-gradient(110deg, #0a4034, #0c5443 60%, #0a4638);
    --art-a: #1f3329;
    --art-b: #33291c;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-btn: 0 6px 14px rgba(0, 0, 0, 0.35);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-b) linear-gradient(160deg, var(--page-a), var(--page-b)) no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
  border-radius: 8px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 12px; background: var(--card); color: var(--text); font-weight: 600;
}
.skip:focus { top: 12px; }

/* Сетка: контейнер до 1600 px с резиновыми полями, секции-полосы на всю ширину окна */
.wrap { width: 100%; max-width: calc(1600px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main { flex: 1 0 auto; }
.band { padding-top: clamp(36px, 5.2vw, 96px); padding-bottom: clamp(36px, 5.2vw, 96px); }
.band.tight { padding-top: clamp(20px, 2.6vw, 48px); padding-bottom: clamp(20px, 2.6vw, 48px); }
.band.tint { background: var(--band-tint); }
.band.warm { background: var(--band-warm); }
.band.green { background: var(--band-green); }
.band.deep { background: var(--band-deep); color: #fff; }
.band[id], [id].anchor { scroll-margin-top: 16px; }

/* Шапка */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: clamp(12px, 1.4vw, 24px); padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-weight: 600; font-size: clamp(16px, 0.4vw + 14px, 21px); }
.brand:hover { text-decoration: none; }
.brand img { width: clamp(40px, 3vw, 52px); height: auto; border-radius: 12px; }
.nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 clamp(16px, 2vw, 36px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(14px, 0.25vw + 13px, 17px); font-weight: 600; color: var(--text); }
.nav a[aria-current="page"] { color: var(--link); text-decoration: underline; text-underline-offset: 6px; }
.nav .pill { margin-left: 4px; }

/* Кнопки */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: clamp(48px, 3.4vw, 60px); padding: 0 clamp(22px, 2vw, 34px); border: 0; border-radius: 999px;
  font: inherit; font-size: clamp(15px, 0.3vw + 13.8px, 18px); font-weight: 600; line-height: 1.3; text-align: center; cursor: pointer;
}
.btn:hover, .pill:hover { text-decoration: none; }
.btn { background: var(--btn); color: var(--btn-text); box-shadow: var(--shadow-btn); }
.btn:hover { background: #0a6850; }
.btn .arrow {
  width: 32px; height: 32px; margin-right: -14px; border-radius: 999px;
  background: #ffffff; color: #087359; display: grid; place-items: center; flex: none;
}
.btn.ghost { background: var(--card); color: var(--link); box-shadow: inset 0 0 0 2px var(--green); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: #fff; color: #087359; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn.light:hover { background: #eef8f3; }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); }
.btn.line:hover { background: rgba(255, 255, 255, 0.12); }
.btn.wide { display: flex; width: 100%; }
.pill { min-height: 44px; padding: 0 20px; background: var(--card); color: var(--text); box-shadow: var(--shadow); font-size: clamp(14px, 0.2vw + 13px, 16px); }
.pill:hover { background: var(--soft); }
.pill.soon { cursor: default; color: var(--muted); gap: 8px; min-height: 40px; padding: 0 16px; }
.pill.soon:hover { background: var(--card); }

.badge {
  display: inline-block; padding: 2px 9px; border-radius: 12px;
  background: var(--soft-2); color: var(--link); font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap;
}
.badge.soon { background: var(--warm); color: var(--warm-text); }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.small { font-size: var(--fs-small); line-height: 1.45; }
.muted { color: var(--muted); }

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 4vw, 80px); padding-top: clamp(16px, 2.4vw, 48px); padding-bottom: clamp(32px, 4vw, 80px); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 28px); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
.hero h1 span { color: var(--link); }
.lead { max-width: 34em; font-size: clamp(18px, 0.7vw + 14.6px, 26px); line-height: 1.45; }

/* Композиция: панель с иллюстрацией и экранами приложения */
.art {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--art-a), var(--art-b));
  box-shadow: var(--shadow-lg);
}
.art > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art.wide { aspect-ratio: 4 / 3; }
.art.wide .phone { flex-basis: 33%; }
.art.wide .phone.big { flex-basis: 38%; }
.art .phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 0 6%; }
.art .phones.right { justify-content: flex-end; }
.art .phones.left { justify-content: flex-start; }
.art .phone { flex: 0 1 30%; width: auto; margin: 0; transform: translateY(8%); }
.art .phone.up { transform: translateY(-4%); }
.art .phone.big { flex-basis: 36%; }
.art .chip {
  position: absolute; left: 5%; top: 6%; width: 30%; aspect-ratio: 1; border-radius: 24%; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--card);
}
.art .chip img { width: 100%; height: 100%; object-fit: cover; }
.art .chip.br { left: auto; top: auto; right: 5%; bottom: 7%; width: 34%; aspect-ratio: 16 / 10; border-radius: 20px; }
.art .chip.tl { width: 30%; aspect-ratio: 16 / 10; border-radius: 20px; }

.phone {
  width: min(100%, 250px); margin: 12px auto 0; padding: 8px 8px 0; border-radius: 32px 32px 0 0;
  background: #1d2620; box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; border-radius: 24px 24px 0 0; aspect-ratio: 390 / 560; object-fit: cover; object-position: top; }
.phone.full { padding-bottom: 8px; border-radius: 32px; }
.phone.full img { border-radius: 24px; aspect-ratio: 390 / 844; }
.art .phone { padding: 1.1cqw 1.1cqw 1.1cqw; border-radius: 4.4cqw; }
.art .phone img { border-radius: 3.4cqw; aspect-ratio: 390 / 844; }
.art { container-type: inline-size; }

/* Фото-панели: подложка в цвет фона самой картинки, чтобы края не было видно */
.art.photo { background: #dfefe4; }
.art.photo > .bg { z-index: 0; }
.art.photo .phones { z-index: 2; }
.art.web { aspect-ratio: 1264 / 848; }
/* Первый экран: панель только со сценой — без телефона. Квадратная картинка обрезана сверху (пустой фон),
   пакеты видны целиком; в пустой верхней зоне — мелкие карточки-стикеры в стиле приложения. Видео ложится поверх той же картинки. */
.hero-side { position: relative; }
.art.hero-art { aspect-ratio: 5 / 4; width: 100%; }
.hero-art .media { position: absolute; inset: 0; }
.hero-art .media > img, .hero-art .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-art .media > video { opacity: 0; transition: opacity .5s; }
.hero-art .media > video.on { opacity: 1; }
.stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sticker {
  position: absolute; display: flex; align-items: center; gap: .6em; padding: .62em .95em .62em .7em; border-radius: 1.15em;
  background: #fffdf9; color: #1d2620; box-shadow: 0 8px 22px rgba(8, 80, 62, 0.16), 0 1px 2px rgba(8, 80, 62, 0.10);
  font-size: clamp(11px, 2.4cqw, 19px); line-height: 1.2; font-weight: 500; white-space: nowrap;
}
.sticker b { font-weight: 600; }
.sticker .tick, .sticker .ava { flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; }
.sticker .tick { background: #1a9e7c; color: #fff; }
.sticker .tick svg { width: 62%; height: 62%; }
.sticker .ava { background: #fce1be; color: #7a4a10; font-size: .82em; font-weight: 700; width: 2.05em; height: 2.05em; }
.sticker.s1 { left: 5%; top: 5%; rotate: -3deg; }
.sticker.s2 { right: 5%; top: 4%; rotate: 2deg; }
.sticker.s3 { left: 34%; top: 15.5%; flex-direction: column; align-items: stretch; gap: .45em; padding: .6em .95em .7em; rotate: -1deg; }
.sticker .bar { display: block; height: .34em; min-width: 8.5em; border-radius: 1em; background: #e5dccf; overflow: hidden; }
.sticker .bar i { display: block; width: 75%; height: 100%; border-radius: inherit; background: #1a9e7c; }
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: sticker-in .6s cubic-bezier(.2, .8, .3, 1) both; }
  .sticker.s1 { animation-delay: .25s; }
  .sticker.s2 { animation-delay: .45s; }
  .sticker.s3 { animation-delay: .65s; }
  @keyframes sticker-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
}
/* Один телефон у правого края панели */
.art .phones.edge { justify-content: flex-end; align-items: center; padding: 0 4%; }
.art .phones.edge .phone { flex: 0 0 27%; transform: none; }
/* Картинка слева в натуральных пропорциях, справа полоса того же фона под телефон */
.art.side { aspect-ratio: 1200 / 770; background: #f1e8d6; }
.art.side > .bg { inset: 0 auto 0 0; width: auto; height: 100%; aspect-ratio: 1200 / 896; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 12%); mask-image: linear-gradient(to left, transparent 0, #000 12%); }
.art.side .phones.edge { padding: 0 3%; }
.art.side .phones.edge .phone { flex-basis: 23%; }

/* Лента экранов приложения */
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(24px, 3vw, 56px); }
.shots li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 600; font-size: clamp(13px, 0.3vw + 12px, 17px); line-height: 1.25; }
.shots .phone { width: 100%; margin: 0; padding: 6px; border-radius: clamp(20px, 2vw, 34px); }
.shots .phone img { border-radius: clamp(15px, 1.6vw, 28px); }
/* «Как это выглядит»: три главных экрана в ряд */
.shots.three { grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: clamp(20px, 4vw, 72px); margin-bottom: 0; }

/* Заголовки секций */
h2.title { font-size: var(--fs-h2); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin-bottom: clamp(16px, 2vw, 36px); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; margin-bottom: clamp(20px, 2.4vw, 44px); }
.head h2.title { margin: 0; max-width: 16em; }
.head p { max-width: 30em; font-size: clamp(16px, 0.5vw + 14px, 22px); line-height: 1.45; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--soft-2); color: var(--link); font-size: var(--fs-small); font-weight: 600; }
.band.deep .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Карточки */
.card { padding: clamp(20px, 2vw, 36px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ico { width: clamp(48px, 3.6vw, 64px); height: clamp(48px, 3.6vw, 64px); border-radius: var(--r-md); background: var(--soft); color: var(--green-dark); display: grid; place-items: center; flex: none; }
.ico svg { width: 50%; height: 50%; }
.ico.w { background: var(--warm); color: var(--warm-text); }
.promise, .feature { display: flex; flex-direction: column; gap: 10px; }
.promise h2, .promise h3, .feature h3 { margin-top: 6px; font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.promise p, .feature p { font-size: clamp(14px, 0.3vw + 12.8px, 17px); line-height: 1.5; color: var(--muted); }
.promise.big { padding: clamp(24px, 2.4vw, 44px); }

/* Блок «текст + большая картинка» */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 5vw, 104px); }
.duo.rev > .duo-text { order: 2; }
.duo-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 1.2vw, 20px); }
.duo-text h2.title { margin: 0; }
.duo-text > p { max-width: 32em; font-size: clamp(17px, 0.5vw + 14.6px, 22px); line-height: 1.5; }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checks li, .ticks li { position: relative; padding-left: 36px; }
.checks li { font-size: clamp(15px, 0.3vw + 13.6px, 18px); line-height: 1.45; }
.checks li::before, .ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 22px; height: 22px; border-radius: 999px; background-color: #1a9e7c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* Виды списков */
.kinds { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--gap); }
.kinds li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: clamp(12px, 1.2vw, 24px) 8px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); text-align: center; font-weight: 600; font-size: clamp(13px, 0.3vw + 12px, 17px); line-height: 1.25; }
.kinds img { width: min(100%, 120px); aspect-ratio: 1; object-fit: contain; }

/* Шаги общего списка */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; padding-bottom: 0; overflow: hidden; }
.step h3 { display: flex; gap: 12px; align-items: center; font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
.step h3::before, .howto > li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: clamp(32px, 2.6vw, 44px); height: clamp(32px, 2.6vw, 44px); border-radius: 999px; background: var(--btn); color: #fff;
  display: grid; place-items: center; font-size: clamp(15px, 1.1vw, 20px); font-weight: 700;
}
.step p { font-size: clamp(14px, 0.3vw + 12.8px, 17px); line-height: 1.5; color: var(--muted); }
.step .phone { width: min(100%, 300px); margin-top: 16px; }

/* Баннер переноса */
.move { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 80px); }
.move-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 1.2vw, 20px); }
.move-text h2.title { margin: 0; }
.move-text p { max-width: 32em; font-size: clamp(17px, 0.5vw + 14.6px, 22px); line-height: 1.5; }
.move .art { aspect-ratio: 16 / 9; }

/* Тарифы */
.plans-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(16px, 2vw, 36px); }
.plans-head h2.title { margin: 0; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.seg button { min-height: 44px; padding: 0 clamp(18px, 1.6vw, 28px); border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: clamp(13px, 0.2vw + 12.4px, 16px); font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--btn); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--gap); }
.plan { display: flex; flex-direction: column; gap: clamp(12px, 1.2vw, 20px); padding: clamp(24px, 2.6vw, 48px); min-width: 0; }
.plan.free { background: var(--card-2); }
.plan.pro { box-shadow: inset 0 0 0 2px var(--green), var(--shadow); }
.plan h2, .plan h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 0.8vw + 16px, 30px); line-height: 1.2; font-weight: 600; margin: 0; }
.plan .for { color: var(--muted); font-size: clamp(14px, 0.3vw + 12.8px, 17px); line-height: 1.45; }
.plan .cost { min-height: clamp(70px, 5.6vw, 104px); }
.price { font-size: clamp(32px, 2.2vw + 20px, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.ticks { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.ticks li { font-size: clamp(14px, 0.3vw + 13px, 17px); line-height: 1.45; }
.ticks li::before { background-color: var(--soft-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a5f47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.plan.pro .ticks li::before {
  background-color: #1a9e7c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ticks .plus { padding-left: 0; font-weight: 600; }
.ticks .plus::before { display: none; }
/* Кнопки двух карточек стоят на одной линии: карточки одной высоты, кнопка прижата к низу */
.plan > .btn { margin-top: auto; }
.more { margin-top: clamp(16px, 1.6vw, 28px); font-weight: 600; }
.more.small { font-weight: 400; color: var(--muted); max-width: 60em; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.prices .card { display: flex; flex-direction: column; gap: 4px; }
.prices h3 { font-size: var(--fs-h3); font-weight: 600; }
.prices .best { box-shadow: inset 0 0 0 2px var(--green), var(--shadow); }

/* Таблица сравнения */
.table-wrap { overflow-x: auto; padding: 8px 0; }
table { width: 100%; border-collapse: collapse; font-size: clamp(14px, 0.3vw + 13px, 18px); line-height: 1.4; }
caption { text-align: left; padding: 16px clamp(20px, 2vw, 36px); font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
th, td { padding: clamp(10px, 0.9vw, 16px) 12px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: clamp(20px, 2vw, 36px); }
th:last-child, td:last-child { padding-right: clamp(20px, 2vw, 36px); }
thead th { border-top: 0; font-size: var(--fs-small); color: var(--muted); font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 500; }
tr.group th { padding-top: clamp(18px, 1.6vw, 28px); font-size: var(--fs-small); font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: 0.06em; background: var(--band-tint); }
td { width: 22%; white-space: nowrap; }
td.yes { color: var(--link); font-weight: 700; }
td.yes svg { width: 22px; height: 22px; vertical-align: middle; }
td.no { color: var(--muted); }

/* Скоро */
.soon-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.soon-grid li { padding: clamp(16px, 1.4vw, 24px); border-radius: var(--r-lg); border: 2px dashed var(--line); background: var(--band-tint); }
.soon-grid h3 { font-size: clamp(15px, 0.4vw + 13.4px, 19px); line-height: 1.3; font-weight: 600; }
.soon-grid p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }

/* Вопросы */
.faq-duo { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(20px, 4vw, 80px); align-items: start; }
.faq-duo .side-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq-duo h2.title { margin: 0; }
.faq { border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 16px; min-height: clamp(60px, 4.4vw, 80px); padding: 10px clamp(18px, 1.8vw, 32px);
  font-weight: 600; font-size: clamp(16px, 0.4vw + 14.4px, 21px); line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq .answer { max-width: 56em; padding: 0 clamp(18px, 1.8vw, 32px) clamp(18px, 1.6vw, 28px); font-size: clamp(15px, 0.3vw + 13.8px, 18px); line-height: 1.55; }
.faq .answer p + p { margin-top: 8px; }
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 44px) var(--gap); align-items: start; }
.faq-cols h2 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 12px; }

/* Финальный призыв */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.cta h2.title { margin: 0 0 8px; }
.cta p { max-width: 34em; font-size: clamp(17px, 0.5vw + 14.6px, 22px); line-height: 1.45; opacity: 0.92; }

/* Внутренние страницы */
.page-head { padding-top: clamp(24px, 3.4vw, 64px); padding-bottom: clamp(16px, 2vw, 36px); }
.page-head h1 { font-size: clamp(34px, 3.4vw + 16px, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; max-width: 14em; }
.page-head p { max-width: 38em; margin-top: 16px; font-size: clamp(18px, 0.6vw + 15px, 24px); line-height: 1.45; }
.page-head .row { margin-top: 24px; }
.howto { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.howto > li { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: clamp(20px, 2vw, 36px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.howto h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
.howto p { font-size: clamp(14px, 0.3vw + 13px, 17px); line-height: 1.5; color: var(--muted); }
.card h2 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; margin-bottom: 10px; }
.card h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
.card p + p, .card p + ul, .card ul + p { margin-top: 8px; }
.dots { display: flex; flex-direction: column; gap: 8px; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 0.65em; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--soft); }
.cta-card > div { flex: 1 1 320px; min-width: 0; }
.mail { font-size: clamp(22px, 1.4vw + 14px, 40px); font-weight: 700; word-break: break-word; }
pre.sample { margin: 12px 0 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); font: inherit; font-size: clamp(14px, 0.3vw + 13px, 17px); line-height: 1.6; white-space: pre-wrap; }

/* Юридические тексты */
.legal-grid { display: grid; grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 80px); align-items: start; }
.legal-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.legal-aside h2 { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 4px; }
.legal-aside p { font-size: var(--fs-small); line-height: 1.5; }
.legal { padding: clamp(24px, 3vw, 56px); }
.legal h2 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; margin: 32px 0 8px; }
.legal p { max-width: 50em; margin-top: 10px; font-size: clamp(15px, 0.3vw + 13.8px, 18px); line-height: 1.6; }
.legal .intro { font-size: clamp(16px, 0.4vw + 14.4px, 20px); margin-top: 0; }

/* Подвал */
.foot-band { background: var(--band-tint); margin-top: 0; }
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 48px; padding-top: clamp(24px, 2.6vw, 48px); padding-bottom: clamp(32px, 3vw, 56px); }
.foot strong { display: block; font-size: clamp(15px, 0.3vw + 13.8px, 18px); font-weight: 600; margin-bottom: 6px; }
.foot p { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2vw, 36px); }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(13px, 0.2vw + 12.4px, 16px); font-weight: 600; color: var(--text); }

.notfound { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 80px); padding-top: clamp(32px, 5vw, 96px); padding-bottom: clamp(32px, 5vw, 96px); }
.notfound .art { aspect-ratio: 16 / 10; }
.notfound > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.notfound h1 { font-size: var(--fs-h2); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }

@media (prefers-color-scheme: dark) {
  .ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fdcbb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
  .plan.pro .ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
  .art > .bg, .art .chip img, .kinds img { filter: brightness(0.86); }
  .art.photo > .bg { filter: none; }
  .sticker { background: #1b2520; color: #eef1ea; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.07); }
  .sticker .bar { background: #2f3a34; }
  .sticker .ava { background: #3a2e1e; color: #f5ead8; }
  .art.photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15, 26, 22, 0.14); pointer-events: none; }
  .art.photo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), var(--shadow-lg); }
}

@media (max-width: 1180px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .soon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticker.s3 { display: none; }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero, .duo, .move, .faq-duo, .legal-grid, .notfound { grid-template-columns: minmax(0, 1fr); }
  .art.hero-art { max-width: 620px; margin: 0 auto; }
  .duo.rev > .duo-text { order: 0; }
  .legal-aside { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step .phone { width: min(100%, 260px); }
  .faq-cols { grid-template-columns: minmax(0, 1fr); }
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .top { gap: 0 12px; }
  .nav { justify-content: flex-start; gap: 0 16px; order: 3; flex-basis: 100%; }
  .nav .pill { display: none; }
  .top > .pill { margin-left: auto; }
  .hero .btn, .cta .btn, .move .btn, .duo-text .btn { flex: 1 1 100%; width: 100%; }
  .cta .row { width: 100%; }
  .plans, .prices { grid-template-columns: minmax(0, 1fr); }
  .plan .cost { min-height: 0; }
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .promise, .feature { flex-direction: row; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .promise > *:not(.ico), .feature > *:not(.ico) { flex: 1 1 100%; }
  .promise .ico, .feature .ico { margin-bottom: -2px; }
  .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .kinds li { padding: 10px 4px; font-size: 12px; border-radius: 16px; }
  .howto { grid-template-columns: minmax(0, 1fr); }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 56%; scroll-snap-align: center; }
  .shots.three { justify-content: flex-start; gap: 14px; }
  .move .art, .notfound .art { aspect-ratio: 16 / 10; }
  th, td { padding: 10px 8px; }
  td { white-space: normal; width: 24%; }
  .cta-card .btn { width: 100%; }
  .foot { flex-direction: column; }
}
@media (max-width: 520px) {
  .soon-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 721px) { .top > .pill { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .top .nav, .top > .pill, .foot nav, .btn, .pill, .art { display: none !important; }
  .card, .faq { box-shadow: none; }
  .band { background: none !important; color: #000 !important; }
}
