/* ============================================================
   MILENON(R) - styles.css
   Единый файл стилей проекта. Порядок ниже сохраняет исходный
   каскад (было: main.css -> v2-high-end.css -> article.css),
   поэтому все переопределения работают как прежде.
   ============================================================ */

/* ============================================================
   ЧАСТЬ 1 — БАЗА (бывший main.css): токены, сброс, компоновка
   ============================================================ */
/* ============================================================
   MILENON® — main.css
   Единый CSS-файл проекта. Дизайн-токены — в :root (см. ТЗ п.6.2).
   Секции размечены комментариями-маркерами для быстрой навигации.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Цвета (палитра упаковки: Cyan, Reflex Blue C — ТЗ п.6.2) --- */
  --brand-cyan: #00A0E3;          /* Process Cyan — логотип, крупные акценты (>=24px/700) */
  --brand-blue: #001489;          /* Reflex Blue C — заголовки, кнопки, ссылки */
  --brand-blue-deep: #0A1A5C;     /* градиенты, футер, подложка "мазка" */
  --surface: #FFFFFF;
  --surface-alt: #F2F8FD;
  --text: #17203A;
  --text-muted: #5A6480;
  --accent-magenta: #EC008C;      /* только в логотипе Kusum, точечно */

  /* --- Типографика --- */
  --font-main: 'Golos Text', 'Onest', 'Inter', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2rem, 4.5vw + 0.5rem, 3rem);      /* 32 / 48 px */
  --fs-h2: clamp(1.625rem, 3vw + 0.5rem, 2.25rem);  /* 26 / 36 px */
  --fs-h3: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);  /* 20 / 24 px */
  --fs-body: clamp(1rem, 0.3vw + 0.9rem, 1.125rem); /* 16 / 18 px */
  --fs-small: clamp(0.8125rem, 0.2vw + 0.75rem, 0.875rem); /* 13 / 14 px */
  --fs-button: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem); /* 16 / 17 px */

  --lh-body: 1.55;
  --measure: 75ch; /* максимальная длина строки */

  /* --- Пространство --- */
  --section-py: 80px;
  --container: 1200px;
  --container-pad: 24px;

  /* --- Радиусы --- */
  --radius-sm: 8px;
  --radius-md: 10px;   /* кнопки */
  --radius-lg: 16px;   /* карточки */
  --radius-xl: 24px;
  --radius-full: 999px; /* чипы, табы */

  /* --- Тени (одноуровневые, мягкие) --- */
  --shadow-sm: 0 1px 3px rgba(23, 32, 58, .08);
  --shadow-md: 0 4px 16px rgba(23, 32, 58, .10);
  --shadow-lg: 0 12px 32px rgba(23, 32, 58, .14);

  /* --- Переходы --- */
  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  /* --- Тач-таргет --- */
  --tap-min: 44px;
}

@media (max-width: 1024px) {
  :root { --section-py: 72px; }
}
@media (max-width: 768px) {
  :root { --section-py: 56px; --container-pad: 16px; }
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  /* clip, не hidden: overflow-x:hidden на body превращает его в свой
     скролл-контейнер и ломает position:sticky у шапки (правка пользователя —
     зафиксировать меню при прокрутке); clip прячет горизонтальный вылет
     декоративных элементов без этого побочного эффекта. */
  overflow-x: clip;
}

h1, h2, h3 { color: var(--brand-blue); font-weight: 700; line-height: 1.2; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

/* Skip-link — доступность */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   3. КОМПОНЕНТЫ: КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: var(--fs-button);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-blue-deep);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.btn--secondary:hover { background: rgba(0, 20, 137, .06); }

/* ============================================================
   4. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), padding var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(23, 32, 58, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  transition: padding var(--transition);
}
.site-header.scrolled .site-header__inner { padding-block: 10px; }

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark {
  height: 32px;
  width: auto;
}
@media (max-width: 480px) {
  .logo__mark { height: 24px; }
}

.main-nav {
  display: none;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .main-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: .01em;
    padding-block: 4px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: var(--brand-blue);
    border-color: var(--brand-cyan);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--surface-alt);
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-switch button,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  min-height: 32px;
  transition: background var(--transition), color var(--transition);
}
.lang-switch button[aria-pressed="true"],
.lang-switch a[aria-current="page"] {
  background: var(--brand-blue);
  color: #fff;
}

.header-actions .btn {
  display: none;
}
@media (min-width: 640px) {
  .header-actions .btn { display: inline-flex; }
}

/* Бургер — задел на будущее (мобильная навигация появится вместе с остальными секциями) */
.burger {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}
@media (min-width: 1024px) {
  .burger { display: none; }
}
.burger__box {
  position: relative;
  width: 22px;
  height: 16px;
}
.burger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 7px; }
.burger__line:nth-child(3) { top: 14px; }

/* ============================================================
   5. HERO (Экран 1 — ТЗ п.5.1)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 24px;
  background: linear-gradient(175deg, var(--surface) 0%, var(--surface-alt) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 40px 0;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 40px;
    padding-block: 48px 0;
    align-items: start;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 160, 227, .12);
  color: var(--brand-blue);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  flex-shrink: 0;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.5vw + 0.5rem, 3.75rem);
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--brand-cyan); }

.hero__subtitle {
  max-width: 44ch;
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero__subtitle strong { color: var(--text); font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 40px;
}
.hero__badge svg { flex-shrink: 0; color: var(--brand-blue); }

/* --- Фото модели ---
   Реальное фото (прозрачный фон, PNG) — модель уже держит тубу
   в кадре (ТЗ п.7, взрослая аудитория 25–45 лет — см. позиционирование
   vs Блемиш® в §who). Bleed-стиль без карточки/рамки: фото стоит на
   нижнем крае hero и "срезается" волновым разделителем секции. */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  inset: 10% -10% -5% -10%;
  background: radial-gradient(60% 70% at 55% 60%, rgba(0, 160, 227, .22), transparent 72%);
  pointer-events: none;
}

.hero__photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 20, 137, .18));
}

@media (max-width: 899px) {
  .hero__photo-img { max-width: 280px; margin-inline: auto; }
}

@media (min-width: 900px) {
  .hero__photo-img { width: 120%; max-width: 800px; }
}

/* ============================================================
   5b. SCROLL REVEAL (Intersection Observer, см. main.js)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   5c. ВОЛНОВЫЕ РАЗДЕЛИТЕЛИ МЕЖДУ СЕКЦИЯМИ
   Плавные, округлые переходы разной амплитуды вместо прямых линий
   (см. правку пользователя). Лежат последним элементом секции,
   заливка = фон следующей секции — создаёт эффект "наплыва" цвета.
   ============================================================ */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: var(--wave-h, 48px);
}

/* Широкий низкий полукруг, "срезающий" низ фото модели в hero (см. правку пользователя) */
.wave-divider--hero { z-index: 3; }
.wave-divider--hero svg { height: 140px; }
@media (min-width: 900px) {
  .wave-divider--hero svg { height: 220px; }
}

/* ============================================================
   6. МОБИЛЬНОЕ МЕНЮ
   ============================================================ */
.mobile-menu {
  border-top: 1px solid var(--surface-alt);
  background: var(--surface);
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 8px var(--container-pad) 16px;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--surface-alt);
}

/* ============================================================
   7. ОБЩИЕ КОМПОНЕНТЫ СЕКЦИЙ
   ============================================================ */
/* Секции — явные фоны (не nth-of-type-алгоритм): порядок подобран так,
   чтобы заливка каждого .wave-divider совпадала с фоном следующей секции. */
main section { position: relative; padding-block: var(--section-py); background: var(--surface); }
.who { background: var(--surface-alt); }
.mechanism { background: var(--surface); }
.benefits { background: var(--surface-alt); }
.usage { background: var(--surface); }
.faq { background: var(--surface-alt); }
.where-to-buy { background: var(--surface); }

.section-tag {
  display: inline-block;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
section h2 { margin-bottom: 14px; max-width: 22ch; }
.section-lead {
  max-width: var(--measure);
  color: var(--text-muted);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: 40px;
}
.disclaimer-note {
  margin-top: 24px;
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: var(--measure);
}
.fs-note { font-size: var(--fs-small); color: var(--text-muted); }

/* ============================================================
   8. КОМУ ПОДХОДИТ (упрощённая развилка «акне / розацеа»)
   ============================================================ */
.who__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .who__grid { grid-template-columns: 1fr 1fr; }
}
.who__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: var(--tap-min);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.who__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* .who__photo — базовые размеры/фон определены ниже (раздел «ДОПОЛНЕНИЯ»),
   где вместо заглушки-градиента встали настоящие фотографии на белом фоне. */
.who__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--brand-blue);
  padding: 20px 24px 6px;
}
.who__desc { color: var(--text-muted); padding: 0 24px 24px; }
.who__note { font-size: var(--fs-small); color: var(--text-muted); }

/* ============================================================
   9. КАК ДЕЙСТВУЕТ (сжато до сути)
   ============================================================ */
.mechanism__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.mechanism__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.mechanism__photo img {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(23, 32, 58, .12));
}
.mech__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.mech__item {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-alt);
}
.mech__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.mech__item h3 { margin-bottom: 8px; }
.mech__item p { color: var(--text-muted); }

/* ============================================================
   10. ПРЕИМУЩЕСТВА
   ============================================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit-card {
  background: var(--surface);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.benefit-card h3 { font-size: var(--fs-h3); font-weight: 600; }

/* ============================================================
   11. КАК ПРИМЕНЯТЬ
   ============================================================ */
.usage__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .usage__steps { grid-template-columns: repeat(4, 1fr); }
}
.usage__step {
  position: relative;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.usage__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.usage__step-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-muted);
}
.usage__step h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.usage__step p { color: var(--text-muted); font-size: var(--fs-small); }

.warning-box {
  background: var(--surface-alt);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text);
  max-width: var(--measure);
  margin-bottom: 24px;
}
.usage__accent { font-weight: 700; color: var(--brand-blue); margin-bottom: 20px; }
.usage__download { gap: 10px; }

/* ============================================================
   12. FAQ / АККОРДЕОН
   ============================================================ */
.accordion { max-width: var(--measure); }
.accordion__item {
  border-bottom: 1px solid var(--surface-alt);
}
.accordion__item h3 { font-size: inherit; font-weight: inherit; margin: 0; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 18px 4px;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text);
  min-height: var(--tap-min);
}
.accordion__trigger::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5em;
  font-weight: 400;
  color: var(--brand-blue);
  transition: transform var(--transition);
}
.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}
/* grid-rows вместо max-height: раньше main.js один раз вычислял
   scrollHeight в момент клика и жёстко прописывал px в style — после
   ресайза/поворота экрана (текст переливается в другую высоту) старое
   значение обрезало ответ. grid-template-rows: 0fr → 1fr всегда точно
   соответствует высоте текущего контента, без участия JS.
   align-items: start обязателен — без него единственный grid-item
   растягивается (align-self: stretch по умолчанию) на высоту строки,
   а высота самой строки в auto-контейнере, в свою очередь, выводится
   из высоты item'а: браузер разрешает эту круговую зависимость в 0
   вместо auto-content. */
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  align-items: start;
  transition: grid-template-rows 0.35s cubic-bezier(.4,0,.2,1);
}
.accordion__body-in {
  overflow: hidden;
  min-height: 0;
}
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) .accordion__body {
  grid-template-rows: 1fr;
}
.accordion__body p {
  color: var(--text-muted);
  padding: 0 4px 20px;
}

/* ============================================================
   13. ГДЕ КУПИТЬ
   ============================================================ */
.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .pharmacy-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .pharmacy-grid { grid-template-columns: repeat(5, 1fr); }
}
.pharmacy-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pharmacy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

/* ============================================================
   ЧАСТЬ 2 — ТЕМА (бывший v2-high-end.css): визуальный стиль,
   переопределяет часть правил из части 1
   ============================================================ */
/* ============================================================
   МИЛЕНОН® — тема «Aurora Lab»
   Развитие варианта B (skill: high-end-visual-design).

   Главная правка: у страницы больше нет одного универсального
   контейнера — вместо этого у каждого блока свой способ держать
   содержимое (стекло у .benefit-card--glass и .accordion__item,
   «ядро» в подносе у .who__card, вообще без контейнера — круг-иконка
   + тип + линейка у .mech__item).

   Плюс сломана одинаковость формы: срезанный угол у скругления
   (34/34/34/10 и зеркальное), арки, круги, капсулы, волны.
   ============================================================ */

/* ============================================================
   1. ТОКЕНЫ
   ============================================================ */
:root {
  --silver:   #EBEEF3;
  --silver-2: #E4E9F1;
  --light:    #F5F7FB;
  --core:     #FFFFFF;
  --ink:      #0B1224;
  --ink-2:    #59637A;
  --ink-3:    #808BA3;
  --blue:     #001489;
  --blue-2:   #0A2FB0;
  --cyan:     #00A0E3;
  --deep:     #050B2E;

  --grotesk: "Manrope", "Golos Text", system-ui, sans-serif;

  /* Форма: срезанный угол — подпись всей темы */
  --sq-a: 34px 34px 34px 10px;
  --sq-b: 10px 34px 34px 34px;
  --sq-c: 34px 10px 34px 34px;
  --sq-s: 22px 22px 22px 8px;

  --bezel-pad: 7px;
  --bezel-in: 27px;

  /* Диффузный амбиентный свет вместо чёрных теней */
  --lift:
    0 1px 2px rgba(11, 18, 36, .04),
    0 8px 18px -10px rgba(0, 20, 137, .10),
    0 34px 60px -28px rgba(0, 20, 137, .22);
  --lift-hi:
    0 2px 4px rgba(11, 18, 36, .05),
    0 14px 26px -12px rgba(0, 20, 137, .16),
    0 54px 88px -34px rgba(0, 20, 137, .30);
  --core-edge: inset 0 0 0 1px rgba(11, 18, 36, .05), inset 0 1px 0 0 rgba(255, 255, 255, .9);
  --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, .62), inset 0 1px 0 rgba(255, 255, 255, .9);

  /* --- Кривые движения (skill: animate) ---
     Встроенные ease-* слишком слабые, значения взяты из таблицы скилла. */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);     /* вход, выход, hover, press */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);    /* движение по экрану */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);     /* крупные перемещения */
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);  /* easeOutBack. Единственное применение
                                                        на странице — кружок подтверждения
                                                        выбора: редкое осознанное действие,
                                                        где лёгкий перелёт читается как «да,
                                                        принято». Больше нигде перелёта нет. */
}

/* ============================================================
   2. БАЗА
   ============================================================ */
body {
  background: var(--silver);
  color: var(--ink);
}

/* Аврора-пятна намеренно выходят за края секций — обрезаем их на уровне
   каждой секции, а не на <html>: overflow-x на <html>/<body> (даже clip)
   в некоторых браузерах всё равно превращает их в контекст прокрутки и
   ломает position:sticky у шапки (правка пользователя — зафиксировать
   меню при прокрутке). main section уже покрывает все декоративные пятна. */
main section { overflow-x: clip; }

/* Зерно поверх всего: убирает «векторную» стерильность.
   Фиксированный слой без событий — репейнтов при скролле нет. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

::selection { background: var(--blue); color: #fff; }

html { scrollbar-color: rgba(0, 20, 137, .3) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 20, 137, .26);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 20, 137, .45); background-clip: content-box; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--grotesk); color: var(--ink); }
.skip-link { border-radius: 999px; font-family: var(--grotesk); font-weight: 700; }

/* ============================================================
   3. КНОПКИ — капсула с вложенным круглым значком
   ============================================================ */
.btn {
  position: relative;
  border: 0;
  border-radius: 999px;
  gap: 12px;
  min-height: 54px;
  padding: 10px 10px 10px 28px;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.012em;
  transition: transform 180ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out);
}
.btn__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out);
}
.btn__ico svg { width: 15px; height: 15px; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 62%, #000C4E 130%);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(0, 20, 137, .28),
    0 16px 32px -14px rgba(0, 20, 137, .60),
    inset 0 1px 0 rgba(255, 255, 255, .20);
}
.btn--primary .btn__ico { background: rgba(255, 255, 255, .15); color: #fff; }
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 62%, #000C4E 130%);
  box-shadow:
    0 1px 2px rgba(0, 20, 137, .3),
    0 26px 46px -16px rgba(0, 20, 137, .62),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover .btn__ico { background: var(--cyan); color: #00113F; }
.btn--primary:active { transform: translateY(-3px) scale(.98); }

.btn--secondary {
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  color: var(--blue);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .05), 0 12px 26px -18px rgba(0, 20, 137, .4);
}
.btn--secondary .btn__ico { background: rgba(0, 20, 137, .09); color: var(--blue); }
.btn--secondary:hover {
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .06), 0 22px 40px -20px rgba(0, 20, 137, .48);
}
.btn--secondary:hover .btn__ico { background: var(--cyan); color: #00113F; }
.btn--secondary:active { transform: translateY(-3px) scale(.98); }

/* ============================================================
   4. ШАПКА — плавающая стеклянная капсула
   ============================================================ */
.site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
  padding-top: 16px;
  padding-inline: var(--container-pad);
}
.site-header.scrolled { box-shadow: none; border-bottom-color: transparent; }

.site-header__inner {
  gap: 20px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    var(--glass-edge),
    0 1px 2px rgba(11, 18, 36, .04),
    0 16px 36px -20px rgba(0, 20, 137, .38);
  /* Подтягивание к краю сделано трансформом: никаких layout-свойств в анимации */
  transition: background 260ms var(--ease-out), box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.site-header.scrolled .site-header__inner {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, .84);
  box-shadow:
    var(--glass-edge),
    0 2px 4px rgba(11, 18, 36, .05),
    0 20px 44px -22px rgba(0, 20, 137, .5);
}

.logo__mark { height: 26px; }

@media (min-width: 1024px) {
  .main-nav { gap: 4px; }
  .main-nav a {
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    border: 0;
    font-family: var(--grotesk);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: -0.008em;
    color: var(--ink-2);
    transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
  }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: var(--blue);
    background: rgba(0, 20, 137, .07);
    border-color: transparent;
  }
}

.lang-switch {
  border: 0;
  background: rgba(11, 18, 36, .05);
  box-shadow: inset 0 0 0 1px rgba(11, 18, 36, .05);
  padding: 3px;
}
.lang-switch button,
.lang-switch a {
  font-family: var(--grotesk);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.lang-switch button[aria-pressed="true"],
.lang-switch a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(0, 20, 137, .6);
}

.header-actions .btn {
  min-height: 44px;
  padding: 5px 5px 5px 20px;
  font-size: .875rem;
  gap: 10px;
}
.header-actions .btn__ico { width: 30px; height: 30px; }
.header-actions .btn__ico svg { width: 13px; height: 13px; }

.burger__line { background: var(--blue); }

.mobile-menu {
  border: 0;
  margin: 10px var(--container-pad) 0;
  padding: 6px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--glass-edge), 0 20px 44px -22px rgba(0, 20, 137, .5);
}
.mobile-menu nav { padding: 4px; gap: 2px; }
.mobile-menu a {
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  font-family: var(--grotesk);
  font-weight: 600;
  color: var(--ink);
}
.mobile-menu a:hover { background: rgba(0, 20, 137, .06); }

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  padding-top: 0;
  background:
    radial-gradient(48% 42% at 80% 6%, rgba(0, 160, 227, .26), transparent 66%),
    radial-gradient(44% 40% at 10% 18%, rgba(0, 20, 137, .12), transparent 70%),
    linear-gradient(180deg, #F7F9FC 0%, #E9EDF4 100%);
}
.hero__aurora {
  position: absolute;
  z-index: 0;
  inset: -12% -8% 18%;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 24% 34%, rgba(0, 160, 227, .30), transparent 70%),
    radial-gradient(30% 28% at 70% 10%, rgba(94, 118, 255, .16), transparent 72%);
  filter: blur(28px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.hero__inner { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .hero__inner { padding-block: 64px 0; gap: 32px; }
}

.hero__eyebrow {
  padding: 9px 18px 9px 14px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04);
  color: var(--blue);
  font-family: var(--grotesk);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.hero__eyebrow::before { box-shadow: 0 0 0 3px rgba(0, 160, 227, .22); }

.hero h1 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw + .6rem, 4.5rem);
  line-height: .98;
  letter-spacing: -0.042em;
  color: var(--ink);
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: 24px;
}
/* Акцент подчёркнут «маркером», а не цветом целиком */
.hero h1 .accent {
  color: var(--blue);
  background-image: linear-gradient(90deg, rgba(0, 160, 227, .58), rgba(0, 160, 227, .14));
  background-repeat: no-repeat;
  background-size: 100% .26em;
  background-position: 0 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 2px;
}

.hero__subtitle {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(1.0625rem, .7vw + .95rem, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 42ch;
  margin-bottom: 34px;
}

.hero__ctas { gap: 12px; margin-bottom: 32px; }

.hero__badge {
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-edge);
  font-family: var(--grotesk);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 44px;
}
.hero__badge svg { color: var(--cyan); }

/* Визуал: арка и кольца вместо прямоугольной подложки */
.hero__visual { position: relative; }
.hero__arch {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(84%, 430px);
  height: 76%;
  border-radius: 999px 999px 44px 44px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .92) 0%, rgba(223, 233, 246, .55) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .95),
    0 44px 88px -46px rgba(0, 20, 137, .38);
}
.hero__ring {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(96%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 20, 137, .10);
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 160, 227, .28);
}
.hero__glow {
  z-index: 0;
  background: radial-gradient(56% 62% at 52% 62%, rgba(0, 160, 227, .30), transparent 72%);
}
.hero__photo-img { z-index: 2; filter: drop-shadow(0 34px 40px rgba(0, 20, 137, .22)); }

.wave-divider--hero svg path { fill: var(--silver); }

/* ============================================================
   6. ОБЩЕЕ ДЛЯ СЕКЦИЙ
   ============================================================ */
.who       { background: var(--silver); }
.mechanism { background: var(--light); }
.benefits  { background: var(--silver-2); }
.usage     { background: var(--light); }
.faq       { background: var(--silver); }
.where-to-buy { background: var(--light); }

.who .wave-divider svg path       { fill: var(--light); }
.mechanism .wave-divider svg path { fill: var(--silver-2); }
.benefits .wave-divider svg path  { fill: var(--light); }
.usage .wave-divider svg path     { fill: var(--silver); }
.faq .wave-divider svg path       { fill: var(--light); }
.where-to-buy .wave-divider svg path { fill: var(--deep); }

main section { padding-block: clamp(84px, 10vw, 152px); }
.who { padding-top: clamp(32px, 4vw, 64px); }

/* Аврора-пятно как фон секции: не прямоугольник и не карточка */
.sec-aura {
  position: absolute;
  z-index: 0;
  width: min(64vw, 720px);
  aspect-ratio: 1.25;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 160, 227, .22), transparent 72%);
}
.sec-aura--left  { left: -16%; top: 6%; }
.sec-aura--right { right: -18%; top: 18%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 20, 137, .16), transparent 72%); }
main section > .container { position: relative; z-index: 1; }

/* Микро-бейдж секции */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04);
  color: var(--blue);
  font-family: var(--grotesk);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 160, 227, .2);
}

main section h2 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(2.125rem, 4vw + .5rem, 3.875rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(34px, 4.5vw, 60px);
}
.section-lead {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(1.0625rem, .7vw + .95rem, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 46ch;
}

/* ============================================================
   7. «ЯДРО» — белый блок в подносе (двойной бортик).
   Раньше здесь же жили ещё три класса-модификатора («материалы»
   mat-glass/mat-deep/mat-outline) — в разметке от них остался только
   этот, применённый к .who__card, остальные удалены как неиспользуемые.
   ============================================================ */
.who__card {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, .5);
  padding: var(--bezel-pad);
  box-shadow: var(--lift), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.who__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--bezel-pad);
  border-radius: var(--bezel-in);
  background: var(--core);
  box-shadow: var(--core-edge);
}

/* ============================================================
   8. КОМУ ПОДХОДИТ — зеркальные срезанные углы
   ============================================================ */
.who__grid { gap: 22px; margin-bottom: 26px; }
@media (min-width: 880px) {
  .who__grid { grid-template-columns: 1.08fr .92fr; align-items: stretch; }
  .who__card:nth-child(2) { margin-top: 40px; }
}
.who__card {
  align-items: stretch;
  text-align: left;
  border: 0;
  border-radius: var(--sq-a);
  overflow: visible;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.who__card:nth-child(2) { border-radius: var(--sq-b); }
.who__card::before { border-radius: var(--bezel-in) var(--bezel-in) var(--bezel-in) 4px; }
.who__card:nth-child(2)::before { border-radius: 4px var(--bezel-in) var(--bezel-in) var(--bezel-in); }
.who__card > * { position: relative; }
.who__card:hover { box-shadow: var(--lift-hi), inset 0 0 0 1px rgba(255, 255, 255, .75); }

/* Фото-панель: арочный верх, а не прямоугольник. Фон — белый (в тон
   белому фону самих фотографий), без синей плашки и без переключателя
   между карточками (см. правку пользователя). */
.who__photo {
  position: relative;
  aspect-ratio: auto;
  border-radius: 999px 999px 8px 8px / 120px 120px 8px 8px;
  background: #fff;
  overflow: hidden;
}
.who__photo svg { width: 34px; height: 34px; stroke-width: 1.1; }

.who__title {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--ink);
  padding: 26px 26px 8px;
  text-wrap: balance;
}
.who__desc { color: var(--ink-2); padding: 0 26px 28px; font-size: 1rem; line-height: 1.55; }
.who__note {
  color: var(--ink-2);
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: .875rem;
}

/* ============================================================
   9. КАК ДЕЙСТВУЕТ — арка-ниша + пункты БЕЗ карточек
   ============================================================ */
.mechanism__layout { gap: clamp(32px, 5vw, 72px); align-items: center; }
.mechanism__photo {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, .5);
  border-radius: 220px 220px 34px 34px;
  padding: var(--bezel-pad);
  box-shadow: var(--lift), inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.mechanism__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--bezel-pad);
  border-radius: 214px 214px 27px 27px;
  background:
    radial-gradient(76% 52% at 50% 104%, rgba(0, 160, 227, .26), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF3F9 100%);
  box-shadow: var(--core-edge);
}
.mechanism__photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(0, 160, 227, .3);
}
.mechanism__photo img {
  position: relative;
  max-width: 250px;
  margin: clamp(56px, 7vw, 96px) auto clamp(36px, 4vw, 56px);
  filter: drop-shadow(0 30px 40px rgba(0, 20, 137, .28));
}

/* mat-none: круглая иконка, тип, волосяная линейка */
.mech__grid { gap: 0; }
.mech__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 24px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0;
}
.mech__item + .mech__item { border-top: 1px solid rgba(11, 18, 36, .10); }
.mech__icon {
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  background:
    radial-gradient(90% 80% at 24% 12%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(148deg, rgba(0, 160, 227, .26), rgba(0, 20, 137, .14));
  box-shadow: inset 0 0 0 1px rgba(0, 20, 137, .10), 0 10px 22px -14px rgba(0, 20, 137, .7);
  color: var(--blue);
}
.mech__icon svg { width: 28px; height: 28px; stroke-width: 1.3; }
.mech__item h3 {
  grid-column: 2;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.1875rem, 1vw + .95rem, 1.625rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 10px;
  max-width: 24ch;
  text-wrap: balance;
}
.mech__item p { grid-column: 2; color: var(--ink-2); line-height: 1.6; max-width: 52ch; }

/* ============================================================
   10. ПРЕИМУЩЕСТВА — четыре карточки, ровная сетка 2×2 (правка
   пользователя: без крупной синей плитки и без контурной карточки —
   «Бережный подход» и «Удобное применение» оформлены как «Длительное
   применение» и стоят друг под другом одной колонкой)
   ============================================================ */
.benefits__grid { gap: 18px; }
@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
}
.benefit-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
  box-shadow: none;
  padding: 26px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.benefit-card:hover { box-shadow: var(--lift); }
.benefit-card h3 {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.125rem, .8vw + .95rem, 1.5rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.benefit-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(90% 80% at 24% 12%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(148deg, rgba(0, 160, 227, .24), rgba(0, 20, 137, .12));
  box-shadow: inset 0 0 0 1px rgba(0, 20, 137, .10);
  color: var(--blue);
  transition: transform 260ms var(--ease-out);
}
.benefit-card__icon svg { width: 24px; height: 24px; stroke-width: 1.3; }

/* Стекло — общий стиль всех четырёх карточек преимуществ */
.benefit-card--glass {
  border-radius: var(--sq-b);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04), 0 22px 44px -30px rgba(0, 20, 137, .45);
}

/* ============================================================
   11. ПРИМЕНЕНИЕ — рельс из кругов, без карточек
   ============================================================ */
.usage h2 { margin-bottom: 16px; }
.usage .section-lead { margin-bottom: clamp(52px, 6vw, 84px); }

.usage__steps {
  position: relative;
  gap: 32px 24px;
  margin-bottom: clamp(48px, 6vw, 76px);
}
@media (min-width: 860px) {
  .usage__steps { grid-template-columns: repeat(4, 1fr); }
  /* Пунктирная связка проходит через центры кругов */
  .usage__steps::before {
    content: "";
    position: absolute;
    top: 35px;
    left: calc(12.5% - 9px);
    right: calc(12.5% - 9px);
    height: 2px;
    background: repeating-linear-gradient(90deg,
      rgba(0, 20, 137, .22) 0 9px, transparent 9px 18px);
    /* Линия прочерчивается слева направо вслед за проявлением шагов */
    clip-path: inset(0 100% 0 0);
    transition: clip-path 900ms var(--ease-in-out) 240ms;
  }
  .usage__steps:has(.usage__step.is-visible)::before { clip-path: inset(0 0 0 0); }
}
.usage__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.usage__step-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 0 20px;
  border-radius: 50%;
  background:
    radial-gradient(90% 80% at 26% 14%, #FFFFFF, transparent 62%),
    linear-gradient(150deg, rgba(0, 160, 227, .3), rgba(0, 20, 137, .12)),
    var(--light);
  box-shadow:
    inset 0 0 0 1px rgba(0, 20, 137, .1),
    0 1px 2px rgba(11, 18, 36, .05),
    0 18px 34px -18px rgba(0, 20, 137, .6),
    0 0 0 10px var(--light);
  color: var(--blue);
  transition: transform 220ms var(--ease-out);
}
.usage__step-icon svg { width: 30px; height: 30px; stroke-width: 1.3; }
.usage__step-num {
  position: absolute;
  z-index: 2;
  top: -2px;
  right: auto;
  left: calc(50% + 20px);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--grotesk);
  font-size: .8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px var(--light), 0 6px 14px -6px rgba(0, 20, 137, .8);
}
.usage__step h3 {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.0625rem, .6vw + .95rem, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.026em;
  color: var(--ink);
  margin-bottom: 8px;
}
.usage__step p { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; max-width: 26ch; margin-inline: auto; }

.usage__accent {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.034em;
  color: var(--ink);
  margin-bottom: clamp(24px, 3vw, 34px);
}

/* Выноска — капсула со срезанным углом и круглым знаком */
.usage .warning-box {
  position: relative;
  border: 0;
  border-radius: var(--sq-a);
  background:
    radial-gradient(60% 140% at 4% 50%, rgba(0, 160, 227, .22), transparent 60%),
    rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge), 0 20px 40px -30px rgba(0, 20, 137, .45);
  padding: 28px 32px 28px 96px;
  max-width: 74ch;
  color: var(--ink-2);
  font-size: .9375rem;
  line-height: 1.62;
  margin-bottom: clamp(32px, 4vw, 46px);
}
.usage .warning-box::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 160, 227, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001489' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.4v5.6M12 16.4v.2'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 20, 137, .12);
}

.usage__download { gap: 12px; }

/* ============================================================
   12. FAQ — заголовок слева, гармошка справа
   ============================================================ */
@media (min-width: 980px) {
  .faq > .container {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  .faq .section-tag { grid-column: 1; grid-row: 1; }
  .faq h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; position: sticky; top: 108px; }
  .faq .accordion { grid-column: 2; grid-row: 1 / span 2; }
}

.accordion { max-width: none; display: grid; gap: 10px; }
.accordion__item {
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04);
  overflow: hidden;
  transition: background 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-radius 240ms var(--ease-out);
}
.accordion__item:hover { background: rgba(255, 255, 255, .74); }
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) {
  border-radius: var(--sq-a);
  background: var(--core);
  box-shadow: var(--lift), inset 0 0 0 1px rgba(0, 160, 227, .3);
}
.accordion__trigger {
  padding: 20px 22px;
  gap: 20px;
  font-family: var(--grotesk);
  font-size: clamp(1rem, .5vw + .9rem, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.accordion__trigger::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 20, 137, .07);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out), color 240ms var(--ease-out);
}
.accordion__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background: var(--cyan);
  color: #fff;
}
.accordion__body {
  /* main.css анимирует за 0.35s; здесь короче — раскрытие стоит
     layout на каждом кадре, длинная кривая тут дорога вдвойне */
  transition: grid-template-rows 240ms var(--ease-out);
}
.accordion__body p {
  color: var(--ink-2);
  padding: 0 68px 22px 22px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-6px);
  /* Выход быстрее входа: закрывается без задержки и вдвое короче */
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) .accordion__body p {
  opacity: 1;
  transform: none;
  transition: opacity 200ms var(--ease-out) 60ms, transform 200ms var(--ease-out) 60ms;
}

/* ============================================================
   13. ГДЕ КУПИТЬ — капсулы разной ширины, не сетка
   ============================================================ */
.where-to-buy .section-lead { margin-bottom: clamp(36px, 4vw, 52px); }
.pharmacy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.pharmacy-card {
  min-height: 60px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04);
  font-family: var(--grotesk);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
}
.pharmacy-card:nth-child(3n) { border-radius: var(--sq-s); }
.pharmacy-card:hover {
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .05), 0 22px 40px -22px rgba(0, 20, 137, .55);
  border-color: transparent;
}
.disclaimer-note { color: var(--ink-2); font-size: .875rem; }  /* 5.6:1, было 3.2:1 */

/* ============================================================
   14. МОБИЛЬНЫЙ ОТКАТ
   ============================================================ */
@media (max-width: 879px) {
  .who__card:nth-child(2) { margin-top: 0; }
  .mechanism__photo { border-radius: 180px 180px 30px 30px; padding: 6px; }
  .mechanism__photo::before { border-radius: 174px 174px 24px 24px; }
  .mechanism__photo img { max-width: 190px; margin-block: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 40px); }
}
@media (max-width: 767px) {
  main section { padding-block: clamp(64px, 12vw, 92px); }
  .site-header { padding-top: 10px; }
  .site-header__inner { padding: 7px 7px 7px 18px; }
  .hero h1 { max-width: none; }
  .hero__badge { margin-bottom: 28px; }
  .who__grid, .benefits__grid { gap: 14px; }
  .who__card { --bezel-in: 21px; }
  .who__card { border-radius: 28px 28px 28px 8px; }
  .who__card:nth-child(2) { border-radius: 8px 28px 28px 28px; }
  .who__title { padding-right: 26px; }
  .usage .warning-box { padding: 84px 24px 26px; }
  .usage .warning-box::before { left: 24px; top: 24px; }
  .usage__download { width: 100%; justify-content: space-between; }
  .accordion__body p { padding-right: 22px; }
}
@media (max-width: 859px) {
  /* main.css раскладывает шаги в 4 колонки уже с 640px — сбрасываем,
     иначе на планшете под текст остаётся ~90px */
  .usage__steps { grid-template-columns: 1fr; gap: 28px; }
  /* Строкой, но сеткой: иначе заголовок и описание встают рядом */
  .usage__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 20px;
    align-items: start;
    text-align: left;
  }
  .usage__step-icon {
    grid-row: span 2;
    margin: 0;
    width: 60px;
    height: 60px;
    box-shadow: inset 0 0 0 1px rgba(0, 20, 137, .1), 0 14px 26px -16px rgba(0, 20, 137, .6);
  }
  .usage__step h3 { grid-column: 2; align-self: center; }
  .usage__step p { grid-column: 2; margin-inline: 0; max-width: none; }
  .usage__step-num { left: 44px; top: -4px; }
}

/* ============================================================
   15. МОТОРИКА (skill: animate)

   Назначение у каждого движения:
     вход hero        — объяснение: задаёт порядок чтения
     скролл-ревилы    — снимают рывок появления
     развилка «кому»  — обратная связь и индикация состояния
     аккордеон        — не даёт содержимому телепортироваться
     рельс применения — объяснение: 1-2-3-4 это последовательность
     нажатия          — обратная связь

   Правило, которого держится вся секция: каждая зона входит
   в кадр ПО-СВОЕМУ. Одинаковый fade-up на всех блоках подряд —
   ровно то, из-за чего страница выглядит неоживлённой.

   Архитектурная развилка: там, где у элемента есть и вход,
   и hover-трансформация, вход сделан КЛЮЧЕВЫМИ КАДРАМИ с
   fill: backwards. forwards/both удержали бы transform после
   конца анимации и намертво заблокировали hover; backwards
   отпускает элемент, и наведение снова работает своими 260 мс.
   Транзишены оставлены там, где hover-трансформации нет.

   Чего здесь нет: движения у пунктов меню, логотипа и волновых
   разделителей — мимо них проходят десятки раз за визит.
   ============================================================ */

/* --- 15.1 Вход hero ------------------------------------------
   Заранее известное движение, которое обязано остаться гладким,
   пока грузятся шрифты и фото: это работа CSS-анимации, а не
   IntersectionObserver. Поэтому .reveal внутри hero гасится.    */
.hero .reveal { opacity: 1; transform: none; filter: none; transition: none; }

/* Заголовок выезжает из-под маски — по слову, слева направо.
   Маска опущена ниже базовой линии, иначе срезает хвосты у, р, ц. */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .18em;
  margin-bottom: -.18em;
}
.hero h1 .w > span {
  display: inline-block;
  animation: wordUp 860ms var(--ease-out) both;
  animation-delay: calc(var(--i) * 48ms + 120ms);
}
@keyframes wordUp {
  from { transform: translateY(112%); }
  to   { transform: translateY(0); }
}

/* Маркер под акцентом прочерчивается после того, как слова встали */
@keyframes accentDraw { from { background-size: 0% .26em; } }
/* backwards, а не both: иначе размер фона остаётся под контролем
   анимации и подчёркивание пропадает, если она не отыграла */
.hero h1 .accent { animation: accentDraw 780ms var(--ease-out) 740ms backwards; }

@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } }
@keyframes heroWipe {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes heroFade { from { opacity: 0; } }

.hero__eyebrow  { animation: heroRise 620ms var(--ease-out)  40ms backwards; }
.hero__subtitle { animation: heroWipe 900ms var(--ease-out) 660ms backwards; }
.hero__ctas     { animation: heroRise 640ms var(--ease-out) 820ms backwards; }
.hero__badge    { animation: heroRise 620ms var(--ease-out) 920ms backwards; }

/* Сцена собирается по слоям: арка вырастает от пола, кольца
   раскручиваются, модель встаёт в арку. */
@keyframes archGrow { from { opacity: 0; transform: translateX(-50%) scaleY(.7); } }
@keyframes ringOpen { from { opacity: 0; transform: translateX(-50%) scale(.8) rotate(-16deg); } }
@keyframes photoRise { from { opacity: 0; transform: translateY(52px) scale(1.03); } }

.hero__arch {
  transform-origin: 50% 100%;
  animation: archGrow 1000ms var(--ease-drawer) 120ms backwards;
}
.hero__ring { animation: ringOpen 1300ms var(--ease-out) 400ms backwards; }
.hero__glow { animation: heroFade 1200ms var(--ease-out) 540ms backwards; }
.hero__photo-img { animation: photoRise 1000ms var(--ease-drawer) 280ms backwards; }

/* Внутреннее пунктирное кольцо живёт своей жизнью */
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hero__ring::after { animation: ringSpin 90s linear infinite; }

/* --- 15.2 Обёртки сцены hero -----------------------------------
   Просто позиционирующие контейнеры: .hero__stage держит арку/кольцо/
   свечение абсолютным слоем позади фото, .hero__photo-wrap центрирует
   само фото. Отдельного скролл-параллакса на них больше нет. */
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__photo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* --- 15.3 База ревилов ---------------------------------------
   Транзишены — для блоков без hover-трансформации.              */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out),
    filter 620ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* Подпись приходит сбоку, заголовок — снизу и дальше: пара
   читается как одно движение с разной массой. */
.section-tag.reveal { transform: translateX(-22px); filter: none; }
main section h2.reveal { transform: translateY(42px); }
.section-lead.reveal { transform: translateY(30px); transition-delay: 60ms; }

/* Контейнеры, у которых анимируются дети, сами не проявляются */
.accordion.reveal,
.pharmacy-grid.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

/* --- 15.4 «Кому подходит»: карточки разъезжаются от центра ---- */
@keyframes whoInL { from { opacity: 0; transform: translate(calc(-1 * var(--dx, 30px)), 38px) rotate(-1.6deg); } }
@keyframes whoInR { from { opacity: 0; transform: translate(var(--dx, 30px), 38px) rotate(1.6deg); } }

.who__card.reveal {
  transform: none;
  filter: none;
  /* .reveal объявляет transition на 620ms и перебивает базовые 260ms,
     из-за чего наведение становится ватным. Возвращаем. */
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.who__card.reveal.is-visible {
  opacity: 1;
  animation: whoInL 860ms var(--ease-drawer) backwards;
}
.who__card:nth-child(2).reveal.is-visible {
  animation: whoInR 860ms var(--ease-drawer) 110ms backwards;
}

/* --- 15.5 «Как действует» ------------------------------------
   Ниша с препаратом поднимается из пола маской, следом внутри
   неё встаёт упаковка — .mechanism__photo.reveal ниже переиспользует
   общую .reveal-анимацию. Отдельного входа у .mech__item нет: этот
   элемент никогда не получает класс .reveal/.is-visible, разделители
   между пунктами статичны (см. раздел «ДОПОЛНЕНИЯ»).              */

/* --- 15.6 Бенто: у каждой из четырёх карточек — свой вход ------ */
@keyframes benLift  { from { opacity: 0; transform: translateY(52px) scale(.93); } }
@keyframes benRight { from { opacity: 0; transform: translateX(var(--dx, 56px)); } }
@keyframes benPress { from { opacity: 0; transform: scale(.88); } }
@keyframes benDraw  { from { opacity: 0; transform: translateY(32px); box-shadow: inset 0 0 0 0 rgba(0, 20, 137, .16); } }

.benefit-card.reveal {
  transform: none;
  filter: none;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.benefit-card.reveal.is-visible { opacity: 1; }
.benefit-card:nth-child(1).reveal.is-visible { animation: benLift  900ms var(--ease-drawer) backwards; }
.benefit-card:nth-child(2).reveal.is-visible { animation: benRight 760ms var(--ease-out)  90ms backwards; }
.benefit-card:nth-child(3).reveal.is-visible { animation: benPress 760ms var(--ease-out) 180ms backwards; }
.benefit-card:nth-child(4).reveal.is-visible { animation: benDraw  820ms var(--ease-out) 270ms backwards; }

/* --- 15.7 Рельс применения ----------------------------------- */
@keyframes stepIn   { from { opacity: 0; transform: translateY(36px); } }
@keyframes nodePop  { from { transform: scale(.68); opacity: 0; } }
@keyframes numPop   { from { transform: scale(.4); opacity: 0; } }

.usage__step.reveal { transform: none; filter: none; transition: none; }
.usage__step.reveal.is-visible { opacity: 1; animation: stepIn 700ms var(--ease-out) backwards; }
.usage__step:nth-child(2).reveal.is-visible { animation-delay: 110ms; }
.usage__step:nth-child(3).reveal.is-visible { animation-delay: 220ms; }
.usage__step:nth-child(4).reveal.is-visible { animation-delay: 330ms; }

.usage__step.is-visible .usage__step-icon {
  animation: nodePop 720ms var(--ease-drawer) calc(var(--sd, 0ms) + 120ms) backwards;
}
.usage__step.is-visible .usage__step-num {
  animation: numPop 520ms var(--ease-out) calc(var(--sd, 0ms) + 400ms) backwards;
}
.usage__step:nth-child(2) { --sd: 110ms; }
.usage__step:nth-child(3) { --sd: 220ms; }
.usage__step:nth-child(4) { --sd: 330ms; }

/* --- 15.8 FAQ: строки прочерчиваются слева -------------------- */
@keyframes faqIn {
  from { opacity: 0; transform: translateY(20px); clip-path: inset(0 100% 0 0 round 22px); }
  to   { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0 round 22px); }
}
.accordion.is-visible .accordion__item { animation: faqIn 660ms var(--ease-out) backwards; }
.accordion.is-visible .accordion__item:nth-child(2) { animation-delay:  60ms; }
.accordion.is-visible .accordion__item:nth-child(3) { animation-delay: 120ms; }
.accordion.is-visible .accordion__item:nth-child(4) { animation-delay: 180ms; }
.accordion.is-visible .accordion__item:nth-child(5) { animation-delay: 240ms; }
.accordion.is-visible .accordion__item:nth-child(6) { animation-delay: 300ms; }
.accordion.is-visible .accordion__item:nth-child(7) { animation-delay: 360ms; }
.accordion.is-visible .accordion__item:nth-child(8) { animation-delay: 420ms; }

/* --- 15.9 Где купить: капсулы выскакивают по очереди ---------- */
@keyframes chipIn { from { opacity: 0; transform: translateY(18px) scale(.88); } }
.pharmacy-grid.is-visible .pharmacy-card { animation: chipIn 560ms var(--ease-out) backwards; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(2) { animation-delay:  55ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(3) { animation-delay: 110ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(4) { animation-delay: 165ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(5) { animation-delay: 220ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(6) { animation-delay: 275ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(7) { animation-delay: 330ms; }
.pharmacy-grid.is-visible .pharmacy-card:nth-child(8) { animation-delay: 385ms; }

/* --- 15.10 Бургер: линии складываются в X --------------------- */
.burger__line { transition: transform 240ms var(--ease-out), opacity 140ms var(--ease-out); }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 15.11 Мобильное меню выходит из кнопки ------------------
   Закрытие мгновенное: main.js ставит hidden, а из display:none
   выйти анимацией нельзя без allow-discrete.                    */
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.mobile-menu:not([hidden]) {
  transform-origin: top right;
  animation: menuIn 280ms var(--ease-out) both;
}
.mobile-menu:not([hidden]) nav a { animation: heroRise 420ms var(--ease-out) backwards; }
.mobile-menu:not([hidden]) nav a:nth-child(2) { animation-delay:  55ms; }
.mobile-menu:not([hidden]) nav a:nth-child(3) { animation-delay: 110ms; }
.mobile-menu:not([hidden]) nav a:nth-child(4) { animation-delay: 165ms; }
.mobile-menu:not([hidden]) nav a:nth-child(5) { animation-delay: 220ms; }

/* --- 15.12 Наведение: только там, где есть настоящий курсор ---
   На тапе браузер выдаёт ложный hover и трансформация залипает
   до следующего касания.                                        */
@keyframes sheen {
  from { transform: translateX(-130%); opacity: 0; }
  28%  { opacity: .85; }
  to   { transform: translateX(130%); opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover,
  .btn--secondary:hover                   { transform: translateY(-3px); }
  .btn--primary:hover .btn__ico           { transform: translate(3px, -3px) scale(1.12); }
  .btn--secondary:hover .btn__ico         { transform: translateX(4px) scale(1.12); }

  .who__card:hover                        { transform: translateY(-8px); }
  .who__card:hover .who__photo img        { transform: scale(1.05); }

  .benefit-card:hover                     { transform: translateY(-8px); }
  .benefit-card:hover .benefit-card__icon { transform: translateY(-3px) rotate(-6deg) scale(1.1); }

  /* Блик прокатывается по стеклянным плиткам */
  .benefit-card--glass::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(104deg, transparent 34%, rgba(255, 255, 255, .9) 50%, transparent 66%);
    transform: translateX(-130%);
    opacity: 0;
    pointer-events: none;
  }
  .benefit-card--glass:hover::before { animation: sheen 900ms var(--ease-out) forwards; }

  .usage__step:hover .usage__step-icon    { transform: translateY(-5px) scale(1.07); }
  .pharmacy-card:hover                    { transform: translateY(-5px) scale(1.03); }

  /* Точка под пунктом навигации */
  .main-nav a { position: relative; }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    transform: translateX(-50%) scale(0);
    transition: transform 200ms var(--ease-out);
  }
  .main-nav a:hover::after { transform: translateX(-50%) scale(1); }
}

/* --- 15.13 Нажатие: интерфейс услышал -------------------------
   Идёт после блока наведения намеренно: при равной специфичности
   выигрывает то, что ниже, и нажатие перебивает наведение.       */
.btn--primary:active,
.btn--secondary:active,
.pharmacy-card:active { transform: scale(.96); transition-duration: 140ms; }
.who__card:active     { transform: scale(.985); transition-duration: 140ms; }
.accordion__trigger:active::after { transform: scale(.9); }
.accordion__trigger[aria-expanded="true"]:active::after { transform: rotate(45deg) scale(.9); }

/* --- 15.14 Меньше и мягче при prefers-reduced-motion ----------
   Цветовые и теневые переходы остаются, уходит всё, что двигается
   и меняет положение.                                            */
/* На узком экране боковые заходы короче: 48px на карточке шириной
   358px — это половина видимого хода, и блок заметно уезжает за край. */
@media (max-width: 767px) {
  .who__card, .benefit-card { --dx: 24px; }
  .section-tag.reveal { transform: translateX(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-tag.reveal,
  main section h2.reveal,
  .section-lead.reveal,
  .who__card.reveal,
  .benefit-card.reveal,
  .usage__step.reveal,
  .mechanism__photo.reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero__aurora,
  .hero h1 .w > span,
  .hero h1 .accent,
  .hero__eyebrow, .hero__subtitle, .hero__ctas, .hero__badge,
  .hero__arch, .hero__ring, .hero__ring::after, .hero__glow, .hero__photo-img,
  .who__card.reveal.is-visible,
  .who__card:nth-child(2).reveal.is-visible,
  .mechanism__photo.reveal.is-visible,
  .mechanism__photo.reveal.is-visible img,
  .benefit-card.reveal.is-visible,
  .usage__step.reveal.is-visible,
  .usage__step.is-visible .usage__step-icon,
  .usage__step.is-visible .usage__step-num,
  .accordion.is-visible .accordion__item,
  .pharmacy-grid.is-visible .pharmacy-card,
  .mobile-menu:not([hidden]),
  .mobile-menu:not([hidden]) nav a {
    animation: none;
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .hero h1 .accent { background-size: 100% .26em; }
  .hero__arch, .hero__ring { transform: translateX(-50%); }
  .hero h1 .w { overflow: visible; }

  .usage__steps::before { clip-path: none; transition: none; }
  .accordion__body p { opacity: 1; transform: none; transition: none; }
  .burger__line { transition: none; }
  .btn--primary:active, .btn--secondary:active,
  .pharmacy-card:active, .who__card:active { transform: none; }
}

/* ============================================================
   16. ДОПОЛНЕНИЯ (правки заказчика — см. историю чата)
   ============================================================ */

/* --- Фото модели в hero: мягкое растворение к низу, чтобы прямой
   край PNG не читался как "обрезанное" фото под волновым разделителем.
   На широких экранах волна не всегда докрывает низ фото (её самая
   мелкая точка "прогиба" уходит по центру страницы и может не совпасть
   с колонкой фото) — поэтому декоративную подложку (.hero__stage: арка,
   кольцо, свечение) растворяем ТЕМ ЖЕ градиентом, что и фото, чтобы под
   прозрачным низом фото не проступали их собственные жёсткие края. --- */
.hero__photo-img,
.hero__stage {
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 94%);
}

/* --- Ключевое сообщение бренда --- */
.key-message {
  position: relative;
  padding-block: clamp(28px, 4vw, 44px);
  background: linear-gradient(146deg, var(--cyan) -10%, var(--blue-2) 58%, #00114F 130%);
}
.key-message__text {
  margin: 0 auto;
  max-width: 46ch;
  text-align: center;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.125rem, 1vw + .95rem, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #fff;
}

/* --- Кому подходит: карточки одинаковой высоты и ширины, фото + текст --- */
.who__grid--even { align-items: stretch; }
@media (min-width: 880px) {
  .who__grid--even { grid-template-columns: 1fr 1fr; }
  .who__grid--even .who__card:nth-child(2) { margin-top: 0; }
}
.who__grid--even .who__card { display: flex; flex-direction: column; height: 100%; }
.who__grid--even .who__photo { flex-shrink: 0; }
/* Карточки с полноразмерным 1:1 фото были слишком высокими (правка
   пользователя) — ограничиваем видимый размер фото и подсвечиваем его
   белым полем вокруг, само изображение при этом не обрезается. */
.who__photo {
  display: flex;
  justify-content: center;
  padding: 28px 28px 0;
}
.who__photo img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  transition: transform 320ms var(--ease-out);
}
.who__desc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.who__desc p:not(.who__desc-lead) { margin: 0; }
.who__desc-lead {
  margin-top: 8px;
  font-weight: 700;
  color: var(--ink);
}
.who__desc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  list-style: disc;
}
.who__desc-list li { line-height: 1.5; }
.who__note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.who__note a:hover { color: var(--cyan); }

/* --- Как действует: фото-упаковка по центру сверху, дальше — два
   горизонтальных блока-панели во всю ширину секции (правка пользователя:
   боковая колонка с фото делала список слишком узким и оставляла пустоту
   под маленьким фото — переходим на горизонтальную раскладку). --- */
/* Двухколоночная раскладка (фото слева, панели справа) больше нигде
   не включается — .mechanism__layout остаётся 1-колоночной с базового
   правила выше; здесь только центрируем содержимое. */
.mechanism__layout { justify-items: center; }
/* Убрали арку-нишу и пунктирное кольцо вокруг упаковки — оставили
   только само фото, крупнее (правка пользователя). */
.mechanism__photo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: none;
  box-shadow: none;
  padding: 0;
}
.mechanism__photo::before,
.mechanism__photo::after { display: none; }
.mechanism__photo img {
  max-width: 100%;
  margin: 0;
}
.mech__grid { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.mech__panel {
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-radius: 24px;
  padding: 6px 28px;
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04), 0 20px 40px -30px rgba(0, 20, 137, .4);
}
.mech__panel-label {
  padding-top: 22px;
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
/* Мобильный/узкий вид: пункты — вертикальный список, разделители сверху. */
.mech__item + .mech__item { border-top: 1px solid rgba(11, 18, 36, .10); }
.mech__item + .mech__item::before { display: none; }

/* Широкий вид: те же пункты внутри панели раскладываются в ряд —
   иконка сверху, разделители вертикальные между колонками. */
@media (min-width: 700px) {
  .mech__panel { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px; }
  .mech__panel-label { grid-column: 1 / -1; padding-top: 0; padding-bottom: 14px; }
  .mech__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 24px;
  }
  .mech__item + .mech__item { border-top: 0; border-left: 1px solid rgba(11, 18, 36, .10); }
  /* :first-of-type/:last-of-type, а не :first-child/:last-child: во второй
     панели первым ребёнком идёт .mech__panel-label, а не .mech__item —
     из-за :first-child колонки там не получали нулевой отступ. */
  .mech__item:first-of-type { padding-left: 0; }
  .mech__item:last-of-type { padding-right: 0; }
  .mech__item h3, .mech__item p { grid-column: auto; max-width: none; }
}

/* --- Преимущества: факты о продукте над бенто-сеткой --- */
.product-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  padding: 22px 26px;
  border-radius: var(--sq-c);
  background: rgba(255, 255, 255, .5);
  box-shadow: var(--glass-edge), 0 1px 2px rgba(11, 18, 36, .04);
}
@media (min-width: 760px) {
  .product-facts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.product-facts__item dt {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .01em;
  color: var(--blue);
  margin-bottom: 4px;
}
.product-facts__item dd {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- Подвал: тёмный, минимальный (правка пользователя) — только
   белый логотип, меню (как в шапке), фраза про рецепт и адрес,
   двумя строками: логотип+меню сверху, реквизит+адрес снизу. --- */
.site-footer {
  background: var(--deep);
  padding-block: 36px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 14px;
  column-gap: 40px;
}
.site-footer__row--bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  align-items: flex-start;
}
.site-footer__logo {
  /* Логотип цветной (SVG-картинка) — перекрашиваем в белый фильтром,
     раз fill в img недоступен. */
  filter: brightness(0) invert(1);
}
.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, .82);
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}
.site-footer__nav a:hover { color: var(--cyan); }
.site-footer__rx,
.site-footer__address {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: .8125rem;
  line-height: 1.55;
}
.site-footer__address { text-align: right; }
@media (max-width: 700px) {
  .site-footer__row, .site-footer__row--bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__address { text-align: left; }
}

/* --- Плавающая кнопка «Где купить»: иконка корзины + крутящаяся
   кольцевая надпись вокруг неё (правка пользователя). Sticky на весь
   сайт, прячется в секции аптек (логика — см. main.js initCartCta). --- */
.cart-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 450;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.82);
  pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.cart-cta.is-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
/* Кольцо с текстом и иконка корзины — оба 140px, наложены друг на друга
   по центру кнопки (правка пользователя: оба элемента одного размера). */
.cart-cta__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 140px;
  height: 140px;
  animation: cartRingSpin 10s linear infinite;
}
.cart-cta__icon {
  position: relative;
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 10px 22px rgba(0, 20, 137, .38));
  transition: transform 220ms var(--ease-out);
}
.cart-cta:hover .cart-cta__icon { transform: scale(1.06); }
@keyframes cartRingSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .cart-cta { width: 132px; height: 132px; right: 14px; bottom: 14px; }
  .cart-cta__ring, .cart-cta__icon { width: 105px; height: 105px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-cta__ring { animation: none; }
  .cart-cta { transition: opacity 240ms var(--ease-out); }
}

/* ============================================================
   ЧАСТЬ 3 — СТРАНИЦЫ-СТАТЬИ (бывший article.css): применяется
   только к acne.html / rosacea.html
   ============================================================ */
/* ============================================================
   ARTICLE — информационные страницы (об акне / о розацеа)
   Лёгкая обёртка поверх main.css + v2-high-end.css: переиспользует
   токены и компоненты (.container, .section-tag, .warning-box, .btn).
   ============================================================ */

.article {
  padding-block: clamp(120px, 14vw, 168px) clamp(72px, 8vw, 112px);
  background: var(--light);
  min-height: 60vh;
}
.article__inner { max-width: 760px; }

.article h1 {
  font-family: var(--grotesk);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw + 1rem, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 20px;
}
.article h2 {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 40px 0 14px;
}
.article p {
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 16px;
}
.article ul {
  margin: 0 0 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  list-style: disc;
}
.article ul li { line-height: 1.6; }
.article strong { color: var(--ink); }

.article__chain {
  font-family: var(--grotesk);
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 160, 227, .1);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .9375rem;
}

.article .warning-box { position: static; margin: 8px 0 24px; }

.article__source { margin-top: 8px; }

.article__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(11, 18, 36, .1);
}

/* --- Кому подходит: заметная кнопка на статью под каждой карточкой
   (была едва видной ссылкой в общей подписи под сеткой — правка
   пользователя). Прижата к низу карточки за счёт flex-column у
   .who__desc и margin-top: auto здесь. --- */
.who__more-btn {
  align-self: flex-start;
  margin-top: auto;
  min-height: 46px;
  padding: 18px 6px 6px 22px;
  font-size: .9375rem;
}
.who__more-btn .btn__ico { width: 30px; height: 30px; }
.who__more-btn .btn__ico svg { width: 13px; height: 13px; }

/* В hero фото снизу растворяется маской (.hero__photo-img, см. выше) —
   бейдж у нижнего края попадал в почти прозрачную зону и терялся на
   фоне страницы (особенно на мобильном, где фото мельче). Переносим
   его в верхний край фото, который маска не трогает. */
.hero__photo-wrap .ai-badge {
  top: 10px;
  bottom: auto;
}

/* --- Плашка "Сгенерировано ИИ" на фотографиях моделей (правка
   пользователя) — едва заметная, не мешает восприятию фото. --- */
.ai-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  color: rgba(11, 18, 36, .55);
  font-family: var(--grotesk);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* ============================================================
   ЧАСТЬ 4 — NO-JS FALLBACK
   .reveal прячет контент до срабатывания IntersectionObserver в
   main.js; если скрипт не загрузился (ошибка сети, блокировщик,
   очень старый браузер) — эта же разметка должна остаться читаемой.
   Инлайн-скрипт в <head> синхронно меняет class="no-js" на "js" на
   <html> ещё до отрисовки, поэтому по умолчанию (без JS) контент
   виден; специфичность (0,2,1) у `html.no-js .reveal` выше любого
   из вариантов `.xxx.reveal` (0,2,0), поэтому !important не нужен.
   ============================================================ */
html.no-js .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

/* --- Где купить: временное уведомление «Скоро в аптеках» --------- */
.coming-soon {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  max-width: 760px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3.5vw, 34px) clamp(20px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.55));
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--glass-edge), 0 18px 48px -18px rgba(0, 20, 137, .28);
  overflow: hidden;
}
.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-blue));
}
.coming-soon__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(52px, 8vw, 68px);
  aspect-ratio: 1;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  box-shadow: 0 10px 24px -8px rgba(0, 20, 137, .5);
}
.coming-soon__ico svg { width: 52%; height: 52%; }
.coming-soon__text {
  flex: 1;
  margin: 0;
  font-family: var(--grotesk);
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
}
.coming-soon__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 160, 227, .12);
  color: var(--brand-blue);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.coming-soon__badge i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  animation: comingPulse 2s ease-out infinite;
}
@keyframes comingPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 160, 227, .55); }
  100% { box-shadow: 0 0 0 10px rgba(0, 160, 227, 0); }
}
@media (max-width: 560px) {
  .coming-soon { flex-wrap: wrap; }
  .coming-soon__text { flex-basis: calc(100% - 80px); }
  .coming-soon__badge { order: 3; }
}
@media (prefers-reduced-motion: reduce) { .coming-soon__badge i { animation: none; } }

/* Казахская версия: в Manrope нет Ә Ғ Қ Ң Ұ — они подставлялись из другого шрифта
   и выглядели жирнее/другими. Для kk весь «гротеск» — Golos Text (есть все буквы). */
html[lang="kk"] { --grotesk: "Golos Text", system-ui, sans-serif; }
/* Golos Text плотнее Manrope — для kk снижаем жирность заголовков */
html[lang="kk"] .hero h1,
html[lang="kk"] main section h2,
html[lang="kk"] .article h1,
html[lang="kk"] .usage__step-num,
html[lang="kk"] .usage__accent { font-weight: 600; }
html[lang="kk"] h3 { font-weight: 600; }
