/* =========================================================================
   landing-system.css — единый дизайн-слой SEO-лендингов.

   Заменяет собой связку base.css → layout.css → components.css →
   landing.css → footer.css → <персональный CSS страницы>.
   Рядом остаётся только seo-blocks.css (он общий с главной страницей).

   Почему отдельный файл, а не правки в base/layout/components:
   те четыре файла подключают ещё ~11 страниц сайта (prices, lists,
   payments, terms, policy, voice-assistant, family-sync и т.д.).
   Их правка утащила бы за собой пол-сайта. Здесь — только лендинги.

   Язык взят с главной (home.css): тёплый бумажный холст, синий #2f6bff,
   жёлтый маркер, крупные радиусы, многослойные мягкие тени, точечная
   сетка. Сверху — приёмы 2026: bento-раскладки, стеклянные слои,
   scroll-driven появление, тёмная тема, respect prefers-reduced-motion.

   Файл покрывает ОБА словаря классов, которые исторически завелись
   в лендингах:
     1) lp-*        — общий каркас (8 страниц)
     2) hero-/section-/card-/topbar-/cta-* — бывшие персональные CSS
   Разметка страниц при этом не менялась ни на строку.
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   1. ТОКЕНЫ
   ========================================================================= */

:root {
  /* Палитра главной страницы */
  --blue-700: #245ef2;
  --blue-600: #2f6bff;
  --blue-500: #3e7bff;
  --blue-100: #edf2ff;
  --yellow: #ffcf4a;
  --yellow-soft: #fff1b8;
  --navy: #121b34;
  --ink: #15171c;
  --ink-soft: #3f4551;
  --muted: #717783;
  --canvas: #f3f2ef;
  --paper: #fbfaf6;
  --white: #ffffff;
  --sage: #88a995;
  --sage-soft: #e8efea;
  --pink: #e8709a;
  --pink-soft: #fdeef3;
  --purple: #8b7bd8;
  --green: #4fa87a;
  --green-soft: #e6f2eb;
  --red: #e0654f;

  --line: rgba(47, 107, 255, 0.12);
  --line-strong: rgba(47, 107, 255, 0.22);
  --hairline: rgba(28, 39, 70, 0.08);

  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-sunk: rgba(243, 242, 239, 0.7);

  --shadow: 0 30px 80px rgba(28, 39, 70, 0.12), 0 3px 12px rgba(28, 39, 70, 0.05);
  --shadow-small: 0 16px 42px rgba(28, 39, 70, 0.11);
  --shadow-card: 0 18px 44px rgba(28, 39, 70, 0.07), 0 2px 6px rgba(28, 39, 70, 0.03);
  --shadow-lift: 0 28px 60px rgba(28, 39, 70, 0.13), 0 3px 10px rgba(28, 39, 70, 0.05);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.4, 0.14, 0.3, 1);
  --t-fast: 0.18s var(--ease);
  --t-med: 0.28s var(--ease);

  --shell: 1480px;
  --gap-section: clamp(56px, 7vw, 112px);

  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Onest", "Inter", system-ui, sans-serif;

  /* --- Совместимость со старыми токенами ---
     Пять лендингов держат собственные <style> внутри HTML (.calc, .set-group)
     и ссылаются на переменные из base.css. Разметку мы не трогаем,
     поэтому старые имена продолжают работать — просто указывают на новую
     палитру. Удалять их нельзя, пока в HTML жив хоть один инлайн-стиль. */
  --bg: var(--paper);
  --bg-soft: var(--canvas);
  --bg-softer: #f7f6f3;
  --card-bg: var(--surface);
  --card-border: var(--line);
  --primary: var(--blue-600);
  --primary-soft: rgba(47, 107, 255, 0.08);
  --accent: var(--yellow);
  --accent-soft: rgba(255, 207, 74, 0.18);
  --success: var(--green);
  --danger: var(--red);
  --text-main: var(--ink);
  --text-muted: var(--muted);
  --text-soft: #8b909b;
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);
  --shadow-soft: var(--shadow-small);
  --transition-fast: var(--t-fast);
  --transition-med: var(--t-med);
}

/* =========================================================================
   2. СБРОС И ХОЛСТ
   ========================================================================= */

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  padding: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 207, 74, 0.1), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(47, 107, 255, 0.08), transparent 29rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Точечная сетка холста — тот же приём, что на главной. */
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 107, 255, 0.08) 0 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), transparent 44%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), transparent 44%);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================================
   3. ОБОЛОЧКА СТРАНИЦЫ
   ========================================================================= */

.page {
  width: min(var(--shell), calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 clamp(40px, 5vw, 72px);
}

@media (max-width: 820px) {
  .page {
    width: min(720px, calc(100% - 20px));
  }
}

@media (max-width: 580px) {
  .page {
    width: calc(100% - 12px);
  }
}

/* =========================================================================
   4. ТИПОГРАФИКА
   ========================================================================= */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Жёлтый маркер под акцентом заголовка — подпись главной страницы.

   На главной это абсолютный ::after, но там акцент всегда в одну строку.
   Здесь заголовки разной длины и на 16 страницах акцент часто переносится
   («Список продуктов на неделю»). Абсолютный блок в таком случае
   растягивается на всю ширину строки и жёлтая полоса вылезает за текст.

   Поэтому маркер — фоном с box-decoration-break: clone: каждая строка
   получает подчёркивание ровно по своей ширине. Наклон при этом теряется,
   зато перенос строк больше не ломает первый экран. */
.hero-highlight,
.headline-hero .accent {
  display: inline;
  color: var(--blue-600);
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.13em;
  background-position: 0 92%;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* =========================================================================
   5. ШАПКА  (три исторических варианта разметки)
   ========================================================================= */

.lp-topbar,
.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  margin-bottom: clamp(16px, 2vw, 28px);
  padding: 10px 0;
}

.lp-topbar__brand,
.topbar-left-link,
.hero-logo-link,
.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}

.topbar-left {
  display: flex;
  align-items: center;
}

/* Иконка приложения нарисована в другом языке — толстые контуры и
   насыщенные заливки. Гасим подачу: светлая плитка вместо синей тени,
   лёгкая десатурация под бумажную палитру. */
.lp-topbar__logo,
.topbar-logo img,
.hero-logo img,
.hero-logo-link img {
  width: 38px;
  height: 38px;
  padding: 4px;
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: var(--r-sm);
  background: rgba(47, 107, 255, 0.05);
  box-shadow: none;
  filter: saturate(0.86);
}

.topbar-logo {
  display: flex;
  align-items: center;
}

.lp-topbar__name,
.topbar-title,
.hero-logo-text {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.lp-topbar__name b,
.topbar-title-main,
.hero-logo-title,
.hero-logo-text-main {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lp-topbar__name small,
.topbar-title-sub,
.hero-logo-subtitle,
.hero-logo-text-sub {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.lp-topbar__actions,
.topbar-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 560px) {
  .lp-topbar,
  .topbar {
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 0;
  }

  .lp-topbar__actions,
  .topbar-cta {
    width: 100%;
  }
}

/* =========================================================================
   6. КНОПКИ
   ========================================================================= */

.btn,
.btn-main,
.btn-ghost,
.hero-btn,
.hero-btn-main,
.hero-btn-ghost,
.hero-btn-primary,
.hero-btn-secondary,
.topbar-btn,
.cta-btn-main,
.cta-btn-ghost,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med),
    background var(--t-med);
}

/* Шапка — компактнее основного размера. */
.topbar-btn,
.lp-topbar__actions .btn {
  min-height: 44px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 650;
}

/* --- Главная кнопка --- */

.btn-primary,
.btn-main,
.hero-btn-primary,
.hero-btn-main,
.topbar-btn-primary,
.cta-btn-main,
.button-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 16px 30px rgba(47, 107, 255, 0.25);
}

.btn-primary:hover,
.btn-main:hover,
.hero-btn-primary:hover,
.hero-btn-main:hover,
.topbar-btn-primary:hover,
.cta-btn-main:hover,
.button-primary:hover {
  box-shadow: 0 21px 38px rgba(47, 107, 255, 0.31);
  transform: translateY(-2px);
}

/* --- Вторичная / призрачная --- */

.btn,
.btn-ghost,
.hero-btn-ghost,
.hero-btn-secondary,
.topbar-btn,
.cta-btn-ghost,
.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn:hover,
.btn-ghost:hover,
.hero-btn-ghost:hover,
.hero-btn-secondary:hover,
.topbar-btn:hover,
.cta-btn-ghost:hover,
.button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: 0 13px 28px rgba(28, 39, 70, 0.08);
  transform: translateY(-2px);
}

/* Повторяем главную кнопку последней: у неё те же селекторы-соседи,
   и без этого .btn.btn-primary перебивается призрачным стилем. */
.btn.btn-primary,
.topbar-btn.topbar-btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
}

.btn.btn-primary:hover,
.topbar-btn.topbar-btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 21px 38px rgba(47, 107, 255, 0.31);
}

/* Ряды кнопок */

.lp-hero__actions,
.lp-cta__actions,
.hero-platforms,
.hero-cta,
.hero-cta-row,
.hero-cta-line,
.cta-buttons,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.lp-cta__actions {
  justify-content: center;
}

/* =========================================================================
   7. БЕЙДЖИ, ЧИПЫ, МЕТКИ
   ========================================================================= */

.badge,
.hero-badge,
.hero-chip,
.hero-label,
.eyebrow,
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(82, 116, 96, 0.14);
  border-radius: var(--r-pill);
  background: rgba(232, 239, 234, 0.78);
  color: #557161;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.lp-hero__badges,
.hero-badge-row,
.hero-chip-row,
.hero-label-row,
.hero-badges-line,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* Точки и иконки внутри бейджей */

.badge-dot,
.hero-badge-dot,
.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(136, 169, 149, 0.14);
}

.hero-badge-heart,
.hero-badge-leaf,
.hero-chip-mic,
.hero-chip-smart,
.hero-chip-color,
.hero-chip-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 13px;
  line-height: 1;
}

/* Карточки возможностей на странице совместного списка повторяют язык
   мобильного приложения: белая строка товара, синяя отметка и участники. */
.shared-shopping-page .hero-app-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-bottom: 20px;
}

.shared-shopping-page .hero-app-feature {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid rgba(76, 91, 117, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f7f8fa);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(28, 39, 70, 0.07);
}

.shared-shopping-page .hero-app-feature__check {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid var(--blue-600);
  border-radius: 50%;
  background: var(--white);
  color: #efb400;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(239, 180, 0, 0.2);
}

.shared-shopping-page .hero-app-feature__avatars {
  display: flex;
  flex: 0 0 76px;
  align-items: center;
  min-width: 76px;
}

.shared-shopping-page .hero-app-feature__avatars img,
.shared-shopping-page .hero-app-feature__avatars span {
  width: 40px;
  height: 40px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(28, 39, 70, 0.12);
}

.shared-shopping-page .hero-app-feature__avatars img {
  display: block;
  object-fit: cover;
}

.shared-shopping-page .hero-app-feature__avatars img + img,
.shared-shopping-page .hero-app-feature__avatars span {
  margin-left: -14px;
}

.shared-shopping-page .hero-app-feature__avatars span {
  display: grid;
  place-items: center;
  background: var(--blue-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 750;
}

.shared-shopping-page .hero-app-feature__copy {
  display: flex;
  min-width: 0;
  margin-left: 12px;
  flex-direction: column;
  gap: 3px;
}

.shared-shopping-page .hero-app-feature__copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.shared-shopping-page .hero-app-feature__copy span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.3;
}

.shared-shopping-page .features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .shared-shopping-page .hero-app-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .shared-shopping-page .hero-app-feature {
    min-height: 72px;
  }

  .shared-shopping-page .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Пилюли-теги: цветные варианты */

.tag,
.hero-tag,
.hero-badge-pill,
.tab-pill,
.card-pill,
.use-tag,
.family-tag,
.bundle-label,
.command-label,
.horizon-label,
.steps-pill,
.bundle-chip,
.strip-label,
.ali-mini-label,
.hero-mini-label,
.hero-kpi-label,
.screen-label,
.hero-screen-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(47, 107, 255, 0.07);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tag--accent,
.tab-pill--active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.24);
}

.tab-pill {
  cursor: default;
  transition: background var(--t-fast), color var(--t-fast);
}

.hero-tag--yellow,
.use-tag--yellow,
.family-tag--yellow,
.bundle-label--yellow,
.command-label--yellow,
.hero-badge-pill--yellow {
  border-color: rgba(214, 158, 12, 0.2);
  background: var(--yellow-soft);
  color: #8a6410;
}

.hero-tag--green,
.bundle-label--green,
.command-label--green,
.horizon-label--green,
.hero-badge-pill--green {
  border-color: rgba(79, 168, 122, 0.22);
  background: var(--green-soft);
  color: #2f6f50;
}

.hero-tag--pink,
.use-tag--pink,
.family-tag--pink,
.bundle-label--pink,
.command-label--pink,
.horizon-label--pink {
  border-color: rgba(232, 112, 154, 0.22);
  background: var(--pink-soft);
  color: #a63f68;
}

.hero-tag--purple {
  border-color: rgba(139, 123, 216, 0.22);
  background: #f1eefc;
  color: #5c4bab;
}

.hero-tag--red {
  border-color: rgba(224, 101, 79, 0.22);
  background: #fdeeea;
  color: #a8422e;
}

.hero-tag--blue,
.hero-badge-pill--blue {
  border-color: var(--line);
  background: var(--blue-100);
  color: var(--blue-700);
}

/* =========================================================================
   8. ПЕРВЫЙ ЭКРАН
   ========================================================================= */

/* Общая «карточка-сцена» героя. Разные страницы называют её по-разному —
   собираем все варианты в один вид. */
.lp-hero,
.hero,
.hero-zone,
.hero-layout,
.hero-band {
  position: relative;
  margin-bottom: var(--gap-section);
  padding: clamp(26px, 3.6vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(circle at 47% 4%, rgba(255, 207, 74, 0.08), transparent 18rem),
    rgba(251, 250, 246, 0.9);
  box-shadow: var(--shadow);
}

/* Декоративное кольцо в правом нижнем углу — как на главной. */
.lp-hero::after,
.hero::after,
.hero-zone::after,
.hero-layout::after,
.hero-band::after {
  position: absolute;
  z-index: 0;
  right: -150px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(47, 107, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(47, 107, 255, 0.025),
    0 0 0 108px rgba(47, 107, 255, 0.018);
  content: "";
  pointer-events: none;
}

/* Двухколоночные варианты героя: текст + «экран». */
.hero-inner,
.hero-band-inner,
.hero-shell > .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
}

.hero-zone,
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.hero-main-card,
.hero-main,
.hero-side {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-shell {
  position: relative;
  z-index: 2;
}

@media (max-width: 940px) {
  .hero-inner,
  .hero-band-inner,
  .hero-zone,
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Тексты героя --- */

.hero-title,
.lp-hero__title,
.headline-hero {
  margin: 24px 0 20px;
  max-width: 15ch;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: left;
}

/* У страниц без колонки-скриншота заголовок может дышать шире. */
.lp-hero .lp-hero__title {
  max-width: 20ch;
}

.hero-subtitle,
.hero-sub,
.lp-hero__sub,
.subhead-hero {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
  text-align: left;
}

.hero-footnote,
.hero-note,
.lp-hero__note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* --- «Экран» приложения в герое --- */

.hero-screen,
.hero-calendar-card,
.hero-main-card > .hero-screen {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: var(--r-2xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    #e3eaff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 26px 55px rgba(47, 107, 255, 0.12);
}

.hero-screen-title,
.hero-calendar-title {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-screen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

/* Превью совместного списка: полноценный заголовок карточки вместо
   типовой пилюли и реальный продуктовый визуал. */
.shared-shopping-page .hero-shared-preview {
  align-self: center;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 207, 74, 0.3), transparent 13rem),
    linear-gradient(145deg, #f4f7ff, #dfe7ff);
}

.shared-shopping-page .hero-shared-preview__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 4px 4px 18px;
}

.shared-shopping-page .hero-shared-preview__copy {
  min-width: 0;
}

.shared-shopping-page .hero-shared-preview__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.shared-shopping-page .hero-shared-preview__title span {
  background: linear-gradient(transparent 62%, rgba(255, 207, 74, 0.76) 62%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.shared-shopping-page .hero-shared-preview__copy p {
  max-width: 34ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.shared-shopping-page .hero-shared-preview__icon {
  position: relative;
  display: flex;
  width: 54px;
  height: 50px;
  padding: 13px 12px;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 17px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 26px rgba(47, 107, 255, 0.28);
  transform: rotate(3deg);
}

.shared-shopping-page .hero-shared-preview__icon::after {
  position: absolute;
  bottom: -6px;
  left: 9px;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: var(--blue-700);
  content: "";
  transform: rotate(45deg);
}

.shared-shopping-page .hero-shared-preview__icon i {
  position: relative;
  z-index: 1;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
}

.shared-shopping-page .hero-shared-preview__icon i:nth-child(2) {
  width: 78%;
}

.shared-shopping-page .hero-shared-preview__icon i:nth-child(3) {
  width: 58%;
}

.shared-shopping-page .hero-shared-preview__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1;
  border: 6px solid rgba(255, 255, 255, 0.88);
  border-radius: 27px;
  background: #ee00ec;
  box-shadow:
    inset 0 0 0 1px rgba(28, 39, 70, 0.06),
    0 22px 44px rgba(28, 39, 70, 0.16);
}

.shared-shopping-page .hero-shared-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 620px) {
  .shared-shopping-page .hero-shared-preview {
    padding: 14px;
  }

  .shared-shopping-page .hero-shared-preview__header {
    gap: 12px;
    padding: 4px 4px 16px;
  }

  .shared-shopping-page .hero-shared-preview__icon {
    width: 48px;
    height: 46px;
    padding: 12px 11px;
  }

  .shared-shopping-page .hero-shared-preview__media {
    border-width: 4px;
    border-radius: 23px;
  }
}

/* Плейсхолдеры под скриншоты. Пока картинок нет — это должно выглядеть
   намеренной заглушкой, а не сломанным блоком. */
.hero-screen-placeholder,
.hero-calendar-placeholder,
.screen-placeholder,
.screenshot-placeholder,
.cta-placeholder,
.tabs-side-note {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 22px;
  border: 1px dashed rgba(47, 107, 255, 0.24);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.55) 0 10px,
      rgba(255, 255, 255, 0.2) 10px 20px
    ),
    rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tabs-side-note {
  min-height: 0;
  border-style: solid;
  border-color: var(--line);
  text-align: left;
}

/* Реальные экраны приложения на странице недельного семейного списка. */
.weekly-grocery-page .weekly-list-screenshot {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 207, 74, 0.2), transparent 42%),
    linear-gradient(145deg, #ffffff, #edf2ff);
  box-shadow: 0 18px 38px rgba(47, 107, 255, 0.12);
}

.weekly-grocery-page .weekly-list-screenshot::after {
  position: absolute;
  z-index: 0;
  bottom: 4.5%;
  left: 50%;
  width: 48%;
  height: 5.5%;
  border-radius: 50%;
  background: rgba(13, 28, 61, 0.26);
  content: "";
  filter: blur(13px);
  transform: translateX(-46%);
}

.weekly-grocery-page .weekly-list-screenshot--hero {
  height: clamp(420px, 44vw, 560px);
}

.weekly-grocery-page .weekly-list-screenshot--cta {
  height: clamp(400px, 40vw, 520px);
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 207, 74, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(47, 107, 255, 0.12), transparent 36%),
    linear-gradient(145deg, #fffefa, #f4f6fc);
}

.weekly-grocery-page .weekly-list-screenshot--cta::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 107, 255, 0.13) 0 2px, transparent 2.5px);
  background-size: 24px 24px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 78%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 78%, transparent);
  pointer-events: none;
}

.weekly-grocery-page .weekly-phone-render {
  position: relative;
  z-index: 1;
  flex: none;
  display: block;
  width: auto;
  height: 98%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(8, 28, 80, 0.28));
}

/* Та же рамка телефона, что используется на главной странице сайта.
   В этом блоке она оставлена фронтальной, без наклона и изометрии. */
.weekly-grocery-page .weekly-phone-flat {
  position: relative;
  z-index: 2;
  flex: none;
  width: 224px;
  margin: 0;
  padding: 7px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 42px;
  background:
    linear-gradient(110deg, #343842 0%, #0a0b0f 28%, #1d2027 69%, #050608 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.72),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 28px 28px rgba(8, 28, 80, 0.34);
}

.weekly-grocery-page .weekly-cta-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-radius: 50%;
  pointer-events: none;
}

.weekly-grocery-page .weekly-cta-orbit--blue {
  width: 84%;
  height: 51%;
  border-width: 2px;
  border-color: rgba(47, 107, 255, 0.2);
  box-shadow:
    0 0 0 12px rgba(47, 107, 255, 0.035),
    0 0 0 30px rgba(47, 107, 255, 0.018);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.weekly-grocery-page .weekly-cta-orbit--yellow {
  width: 61%;
  height: 74%;
  border-width: 2px;
  border-color: rgba(255, 190, 18, 0.28);
  transform: translate(-50%, -50%) rotate(24deg);
}

.weekly-grocery-page .weekly-cta-family-card,
.weekly-grocery-page .weekly-cta-product,
.weekly-grocery-page .weekly-cta-update,
.weekly-grocery-page .weekly-cta-progress-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(47, 107, 255, 0.13);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 34px rgba(25, 43, 87, 0.14);
  pointer-events: none;
}

.weekly-grocery-page .weekly-cta-family-card {
  top: 8%;
  left: 3%;
  display: grid;
  width: 174px;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px;
  transform: rotate(-3deg);
}

.weekly-grocery-page .weekly-cta-family-card__label {
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 750;
}

.weekly-grocery-page .weekly-cta-family-card > strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.2;
}

.weekly-grocery-page .weekly-cta-family-card__people {
  display: flex;
  align-items: center;
  margin-top: 3px;
}

.weekly-grocery-page .weekly-cta-avatar {
  display: grid;
  width: 25px;
  height: 25px;
  margin-right: -6px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.weekly-grocery-page .weekly-cta-avatar--blue {
  background: #dfe8ff;
  color: #245ef2;
}

.weekly-grocery-page .weekly-cta-avatar--yellow {
  background: #ffdf74;
  color: #765100;
}

.weekly-grocery-page .weekly-cta-avatar--green {
  background: #dcf7e3;
  color: #277a49;
}

.weekly-grocery-page .weekly-cta-family-card__people small {
  margin-left: 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
}

.weekly-grocery-page .weekly-cta-product {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 178px;
  padding: 11px 12px;
  border-radius: 18px;
}

.weekly-grocery-page .weekly-cta-product--bread {
  top: 30%;
  right: 1%;
  transform: rotate(3deg);
}

.weekly-grocery-page .weekly-cta-product--milk {
  z-index: 4;
  right: 0;
  bottom: 18%;
  transform: rotate(-2deg);
}

.weekly-grocery-page .weekly-cta-product__check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid var(--blue-600);
  border-radius: 50%;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 850;
}

.weekly-grocery-page .weekly-cta-product__check--done {
  border-color: var(--yellow);
  background: var(--yellow-soft);
}

.weekly-grocery-page .weekly-cta-product__copy {
  display: grid;
  min-width: 0;
}

.weekly-grocery-page .weekly-cta-product__copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-grocery-page .weekly-cta-product__copy small {
  color: var(--muted);
  font-size: 9px;
}

.weekly-grocery-page .weekly-cta-product__tag,
.weekly-grocery-page .weekly-cta-product__status {
  grid-column: 2;
  justify-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.weekly-grocery-page .weekly-cta-product__tag {
  border: 1px solid rgba(224, 101, 79, 0.22);
  background: #fdeeea;
  color: #a8422e;
}

.weekly-grocery-page .weekly-cta-product__status {
  border: 1px solid rgba(79, 168, 122, 0.22);
  background: var(--green-soft);
  color: #2f6f50;
}

.weekly-grocery-page .weekly-cta-update {
  z-index: 4;
  top: 12%;
  right: 0;
  display: flex;
  width: 150px;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  transform: rotate(2deg);
}

.weekly-grocery-page .weekly-cta-update__bubble {
  position: relative;
  flex: none;
  width: 27px;
  height: 22px;
  border-radius: 9px;
  background: var(--blue-600);
}

.weekly-grocery-page .weekly-cta-update__bubble::before,
.weekly-grocery-page .weekly-cta-update__bubble::after {
  position: absolute;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.weekly-grocery-page .weekly-cta-update__bubble::before {
  left: 8px;
  box-shadow: 6px 0 #fff, 12px 0 #fff;
}

.weekly-grocery-page .weekly-cta-update__bubble::after {
  top: auto;
  bottom: -4px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 0 0 0 7px;
  transform: rotate(25deg);
}

.weekly-grocery-page .weekly-cta-update > span:last-child,
.weekly-grocery-page .weekly-cta-progress-card > span:last-child {
  display: grid;
}

.weekly-grocery-page .weekly-cta-update strong,
.weekly-grocery-page .weekly-cta-progress-card strong {
  color: var(--navy);
  font-size: 10px;
  line-height: 1.2;
}

.weekly-grocery-page .weekly-cta-update small,
.weekly-grocery-page .weekly-cta-progress-card small {
  color: var(--muted);
  font-size: 8px;
}

.weekly-grocery-page .weekly-cta-progress-card {
  z-index: 4;
  bottom: 7%;
  left: 1%;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 13px;
  border-radius: 18px;
  transform: rotate(2deg);
}

.weekly-grocery-page .weekly-cta-progress-card__ring {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 56%, transparent 58%),
    conic-gradient(var(--blue-600) 0 62%, rgba(47, 107, 255, 0.12) 62% 100%);
  color: var(--blue-700);
  font-size: 8px;
  font-weight: 800;
}

.weekly-grocery-page .weekly-phone-flat::before {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  width: 78px;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #050608;
  box-shadow:
    inset 0 -1px 2px rgba(255, 255, 255, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.42);
  content: "";
  transform: translateX(-50%);
}

.weekly-grocery-page .weekly-phone-flat::after {
  position: absolute;
  z-index: 0;
  top: 106px;
  left: -2.5px;
  width: 2.5px;
  height: 42px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #111319, #3d424d);
  box-shadow:
    0 58px 0 #171920,
    0 106px 0 #171920;
  content: "";
}

.weekly-grocery-page .weekly-phone-flat__screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: #fff;
  clip-path: inset(0 round 36px);
}

.weekly-grocery-page .weekly-phone-flat__screen img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-grocery-page .weekly-phone-flat__side-button {
  position: absolute;
  z-index: 0;
  top: 132px;
  right: -2.5px;
  width: 2.5px;
  height: 66px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, #3d424d, #111319);
  box-shadow:
    inset 1px 0 rgba(255, 255, 255, 0.12),
    1px 1px 2px rgba(0, 0, 0, 0.28);
}

@media (max-width: 620px) {
  .weekly-grocery-page .weekly-phone-flat {
    width: 170px;
    padding: 5px 4px 6px;
    border-radius: 34px;
  }

  .weekly-grocery-page .weekly-phone-flat::before {
    top: 9px;
    width: 58px;
    height: 15px;
  }

  .weekly-grocery-page .weekly-phone-flat::after {
    top: 79px;
    left: -2px;
    width: 2px;
    height: 32px;
    box-shadow:
      0 44px 0 #171920,
      0 80px 0 #171920;
  }

  .weekly-grocery-page .weekly-phone-flat__screen {
    border-radius: 29px;
    clip-path: inset(0 round 29px);
  }

  .weekly-grocery-page .weekly-phone-flat__side-button {
    top: 99px;
    right: -2px;
    width: 2px;
    height: 50px;
  }

  .weekly-grocery-page .weekly-list-screenshot--cta {
    height: 430px;
  }

  .weekly-grocery-page .weekly-cta-family-card {
    left: -3%;
    width: 146px;
    padding: 11px 12px;
  }

  .weekly-grocery-page .weekly-cta-family-card__people small {
    display: none;
  }

  .weekly-grocery-page .weekly-cta-product {
    width: 145px;
    padding: 9px 10px;
  }

  .weekly-grocery-page .weekly-cta-product--bread {
    right: -4%;
  }

  .weekly-grocery-page .weekly-cta-product--milk {
    right: -5%;
  }

  .weekly-grocery-page .weekly-cta-update {
    right: -5%;
    width: 124px;
    padding: 8px 9px;
  }

  .weekly-grocery-page .weekly-cta-update strong {
    font-size: 9px;
  }

  .weekly-grocery-page .weekly-cta-update small,
  .weekly-grocery-page .weekly-cta-product__tag,
  .weekly-grocery-page .weekly-cta-product__status {
    display: none;
  }

  .weekly-grocery-page .weekly-cta-progress-card {
    left: -3%;
    padding: 8px 9px;
  }
}

/* Премиальная композиция героя: тонкий телефон, знак семьи и живые
   события общего списка вместо пустой «карточки в карточке». */
.weekly-grocery-page .hero-calendar-card {
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.weekly-grocery-page .hero-calendar-title {
  position: absolute;
  z-index: 7;
  top: 22px;
  left: 22px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(24, 35, 65, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.weekly-grocery-page .weekly-list-screenshot--hero {
  height: clamp(480px, 48vw, 610px);
  justify-content: flex-end;
  padding: 0;
  border-color: rgba(47, 107, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 48%, rgba(255, 207, 74, 0.28), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(47, 107, 255, 0.12), transparent 35%),
    linear-gradient(145deg, #fffefa 0%, #ffffff 52%, #eef3ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 28px 58px rgba(32, 55, 112, 0.15);
}

.weekly-grocery-page .weekly-list-screenshot--hero::before {
  position: absolute;
  z-index: 0;
  top: 14%;
  left: -7%;
  width: 67%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 193, 30, 0.46);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(255, 207, 74, 0.08),
    0 0 0 58px rgba(255, 207, 74, 0.035);
  content: "";
  transform: rotate(-11deg);
}

.weekly-grocery-page .weekly-list-screenshot--hero::after {
  bottom: 6.5%;
  left: 50%;
  width: 62%;
  height: 5.5%;
  background: rgba(20, 31, 55, 0.28);
  filter: blur(15px);
  transform: translateX(-50%);
}

.weekly-grocery-page .weekly-visual-mark {
  position: absolute;
  z-index: 2;
  top: 13%;
  left: 6%;
  display: block;
  width: 88%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: #edf3ff;
  box-shadow:
    inset 0 0 0 1px rgba(28, 39, 70, 0.06),
    0 24px 44px rgba(28, 39, 70, 0.18);
}

.weekly-grocery-page .weekly-visual-mark::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 39, 70, 0.08), transparent 24%);
  content: "";
  pointer-events: none;
}

.weekly-grocery-page .weekly-visual-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-grocery-page .weekly-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  padding: 11px 14px 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow:
    inset 0 1px 0 #fff,
    0 18px 34px rgba(26, 41, 78, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.weekly-grocery-page .weekly-float-card span:last-child {
  display: grid;
  gap: 2px;
}

.weekly-grocery-page .weekly-float-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.weekly-grocery-page .weekly-float-card strong {
  font-size: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.weekly-grocery-page .weekly-float-card--added {
  top: auto;
  bottom: 11%;
  left: 3%;
  transform: rotate(-5deg);
}

.weekly-grocery-page .weekly-float-card--done {
  right: 3%;
  bottom: 11%;
  left: auto;
  transform: rotate(4deg);
}

.weekly-grocery-page .weekly-float-avatar,
.weekly-grocery-page .weekly-float-check {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.weekly-grocery-page .weekly-float-avatar {
  background: linear-gradient(145deg, #74bfff, #2f6bff);
  color: #fff;
}

.weekly-grocery-page .weekly-float-check {
  background: linear-gradient(145deg, #ffec88, #ffc72e);
  color: #755500;
}

.weekly-grocery-page .weekly-visual-spark {
  position: absolute;
  z-index: 6;
  color: #ffc21c;
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 8px 16px rgba(204, 145, 0, 0.24);
}

.weekly-grocery-page .weekly-visual-spark--one {
  top: 15%;
  left: 82%;
  transform: rotate(14deg);
}

.weekly-grocery-page .weekly-visual-spark--two {
  right: 6%;
  bottom: 11%;
  font-size: 23px;
  transform: rotate(-8deg);
}

@media (max-width: 620px) {
  .weekly-grocery-page .weekly-list-screenshot--hero {
    height: 450px;
    border-radius: 26px;
  }

  .weekly-grocery-page .hero-calendar-title {
    top: 15px;
    left: 15px;
    padding: 7px 11px;
    font-size: 11px;
  }

  .weekly-grocery-page .weekly-visual-mark {
    top: 16%;
    left: 5%;
    width: 90%;
    border-width: 4px;
    border-radius: 24px;
  }

  .weekly-grocery-page .weekly-float-card {
    min-width: 0;
    gap: 7px;
    padding: 8px 10px 8px 8px;
    transform: scale(0.82) rotate(-5deg);
    transform-origin: left center;
  }

  .weekly-grocery-page .weekly-float-card--done {
    transform: scale(0.82) rotate(4deg);
  }
}

/* --- Шаги внутри героя --- */

.hero-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.hero-step-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

/* --- Голосовая строка команды --- */

.hero-command-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.hero-command-label {
  flex: none;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-command-text {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

/* --- Карточки-строки --- */

.hero-rows {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.hero-row-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-row-title {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

/* --- Переключатель --- */

.hero-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  width: fit-content;
}

.hero-toggle {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.hero-toggle:hover {
  color: var(--ink);
}

.hero-toggle--active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-card);
}

/* --- KPI-строка --- */

.hero-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 620px) {
  .hero-kpi-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-kpi {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.hero-kpi-value {
  margin: 8px 0 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-kpi-caption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* --- Мини-карточки сбоку --- */

.hero-mini-cards {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.hero-mini {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(18, 27, 52, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-mini-text,
.ali-mini-text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-platforms {
  align-items: center;
}

/* =========================================================================
   9. СЕКЦИИ
   ========================================================================= */

.lp-section,
.section,
.strip,
.steps-section,
.steps-strip,
.commands-section,
.compare-section,
.horizon-section,
.tabs-section,
.faq-section {
  margin-bottom: var(--gap-section);
}

.lp-section__title,
.section-title,
.strip-title,
.steps-title,
.steps-strip-title,
.commands-title,
.compare-title,
.horizon-title,
.tabs-title,
.faq-title,
.offer-heading {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 660;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.lp-section__sub,
.section-subtitle,
.strip-sub,
.steps-sub,
.steps-strip-sub,
.commands-sub,
.compare-sub,
.horizon-sub,
.tabs-sub,
.faq-sub,
.offer-subhead {
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
}

.section-header,
.steps-header,
.commands-header {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-header .section-subtitle,
.steps-header .steps-sub,
.commands-header .commands-sub {
  margin-bottom: 0;
}

/* =========================================================================
   10. СЕТКИ
   ========================================================================= */

.lp-grid,
.features-grid,
.grid-3,
.use-grid,
.family-layout,
.commands-grid,
.strip-grid,
.horizon-row,
.screens-row {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-grid--2,
.lp-compare,
.two-column,
.layout-two,
.quote-grid,
.compare-grid,
.faq-grid,
.tabs-grid,
.steps-grid,
.ali-mini-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Bento-пропорция: текстовая колонка шире визуальной. */
.two-column,
.layout-two,
.tabs-grid,
.steps-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

.screens-row {
  gap: 12px;
}

@media (max-width: 900px) {
  .lp-grid,
  .features-grid,
  .grid-3,
  .use-grid,
  .family-layout,
  .commands-grid,
  .strip-grid,
  .horizon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .layout-two,
  .tabs-grid,
  .steps-grid,
  .lp-compare,
  .compare-grid,
  .faq-grid,
  .quote-grid,
  .lp-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .lp-grid,
  .features-grid,
  .grid-3,
  .use-grid,
  .family-layout,
  .commands-grid,
  .strip-grid,
  .horizon-row,
  .screens-row,
  .ali-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================================
   11. КАРТОЧКИ
   ========================================================================= */

.lp-card,
.card,
.use-card,
.family-card,
.quote-card,
.bundle-card,
.command-card,
.compare-card,
.horizon-card,
.steps-card,
.screen-card,
.faq-item,
.strip-item,
.steps-strip-item,
.seo-faq__item {
  position: relative;
  padding: clamp(18px, 1.9vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med);
}

.lp-card:hover,
.card:hover,
.use-card:hover,
.family-card:hover,
.bundle-card:hover,
.command-card:hover,
.horizon-card:hover,
.strip-item:hover,
.steps-strip-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    border-color: var(--line-strong);
    background-color: var(--surface);
    box-shadow:
      var(--shadow-lift),
      0 0 0 3px rgba(47, 107, 255, 0.07);
    transform: translateY(-6px);
  }

  .faq-item:hover .faq-question {
    color: var(--blue-700);
  }
}

/* Цветные акценты карточек: тонкая полоса сверху вместо заливки —
   так карточки не спорят с бумажным фоном. */
.card--blue::before,
.card--yellow::before,
.card--pink::before,
.card--green::before {
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  content: "";
}

.card--blue::before {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
}

.card--yellow::before {
  background: linear-gradient(90deg, #f0b429, var(--yellow));
}

.card--pink::before {
  background: linear-gradient(90deg, var(--pink), #f3a1bd);
}

.card--green::before {
  background: linear-gradient(90deg, var(--green), #76c69c);
}

.shared-shopping-page .card--green .card-icon {
  border-color: rgba(79, 168, 122, 0.18);
  background: var(--green-soft);
}

/* Иконка карточки */

.lp-card__icon,
.card-icon,
.compare-icon,
.related-icon,
.ali-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(47, 107, 255, 0.06);
  font-size: 21px;
  line-height: 1;
}

.lp-card__title,
.card-title,
.card-title-main,
.use-card > p:first-child,
.bundle-title,
.horizon-name,
.compare-title,
.faq-question,
.command-text,
.steps-strip-heading,
.strip-text,
.hero-row-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.lp-card__title,
.card-title,
.bundle-title,
.horizon-name,
.steps-strip-heading {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 660;
}

.lp-card__text,
.card-text,
.use-card p,
.family-card p,
.bundle-card p,
.command-card p,
.horizon-card p,
.steps-card p,
.steps-strip-item p,
.faq-item p,
.compare-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.card-title-main {
  font-size: 17px;
  font-weight: 660;
}

.card-pill,
.steps-pill,
.use-tag,
.family-tag,
.bundle-label,
.horizon-label,
.command-label {
  margin-bottom: 12px;
}

.card-header-row .card-pill,
.card-header-row .card-title-main {
  margin-bottom: 0;
}

/* --- Цитаты --- */

.quote-card {
  padding: clamp(22px, 2.2vw, 30px);
}

.quote-card > p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

.quote-card > p::before {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  content: "\201C";
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 0.6;
}

.quote-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.quote-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Отзывы на странице совместного списка: автор, оценка и конкретный
   результат, который пользователь получил от приложения. */
.shared-shopping-page .quote-card {
  display: flex;
  flex-direction: column;
}

.shared-shopping-page .quote-review-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin-bottom: 16px;
}

.shared-shopping-page .quote-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shared-shopping-page .quote-avatar--yellow {
  border-color: rgba(214, 158, 12, 0.2);
  background: var(--yellow-soft);
  color: #8a6410;
}

.shared-shopping-page .quote-avatar--green {
  border-color: rgba(79, 168, 122, 0.2);
  background: var(--green-soft);
  color: #2f6f50;
}

.shared-shopping-page .quote-avatar--pink {
  border-color: rgba(232, 112, 154, 0.2);
  background: var(--pink-soft);
  color: #a63f68;
}

.shared-shopping-page .quote-review-person {
  min-width: 0;
}

.shared-shopping-page .quote-review-top .quote-name {
  font-size: 14px;
  line-height: 1.25;
}

.shared-shopping-page .quote-review-top .quote-meta {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.35;
}

.shared-shopping-page .quote-rating {
  color: #e7a900;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.shared-shopping-page .quote-card > p {
  flex: 1;
}

.shared-shopping-page .quote-result {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: #2f6f50;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.shared-shopping-page .quote-result span {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
}

@media (max-width: 420px) {
  .shared-shopping-page .quote-review-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shared-shopping-page .quote-rating {
    grid-column: 2;
  }
}

/* --- Карточки-скриншоты --- */

.screen-card {
  padding: 14px;
  border-radius: var(--r-lg);
}

.screen-label,
.hero-screen-label {
  margin-bottom: 10px;
}

.screen-placeholder {
  min-height: 150px;
}

/* --- Голосовые команды --- */

.command-phrase {
  margin: 10px 0;
  padding: 13px 15px;
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(47, 107, 255, 0.05);
  color: var(--ink);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

.command-text {
  margin: 6px 0 8px;
  font-size: 16px;
  font-weight: 650;
}

.command-comment {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================================
   12. СПИСКИ
   ========================================================================= */

.bullet-list,
.list-colored,
.horizon-list,
.compare-list,
.lp-compare__list,
.ingredient-list,
.tabs-main-list,
.set-group__list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.bullet-item,
.list-colored-item,
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Маркеры-точки */

.bullet-dot,
.list-colored-dot,
.strip-dot,
.ingredient-dot,
.step-dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.bullet-dot--yellow,
.list-colored-dot--yellow,
.strip-dot--yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 207, 74, 0.2);
}

.bullet-dot--green,
.list-colored-dot--green,
.strip-dot--green {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(79, 168, 122, 0.16);
}

.bullet-dot--pink,
.list-colored-dot--pink,
.strip-dot--pink {
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(232, 112, 154, 0.16);
}

.list-colored-dot--purple {
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(139, 123, 216, 0.16);
}

.list-colored-dot--blue,
.strip-dot--blue {
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

/* Списки, где разметка не даёт нам отдельного маркера, — рисуем свой. */
.horizon-list li,
.lp-compare__list li,
.set-group__list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.horizon-list li::before,
.lp-compare__list li::before,
.set-group__list li::before {
  position: absolute;
  top: 0.62em;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  content: "";
}

.lp-compare__col--bad .lp-compare__list li::before,
.compare-col--bad .compare-list li::before {
  background: #c8ccd4;
}

/* Ингредиенты: название — точки-выноска — количество */

.ingredient-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
}

.ingredient-name {
  color: var(--ink-soft);
}

.ingredient-item .ingredient-dot {
  flex: 1;
  width: auto;
  height: 0;
  margin: 0;
  border-bottom: 1px dotted rgba(47, 107, 255, 0.28);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.ingredient-qty {
  flex: none;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Чипы-наборы */

.bundle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.bundle-chip {
  margin: 0;
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-weight: 600;
}

/* =========================================================================
   13. СРАВНЕНИЕ «ДО / ПОСЛЕ»
   ========================================================================= */

.lp-compare__col,
.compare-col {
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
}

.lp-compare__col--bad,
.compare-col--bad {
  border-color: var(--hairline);
  background: rgba(243, 242, 239, 0.8);
  box-shadow: none;
}

.lp-compare__col--good,
.compare-col--good {
  border-color: var(--line-strong);
}

.lp-compare__head,
.compare-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-icon {
  width: 24px;
  height: 24px;
  margin: 0;
  border: none;
  background: none;
  font-size: 15px;
}

.compare-list {
  gap: 12px;
}

/* =========================================================================
   14. ШАГИ
   ========================================================================= */

.lp-steps,
.flow-steps,
.steps-timeline {
  display: grid;
  gap: 12px;
}

.lp-step,
.flow-step,
.step-item {
  position: relative;
  padding: 18px 22px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.lp-step:hover,
.flow-step:hover,
.step-item:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

/* Номер шага. В .lp-step его нет в разметке — рисуем счётчиком,
   в остальных он есть отдельным элементом. */
.lp-steps {
  counter-reset: lp-step;
}

.lp-step::before {
  counter-increment: lp-step;
  content: counter(lp-step);
}

.lp-step::before,
.flow-number,
.step-number {
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.26);
}

.lp-step__title,
.flow-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.lp-step__text,
.flow-text,
.step-text {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* Точка на таймлайне не нужна — номер уже отрисован. */
.step-item .step-dot {
  display: none;
}

/* На странице недельных покупок номер шага содержит слово «ШАГ»,
   поэтому вместо тесного круга используем компактную синюю плашку. */
.weekly-grocery-page .step-item {
  min-height: 76px;
  padding-left: 112px;
}

.weekly-grocery-page .step-number {
  top: 50%;
  left: 20px;
  width: auto;
  min-width: 70px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translateY(-50%);
}

@media (max-width: 620px) {
  .weekly-grocery-page .step-item {
    padding: 58px 18px 18px;
  }

  .weekly-grocery-page .step-number {
    top: 16px;
    left: 18px;
    transform: none;
  }
}

/* Полоса шагов (три колонки) */

.steps-strip-row {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .steps-strip-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.steps-strip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.24);
}

.steps-card {
  align-self: start;
}

.weekly-grocery-page .steps-card .steps-pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -7px 0 rgba(255, 207, 74, 0.56);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  white-space: normal;
}

/* =========================================================================
   15. ПОЛОСА-STRIP, ТАБЫ, ГОРИЗОНТЫ
   ========================================================================= */

.strip-label {
  margin-bottom: 10px;
}

.strip-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

.tabs-main-heading {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.tabs-main-list {
  padding: clamp(18px, 1.9vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
}

.horizon-card--week {
  border-color: var(--line-strong);
  background: rgba(237, 242, 255, 0.7);
}

.horizon-list {
  margin-top: 14px;
}

/* =========================================================================
   16. БЛОК «АЛИСА»
   ========================================================================= */

.ali-block {
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: var(--r-2xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    #e3eaff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 26px 55px rgba(47, 107, 255, 0.12);
}

.ali-title {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ali-dialog {
  display: grid;
  gap: 10px;
}

.ali-replica {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(18, 27, 52, 0.08);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.ali-icon {
  flex: none;
  width: 30px;
  height: 30px;
  margin: 0;
  border: none;
  border-radius: 50%;
  font-size: 14px;
}

.ali-icon--you {
  background: rgba(47, 107, 255, 0.1);
}

.ali-icon--alisa {
  background: rgba(255, 207, 74, 0.24);
}

.ali-note {
  margin-top: 14px;
  color: #4a5570;
  font-size: 13px;
  line-height: 1.6;
}

.ali-mini-grid {
  margin-top: 14px;
}

.ali-mini {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.86);
}

/* =========================================================================
   17. ФИНАЛЬНЫЙ ПРИЗЫВ
   ========================================================================= */

.lp-cta,
.cta-band {
  position: relative;
  margin-bottom: var(--gap-section);
  padding: clamp(30px, 3.6vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 207, 74, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 88%, rgba(47, 107, 255, 0.12), transparent 24rem),
    var(--paper);
  box-shadow: var(--shadow);
}

.lp-cta {
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lp-cta__title,
.cta-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 690;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.lp-cta__text,
.cta-text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.62;
}

.lp-cta__text {
  margin: 0 auto;
}

.cta-footnote {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.cta-placeholder {
  min-height: 220px;
}

/* =========================================================================
   18. «СМОТРИТЕ ТАКЖЕ» И ПОДВАЛ
   ========================================================================= */

.related-section {
  margin-top: var(--gap-section);
  margin-bottom: clamp(40px, 4.5vw, 68px);
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.related-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: left;
}

.related-sub {
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  max-width: 68ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  max-width: none;
  margin: 0;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-glass);
  box-shadow: none;
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med);
}

.related-item:hover {
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.related-icon {
  flex: none;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(47, 107, 255, 0.06);
  color: inherit;
  font-size: 17px;
}

.related-text {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

/* --- FAQ, у которого своя разметка (не seo-faq) --- */

.faq-item {
  padding: clamp(18px, 1.9vw, 24px);
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med),
    background-color var(--t-med);
}

.faq-question {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 660;
  transition: color var(--t-fast);
}

/* --- Подвал --- */

.site-footer {
  margin-top: var(--gap-section);
  padding: clamp(30px, 3vw, 44px) 0 8px;
  border-top: 1px solid var(--hairline);
  background: none;
  text-align: left;
}

.footer-year {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 26px;
  padding: 0;
}

.footer-link {
  color: var(--ink-soft);
  font-size: 13.5px;
  transition: color var(--t-fast);
}

.footer-link:hover {
  color: var(--blue-700);
}

/* =========================================================================
   19. СОВМЕСТИМОСТЬ: инлайн-блоки страниц (.calc, .set-group)
   Разметку и <style> внутри HTML не трогали — здесь только доводка
   под новую палитру.
   ========================================================================= */

.calc,
.set-group {
  border-color: var(--line) !important;
  border-radius: var(--r-xl) !important;
  background: var(--surface-glass) !important;
  box-shadow: var(--shadow-card) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.calc__field label {
  color: var(--muted);
}

.calc__field input,
.calc__field select {
  border-color: var(--line) !important;
  border-radius: var(--r-sm) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.calc__field input:focus,
.calc__field select:focus {
  border-color: var(--blue-500) !important;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
  outline: none;
}

.calc__group-name,
.set-group__name {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.calc__row {
  border-bottom: 1px solid var(--hairline);
}

.calc__note,
.set-group__hint {
  color: var(--muted);
}

/* =========================================================================
   20. ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ

   ВАЖНО: анимация двигает блок, но НЕ трогает opacity.

   Это SEO-лендинги. Любой рендерер, который не прокручивает страницу
   (краулер, печать, скриншот-сервис, превью в мессенджере), увидит
   scroll-timeline в стартовом кадре. Если бы в стартовом кадре стояло
   opacity: 0 — половина текста страницы оказалась бы «скрытой»,
   а это прямой риск санкций за hidden text. Проверено скриншотом:
   с opacity блоки ниже первого экрана уходили в пустоту.

   Сдвиг на 18px в стартовом кадре безопасен: текст виден всегда.
   Там, где animation-timeline не поддерживается (Safari, Firefox),
   правило просто игнорируется.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lp-card,
    .card,
    .use-card,
    .family-card,
    .quote-card,
    .bundle-card,
    .command-card,
    .compare-card,
    .horizon-card,
    .strip-item,
    .steps-strip-item,
    .lp-step,
    .flow-step,
    .step-item,
    .related-item,
    .seo-faq__item,
    .faq-item {
      animation: lp-rise linear both;
      animation-range: entry 0% cover 22%;
      animation-timeline: view();
    }
  }
}

@keyframes lp-rise {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   21. МЕЛКАЯ АДАПТИВНОСТЬ
   ========================================================================= */

@media (max-width: 620px) {
  .hero-title,
  .lp-hero__title {
    max-width: none;
    font-size: clamp(32px, 8.5vw, 42px);
  }

  .lp-hero,
  .hero,
  .hero-zone,
  .hero-layout,
  .hero-band,
  .lp-cta,
  .cta-band {
    padding: 22px 18px;
    border-radius: var(--r-xl);
  }

  .lp-hero::after,
  .hero::after,
  .hero-zone::after,
  .hero-layout::after,
  .hero-band::after {
    display: none;
  }

  .lp-hero__actions,
  .lp-cta__actions,
  .hero-platforms,
  .hero-cta,
  .hero-cta-row,
  .hero-cta-line,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-main,
  .btn-ghost,
  .hero-btn,
  .hero-btn-main,
  .hero-btn-ghost,
  .hero-btn-primary,
  .hero-btn-secondary,
  .cta-btn-main,
  .cta-btn-ghost {
    width: 100%;
  }

  /* В шапке кнопки остаются в строку — иначе она занимает пол-экрана. */
  .lp-topbar__actions .btn,
  .topbar-cta .topbar-btn {
    width: auto;
    flex: 1;
  }

  .lp-step,
  .flow-step,
  .step-item {
    padding: 16px 18px 18px 56px;
  }

  .hero-toggle-row {
    width: 100%;
  }

  /* Пилюли по умолчанию nowrap — на узком экране длинные («меню
     и продукты на неделю») упирались в край героя и обрезались.
     Здесь разрешаем перенос внутри самой пилюли. */
  .badge,
  .hero-badge,
  .hero-chip,
  .hero-label,
  .tag,
  .hero-tag,
  .hero-badge-pill,
  .tab-pill,
  .bundle-chip {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
}

/* =========================================================================
   22. УМНЫЙ СПИСОК С КАТЕГОРИЯМИ И МЕТКАМИ

   Сценарная композиция повторяет недельный лендинг, но весь визуальный
   словарь здесь про структуру списка: отделы магазина, фильтры и метки.
   Все правила ограничены классом страницы и не влияют на другие лендинги.
   ========================================================================= */

.smart-shopping-page .smart-hero .hero-title {
  max-width: 13.5ch;
}

.smart-shopping-page .smart-hero .hero-chip-row {
  margin-bottom: 0;
}

.smart-shopping-page .smart-mode-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(237, 242, 255, 0.72);
}

.smart-shopping-page .smart-mode {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.smart-shopping-page .smart-mode--active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.1);
}

.smart-shopping-page .hero-kpi-value {
  font-size: clamp(22px, 2.1vw, 28px);
}

.smart-shopping-page .smart-hero-card {
  align-self: center;
  padding: 18px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 207, 74, 0.18), transparent 33%),
    linear-gradient(145deg, #f6f8ff, #dfe7ff);
}

.smart-shopping-page .smart-hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  border: 6px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  background: #edf3ff;
  box-shadow:
    inset 0 0 0 1px rgba(28, 39, 70, 0.06),
    0 22px 44px rgba(28, 39, 70, 0.16);
}

.smart-shopping-page .smart-hero-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 39, 70, 0.08), transparent 24%);
  content: "";
  pointer-events: none;
}

.smart-shopping-page .smart-hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-shopping-page .smart-float-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(28, 39, 70, 0.16);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.smart-shopping-page .smart-float-tag--yellow {
  bottom: 4%;
  left: 50%;
  color: #8a6410;
  transform: translateX(-50%) rotate(3deg);
}

.smart-shopping-page .smart-float-tag--green {
  bottom: 12%;
  left: 4%;
  color: #2f6f50;
  transform: rotate(-4deg);
}

.smart-shopping-page .smart-float-tag--purple {
  right: 5%;
  bottom: 22%;
  color: #6754bb;
  transform: rotate(2deg);
}

.smart-shopping-page .smart-compare-grid {
  gap: clamp(16px, 2vw, 24px);
}

.smart-shopping-page .smart-compare-card {
  overflow: hidden;
}

.smart-shopping-page .smart-compare-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  content: "";
}

.smart-shopping-page .smart-compare-card--category::before {
  background: linear-gradient(90deg, var(--blue-600), #70a1ff);
}

.smart-shopping-page .smart-compare-card--tags::before {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--yellow));
}

.smart-shopping-page .smart-compare-card--category {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 107, 255, 0.08), transparent 15rem),
    var(--surface-glass);
}

.smart-shopping-page .smart-compare-card--tags {
  border-color: rgba(139, 123, 216, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 123, 216, 0.1), transparent 15rem),
    var(--surface-glass);
}

.smart-shopping-page .smart-compare-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.smart-shopping-page .smart-compare-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(47, 107, 255, 0.08);
  font-size: 20px;
}

.smart-shopping-page .smart-compare-card--tags .smart-compare-icon {
  border-color: rgba(139, 123, 216, 0.18);
  background: rgba(139, 123, 216, 0.09);
}

.smart-shopping-page .smart-compare-top .compare-heading {
  margin-bottom: 3px;
}

.smart-shopping-page .smart-compare-top div > span {
  color: var(--muted);
  font-size: 11.5px;
}

.smart-shopping-page .smart-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px 57px;
}

.smart-shopping-page .smart-compare-card .compare-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-bottom: 0;
  border-radius: 10px;
  font-size: 15px;
}

.smart-shopping-page .smart-compare-card strong {
  color: var(--ink);
  font-weight: 700;
}

.smart-shopping-page .step-item {
  min-height: 76px;
  padding-left: 112px;
}

.smart-shopping-page .step-number {
  top: 50%;
  left: 20px;
  width: auto;
  min-width: 70px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: translateY(-50%);
}

.smart-shopping-page .smart-list-preview {
  overflow: hidden;
  padding: clamp(18px, 2vw, 25px);
  border-color: rgba(47, 107, 255, 0.17);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 207, 74, 0.14), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 242, 255, 0.82));
}

.smart-shopping-page .smart-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.smart-shopping-page .smart-preview-head > div {
  display: grid;
  gap: 3px;
}

.smart-shopping-page .smart-preview-head span {
  color: var(--muted);
  font-size: 11px;
}

.smart-shopping-page .smart-preview-head strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.03em;
}

.smart-shopping-page .smart-preview-count {
  padding: 6px 9px;
  border-radius: var(--r-pill);
  background: var(--blue-100);
  color: var(--blue-700) !important;
  font-weight: 750;
}

.smart-shopping-page .smart-preview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.smart-shopping-page .smart-preview-filter {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.smart-shopping-page .smart-preview-filter--active {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: var(--white);
}

.smart-shopping-page .smart-preview-filter--green {
  border-color: rgba(79, 168, 122, 0.18);
  background: var(--green-soft);
  color: #2f6f50;
}

.smart-shopping-page .smart-preview-filter--purple {
  border-color: rgba(139, 123, 216, 0.18);
  background: rgba(139, 123, 216, 0.1);
  color: #6754bb;
}

.smart-shopping-page .smart-preview-group {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(28, 39, 70, 0.06);
}

.smart-shopping-page .smart-preview-group::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
}

.smart-shopping-page .smart-preview-group--green::before {
  background: var(--green);
}

.smart-shopping-page .smart-preview-group--yellow::before {
  background: var(--yellow);
}

.smart-shopping-page .smart-preview-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px 9px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
}

.smart-shopping-page .smart-preview-group__title small {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--muted);
  font-size: 9px;
}

.smart-shopping-page .smart-preview-product {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 10px 13px 10px 16px;
}

.smart-shopping-page .smart-preview-product + .smart-preview-product {
  border-top: 1px solid var(--hairline);
}

.smart-shopping-page .smart-preview-product > span:last-child {
  display: grid;
  gap: 2px;
}

.smart-shopping-page .smart-preview-product strong {
  color: var(--ink);
  font-size: 11px;
}

.smart-shopping-page .smart-preview-product small {
  color: var(--muted);
  font-size: 8.5px;
}

.smart-shopping-page .smart-preview-check {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  color: var(--white);
  font-size: 10px;
  font-weight: 850;
}

.smart-shopping-page .smart-preview-check--done {
  border-color: var(--green);
  background: var(--green);
}

.smart-shopping-page .smart-preview-route {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 107, 255, 0.13);
  border-radius: 15px;
  background: var(--blue-100);
}

.smart-shopping-page .smart-preview-route span {
  color: var(--blue-700);
  font-size: 9px;
  font-weight: 750;
}

.smart-shopping-page .smart-preview-route strong {
  color: var(--navy);
  font-size: 10px;
  line-height: 1.4;
}

.smart-shopping-page .smart-use-card {
  display: flex;
  min-height: 230px;
  overflow: hidden;
  flex-direction: column;
}

.smart-shopping-page .smart-use-card::after {
  position: absolute;
  right: -36px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.smart-shopping-page .smart-use-card--green::after {
  background: rgba(79, 168, 122, 0.09);
}

.smart-shopping-page .smart-use-card--yellow::after {
  background: rgba(255, 207, 74, 0.14);
}

.smart-shopping-page .smart-use-card--pink::after {
  background: rgba(232, 112, 154, 0.09);
}

.smart-shopping-page .smart-use-card p {
  position: relative;
  z-index: 1;
  flex: 1;
}

.smart-shopping-page .smart-use-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
}

.smart-shopping-page .smart-helper-card,
.smart-shopping-page .smart-command-card {
  height: 100%;
}

.smart-shopping-page .smart-card-pill--yellow {
  border-color: rgba(214, 158, 12, 0.18);
  background: var(--yellow-soft);
  color: #8a6410;
}

.smart-shopping-page .smart-command-bubble {
  position: relative;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 16px 30px rgba(47, 107, 255, 0.2);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.smart-shopping-page .smart-command-result {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.smart-shopping-page .smart-command-result span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 650;
}

.smart-shopping-page .smart-result-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.smart-shopping-page .smart-result-dot--green {
  background: var(--green);
}

.smart-shopping-page .smart-result-dot--yellow {
  background: var(--yellow);
}

.smart-shopping-page .smart-result-dot--purple {
  background: var(--purple);
}

.smart-shopping-page .smart-cta-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  height: clamp(420px, 40vw, 520px);
  max-width: 620px;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 22% 15%, rgba(255, 207, 74, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(139, 123, 216, 0.12), transparent 36%),
    linear-gradient(145deg, #fffefa, #eef2ff);
  box-shadow: 0 18px 38px rgba(47, 107, 255, 0.12);
}

.smart-shopping-page .smart-cta-visual::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 107, 255, 0.13) 0 2px, transparent 2.5px);
  background-size: 24px 24px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 94%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 94%);
}

.smart-shopping-page .smart-cta-visual::after {
  position: absolute;
  z-index: 0;
  bottom: 4%;
  left: 50%;
  width: 46%;
  height: 6%;
  border-radius: 50%;
  background: rgba(13, 28, 61, 0.25);
  content: "";
  filter: blur(13px);
  transform: translateX(-50%);
}

.smart-shopping-page .smart-cta-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-radius: 50%;
  pointer-events: none;
}

.smart-shopping-page .smart-cta-orbit--blue {
  width: 84%;
  height: 52%;
  border-width: 2px;
  border-color: rgba(47, 107, 255, 0.2);
  box-shadow: 0 0 0 12px rgba(47, 107, 255, 0.03);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.smart-shopping-page .smart-cta-orbit--yellow {
  width: 60%;
  height: 76%;
  border-width: 2px;
  border-color: rgba(255, 190, 18, 0.28);
  transform: translate(-50%, -50%) rotate(24deg);
}

.smart-shopping-page .smart-phone-flat {
  position: relative;
  z-index: 3;
  flex: none;
  width: 218px;
  padding: 7px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 42px;
  background: linear-gradient(110deg, #343842 0%, #0a0b0f 28%, #1d2027 69%, #050608 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.72),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 28px 28px rgba(8, 28, 80, 0.34);
}

.smart-shopping-page .smart-phone-flat::before {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  width: 66px;
  height: 18px;
  border-radius: var(--r-pill);
  background: #050608;
  content: "";
  transform: translateX(-50%);
}

.smart-shopping-page .smart-phone-flat__screen {
  overflow: hidden;
  aspect-ratio: 760 / 1648;
  border-radius: 35px;
  background: #f7f8fb;
}

.smart-shopping-page .smart-phone-flat__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-shopping-page .smart-phone-flat__side-button {
  position: absolute;
  top: 91px;
  right: -5px;
  width: 4px;
  height: 62px;
  border-radius: 0 4px 4px 0;
  background: #111318;
}

.smart-shopping-page .smart-cta-stat,
.smart-shopping-page .smart-cta-tag-card,
.smart-shopping-page .smart-cta-route {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(47, 107, 255, 0.13);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(25, 43, 87, 0.14);
  pointer-events: none;
}

.smart-shopping-page .smart-cta-stat {
  top: 9%;
  left: 3%;
  display: grid;
  width: 174px;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 18px;
  transform: rotate(-3deg);
}

.smart-shopping-page .smart-cta-stat small,
.smart-shopping-page .smart-cta-route span {
  color: var(--blue-700);
  font-size: 9px;
  font-weight: 750;
}

.smart-shopping-page .smart-cta-stat strong,
.smart-shopping-page .smart-cta-route strong {
  color: var(--navy);
  font-size: 11px;
  line-height: 1.3;
}

.smart-shopping-page .smart-cta-tag-card {
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.smart-shopping-page .smart-cta-tag-card--green {
  top: 30%;
  right: 3%;
  border-color: rgba(79, 168, 122, 0.2);
  color: #2f6f50;
  transform: rotate(4deg);
}

.smart-shopping-page .smart-cta-tag-card--purple {
  right: 1%;
  bottom: 24%;
  border-color: rgba(139, 123, 216, 0.2);
  color: #6754bb;
  transform: rotate(-3deg);
}

.smart-shopping-page .smart-cta-tag-card--yellow {
  bottom: 28%;
  left: 2%;
  border-color: rgba(214, 158, 12, 0.2);
  color: #8a6410;
  transform: rotate(3deg);
}

.smart-shopping-page .smart-cta-route {
  right: 4%;
  bottom: 8%;
  display: grid;
  width: 174px;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 17px;
  transform: rotate(-2deg);
}

@media (max-width: 1080px) {
  .smart-shopping-page .smart-hero .hero-kpi-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .smart-shopping-page .smart-hero .hero-kpi {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 3px 12px;
    align-items: center;
  }

  .smart-shopping-page .smart-hero .hero-kpi-label {
    grid-column: 1 / -1;
  }

  .smart-shopping-page .smart-hero .hero-kpi-value {
    margin: 0;
  }
}

@media (max-width: 940px) {
  .smart-shopping-page .smart-hero .hero-title {
    max-width: 15ch;
  }

  .smart-shopping-page .smart-hero .hero-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smart-shopping-page .smart-hero .hero-kpi {
    display: block;
  }

  .smart-shopping-page .smart-hero .hero-kpi-value {
    margin: 8px 0 4px;
  }

  .smart-shopping-page .smart-hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .smart-shopping-page .smart-compare-top {
    align-items: flex-start;
  }

  .smart-shopping-page .smart-tag-cloud {
    margin-left: 0;
  }

  .smart-shopping-page .smart-cta-stat {
    left: 2%;
  }

  .smart-shopping-page .smart-cta-route {
    right: 2%;
  }
}

@media (max-width: 620px) {
  .smart-shopping-page .smart-hero .hero-title {
    max-width: none;
  }

  .smart-shopping-page .smart-mode-row {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    border-radius: var(--r-lg);
  }

  .smart-shopping-page .smart-mode {
    text-align: center;
  }

  .smart-shopping-page .smart-hero .hero-kpi-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .smart-shopping-page .smart-hero .hero-kpi {
    display: block;
  }

  .smart-shopping-page .smart-hero-card {
    padding: 13px;
  }

  .smart-shopping-page .smart-hero-visual {
    border-width: 4px;
    border-radius: 23px;
  }

  .smart-shopping-page .smart-float-tag--purple {
    display: none;
  }

  .smart-shopping-page .step-item {
    padding: 58px 18px 18px;
  }

  .smart-shopping-page .step-number {
    top: 16px;
    left: 18px;
    transform: none;
  }

  .smart-shopping-page .smart-use-card {
    min-height: 0;
  }

  .smart-shopping-page .smart-cta-visual {
    height: 430px;
  }

  .smart-shopping-page .smart-phone-flat {
    width: 188px;
    border-radius: 37px;
  }

  .smart-shopping-page .smart-phone-flat__screen {
    border-radius: 31px;
  }

  .smart-shopping-page .smart-cta-stat {
    top: 5%;
    width: 150px;
  }

  .smart-shopping-page .smart-cta-route {
    right: 2%;
    bottom: 4%;
    width: 158px;
  }

  .smart-shopping-page .smart-cta-tag-card--yellow {
    bottom: 22%;
  }
}

@media (max-width: 420px) {
  .smart-shopping-page .smart-float-tag {
    padding: 6px 8px;
    font-size: 8px;
  }

  .smart-shopping-page .smart-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .smart-shopping-page .smart-cta-visual {
    height: 390px;
  }

  .smart-shopping-page .smart-phone-flat {
    width: 165px;
  }

  .smart-shopping-page .smart-phone-flat::before {
    width: 52px;
    height: 15px;
  }

  .smart-shopping-page .smart-cta-stat {
    top: 4%;
    width: 132px;
    padding: 10px 11px;
  }

  .smart-shopping-page .smart-cta-stat strong,
  .smart-shopping-page .smart-cta-route strong {
    font-size: 9px;
  }

  .smart-shopping-page .smart-cta-tag-card {
    padding: 7px 9px;
    font-size: 8px;
  }

  .smart-shopping-page .smart-cta-tag-card--green {
    top: 27%;
  }

  .smart-shopping-page .smart-cta-tag-card--purple {
    display: none;
  }

  .smart-shopping-page .smart-cta-route {
    width: 140px;
    padding: 10px 11px;
  }
}

@media print {
  body::before,
  .lp-hero::after,
  .hero::after {
    display: none;
  }
}

/* =========================================================================
   СТРАНИЦА «БЛЮДА И ШАБЛОНЫ»
   Фактический сценарий приложения: быстрый список + пользовательские шаблоны.
   ========================================================================= */

.dish-template-page .dish-hero {
  align-items: center;
}

.dish-template-page .dish-hero .hero-title {
  max-width: 14ch;
}

.dish-template-page .dish-hero .hero-kpi-value {
  font-size: clamp(22px, 2.25vw, 29px);
}

.dish-template-page .dish-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: rgba(47, 107, 255, 0.12);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
}

.dish-template-page .dish-chip-icon--yellow {
  background: rgba(255, 207, 74, 0.24);
  color: #8a6200;
}

.dish-template-page .dish-chip-icon--green {
  background: var(--green-soft);
  color: #247151;
}

.dish-template-page .dish-mode-row {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 5px;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.62);
}

.dish-template-page .dish-mode {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.25;
}

.dish-template-page .dish-mode--active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-hero-card {
  align-self: center;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 207, 74, 0.34), transparent 10rem),
    linear-gradient(145deg, #f3f7ff, #dce6ff);
}

.dish-template-page .dish-hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: #eaf1ff;
  box-shadow:
    inset 0 0 0 1px rgba(28, 39, 70, 0.05),
    0 22px 48px rgba(28, 39, 70, 0.15);
}

.dish-template-page .dish-hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-template-page .dish-scenario-grid,
.dish-template-page .dish-compare-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dish-template-page .dish-scenario-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-scenario-card::after {
  position: absolute;
  top: -52px;
  right: -52px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.08);
  content: "";
}

.dish-template-page .dish-scenario-card--yellow::after {
  background: rgba(255, 207, 74, 0.18);
}

.dish-template-page .dish-scenario-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dish-template-page .dish-scenario-top > div {
  min-width: 0;
}

.dish-template-page .dish-scenario-top span:not(.dish-scenario-icon) {
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dish-template-page .dish-scenario-card--yellow .dish-scenario-top span:not(.dish-scenario-icon) {
  color: #8a6200;
}

.dish-template-page .dish-scenario-top h3 {
  margin-top: 2px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.dish-template-page .dish-scenario-icon,
.dish-template-page .dish-feature-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 12px 25px rgba(47, 107, 255, 0.25);
}

.dish-template-page .dish-scenario-icon--yellow,
.dish-template-page .dish-feature-icon--yellow {
  background: linear-gradient(135deg, #ffc52e, #ffdf70);
  color: #6c4a00;
  box-shadow: 0 12px 25px rgba(220, 163, 0, 0.2);
}

.dish-template-page .dish-command-bubble {
  position: relative;
  margin-top: 22px;
  padding: 15px 17px;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 18px 18px 18px 6px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 680;
}

.dish-template-page .dish-template-pills {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 7px;
}

.dish-template-page .dish-template-pills span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 207, 74, 0.42);
  border-radius: var(--r-pill);
  background: rgba(255, 241, 184, 0.65);
  color: #654b0c;
  font-size: 12px;
  font-weight: 680;
}

.dish-template-page .dish-steps-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.dish-template-page .dish-steps-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.dish-template-page .dish-steps-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--white);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(28, 39, 70, 0.08);
}

.dish-template-page .dish-scenario-card--yellow .dish-steps-list li > span {
  color: #8a6200;
}

.dish-template-page .dish-steps-list p {
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.dish-template-page .dish-truth-note {
  display: grid;
  margin-top: 20px;
  padding: 18px 20px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  border: 1px solid rgba(255, 207, 74, 0.45);
  border-radius: var(--r-lg);
  background: rgba(255, 241, 184, 0.56);
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-truth-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--yellow);
  color: #5e4300;
  font-weight: 800;
}

.dish-template-page .dish-truth-note p {
  margin: 0;
  color: #5e4d24;
  font-size: 14px;
  line-height: 1.58;
}

.dish-template-page .dish-app-flow {
  display: grid;
  max-width: 1060px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.dish-template-page .dish-phone-panel {
  min-width: 0;
  padding: 13px 14px 16px;
  border: 1px solid rgba(28, 39, 70, 0.1);
  border-radius: 30px;
  background: rgba(249, 249, 251, 0.96);
  box-shadow:
    0 30px 70px rgba(28, 39, 70, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dish-template-page .dish-phone-panel--editor {
  background: #f2f2f7;
}

.dish-template-page .dish-sheet-grabber {
  width: 42px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #c7c7cc;
}

.dish-template-page .dish-sheet-title {
  color: #14161a;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.dish-template-page .dish-sheet-title--small {
  color: #7c7c82;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dish-template-page .dish-sheet-subtitle {
  margin: 4px 0 13px;
  color: #8e8e93;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.dish-template-page .dish-template-card {
  padding: 14px;
  border: 1px solid rgba(0, 122, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f4f5f7);
  box-shadow: 0 10px 24px rgba(18, 27, 52, 0.07);
}

.dish-template-page .dish-template-card + .dish-template-card {
  margin-top: 11px;
}

.dish-template-page .dish-template-card--family {
  border-color: rgba(224, 168, 0, 0.34);
}

.dish-template-page .dish-template-card__head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.dish-template-page .dish-template-card__head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.dish-template-page .dish-template-card__head strong {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.3;
}

.dish-template-page .dish-template-card__head div > span {
  margin-top: 4px;
  color: #8e8e93;
  font-size: 10px;
}

.dish-template-page .dish-template-badge {
  flex: none;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
  font-size: 9px;
  font-weight: 750;
}

.dish-template-page .dish-template-badge--family {
  background: rgba(224, 168, 0, 0.12);
  color: #a27500;
}

.dish-template-page .dish-template-labels {
  display: flex;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.dish-template-page .dish-template-labels span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2d5eab;
  font-size: 9px;
  font-weight: 650;
}

.dish-template-page .dish-template-actions {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dish-template-page .dish-template-actions button,
.dish-template-page .dish-editor-submit,
.dish-template-page .dish-editor-cancel,
.dish-template-page .dish-editor-row button {
  appearance: none;
  border: 0;
  font: inherit;
}

.dish-template-page .dish-template-actions button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d8dade;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: #176ad9;
  font-size: 11px;
  font-weight: 700;
}

.dish-template-page .dish-template-actions .dish-template-actions__primary {
  border-color: #007aff;
  background: #007aff;
  color: var(--white);
}

.dish-template-page .dish-flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-700);
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-editor-name {
  margin-top: 10px;
  color: #1d1d1f;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.25;
}

.dish-template-page .dish-editor-count {
  margin: 9px 0 11px;
  color: #8e8e93;
  font-size: 11px;
  font-weight: 650;
}

.dish-template-page .dish-editor-list {
  display: grid;
  gap: 8px;
}

.dish-template-page .dish-editor-row {
  display: grid;
  padding: 9px 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid #e0e0e5;
  border-radius: 14px;
  background: var(--white);
}

.dish-template-page .dish-editor-row > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.dish-template-page .dish-editor-row strong {
  overflow: hidden;
  color: #1d1d1f;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-template-page .dish-editor-row small {
  margin-top: 2px;
  overflow: hidden;
  color: #8e8e93;
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-template-page .dish-editor-row button {
  padding: 5px;
  background: transparent;
  color: #007aff;
  font-size: 17px;
}

.dish-template-page .dish-switch {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #d1d1d6;
}

.dish-template-page .dish-switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.dish-template-page .dish-switch--on {
  background: #34c759;
}

.dish-template-page .dish-switch--on i {
  left: 16px;
}

.dish-template-page .dish-editor-submit {
  width: 100%;
  min-height: 42px;
  margin-top: 11px;
  border-radius: 13px;
  background: #007aff;
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
}

.dish-template-page .dish-editor-cancel {
  width: 100%;
  padding: 8px;
  background: transparent;
  color: #007aff;
  font-size: 11px;
  font-weight: 650;
}

.dish-template-page .dish-exact-steps {
  margin-top: clamp(24px, 4vw, 40px);
}

.dish-template-page .dish-exact-steps .steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dish-template-page .dish-exact-steps .step-item {
  min-height: 150px;
}

.dish-template-page .dish-exact-steps .step-title {
  margin-bottom: 6px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.dish-template-page .dish-feature-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dish-template-page .dish-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.06);
  content: "";
}

.dish-template-page .dish-feature-card--yellow::after {
  background: rgba(255, 207, 74, 0.16);
}

.dish-template-page .dish-feature-card--green::after {
  background: rgba(79, 168, 122, 0.12);
}

.dish-template-page .dish-feature-card--pink::after {
  background: rgba(232, 112, 154, 0.12);
}

.dish-template-page .dish-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  font-size: 18px;
}

.dish-template-page .dish-feature-icon--green {
  background: linear-gradient(135deg, #3c9c6d, #69bf91);
  box-shadow: 0 12px 25px rgba(79, 168, 122, 0.22);
}

.dish-template-page .dish-feature-icon--pink {
  background: linear-gradient(135deg, #d85b88, #ef8cad);
  box-shadow: 0 12px 25px rgba(232, 112, 154, 0.22);
}

.dish-template-page .dish-feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 9px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.dish-template-page .dish-feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.dish-template-page .dish-compare-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.dish-template-page .dish-compare-card--assistant {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 107, 255, 0.11), transparent 12rem),
    rgba(255, 255, 255, 0.8);
}

.dish-template-page .dish-compare-card--template {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 207, 74, 0.2), transparent 12rem),
    rgba(255, 255, 255, 0.8);
}

.dish-template-page .dish-compare-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dish-template-page .dish-compare-card--template .dish-compare-kicker {
  background: var(--yellow-soft);
  color: #7b5900;
}

.dish-template-page .dish-compare-card h3 {
  margin: 14px 0 18px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.dish-template-page .dish-compare-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  list-style: none;
}

.dish-template-page .dish-compare-card li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.52;
}

.dish-template-page .dish-compare-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  content: "✓";
}

.dish-template-page .dish-cta .cta-inner {
  align-items: center;
}

.dish-template-page .dish-cta-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  background: #edf3ff;
  box-shadow: 0 26px 58px rgba(18, 27, 52, 0.2);
}

.dish-template-page .dish-cta-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-template-page .dish-ready-card {
  position: absolute;
  display: flex;
  min-width: 176px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(18, 27, 52, 0.17);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.dish-template-page .dish-ready-card--top {
  top: 16px;
  right: 16px;
}

.dish-template-page .dish-ready-card--bottom {
  right: 16px;
  bottom: 16px;
}

.dish-template-page .dish-ready-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.dish-template-page .dish-ready-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.dish-template-page .dish-ready-card strong {
  color: var(--navy);
  font-size: 11px;
  line-height: 1.3;
}

.dish-template-page .dish-ready-icon,
.dish-template-page .dish-ready-check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 800;
}

.dish-template-page .dish-ready-check {
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

@media (max-width: 1080px) {
  .dish-template-page .dish-hero .hero-kpi-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-hero .hero-kpi {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
  }

  .dish-template-page .dish-hero .hero-kpi-label {
    grid-column: 1;
  }

  .dish-template-page .dish-hero .hero-kpi-value {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .dish-template-page .dish-hero .hero-kpi-caption {
    grid-column: 1 / -1;
    margin-top: 7px;
  }

  .dish-template-page .dish-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .dish-template-page .dish-hero .hero-title {
    max-width: 18ch;
  }

  .dish-template-page .dish-hero .hero-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dish-template-page .dish-hero .hero-kpi {
    display: block;
  }

  .dish-template-page .dish-hero .hero-kpi-value {
    margin: 8px 0 4px;
  }
}

@media (max-width: 820px) {
  .dish-template-page .dish-scenario-grid,
  .dish-template-page .dish-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-app-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-flow-arrow {
    margin: -4px auto;
    transform: rotate(90deg);
  }

  .dish-template-page .dish-phone-panel {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .dish-template-page .dish-exact-steps .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-exact-steps .step-item {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .dish-template-page .dish-hero .hero-kpi-row,
  .dish-template-page .dish-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-mode-row {
    width: 100%;
    border-radius: 20px;
  }

  .dish-template-page .dish-mode {
    width: 100%;
    text-align: center;
  }

  .dish-template-page .dish-hero-card {
    padding: 13px;
  }

  .dish-template-page .dish-hero-visual {
    border-width: 4px;
    border-radius: 23px;
  }

  .dish-template-page .dish-scenario-card {
    padding: 20px;
  }

  .dish-template-page .dish-truth-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .dish-template-page .dish-truth-note__icon {
    width: 30px;
    height: 30px;
  }

  .dish-template-page .dish-phone-panel {
    padding: 12px 10px 14px;
    border-radius: 24px;
  }

  .dish-template-page .dish-template-card {
    padding: 12px;
    border-radius: 17px;
  }

  .dish-template-page .dish-editor-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px;
  }

  .dish-template-page .dish-switch {
    width: 30px;
    height: 18px;
  }

  .dish-template-page .dish-switch i {
    width: 14px;
    height: 14px;
  }

  .dish-template-page .dish-switch--on i {
    left: 14px;
  }

  .dish-template-page .dish-feature-card {
    min-height: 0;
  }

  .dish-template-page .dish-ready-card {
    min-width: 150px;
    padding: 8px 10px;
  }

  .dish-template-page .dish-ready-card--top {
    top: 9px;
    right: 9px;
  }

  .dish-template-page .dish-ready-card--bottom {
    right: 9px;
    bottom: 9px;
  }
}

@media (max-width: 390px) {
  .dish-template-page .dish-template-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dish-template-page .dish-ready-card {
    min-width: 132px;
  }
}
