/* Тонус — сайт-витрина. Графит с зелёным подтоном, один акцент лайм.
   Стекло (backdrop-filter) только у шапки и у плашек поверх фото. Двигаются только transform и opacity. */

:root {
  --bg: #0B0F0C;
  --bg-2: #101611;
  --surface: #151C17;
  --surface-2: #1B241D;
  --line: rgba(232, 245, 225, .10);
  --line-2: rgba(232, 245, 225, .18);
  --ink: #EEF4EA;
  --muted: #A3AE9F;
  --lime: #B8F03E;
  --lime-2: #D3FA7A;
  --lime-ink: #0B0F0C;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ── типографика ── */
.h-display {
  display: flex; flex-direction: column;
  font-weight: 900; font-size: clamp(46px, 7.2vw, 108px); line-height: .92; letter-spacing: -.045em;
}
.h-display > span { white-space: nowrap; }
.h-display > .outline { letter-spacing: -.025em;
}
.h-sec { font-weight: 800; font-size: clamp(36px, 5vw, 68px); line-height: .98; letter-spacing: -.04em; }
.outline {
  /* обводка рисуется под заливкой цвета фона: внутренние контуры переменного шрифта не видны */
  color: var(--bg);
  -webkit-text-stroke: 3px color-mix(in oklab, var(--ink) 72%, var(--bg));
  paint-order: stroke fill;
}
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--muted); } }
.h-sec .outline { -webkit-text-stroke-width: 2.4px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px color-mix(in oklab, var(--lime) 22%, transparent); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin-top: 28px; }
.sec__sub { color: var(--muted); max-width: 34em; margin-top: 20px; font-size: 18px; }

/* ── кнопки ── */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 12px 34px -12px color-mix(in oklab, var(--lime) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--lime:hover { background: var(--lime-2); }
.btn--ghost { background: rgba(238, 244, 234, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(238, 244, 234, .12); }
.btn--ink { background: var(--lime-ink); color: var(--ink); }
.btn--ink:hover { background: #1d261f; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }

/* ── свет за стеклом ── */
.glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.glow--a { width: 680px; height: 680px; right: -120px; top: 40px; background: radial-gradient(circle, color-mix(in oklab, var(--lime) 55%, transparent), transparent 65%); }
.glow--b { width: 560px; height: 560px; left: -200px; top: 20%; background: radial-gradient(circle, color-mix(in oklab, var(--lime) 30%, transparent), transparent 65%); opacity: .4; }
.glow--c { width: 620px; height: 620px; right: -220px; bottom: -80px; background: radial-gradient(circle, color-mix(in oklab, var(--lime) 28%, transparent), transparent 65%); opacity: .4; }
.glow--d { width: 700px; height: 700px; right: 5%; top: 10%; background: radial-gradient(circle, color-mix(in oklab, var(--lime) 36%, transparent), transparent 65%); opacity: .45; }

/* ── стекло ── */
.glass {
  background: rgba(20, 28, 22, .52);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(238, 244, 234, .14), inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 40px -18px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 28, 22, .9); }
}

/* ── шапка ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: calc(env(safe-area-inset-top) + 12px) var(--pad) 0; pointer-events: none; }
.nav__in {
  pointer-events: auto; max-width: 1240px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px; transition: background-color .3s, box-shadow .3s;
}
.nav.is-solid .nav__in {
  background: rgba(16, 22, 17, .62);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.08), 0 16px 40px -20px rgba(0,0,0,.8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo svg { width: 32px; height: 32px; }
.logo rect { fill: var(--lime); }
.logo path { fill: var(--lime-ink); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(238,244,234,.06); }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ── HERO ── */
.hero { position: relative; padding: calc(env(safe-area-inset-top) + 110px) var(--pad) 0; overflow: clip; isolation: isolate; }
.hero__in { position: relative; z-index: 1; max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; min-height: min(760px, calc(100svh - 150px)); }
.hero__copy { position: relative; z-index: 3; padding-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { list-style: none; display: flex; gap: clamp(20px, 3vw, 44px); padding: 0; margin: 48px 0 0; }
.hero__facts li { display: grid; gap: 4px; }
.hero__facts b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__facts small { font-size: 18px; margin-left: 3px; font-weight: 700; color: var(--lime); }
.hero__facts span { color: var(--muted); font-size: 14px; }

.hero__stage { position: relative; height: min(760px, calc(100svh - 120px)); min-height: 560px; perspective: 1200px; }
.slab {
  position: absolute; inset: 6% -12% 0 14%; z-index: 0;
  background: linear-gradient(160deg, var(--lime-2), var(--lime) 55%, #8DC42A);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0;
}
.hero__girl { position: absolute; z-index: 2; bottom: 0; left: 50%; translate: -46% 0; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.float { position: absolute; z-index: 3; will-change: transform; }
.float--kb { width: clamp(150px, 15vw, 220px); aspect-ratio: 1; left: -4%; bottom: 14%; }
.float--kb .kb2d { width: 72%; margin: 14% auto 0; filter: drop-shadow(0 26px 30px rgba(0,0,0,.5)); }
.kb3d { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; opacity: 0; transition: opacity .6s; }
.float--kb.has-3d .kb3d { opacity: 1; }
.float--kb.has-3d .kb2d { opacity: 0; }
.float--db { width: clamp(110px, 11vw, 170px); right: -2%; top: 8%; z-index: 1; filter: drop-shadow(0 20px 26px rgba(0,0,0,.45)); rotate: -18deg; }

.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; will-change: transform; }
.chip b { display: block; font-size: 15px; font-weight: 700; }
.chip em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.chip img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.chip--day { right: 2%; bottom: 22%; }
.chip--food { left: 4%; top: 18%; }
.ring { --p: .3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lime) calc(var(--p) * 360deg), rgba(238,244,234,.12) 0); }
.ring i { width: 36px; height: 36px; border-radius: 50%; background: #18201a; }

.ticker { position: relative; z-index: 3; margin: 0 calc(var(--pad) * -1); background: var(--lime); color: var(--lime-ink); overflow: hidden; rotate: -1.5deg; translate: 0 -24px; }
.ticker__row { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.ticker__row i { width: 10px; height: 10px; background: var(--lime-ink); rotate: 45deg; flex: none; }

/* ── секции ── */
.sec { position: relative; padding: clamp(56px, 7vw, 104px) var(--pad); isolation: isolate; overflow-x: clip; }
.sec > *:not(.glow) { position: relative; z-index: 1; }
.sec__head { max-width: 1240px; margin: 0 auto clamp(40px, 6vw, 72px); }

/* ── карточки продуктов ── */
.cards { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: 32px; padding-top: 200px; border-radius: var(--r-xl); overflow: visible;
  background: linear-gradient(180deg, rgba(238,244,234,.07), rgba(238,244,234,.025));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.8);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.pcard.is-tilting { transition: transform .08s linear; }
.pcard__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 45%); }
.pcard.is-tilting .pcard__glare { opacity: 1; }
.pcard__obj { position: absolute; z-index: 2; pointer-events: none; transform: translateZ(60px); filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
.pcard__obj--food { width: 210px; top: -50px; right: -10px; border-radius: 50%; clip-path: circle(42%); }
.pcard__obj--db { width: 200px; top: -40px; right: 0; rotate: -22deg; }
.pcard__obj--kb { width: 150px; top: -54px; right: 22px; rotate: 10deg; }
.pcard__type { color: var(--lime); font-weight: 650; font-size: 15px; transform: translateZ(30px); }
.pcard h3 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-top: 10px; transform: translateZ(30px); }
.pcard__desc { color: var(--muted); margin-top: 14px; font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: color-mix(in oklab, var(--lime) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8F03E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; transform: translateZ(40px); }
.price { display: grid; }
.price b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.price span { color: var(--muted); font-size: 14px; }

.pcard--hot { background: linear-gradient(165deg, var(--lime-2), var(--lime) 50%, #9ED334); color: var(--lime-ink); box-shadow: 0 40px 80px -30px color-mix(in oklab, var(--lime) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.5); }
.pcard--hot .pcard__type { color: #2C3A0E; }
.pcard--hot .pcard__desc, .pcard--hot .price span { color: #33410F; }
.pcard--hot .ticks li::before { background: rgba(11,15,12,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pcard--hot .pcard__glare { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 45%); }

/* ── результаты ── */
.ba-grid { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ba { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag { position: absolute; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; }
.ba__tag--l { left: 12px; background: rgba(11,15,12,.72); color: var(--ink); }
.ba__tag--r { right: 12px; background: var(--lime); color: var(--lime-ink); }
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .ba-grid::-webkit-scrollbar { display: none; }
  .ba { scroll-snap-align: start; }
}

/* ── курс ── */
.course__grid { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.course__photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.course__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.course__photo img[hidden] { display: block; opacity: 0; }
.course__photo img { transition: opacity .5s var(--ease); }
.course__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 20px; border-radius: 20px; display: grid; gap: 2px; }
.kit-label { font-size: 13px; color: var(--lime); font-weight: 600; }
.kit { font-weight: 600; font-size: 16px; }
.kit[hidden] { display: none; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(238,244,234,.06); box-shadow: inset 0 0 0 1px var(--line); margin: 32px 0 28px; }
.seg button { border: 0; background: none; cursor: pointer; padding: 0 24px; min-height: 44px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); }
.weeks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.weeks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: rgba(238,244,234,.04); box-shadow: inset 0 0 0 1px var(--line); }
.weeks b { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--lime) 16%, transparent); color: var(--lime); font-weight: 800; }
.weeks span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.weeks strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }

/* ── питание ── */
.quiz { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: .7fr 1.8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quiz__q { font-weight: 700; font-size: 18px; margin: 0 0 12px; }
.quiz__q + .pills { margin-bottom: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { border: 0; cursor: pointer; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(238,244,234,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 550; font-size: 15px; transition: background-color .2s, color .2s, box-shadow .2s; }
.pills button:hover { background: rgba(238,244,234,.1); }
.pills button[aria-checked="true"] { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.quiz__note { color: var(--muted); font-size: 15px; }
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dish { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.dish.is-tilting { transition: transform .08s linear; }
.dish__photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.dish__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish__photo img { transform: scale(1.04); }
.dish__body { padding: 16px 16px 18px; display: grid; gap: 2px; }
.dish__when { font-size: 13px; color: var(--lime); font-weight: 600; }
.dish h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.kbju { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.kbju span { padding: 3px 7px; border-radius: 999px; background: rgba(238,244,234,.08); color: var(--muted); }
.kbju span:first-child { background: color-mix(in oklab, var(--lime) 16%, transparent); color: var(--lime); font-weight: 650; }
.menu.is-swapping .dish__body { opacity: 0; transform: translateY(6px); }
.dish__body { transition: opacity .25s, transform .25s var(--ease); }

/* ── группа ── */
.group__grid { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sched { margin: 32px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sched__row { display: grid; grid-template-columns: 64px 1fr 1fr; }
.sched__row > * { padding: 14px 16px; font-size: 15px; border-top: 1px solid var(--line); }
.sched__row:first-child > * { border-top: 0; }
.sched__row--h > * { color: var(--muted); font-size: 14px; font-weight: 600; background: rgba(238,244,234,.04); }
.sched__row [role="rowheader"] { font-weight: 800; color: var(--lime); }
.group__photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; justify-self: end; width: 100%; }
.group__photo img { width: 100%; height: 100%; object-fit: cover; }
.live { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-size: 15px; }
.live b { color: var(--lime); }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: #FF4D3D; box-shadow: 0 0 0 4px rgba(255,77,61,.25); }

/* ── приложение ── */
.app__grid { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feat { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 2px; }
.feat li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.feat b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.feat span { color: var(--muted); font-size: 16px; }
.app__note { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 26em; }
.phones { --rx: 8deg; --ry: -16deg; position: relative; height: 640px; perspective: 1400px; }
.phone {
  position: absolute; width: 290px; aspect-ratio: 390 / 844; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2a332c, #0d120e); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 50px 90px -30px rgba(0,0,0,.9);
  transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--surface); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #050705; }
.phone--front { left: 46%; top: 30px; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(40px); }
.phone--back { left: 8%; top: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(-60px) scale(.92); opacity: .85; }
.phones.is-tilting .phone { transition: transform .1s linear; }

/* ── о Кристине ── */
.about__card { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.about__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about__copy { padding: clamp(28px, 5vw, 72px); align-self: center; display: grid; gap: 18px; }
.about__copy p:not(.kicker) { color: var(--muted); font-size: 18px; max-width: 34em; }
.about__copy .kicker { margin-bottom: 0; }

/* ── вопросы ── */
.faq__list { max-width: 900px; margin-inline: auto; }
.faq .sec__head { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(238,244,234,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8F03E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 42em; }

/* ── финал ── */
.final { padding: 0 var(--pad) clamp(80px, 10vw, 140px); }
.final__card { position: relative; max-width: 1240px; margin-inline: auto; padding: clamp(40px, 7vw, 96px); border-radius: var(--r-xl); overflow: hidden; background: var(--lime); color: var(--lime-ink); }
.final__card .h-display--final { font-size: clamp(40px, 6.2vw, 92px); position: relative; z-index: 1; }
.final__card .outline { color: var(--lime); -webkit-text-stroke-color: var(--lime-ink); -webkit-text-stroke-width: 4px; }
.final__card p { font-size: 19px; margin: 24px 0 32px; max-width: 26em; color: #2C3A0E; }
.final__kb { position: absolute; right: -30px; bottom: -60px; width: clamp(160px, 21vw, 300px); rotate: -12deg; filter: drop-shadow(0 30px 40px rgba(20,30,0,.35)); pointer-events: none; }

.foot { border-top: 1px solid var(--line); padding: 32px var(--pad) calc(32px + env(safe-area-inset-bottom)); }
.foot__in { max-width: 1240px; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: 14px; }

/* ── окно покупки ── */
.sheet { border: 0; padding: 0; margin: auto; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 28px; background: #121813; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px rgba(0,0,0,.7); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(5, 8, 6, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .35s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet__in { padding: 24px; display: grid; gap: 18px; }
.sheet__grab { display: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.x { width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(238,244,234,.08); display: grid; place-items: center; }
.x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.step { display: grid; gap: 18px; }
.step[hidden] { display: none; }
.opts { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.opts legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; cursor: pointer; background: rgba(238,244,234,.04); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background-color .2s; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--lime); background: color-mix(in oklab, var(--lime) 8%, transparent); }
.opt input { accent-color: var(--lime); width: 20px; height: 20px; margin: 0; }
.opt b { display: block; font-size: 16px; }
.opt em { display: block; font-style: normal; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: rgba(238,244,234,.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: inherit; font-size: 16px; }
.field input::placeholder { color: #7d8879; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF6B5B; }
.err { color: #FF8A7D; font-size: 14px; }
.err[hidden] { display: none; }
.sheet__note { color: var(--muted); font-size: 13px; text-align: center; }
.sheet__lead { color: var(--muted); margin-top: -6px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { color: var(--muted); font-size: 14px; margin-top: -8px; }
.hint.is-err { color: #FF8A7D; }
.field textarea { min-height: 96px; padding: 14px 16px; border-radius: 14px; border: 0; resize: vertical; background: rgba(238,244,234,.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; }
.field textarea::placeholder { color: #7d8879; }
.field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.opt-mark { color: var(--muted); font-weight: 450; font-size: 13px; margin-left: 6px; }
.chips { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.chips legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(238,244,234,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 550; font-size: 15px; transition: background-color .2s, color .2s, box-shadow .2s; }
.choice:hover span { background: rgba(238,244,234,.1); }
.choice input:checked + span { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.chips[aria-invalid="true"] .choice span { box-shadow: inset 0 0 0 1.5px #FF6B5B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err--form { text-align: center; }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(11,15,12,.25); border-top-color: var(--lime-ink); animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.step--done { text-align: center; justify-items: center; padding: 12px 0 4px; }
.step--done h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.step--done p { color: var(--muted); max-width: 22em; }
.done-ring { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; box-shadow: 0 0 0 12px color-mix(in oklab, var(--lime) 16%, transparent); }
.done-ring svg { width: 40px; height: 40px; fill: none; stroke: var(--lime-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── появление при скролле ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── движение только при разрешении ── */
.motion .glow { animation: drift 18s ease-in-out infinite alternate; }
.motion .glow--b, .motion .glow--d { animation-duration: 24s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.12); } }
.motion .float--db { animation: bob 6s ease-in-out infinite; }
.motion .float--kb .kb2d { animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -14px; } }
.motion .ticker__row { animation: tick 32s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
.motion .live__dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
html:not(.motion) .reveal { opacity: 1; transform: none; }

/* ── адаптив ── */
@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; gap: 72px; padding-top: 30px; }
  .quiz { grid-template-columns: 1fr; }
  .course__grid, .group__grid, .app__grid { grid-template-columns: 1fr; }
  .course__photo { max-width: 560px; }
  .about__card { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 4 / 3; object-position: 50% 15%; }
  .phones { height: 600px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 860px) {
  .hero { padding-top: calc(env(safe-area-inset-top) + 96px); }
  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__stage { height: 560px; min-height: 0; margin: 8px calc(var(--pad) * -1) 0; }
  .slab { inset: 8% -4% 0 10%; }
  .float--kb { left: 2%; bottom: 10%; }
  .chip--food { left: 4%; top: 6%; }
  .chip--day { right: 4%; bottom: 30%; }
  .ticker { translate: 0 -10px; }
  .ticker__row { font-size: 18px; padding: 12px 0; }
  .menu { grid-template-columns: 1fr 1fr; }
  .menu .dish:last-child { grid-column: 1 / -1; flex-direction: row; }
  .menu .dish:last-child .dish__photo { flex: 0 0 46%; }
  .menu .dish:last-child .dish__body { align-content: center; }
  .weeks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__facts { gap: 18px; justify-content: space-between; }
  .hero__facts b { font-size: 32px; }
  .hero__facts span { font-size: 13px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stage { height: 500px; }
  .chip { padding: 10px 14px 10px 10px; }
  .chip b { font-size: 14px; }
  .chip em { font-size: 12px; }
  .chip img, .ring { width: 40px; height: 40px; }
  .ring i { width: 30px; height: 30px; }
  .pcard { padding: 26px; padding-top: 170px; }
  .pcard h3 { font-size: 27px; }
  .pcard__obj--food { width: 180px; }
  .menu { grid-template-columns: 1fr; }
  .menu .dish, .menu .dish:last-child { grid-column: auto; flex-direction: row; }
  .menu .dish .dish__photo { flex: 0 0 42%; aspect-ratio: auto; min-height: 150px; }
  .menu .dish .dish__body { align-content: center; }
  .sched__row { grid-template-columns: 48px 1fr 1fr; }
  .sched__row > * { padding: 12px 10px; font-size: 14px; }
  .phones { height: 520px; }
  .phone { width: 220px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .phone::after { top: 15px; width: 70px; height: 20px; }
  .phone--front { left: 36%; }
  .phone--back { left: 0; }
  .final__card p { font-size: 17px; }
  .final__card .h-display--final { font-size: clamp(30px, 8.8vw, 46px); }
  .final__card p { max-width: 15em; position: relative; z-index: 1; }
  .final__kb { width: 120px; right: -18px; bottom: -34px; }
  .final__card .btn { position: relative; z-index: 1; }
  .foot__in { flex-direction: column; align-items: flex-start; }
  /* лист снизу */
  .sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 92dvh; }
  .sheet[open] { animation: sheet-up .4s var(--ease); }
  .sheet__in { padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); }
  .sheet__grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(238,244,234,.25); margin: 0 auto 4px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }

@media (pointer: coarse) {
  .btn:hover svg { transform: none; }
}
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1.45; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--lime); cursor: pointer; }
.consent a { color: var(--ink); text-underline-offset: 3px; }
.consent:has(input[aria-invalid="true"]) input { outline: 2px solid #FF6B5B; outline-offset: 2px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot__links a { color: var(--ink); text-underline-offset: 3px; }
.foot__links a:hover { color: var(--lime); }
.about__ig { justify-self: start; }
