/* Кукуруз — лэндинг qqruz.ru.
   Токены и компоненты взяты из макета Claude Design (дизайн-система «Organic»)
   плюс цвета зон оценки из приложения — они общие с app/src/styles/app.css
   и менять их здесь в одностороннем порядке нельзя. */

@import url('fonts.css');

:root {
  /* — база дизайн-системы — */
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: rgba(32, 30, 29, 0.16);

  /* Мелкий вторичный текст: сноски, подписи, дисклеймер. Не neutral-600 из
     палитры — тот на фоне --color-bg даёт 3,6:1, ниже AA для 11–13px.
     Этот тон даёт 4,8:1 и всё ещё отличим от основного neutral-700. */
  --color-muted: #6f6659;

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-600: #728157;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;

  /* Красный аллергена: единственное место, где цвет кричит. */
  --color-alarm: #b8483d;
  --color-alarm: oklch(0.55 0.16 28);
  --color-alarm-dot: #cf5044;
  --color-alarm-dot: oklch(0.6 0.19 28);

  /* — цвета зон оценки, общие с приложением — */
  --zone-green: #128a54;
  --zone-green-bright: #1ba05f;
  --zone-green-soft: #e3f4e9;
  --zone-salad: #7a9c1a;
  --zone-salad-soft: #f0f6df;
  --zone-orange: #c96b14;
  --zone-orange-soft: #fcefdf;
  --zone-red: #c6392f;
  --zone-red-soft: #fbe7e5;
  --zone-amber: #c98a14;
  --ring-track: #eef1ec;
  --ink: #17211c;
  --ink-4: #8a968e;

  --font-heading: 'Comfortaa', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Golos Text', 'Segoe UI', system-ui, sans-serif;

  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 39px; /* calc(var(--radius-lg) * 1.4) из макета */

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, 0.16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, 0.22);

  --container: 1140px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Липкая шапка не должна накрывать заголовок секции при переходе по якорю. */
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  /* Декоративное пятно за телефоном шире вьюпорта на узких экранах —
     clip, а не hidden: hidden ломает position:sticky у шапки. */
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(198, 113, 57, 0.3); }

/* ── Каркас ─────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.band { padding-block: 80px; }
.band--neutral { background: var(--color-neutral-100); }
.band--leaf { background: var(--color-accent-2-100); }

.section { padding-block: 88px; }
.section--no-top { padding-top: 0; }
.section--no-bottom { padding-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.05fr 0.95fr; }
.split--wide-right { grid-template-columns: 0.9fr 1.1fr; }
.split--lead-left { grid-template-columns: 1.1fr 0.9fr; }

/* ── Типографика ────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.h-hero {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  margin: 18px 0 20px;
  text-wrap: balance;
}

.h-section {
  font-size: clamp(28px, 3.4vw, 36px);
  margin: 18px 0 14px;
}
.h-section--first { margin-top: 0; }
.h-section--center { text-align: center; }

.lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.lead--hero {
  font-size: 18px;
  line-height: 1.6;
  max-width: 34em;
  margin-bottom: 30px;
}
.lead--section {
  font-size: 16px;
  max-width: 38em;
  margin-bottom: 34px;
}
.lead--pre-list { margin-bottom: 22px; }
.lead--pre-link { margin-bottom: 24px; }
.lead--center { max-width: 36em; margin: 0 auto 38px; text-align: center; }
.lead:last-child { margin-bottom: 0; }

.note { font-size: 13px; color: var(--color-muted); }
.note--center { text-align: center; }
.note--after { margin-top: 22px; }

/* ── Кнопки, теги ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 16px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: rgba(32, 30, 29, 0.07); }
.btn-ghost { color: var(--color-accent); padding-inline: 4px; }
.btn-ghost:hover { background: rgba(198, 113, 57, 0.1); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-block { width: 100%; margin-top: 8px; }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* ── Карточки ───────────────────────────────────────────────────────── */

.card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px;
  border-radius: calc(var(--radius-lg) * 1.15);
  background: var(--color-surface);
}
.card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }

.panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

/* ── Шапка ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 234, 216, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-neutral-200);
}
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: var(--color-accent-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 17px var(--font-heading);
}
.brand__name { font: 700 19px var(--font-heading); }

.topnav {
  flex: 1;
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-neutral-700);
}
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--color-accent); }

/* ── Герой ──────────────────────────────────────────────────────────── */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.hero__blob {
  position: absolute;
  width: min(400px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  background: var(--color-accent-2-200);
}

/* Плавающие карточки-аннотации у телефона. */
.floatcard {
  position: absolute;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.floatcard--score {
  left: -16px;
  top: 96px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.floatcard--alarm {
  right: 0;
  bottom: 120px;
  background: var(--color-alarm);
  color: #fff;
  border-radius: 18px;
  padding: 13px 17px;
  max-width: 210px;
  animation-duration: 6s;
  animation-delay: 1s;
}
.floatcard__label { display: block; font-size: 12px; color: var(--color-muted); }
.floatcard__verdict { display: block; font-size: 14px; font-weight: 800; color: var(--zone-green); }
.floatcard__title { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.floatcard__sub { display: block; font-size: 11px; opacity: 0.9; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Телефон ────────────────────────────────────────────────────────── */

.phone {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 696px;
  border-radius: 48px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.phone__island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}
.phone__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 21px 24px 19px;
  color: #fff;
}
.phone__status > * { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; }
.phone__time { font: 600 17px/22px var(--font-body); }
.phone__home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: 139px;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
}

.screen {
  position: absolute;
  inset: 0;
  background: #20251f;
  overflow: hidden;
}
.screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 15, 0.5) 0%, rgba(15, 20, 15, 0.1) 30%, rgba(15, 20, 15, 0.12) 62%, rgba(15, 20, 15, 0.55) 100%);
}
.screen__chips {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
  padding: 54px 16px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.chip--active { background: #fff; color: var(--ink); font-weight: 700; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: #e8564a; }

.viewfinder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewfinder__frame { position: relative; width: 200px; height: 200px; }
.viewfinder__frame span[class^='corner'] { position: absolute; width: 36px; height: 36px; }
.corner-tl { top: 0; left: 0; border-top: 3.5px solid #fff; border-left: 3.5px solid #fff; border-radius: 14px 0 0 0; }
.corner-tr { top: 0; right: 0; border-top: 3.5px solid #fff; border-right: 3.5px solid #fff; border-radius: 0 14px 0 0; }
.corner-bl { bottom: 0; left: 0; border-bottom: 3.5px solid #fff; border-left: 3.5px solid #fff; border-radius: 0 0 0 14px; }
.corner-br { bottom: 0; right: 0; border-bottom: 3.5px solid #fff; border-right: 3.5px solid #fff; border-radius: 0 0 14px 0; }

.barcode {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.barcode__bars {
  width: 118px;
  height: 38px;
  background: repeating-linear-gradient(90deg, #17211c 0 2px, transparent 2px 5px, #17211c 5px 6px, transparent 6px 8px, #17211c 8px 11px, transparent 11px 14px);
}
.barcode__digits {
  font: 600 10px ui-monospace, Menlo, Consolas, monospace;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.laser {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #35c47c, transparent);
  animation: laser 2.6s ease-in-out infinite;
}
@keyframes laser {
  0% { top: 12%; }
  50% { top: 82%; }
  100% { top: 12%; }
}

.screen__hint {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.screen__hint span {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  text-align: center;
}

/* ── Полоса доверия ─────────────────────────────────────────────────── */

.trustbar {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-neutral-700);
  border-top: 1px solid var(--color-neutral-200);
  padding-top: 22px;
  margin-bottom: 72px;
}

/* ── Как работает ───────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step__num {
  display: flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font: 700 22px var(--font-heading);
  margin-bottom: 16px;
  background: var(--color-accent-2-200);
  color: var(--color-accent-2-800);
}
.step__num--warm { background: var(--color-accent-200); color: var(--color-accent-800); }

/* ── Формула 60/30/10 ───────────────────────────────────────────────── */

.formula {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.formula__part {
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  background: var(--color-accent-2-200);
  color: var(--color-accent-2-800);
}
.formula__part:nth-child(1) { flex: 6; }
.formula__part:nth-child(2) { flex: 3; background: var(--color-accent-200); color: var(--color-accent-800); }
.formula__part:nth-child(3) { flex: 2; background: var(--color-neutral-200); color: var(--color-neutral-800); }
.formula__value { font: 700 clamp(26px, 2.6vw, 34px) var(--font-heading); }
.formula__label { font-size: 13px; font-weight: 600; }

.zones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.zones div { display: flex; gap: 12px; align-items: center; }
.zone-pill {
  width: 52px;
  flex: none;
  text-align: center;
  padding: 4px 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.zone-pill--green { background: var(--zone-green-soft); color: var(--zone-green); }
.zone-pill--salad { background: var(--zone-salad-soft); color: var(--zone-salad); }
.zone-pill--orange { background: var(--zone-orange-soft); color: var(--zone-orange); }
.zone-pill--red { background: var(--zone-red-soft); color: var(--zone-red); }

/* ── Список с галочками ─────────────────────────────────────────────── */

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before {
  content: '✓';
  color: var(--color-accent-2-700);
  font-weight: 800;
  flex: none;
}
.checks--warm li::before { color: var(--color-accent-700); }

/* ── Индекс насыщаемости ────────────────────────────────────────────── */

.satiety__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.satiety__title { font-size: 14px; font-weight: 700; }
.satiety__ref { font-size: 12px; font-weight: 600; color: var(--color-muted); }
.satiety__rows { display: flex; flex-direction: column; gap: 18px; }
.satiety__row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.satiety__name { font-size: 13.5px; font-weight: 600; }
.satiety__meta { display: flex; align-items: baseline; gap: 8px; }
.satiety__time { font-size: 11.5px; color: var(--color-muted); }
.satiety__value { font-size: 16px; font-weight: 800; }
.satiety__value--green { color: var(--zone-green); }
.satiety__value--amber { color: var(--zone-amber); }
.satiety__value--red { color: var(--zone-red); }
.satiety__caption { font-size: 11px; color: var(--color-muted); margin-top: 5px; }
.satiety__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: var(--color-muted);
  margin-top: 14px;
  border-top: 1px solid var(--color-neutral-200);
  padding-top: 12px;
}

/* Шкала 0–330%: коридор 170–250% подложкой, риска эталона на 100%. */
.scale {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: var(--color-neutral-200);
  overflow: hidden;
}
.scale__corridor { position: absolute; left: 51.5%; width: 24.3%; top: 0; bottom: 0; background: var(--zone-green-soft); }
.scale__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.scale__fill--green { background: var(--zone-green-bright); }
.scale__fill--amber { background: #d9a81c; }
.scale__fill--red { background: var(--zone-red); }
/* Ширина заливки = значение индекса на шкале 0–330%. */
.scale__fill--v323 { width: 97.9%; }
.scale__fill--v116 { width: 35.2%; }
.scale__fill--v42 { width: 12.7%; }
.scale__tick { position: absolute; left: 30.3%; top: 0; bottom: 0; width: 2px; background: rgba(23, 33, 28, 0.35); }

/* ── Чек-анализ ─────────────────────────────────────────────────────── */

.receipt__meta { font-size: 12.5px; color: var(--color-muted); margin-bottom: 14px; }
.receipt__score { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.receipt__verdict { font-size: 17px; font-weight: 800; color: var(--zone-salad); }
.receipt__recognised { font-size: 12.5px; color: var(--color-muted); }
.receipt__tiles { display: flex; gap: 8px; margin-bottom: 16px; }
.receipt__tile {
  flex: 1;
  border: 1px solid var(--color-neutral-200);
  border-radius: 14px;
  padding: 9px 12px;
}
.receipt__tile span { display: block; font-size: 10.5px; color: var(--color-muted); }
.receipt__tile b { font-size: 14px; font-weight: 800; }
.receipt__tile b.is-amber { color: var(--zone-amber); }
.receipt__tile b.is-red { color: var(--zone-red); }
.receipt__lines { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; }
.receipt__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-neutral-200);
}
.score-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  flex: none;
}
.score-badge--green { background: var(--zone-green-soft); color: var(--zone-green); }
.score-badge--orange { background: var(--zone-orange-soft); color: var(--zone-orange); }
.score-badge--red { background: var(--zone-red-soft); color: var(--zone-red); }

/* ── Семья ──────────────────────────────────────────────────────────── */

.family__stack { display: flex; flex-direction: column; gap: 14px; }
.family__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: block;
}
.family__photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94);
}
.family__profiles {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.profile-pill--owner { background: var(--color-text); color: #fff; font-weight: 700; }
.profile-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-alarm-dot); }

.alarm-card {
  background: var(--color-alarm);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.alarm-card__icon { font-size: 26px; margin-bottom: 6px; }
.alarm-card__title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.alarm-card__text { font-size: 13px; opacity: 0.92; line-height: 1.45; }

/* ── Тарифы ─────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.plan {
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
}
.plan--premium {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
}
.plan__name { font: 700 22px var(--font-heading); margin-bottom: 4px; }
.plan__price { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.plan__price--row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__save { font-size: 13.5px; font-weight: 600; color: var(--color-accent-700); }
.plan__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}
.plan__list li { display: flex; gap: 10px; }
.plan__list li::before { content: '✓'; font-weight: 800; flex: none; }
.plan__list--free li::before { color: var(--color-accent-2-700); }
.plan__list--premium li::before { color: var(--color-accent-700); }
.plan__list li.is-off { color: var(--color-muted); }
.plan__list li.is-off::before { content: '—'; color: inherit; font-weight: 500; }
.plan--free .plan__list { margin-bottom: 10px; }
.plan__note { margin-top: 10px; }

/* ── FAQ ────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin: 0 auto; padding-inline: var(--gutter); }
.faq .h-section { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--color-neutral-300); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--color-neutral-300); }
.faq summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-accent);
  flex: none;
}
.faq details[open] summary::after { content: '−'; }
.faq p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 12px 0 0;
}

/* ── Подвал ─────────────────────────────────────────────────────────── */

.footer { max-width: var(--container); margin: 0 auto; padding: 44px var(--gutter) 56px; }
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__brand .brand__mark { width: 32px; height: 32px; border-radius: 12px; font-size: 15px; }
.footer__brand .brand__name { font-size: 17px; }
.footer__contacts { font-size: 12.5px; color: var(--color-muted); }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { color: var(--color-accent); }
.footer__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-neutral-700);
}
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--color-accent); }
.footer__legal {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
  border-top: 1px solid var(--color-neutral-200);
  padding-top: 18px;
}

/* ── Адаптив ────────────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .topnav { gap: 16px; font-size: 13px; }
}

@media (max-width: 900px) {
  .topnav { display: none; }
  .topbar__inner { gap: 16px; justify-content: space-between; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .hero__art { order: -1; }
  .lead--hero { font-size: 17px; }

  .split,
  .split--wide-left,
  .split--wide-right,
  .split--lead-left {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* На узком экране скриншот-иллюстрация идёт после текста, а не перед ним. */
  .split--wide-right > .panel { order: 2; }

  .section { padding-block: 64px; }
  .band { padding-block: 60px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* Плавающие карточки не помещаются рядом с телефоном и дублируют
     содержание секций «Как работает» и «Семья» — на мобильном их убираем. */
  .floatcard { display: none; }
  .trustbar { gap: 12px; flex-direction: column; margin-bottom: 56px; }
  .receipt__tiles { flex-wrap: wrap; }
  .receipt__tile { min-width: 45%; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .panel { padding: 20px; }
  .plan { padding: 24px; }
  .satiety__row-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laser, .floatcard { animation: none; }
}
