/* Manrope (SIL OFL 1.1, см. OFL.txt) — переменный шрифт 200–800, свои файлы: без запросов к Google Fonts
 * (GDPR: сайты в ЕС, в том числе Германия, не должны тянуть шрифты со стороннего сервера). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* Zip eSIM — дизайн-токены v1.0 (декабрь 2026).
 * Источник правды для сайтов, писем и приложения. Цвета взяты из логотипа: белый, облачный, небесный и синий Zip.
 * Подключение: <link rel="stylesheet" href="tokens.css"> и шрифт Manrope (см. fonts/manrope.css).
 * Тёмная тема: атрибут data-theme="dark" на <html> или системная настройка, если data-theme не задан. */

:root {
  /* ── Палитра: синий Zip ─────────────────────────────── */
  --zip-cloud: #F7FAFE;      /* 50  — фон секций, плитка иконки */
  --zip-mist: #E3EDFB;       /* 100 — подложки, выделение строк */
  --zip-haze: #D2E3FB;       /* 200 — рамки активных элементов */
  --zip-sky-light: #B4D4FB;  /* 300 — нижняя половина знака */
  --zip-sky: #80B3FA;        /* 400 — нижняя половина знака, иллюстрации */
  --zip-blue-bright: #1A82FC;/* 500 — верхняя половина знака, фокус, графика */
  --zip-blue: #0462F5;       /* 600 — ОСНОВНОЙ: кнопки, ссылки, «Zip» в логотипе */
  --zip-blue-deep: #034FC6;  /* 700 — наведение и нажатие */
  --zip-blue-night: #043C94; /* 800 — текст на светло-синем */
  --zip-navy: #0A2A63;       /* 900 — тёмные блоки */

  /* ── Нейтральные (холодные, в тон синему) ───────────── */
  --zip-ink: #0B1B33;        /* основной текст, «eSIM» в логотипе */
  --zip-ink-2: #2B3A52;      /* заголовки второго уровня на цветном */
  --zip-slate: #5B6B84;      /* вторичный текст (контраст 5,4:1 на белом) */
  --zip-steel: #8593A8;      /* подсказки, неактивное — не для основного текста */
  --zip-line: #E3EAF4;       /* разделители, рамки карточек */
  --zip-line-strong: #CBD6E6;
  --zip-white: #FFFFFF;

  /* ── Смысловые ─────────────────────────────────────── */
  --zip-success: #0B7F58;      /* 5,0:1 на белом */
  --zip-success-bg: #E6F7F0;
  --zip-warning: #B45309;    /* текстом; заливка — --zip-warning-bg */
  --zip-warning-bg: #FEF3E2;
  --zip-danger: #C8283A;       /* 5,5:1 на белом */
  --zip-danger-bg: #FDECEE;

  /* ── Градиенты ─────────────────────────────────────── */
  --zip-gradient: linear-gradient(135deg, #1A82FC 0%, #0462F5 100%);          /* верх знака */
  --zip-gradient-sky: linear-gradient(135deg, #B4D4FB 0%, #80B3FA 100%);      /* низ знака */
  --zip-gradient-cloud: linear-gradient(135deg, #F7FAFE 0%, #E3EDFB 55%, #D2E3FB 100%); /* плитка иконки */

  /* ── Роли (используйте их в компонентах) ───────────── */
  --color-bg: var(--zip-white);
  --color-bg-soft: var(--zip-cloud);
  --color-bg-tint: var(--zip-mist);
  --color-surface: var(--zip-white);
  --color-text: var(--zip-ink);
  --color-text-muted: var(--zip-slate);
  --color-text-faint: var(--zip-steel);
  --color-border: var(--zip-line);
  --color-border-strong: var(--zip-line-strong);
  --color-primary: var(--zip-blue);
  --color-primary-hover: var(--zip-blue-deep);
  --color-on-primary: var(--zip-white);
  --color-link: var(--zip-blue);
  --color-focus: var(--zip-blue-bright);
  --color-accent-soft: var(--zip-mist);

  /* ── Шрифт ─────────────────────────────────────────── */
  --font-sans: "Manrope", "Manrope Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Шкала: размер / межстрочный / насыщенность / трекинг */
  --text-display: 800 clamp(2.5rem, 1.6rem + 4vw, 4rem) / 1.04 var(--font-sans);
  --text-h1: 800 clamp(2.125rem, 1.6rem + 2.4vw, 3rem) / 1.08 var(--font-sans);
  --text-h2: 750 clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem) / 1.15 var(--font-sans);
  --text-h3: 700 1.5rem / 1.25 var(--font-sans);
  --text-h4: 700 1.1875rem / 1.35 var(--font-sans);
  --text-body-l: 500 1.1875rem / 1.6 var(--font-sans);
  --text-body: 500 1rem / 1.6 var(--font-sans);
  --text-small: 500 0.875rem / 1.45 var(--font-sans);
  --text-caption: 700 0.75rem / 1.35 var(--font-sans);
  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-caption: 0.08em;

  /* ── Отступы: шаг 4 px ─────────────────────────────── */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* ── Радиусы: округлые, как плитка иконки ──────────── */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius-icon: 22.3%;      /* иконка приложения: 228 / 1024 */

  /* ── Тени: мягкие, с синим оттенком ────────────────── */
  --shadow-xs: 0 1px 2px rgba(11, 27, 51, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.05), 0 4px 12px rgba(4, 98, 245, 0.06);
  --shadow-md: 0 2px 4px rgba(11, 27, 51, 0.04), 0 12px 32px rgba(4, 98, 245, 0.10);
  --shadow-lg: 0 4px 8px rgba(11, 27, 51, 0.04), 0 24px 64px rgba(4, 98, 245, 0.16);
  --ring-focus: 0 0 0 3px rgba(26, 130, 252, 0.45);

  /* ── Сетка ─────────────────────────────────────────── */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  /* ── Движение ──────────────────────────────────────── */
  --ease-zip: cubic-bezier(0.2, 0.8, 0.2, 1);    /* быстрый старт, мягкая остановка */
  --ease-snap: cubic-bezier(0.34, 1.4, 0.64, 1); /* лёгкий «щелчок» для подтверждений */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}

/* ── Тёмная тема (приложение, вечерние экраны) ───────── */
:root[data-theme="dark"] {
  --color-bg: #07111F;
  --color-bg-soft: #0B1A2E;
  --color-bg-tint: #0F2440;
  --color-surface: #0D1C31;
  --color-text: #EEF4FD;
  --color-text-muted: #A3B3CA;
  --color-text-faint: #6F8099;
  --color-border: #1B2E4A;
  --color-border-strong: #27406A;
  --color-primary: #1F6FEB;
  --color-primary-hover: #1859C9;
  --color-on-primary: #FFFFFF;
  --color-link: #6BAEFF;
  --color-focus: #6BAEFF;
  --color-accent-soft: #0F2440;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #07111F;
    --color-bg-soft: #0B1A2E;
    --color-bg-tint: #0F2440;
    --color-surface: #0D1C31;
    --color-text: #EEF4FD;
    --color-text-muted: #A3B3CA;
    --color-text-faint: #6F8099;
    --color-border: #1B2E4A;
    --color-border-strong: #27406A;
    --color-primary: #1F6FEB;
    --color-primary-hover: #1859C9;
    --color-on-primary: #FFFFFF;
    --color-link: #6BAEFF;
    --color-focus: #6BAEFF;
    --color-accent-soft: #0F2440;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
}

/* zipesim.com — стили страницы. Всё значимое — из токенов (tokens.css), здесь только раскладка. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: var(--text-body);
  color: var(--zip-ink);
  background: var(--zip-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--zip-blue); text-decoration: none; }
a:hover { color: var(--zip-blue-deep); }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-sm); }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--zip-blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill); }
.skip:focus { left: 16px; color: #fff; }

/* ── Типографика ───────────────────────────── */
.display { font: var(--text-display); letter-spacing: var(--tracking-display); color: var(--zip-ink); }
.h2 { font: var(--text-h2); letter-spacing: var(--tracking-heading); }
.h4 { font: var(--text-h4); }
.lead { font: var(--text-body-l); color: var(--zip-slate); max-width: 34rem; }
.grad { background: var(--zip-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: var(--text-caption); letter-spacing: var(--tracking-caption); text-transform: uppercase;
  color: var(--zip-blue); margin-bottom: var(--space-4);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zip-success); box-shadow: 0 0 0 4px var(--zip-success-bg); }
.eyebrow-light { color: rgba(255, 255, 255, 0.8); }

/* ── Кнопки ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--radius-pill);
  font: 700 1rem/1 var(--font-sans); white-space: nowrap; border: 0; cursor: pointer;
  transition: background var(--dur-base) var(--ease-zip), color var(--dur-base) var(--ease-zip),
    border-color var(--dur-base) var(--ease-zip), transform var(--dur-base) var(--ease-zip), box-shadow var(--dur-base) var(--ease-zip);
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-primary { background: var(--zip-blue); color: var(--zip-white); box-shadow: 0 8px 20px rgba(4, 98, 245, 0.24); }
.btn-primary:hover { background: var(--zip-blue-deep); color: var(--zip-white); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(4, 98, 245, 0.28); }
.btn-ghost { background: var(--zip-white); color: var(--zip-ink); border: 1px solid var(--zip-line-strong); }
.btn-ghost:hover { color: var(--zip-blue); border-color: var(--zip-haze); background: var(--zip-cloud); }
.btn:active { transform: translateY(0) scale(0.98); }

/* ── Шапка ─────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-zip);
}
.top.is-scrolled { border-bottom-color: var(--zip-line); }
.top-row { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.top-logo img { width: 148px; height: auto; }
.top-nav { display: flex; gap: var(--space-5); margin-left: auto; }
.top-nav a { color: var(--zip-ink-2); font-weight: 600; font-size: 0.9375rem; }
.top-nav a:hover { color: var(--zip-blue); }

/* ── Первый экран ──────────────────────────── */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(180, 212, 251, 0.55), rgba(227, 237, 251, 0.35) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: var(--space-7); }
.hero-copy .lead { margin-top: var(--space-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.you {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-5);
  padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  background: var(--zip-white); border: 1px solid var(--zip-haze); box-shadow: var(--shadow-sm);
  font: var(--text-small); color: var(--zip-ink-2);
}
.you[hidden] { display: none; }
.you svg { flex: none; color: var(--zip-blue); }
.you a { font-weight: 700; }

.hero-art { position: relative; aspect-ratio: 560 / 520; width: 100%; max-width: 560px; justify-self: end; }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbits ellipse { fill: none; stroke: var(--zip-haze); stroke-width: 1.2; stroke-dasharray: 3 7; }
.glow { position: absolute; left: 50%; top: 50%; width: 62%; height: 62%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); }
.hero-icon {
  position: absolute; left: 50%; top: 50%; width: 41%; height: auto; transform: translate(-50%, -50%);
  border-radius: var(--radius-icon);
  box-shadow: 0 2px 6px rgba(11, 27, 51, 0.06), 0 30px 60px rgba(4, 98, 245, 0.18), 0 10px 24px rgba(4, 98, 245, 0.10);
  animation: float 7s var(--ease-zip) infinite alternate;
}
.pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 7px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--zip-line); box-shadow: var(--shadow-md);
  font: 650 0.8125rem/1 var(--font-sans); color: var(--zip-ink); white-space: nowrap;
  animation: float 6s ease-in-out infinite alternate;
}
.pill img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pill b { font-weight: 700; color: var(--zip-blue); font-size: 0.6875rem; letter-spacing: 0.04em; padding: 3px 6px; border-radius: var(--radius-pill); background: var(--zip-mist); }
.p1 { left: 2%; top: 14%; animation-delay: -1s; }
.p2 { right: 0; top: 6%; animation-delay: -3s; }
.p3 { right: -2%; top: 47%; animation-delay: -2s; }
.p4 { left: -3%; top: 52%; animation-delay: -4s; }
.p5 { left: 10%; bottom: 7%; animation-delay: -5s; }
.p6 { right: 8%; bottom: 4%; animation-delay: -1.5s; }
.p7 { left: 36%; top: -1%; animation-delay: -2.5s; }
@keyframes float { from { translate: 0 -5px; } to { translate: 0 5px; } }
@media (prefers-reduced-motion: reduce) { .hero-icon, .pill { animation: none; } }

/* ── Цифры ─────────────────────────────────── */
.stats-wrap { position: relative; margin-top: clamp(-8px, -1vw, 0px); }
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); margin: 0;
  background: var(--zip-cloud); border: 1px solid var(--zip-line); border-radius: var(--radius-xl);
}
.stats > div { padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); border-left: 1px solid var(--zip-line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font: var(--text-small); color: var(--zip-slate); }
.stats dd { margin: 4px 0 0; font: 800 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--font-sans); letter-spacing: -0.03em; color: var(--zip-blue); font-variant-numeric: tabular-nums; }

/* ── Секции ────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--zip-cloud); border-top: 1px solid var(--zip-line); border-bottom: 1px solid var(--zip-line); }
.section-head { max-width: 40rem; margin-bottom: var(--space-6); }
.section-lead { font: var(--text-body-l); color: var(--zip-slate); margin-top: var(--space-4); }

/* ── Магазины ──────────────────────────────── */
.filters { display: flex; gap: var(--space-2); margin-bottom: var(--space-6); overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 16px; border-radius: var(--radius-pill); cursor: pointer;
  font: 650 0.9375rem/1 var(--font-sans); color: var(--zip-ink-2);
  background: var(--zip-white); border: 1px solid var(--zip-line-strong);
  transition: background var(--dur-fast) var(--ease-zip), color var(--dur-fast) var(--ease-zip), border-color var(--dur-fast) var(--ease-zip);
}
.chip:hover { border-color: var(--zip-sky); color: var(--zip-blue); }
.chip[aria-pressed="true"] { background: var(--zip-blue); border-color: var(--zip-blue); color: var(--zip-white); }

.region + .region { margin-top: var(--space-7); }
.region[hidden] { display: none; }
.region-title { display: flex; align-items: baseline; gap: 12px; font: var(--text-h3); letter-spacing: -0.01em; margin-bottom: var(--space-4); }
.region-count { font: var(--text-small); color: var(--zip-slate); }
.grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }

.store {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 40px 1fr 20px; column-gap: 14px; row-gap: 14px; align-items: center; align-content: start;
  padding: 18px 18px 16px; border-radius: var(--radius-lg);
  background: var(--zip-white); border: 1px solid var(--zip-line); color: var(--zip-ink);
  transition: transform var(--dur-base) var(--ease-zip), box-shadow var(--dur-base) var(--ease-zip), border-color var(--dur-base) var(--ease-zip);
}
.store:hover { color: var(--zip-ink); border-color: var(--zip-haze); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.flag { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 27, 51, 0.08); }
.flag-globe { box-shadow: none; }
.store-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-country { font: 600 0.8125rem/1.3 var(--font-sans); color: var(--zip-slate); }
.store-domain { font: 750 1.0625rem/1.3 var(--font-sans); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.store-arrow { width: 20px; height: 20px; color: var(--zip-steel); align-self: start; transition: color var(--dur-base) var(--ease-zip), transform var(--dur-base) var(--ease-zip); }
.store:hover .store-arrow { color: var(--zip-blue); transform: translate(2px, -2px); }
.store-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--radius-pill);
  font: 650 0.75rem/1 var(--font-sans); color: var(--zip-ink-2); background: var(--zip-cloud); border: 1px solid var(--zip-line);
}
.tag-brand { color: var(--zip-ink); }
.tag-pay { color: var(--zip-blue-night); background: var(--zip-mist); border-color: var(--zip-haze); }
.store.is-yours { border-color: var(--zip-blue); box-shadow: 0 0 0 3px rgba(26, 130, 252, 0.18), var(--shadow-md); }
.yours {
  position: absolute; top: -11px; right: 16px; height: 22px; padding: 0 10px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; font: 700 0.6875rem/1 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--zip-blue); color: var(--zip-white);
}

/* ── Как это работает ─────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step { position: relative; padding: var(--space-6); border-radius: var(--radius-xl); background: var(--zip-white); border: 1px solid var(--zip-line); }
.step p { color: var(--zip-slate); margin-top: var(--space-2); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-5);
  border-radius: 14px; background: var(--zip-gradient); color: var(--zip-white); font: 800 1.125rem/1 var(--font-sans);
  box-shadow: 0 8px 18px rgba(4, 98, 245, 0.25);
}

/* ── Для ИИ-ассистентов ───────────────────── */
.ai {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-7);
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl);
  background: var(--zip-gradient); color: var(--zip-white);
  box-shadow: var(--shadow-lg);
}
.ai::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent); pointer-events: none;
}
.ai .h2 { color: var(--zip-white); }
.ai-copy { position: relative; z-index: 1; max-width: 40rem; }
.ai-copy > p:not(.eyebrow) { margin-top: var(--space-4); color: rgba(255, 255, 255, 0.88); font: var(--text-body-l); }
.ai-code {
  display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-6); max-width: 30rem;
  padding: 6px 6px 6px 18px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
}
.ai-code code { flex: 1; min-width: 0; font: 600 0.9375rem/1.3 var(--font-mono); color: var(--zip-white); overflow-wrap: anywhere; }
.copy {
  flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--zip-white); color: var(--zip-blue); font: 700 0.875rem/1 var(--font-sans);
  transition: transform var(--dur-fast) var(--ease-zip);
}
.copy:active { transform: scale(0.96); }
.ai-mark { position: relative; z-index: 1; width: 150px; height: auto; opacity: 0.95; filter: drop-shadow(0 18px 40px rgba(3, 40, 110, 0.35)); }

/* ── Один бренд ────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.names {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
  padding: var(--space-7) var(--space-6); border-radius: var(--radius-xl); background: var(--zip-white); border: 1px solid var(--zip-line); box-shadow: var(--shadow-sm);
}
.names-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.old-name { padding: 8px 14px; border-radius: var(--radius-pill); background: var(--zip-cloud); border: 1px dashed var(--zip-line-strong); color: var(--zip-slate); font: 650 0.875rem/1 var(--font-sans); }
.names-arrow { color: var(--zip-sky); }
.names img { width: 220px; height: auto; }

/* ── Подвал ────────────────────────────────── */
.foot { padding: var(--space-7) 0; border-top: 1px solid var(--zip-line); }
.foot-row { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.foot-nav { display: flex; gap: var(--space-5); }
.foot-nav a { color: var(--zip-slate); font-weight: 600; font-size: 0.9375rem; }
.foot-nav a:hover { color: var(--zip-blue); }
.foot-mail { margin-left: auto; font-weight: 700; font-size: 0.9375rem; }
.foot-copy { color: var(--zip-steel); font: var(--text-small); }

/* ── Появление при прокрутке (только с JS) ── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-zip), transform var(--dur-slow) var(--ease-zip); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Адаптив ───────────────────────────────── */
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-row .btn { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-art { justify-self: center; max-width: 460px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > div:nth-child(4) { border-left: 0; }
  .stats > div:nth-child(n + 4) { border-top: 1px solid var(--zip-line); }
  .steps { grid-template-columns: 1fr; }
  .ai { grid-template-columns: 1fr; }
  .ai-mark { display: none; }
  .brand-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 560px) {
  .top-row { height: 64px; }
  .top-logo img { width: 124px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .ai-code code { font-size: 0.8125rem; }
  .hero-art { max-width: 380px; }
  .pill { font-size: 0.75rem; padding: 5px 10px 5px 5px; }
  .pill img { width: 18px; height: 18px; }
  .pill b { display: none; }
  .p5, .p6, .p7 { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { padding: var(--space-4) var(--space-5); }
  .stats > div:nth-child(3), .stats > div:nth-child(5) { border-left: 0; }
  .stats > div:nth-child(4) { border-left: 1px solid var(--zip-line); }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--zip-line); }
  .stats > div:last-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr; }
  .step { padding: var(--space-5); }
  .foot-mail { margin-left: 0; width: 100%; }
  .foot-copy { width: 100%; }
}
