/* ============================================================
   Lime Planner — лендинг
   Дизайн-система: кремовый фон, стеклянные поверхности, лаймовый акцент,
   короткие акценты (Inter 600), Inter в заголовках и тексте — разница в весее.
   Переменные — в tokens.css (общие с приложением); здесь только стили лендинга.
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Цветная подложка под стеклянными панелями (см. --mesh-bg в tokens.css):
   полупрозрачная карточка читается только там, где под ней видно цвет.
   Слой неподвижен — при скролле панели едут по фону, а не тащат его за собой. */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background: var(--mesh-bg);
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 110px 0; }

/* ---------- видео о планере ---------- */
.promo { padding-bottom: 0; }
.promo__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: var(--ink);
}

/* ---------- типографика секций ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin: 0 0 14px;
}

.section__title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  max-width: 20ch;
  text-wrap: balance;
}

.section__lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 48px;
  text-wrap: pretty;
}


.hl {
  padding: 0 .08em;
  background: linear-gradient(
    180deg,
    transparent 62%,
    var(--lime-soft) 62%,
    var(--lime-soft) 94%,
    transparent 94%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- кнопки ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  background: var(--lens-face), var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, opacity .2s ease;
  box-shadow: 0 6px 18px rgba(30, 30, 30, .14);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 30, 30, .2); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--lime-cta);
  --btn-fg: var(--ink);
  box-shadow: 0 10px 28px rgba(199, 250, 11, .38), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(199, 250, 11, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }

.btn--ghost {
  --btn-bg: var(--glass-bg-soft);
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-gloss);
  -webkit-backdrop-filter: blur(10px) saturate(var(--glass-sat));
  backdrop-filter: blur(10px) saturate(var(--glass-sat));
}
.btn--ghost:hover { --btn-bg: var(--glass-face); box-shadow: inset 0 0 0 1px var(--glass-line), var(--glass-gloss); }

.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  background: var(--glass-face);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--glass-brd);
  background: var(--glass-face);
}

/* Преломление фона (SVG-фильтр из гайда) — там, где под стеклом едет контент. Фильтр
   умеет только непременованный backdrop-filter и сам заканчивается размытием, поэтому
   базовое размытие остаётся для браузеров без поддержки url(). */
@supports (backdrop-filter: url("#lg-refract")) {
  .header {
    backdrop-filter: url(#lg-refract) saturate(var(--glass-sat));
  }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.logo__text { font-size: 19px; }
.logo__text span { color: var(--lime-ink); margin-left: 3px; }

.nav { display: flex; gap: 26px; margin-left: auto; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink-soft); position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--lime-ink);
  transition: right .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Акцентные подписи: «знакомо?», «ты не ленивый.», «1% каждый день», «сегодня».
   Рукописный Caveat заменён на Inter: держим их отличными от заголовков и текста
   весом и трекингом, а не наклоном руки. */
.statement__hand,
.mock__hand {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -280px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  /* Свечение приглушено: вместе с цветной подложкой оно съедало контраст подзаголовка. */
  background:
    radial-gradient(closest-side, rgba(199, 250, 11, .34), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(199, 250, 11, .22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner { position: relative; text-align: center; }

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass-face-soft);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-gloss);
  -webkit-backdrop-filter: blur(10px) saturate(var(--glass-sat));
  backdrop-filter: blur(10px) saturate(var(--glass-sat));
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(40px, 7.4vw, 82px);
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 34px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}


.statement {
  max-width: 760px;
  margin-inline: auto;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-face-dark);
  border: 1px solid var(--glass-dark-brd);
  color: var(--cream);
  box-shadow: var(--glass-shadow), var(--glass-dark-gloss);
  text-align: left;
}
.statement__hand {
  font-size: 30px;
  color: var(--lime);
  margin: 0 0 6px;
}
.statement__main {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
}

/* ---------- about ---------- */

/* Секция стала одноколоночной: карточку «1% каждый день» убрали, и текст держим
   читаемой шириной — на всю ширину контейнера строка выходит в 130+ знаков. */
.about__grid { max-width: 860px; }
.about__text { margin-top: 4px; }

.about__text p { color: var(--ink-soft); }
.about__text .btn { margin-top: 12px; }


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

.cards { display: grid; gap: 18px; margin-top: 44px; }

.card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--glass-face);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow), var(--glass-gloss);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(30, 30, 30, .18), var(--glass-gloss); }
.card h3 { font-size: 19px; margin-bottom: 10px; overflow-wrap: anywhere; }
.card p { font-size: 15.5px; color: var(--muted); margin: 0; }


/* ---------- из чего состоит планер ---------- */

.parts__list { display: grid; gap: 34px; margin-top: 44px; }

/* Часть — пара: описание и мокап. Стороны чередуются: одинаковые строки подряд читаются
   как список, а так видно, что частей несколько и они разные. */
.part {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}
.part--flip .part__text { order: 2; }
.part--flip .part__mock { order: 1; }

.part__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--lime-ink);
  margin-bottom: 10px;
}
.part__text h3 { font-size: 24px; margin: 0 0 10px; }
.part__text p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---------- мокапы ---------- */

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

.mock {
  border-radius: var(--radius-lg);
  background: var(--glass-face-dark);
  border: 1px solid var(--glass-dark-brd);
  color: var(--cream);
  overflow: hidden;
  box-shadow: var(--glass-shadow), var(--glass-dark-gloss);
  transition: transform .3s ease;
}
.mock:hover { transform: translateY(-6px); }

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mock__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(246, 245, 244, .22);
}
.mock__name {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(246, 245, 244, .6);
  letter-spacing: .02em;
}

.mock__body { padding: 22px 20px 26px; }

.mock__hand {
  font-size: 22px;
  color: var(--lime);
  margin: 0 0 16px;
}

.mock__row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mock__row:last-child { border-bottom: none; }

.mock__label { font-size: 13px; color: rgba(246, 245, 244, .6); font-weight: 600; }

.mock__lines { display: grid; gap: 7px; margin-top: 10px; }
.mock__lines li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: rgba(246, 245, 244, .9);
}
.mock__lines li::before {
  content: '';
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(246, 245, 244, .35);
}

.mock__strong {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.mock__row--hl {
  background: linear-gradient(90deg, rgba(199, 250, 11, .2), rgba(199, 250, 11, .05));
  margin-inline: -20px;
  padding-inline: 20px;
}

.mock__check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 15px;
}
.mock__check i {
  width: 18px; height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--green);
  background: rgba(37, 136, 89, .3);
  position: relative;
  flex: none;
}
.mock__check i::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #7fe3d0;
}

.mock__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.mock__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(246, 245, 244, .55);
  margin-bottom: 8px;
  font-weight: 600;
}
.mock__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.chip[data-tone="red"]    { background: rgba(255, 47, 47, .22); color: #ff9d9d; }
.chip[data-tone="orange"] { background: rgba(239, 123, 22, .22); color: #ffc48a; }
.chip[data-tone="green"]  { background: rgba(27, 143, 122, .3); color: #7fe3d0; }

.mock__sprint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(199, 250, 11, .14);
  font-size: 13px;
  font-weight: 600;
}
.mock__timer { color: var(--lime); }

.bars { display: grid; gap: 14px; margin-bottom: 20px; }
.bars__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.bars__label { color: rgba(246, 245, 244, .65); }
.bars__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.bars__track i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  transform-origin: left;
  animation: grow 1s cubic-bezier(.3, .9, .3, 1) both;
}
.bars__track i[data-tone="red"]    { background: linear-gradient(90deg, #ff6b6b, var(--red)); }
.bars__track i[data-tone="orange"] { background: linear-gradient(90deg, #ffb45c, var(--orange)); }
.bars__track i[data-tone="green"]  { background: linear-gradient(90deg, #4ecbc0, var(--green)); }
.bars__val { text-align: right; font-weight: 700; }

@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mock__note {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  font-size: 13.5px;
  color: rgba(246, 245, 244, .82);
  line-height: 1.5;
}
.mock__note b { color: var(--lime); }

/* ---------- хреновый день ---------- */

/* Карточка в блоке одна: на всю ширину контейнера она выглядит пустой полосой. */
.badday .cards { max-width: 760px; }

/* Строка-вывод под карточками: не заголовок и не список, поэтому отделена от карточек. */
.badday__after {
  max-width: 62ch;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--lime-2);
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- результат ---------- */

.result__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.result__item {
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: var(--glass-face);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow), var(--glass-gloss);
}
.result__item h3 { font-size: 21px; overflow-wrap: anywhere; }
.result__item p { margin: 0; color: var(--muted); }

/* ---------- цена ---------- */

.pricing { background: var(--glass-face-soft);}

.pricing__inner { text-align: center; }
.pricing__inner .section__title { margin-inline: auto; }
.pricing__inner .section__lead { margin-inline: auto; }

.price {
  max-width: 540px;
  margin: 0 auto;
  padding: 40px 38px 32px;
  border-radius: var(--radius-xl);
  background: var(--glass-face-dark);
  border: 1px solid var(--glass-dark-brd);
  color: var(--cream);
  text-align: left;
  box-shadow: var(--glass-shadow), var(--glass-dark-gloss);
  position: relative;
  overflow: hidden;
}
.price::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(199, 250, 11, .34), transparent);
  pointer-events: none;
}

.price__head { position: relative; }
.price__head h3 { font-size: 26px; margin-bottom: 8px; }
.price__head p { color: rgba(246, 245, 244, .7); font-size: 15.5px; }

.price__list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}
.price__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: rgba(246, 245, 244, .9);
}
.price__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: #7fe3d0;
  font-weight: 700;
}

.price__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
}
.price__amount { display: grid; gap: 2px; }
.price__sum {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.price__note { font-size: 13.5px; color: rgba(246, 245, 244, .6); }
.price__foot .btn { margin-left: auto; }

/* ---------- FAQ ---------- */

.faq__list { margin-top: 40px; display: grid; gap: 0; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: color .2s ease;
}
.faq__q:hover { color: var(--lime-ink); }

.faq__q i {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--ink);
  transition: transform .3s ease, background .3s ease;
}
.faq__q i::before,
.faq__q i::after {
  content: '';
  position: absolute;
  inset: 50% 7px auto;
  height: 1.5px;
  background: var(--cream);
  transform: translateY(-50%);
}
.faq__q i::after { transform: translateY(-50%) rotate(90deg); transition: transform .3s ease; }

.faq__q[aria-expanded="true"] i { background: var(--lime); color: var(--ink); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] i::after { transform: translateY(-50%) rotate(0deg); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.3, .9, .3, 1);
}
.faq__a > div { padding: 0 4px 26px; max-width: 76ch; }
.faq__a p { color: var(--muted); font-size: 16px; margin-bottom: .9em; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a b { color: var(--ink); }

/* ---------- финал ---------- */

.final { text-align: center; }
.final__inner { max-width: 760px; }
.final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.final__title {
  font-size: clamp(44px, 8vw, 86px);
  letter-spacing: -.04em;
  font-weight: 800;
  margin-bottom: 30px;
}

/* ---------- footer ---------- */

.footer {
  padding: 70px 0 30px;
  background: var(--ink);
  color: var(--cream);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}

.footer .logo__mark { background: var(--lime); color: var(--ink); }
.footer__brand p { color: rgba(246, 245, 244, .62); font-size: 15px; margin-top: 14px; max-width: 32ch; }

.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(246, 245, 244, .5);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__nav,
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a,
.footer__contacts a { color: rgba(246, 245, 244, .82); font-size: 15.5px; width: fit-content; }
.footer__nav a:hover,
.footer__contacts a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(246, 245, 244, .5);
  font-size: 14px;
}

/* Правовые документы в нижней строке: текст приглушён, поэтому ссылку держит подчёркивание. */
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--lime); }

.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .8, .3, 1), transform .7s cubic-bezier(.22, .8, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars__track i { animation: none; }
}


/* ---------- адаптив ---------- */

@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .mockups { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .part { grid-template-columns: 1fr; gap: 20px; }
  .part--flip .part__text,
  .part--flip .part__mock { order: initial; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px 24px 24px;
    background: var(--glass-face-strong);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    border-bottom: 1px solid var(--glass-brd);
    box-shadow: var(--glass-shadow);
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--glass-line); font-size: 17px; }
  /* Меню лежит поверх контента — здесь преломление тоже видно. */
  @supports (backdrop-filter: url("#lg-refract")) {
    .nav { backdrop-filter: url(#lg-refract) saturate(var(--glass-sat)); }
  }
  .nav a::after { display: none; }
  .burger { display: flex; order: 3; }
  .header__inner { justify-content: space-between; }
  .header .btn--sm { display: none; }

  .hero { padding: 60px 0 50px; }
  .hero__title { max-width: 100%; }
  .statement { padding: 28px 24px; }
  .statement__hand { font-size: 24px; }


  .result__grid { grid-template-columns: 1fr; }


  .price { padding: 30px 22px 26px; }
  .price__foot { flex-direction: column; align-items: stretch; }
  .price__foot .btn { margin-left: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 54px 0 26px; }
}

/* Без backdrop-filter полупрозрачные панели просвечивают друг сквозь друга: шапка едет
   поверх текста, и он читается сквозь неё. Тогда плотность важнее эффекта. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .header { background: rgba(246, 245, 244, .96); }
  .nav { background: var(--cream); }
  .badge,
  .btn--ghost { background: var(--cream-2); }
  .card,
  .result__item { background: rgba(255, 255, 255, .93); }
  .statement,
  .mock,
  .price { background: var(--ink); }
  .pricing { background: var(--cream-2); }
}
.ticker { display: none; }
