/* Лендинг word2mem.ru. Токены — те же, что в Mini App (CLAUDE.md, docs/mockups). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #1B1A21;
  --bg-deep: #17161C;
  --surface: #26242F;
  --surface-2: #1F1E26;
  --control: #2A2833;
  --line: #26242F;
  --text: #E6E1D8;
  --text-2: #B9B3A8;
  --muted: #9A958C;
  --faint: #6E6A78;
  --accent: #8DB596;
  --accent-bg: #2C3B31;
  --learning: #D4A26A;
  --learned: #AFC57C;
  --know: #7FB0A4;
  --delete: #C27C7C;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: min(1120px, 100% - 32px);
  --section-y: clamp(56px, 8vw, 120px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--accent); }
a:hover { color: #A5C9AB; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: var(--container); margin: 0 auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Секции */
.section { padding: var(--section-y) 0; }
.section--deep { background: var(--bg-deep); }
.section--line { border-top: 1px solid var(--line); }
.section--band { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-28 { gap: 28px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; }
.mw-640 { max-width: 640px; } .mw-720 { max-width: 720px; } .mw-760 { max-width: 760px; }
.self-end { justify-content: flex-end; }
.row-stretch { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.aside-text { flex: 1 1 320px; align-self: center; font-size: 16px; line-height: 1.6; color: var(--muted); }
.note-faint { font-size: 12px; color: var(--faint); }
.between { display: flex; justify-content: space-between; align-items: baseline; }
.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.split--center { align-items: center; }
.split > * { min-width: 0; }
.col-380 { flex: 1 1 380px; }
.col-400 { flex: 1 1 400px; }
.col-420 { flex: 1 1 420px; }
.col-440 { flex: 1 1 440px; }
.col-520 { flex: 1 1 520px; }
.col-320 { flex: 1 1 320px; }

.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.eyebrow--accent { color: var(--accent); }
.h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.h2--sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.body { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.note { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Логотип */
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo__img { width: 34px; height: 34px; border-radius: 17px; }
.logo__name { font-size: 16px; font-weight: 700; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn--primary { height: 56px; padding: 0 28px; background: var(--accent); color: var(--bg); font-size: 17px; }
.btn--primary:hover { background: #A5C9AB; color: var(--bg); }
.btn--ghost { height: 40px; padding: 0 16px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; }
.btn--ghost:hover { background: var(--control); color: var(--text); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero > * { min-width: 0; }
.hero__text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; }
.badge-outline {
  align-self: flex-start; font-family: var(--mono); font-size: 13px; color: var(--text);
  border: 1px solid #3A3845; border-radius: 16px; padding: 6px 12px;
}
.hero__lead { max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--text-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding-top: 8px; }
.hero__meta { font-size: 14px; color: var(--muted); line-height: 1.4; }
.hero__visual { flex: 1 1 380px; display: flex; justify-content: center; }

/* Экран блокировки с уведомлением */
.lock {
  width: 100%; max-width: 420px; background: var(--bg-deep); border: 1px solid var(--line);
  border-radius: 36px; padding: 32px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.lock__date { font-size: 13px; color: var(--muted); }
.lock__time { font-size: 72px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; padding-bottom: 24px; }
.lock__caption { font-size: 12px; color: var(--faint); padding-top: 14px; text-align: center; }

.notif { width: 100%; background: var(--surface); border-radius: 20px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.notif--flat { background: var(--surface-2); border-radius: 16px; padding: 12px 14px; gap: 10px; }
.notif__icon { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; }
.notif--flat .notif__icon { width: 30px; height: 30px; border-radius: 8px; }
.notif__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notif__head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.notif--flat .notif__head { font-size: 11px; }
.notif__word { font-size: 16px; font-weight: 700; }
.notif--flat .notif__word { font-size: 15px; }
.notif__ipa { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); }
.notif__tr { color: var(--accent); }
.notif__example { font-size: 14px; line-height: 1.4; color: var(--text-2); }
.notif--flat .notif__example { font-size: 13px; }

/* Боль */
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-item {
  background: var(--surface); border-radius: 16px; padding: 18px 20px; display: flex; gap: 16px; align-items: baseline;
  animation: pain-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
.pain-item__n { font-family: var(--mono); font-size: 13px; color: var(--delete); flex: 0 0 auto; }
.pain-item__text {
  font-size: 17px; line-height: 1.5;
  background: linear-gradient(var(--delete), var(--delete)) no-repeat 0 55% / 0 2px;
  animation: pain-strike 7s ease-in-out infinite;
}
.pain-item:nth-child(2) { animation-delay: .15s; }
.pain-item:nth-child(3) { animation-delay: .3s; }
.pain-item:nth-child(4) { animation-delay: .45s; }
.pain-item:nth-child(2) .pain-item__text { animation-delay: .4s; }
.pain-item:nth-child(3) .pain-item__text { animation-delay: .8s; }
.pain-item:nth-child(4) .pain-item__text { animation-delay: 1.2s; }
@keyframes pain-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pain-strike {
  0%, 25% { background-size: 0 2px; color: var(--text); }
  40%, 85% { background-size: 100% 2px; color: var(--muted); }
  100% { background-size: 0 2px; color: var(--text); }
}

/* Сравнение */
.compare { display: flex; flex-direction: column; gap: 10px; }
.compare__row { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare__cell { flex: 1 1 280px; min-width: 0; padding: 14px 20px; display: flex; flex-direction: column; gap: 4px; }
.compare__cell--old { background: var(--surface-2); }
.compare__label { font-size: 12px; color: var(--faint); }
.compare__label--new { font-weight: 700; color: var(--accent); }
.compare__text { font-size: 16px; line-height: 1.45; }
.compare__cell--old .compare__text { color: var(--muted); }

/* Как это работает */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: var(--surface); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step__title { font-size: 20px; font-weight: 700; }
.step__visual { margin-top: auto; padding-top: 8px; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble-out { align-self: flex-end; background: var(--accent-bg); border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-size: 14px; }
.bubble-in { align-self: flex-start; background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pill-btn { height: 44px; border-radius: 12px; background: var(--control); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.pill-btn--yes { color: var(--accent); font-weight: 700; }

/* Одно сообщение: переключение карточки без JS */
.live { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.live > * { min-width: 0; }
.live__radio { position: absolute; opacity: 0; pointer-events: none; }
.live__tabs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.live__tab {
  height: 40px; padding: 0 14px; border-radius: 20px; font-family: var(--mono); font-size: 14px;
  display: inline-flex; align-items: center; cursor: pointer;
  border: 1px solid var(--control); color: var(--muted);
}
.live__visual { flex: 1 1 380px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.card {
  display: none; width: 100%; max-width: 380px; background: var(--surface); border-radius: 16px 16px 16px 4px;
  padding: 16px; flex-direction: column; gap: 8px;
}
.card__counter { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .4px; }
.card__title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__word { font-size: 24px; font-weight: 700; }
.card__example { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.card__spoiler { align-self: flex-start; background: #2F2D3A; border-radius: 8px; padding: 4px 10px; font-size: 13px; color: var(--muted); }
.card__time { align-self: flex-end; font-size: 11px; color: var(--muted); }
#live-1:checked ~ .live__visual .card--1,
#live-2:checked ~ .live__visual .card--2,
#live-3:checked ~ .live__visual .card--3 { display: flex; }
#live-1:checked ~ .live__text .live__tab[for="live-1"],
#live-2:checked ~ .live__text .live__tab[for="live-2"],
#live-3:checked ~ .live__text .live__tab[for="live-3"] { border-color: var(--accent); background: var(--accent-bg); color: var(--text); }
#live-1:focus-visible ~ .live__text .live__tab[for="live-1"],
#live-2:focus-visible ~ .live__text .live__tab[for="live-2"],
#live-3:focus-visible ~ .live__text .live__tab[for="live-3"] { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Не отвлекает */
.calm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.calm-item { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--control); padding-top: 16px; }
.calm-item__title { font-size: 17px; font-weight: 700; }
.calm-item__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.summary { background: var(--surface); border-radius: 16px 16px 16px 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.summary__text { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.summary__time { align-self: flex-end; font-size: 11px; color: var(--muted); }

/* Шкала повторений */
.dot { width: 14px; height: 14px; border-radius: 7px; flex: 0 0 auto; }
.dot--learning { background: var(--learning); }
.dot--forgot { background: var(--delete); }
.dot--mid1 { background: #C9B571; }
.dot--mid2 { background: #BCBE76; }
.dot--learned { background: var(--learned); }
.chip-learned { background: var(--learned); color: var(--bg); border-radius: 10px; padding: 4px 10px; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.tl-h { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.tl-h__row { display: flex; align-items: center; }
.tl-h__seg { min-width: 56px; display: flex; align-items: center; }
.tl-h__line { flex: 1; height: 2px; background: var(--control); margin: 0 4px; }
.tl-h__label { min-width: 56px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.tl-h__end { width: 80px; flex: 0 0 auto; }
.g1 { flex: 1 1 0; } .g2 { flex: 2 1 0; } .g3 { flex: 3 1 0; } .g5 { flex: 5 1 0; } .g8 { flex: 8 1 0; }
.tl-day { font-family: var(--mono); color: var(--text); }
.tl-note { color: var(--muted); }
.tl-v { display: none; flex-direction: column; margin: 0; padding: 0 0 0 4px; list-style: none; }
.tl-v__item { display: flex; gap: 14px; }
.tl-v__rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 14px; }
.tl-v__rail .dot { margin-top: 3px; }
.tl-v__line { flex: 1; width: 2px; background: var(--control); margin: 4px 0; }
.tl-v__label { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.pb1 { padding-bottom: 16px; } .pb2 { padding-bottom: 22px; } .pb3 { padding-bottom: 28px; } .pb5 { padding-bottom: 40px; } .pb8 { padding-bottom: 58px; }

.stat-card { background: var(--surface); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.stat-card__title { font-size: 13px; font-weight: 600; color: var(--muted); }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-family: var(--mono); font-size: 22px; font-weight: 500; }
.stat__label { font-size: 12px; color: var(--muted); }

/* Прогресс */
.dist { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.dist__learned { flex: 453; background: var(--learned); }
.dist__know { flex: 87; background: var(--know); }
.dist__learning { flex: 41; background: var(--learning); }
.dist__new { flex: 28; background: #4A4756; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.legend__item { display: flex; align-items: center; gap: 6px; }
.legend__dot { width: 8px; height: 8px; border-radius: 4px; flex: 0 0 auto; }
.legend__dot--learned { background: var(--learned); }
.legend__dot--know { background: var(--know); }
.legend__dot--learning { background: var(--learning); }
.legend__dot--new { background: #4A4756; }
.legend__n { font-family: var(--mono); color: var(--muted); }
.medals { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.medal { background: var(--surface); border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.medal__icon {
  position: relative; width: 60px; height: 60px; border-radius: 30px; margin: 6px 0 4px;
  display: flex; align-items: center; justify-content: center;
}
.medal__icon--green { background: var(--accent); box-shadow: 0 0 0 4px var(--surface-2), 0 0 0 5px var(--accent); }
.medal__icon--amber { background: var(--learning); box-shadow: 0 0 0 4px var(--surface-2), 0 0 0 5px var(--learning); }
.medal__icon--locked { background: #33313D; box-shadow: 0 0 0 4px var(--surface-2), 0 0 0 5px #4A4756; }
.medal__lock { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.medal__title { font-size: 15px; font-weight: 700; }
.medal__title--locked { color: var(--text-2); }
.medal__text { font-size: 13px; color: var(--muted); }

/* Темы и языки */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.panel { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--accent-bg); color: var(--accent); border-radius: 16px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.chip--add { background: none; border: 1px dashed #3A3845; color: var(--muted); padding: 5px 12px; font-weight: 400; }
.panel__example { font-size: 15px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--control); padding-top: 14px; }
.panel__example b { color: var(--text); font-weight: 600; }
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lang { background: var(--surface-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.lang__head { display: flex; align-items: center; gap: 8px; }
.lang__flag { border-radius: 3px; flex: 0 0 auto; }
.lang__code { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.lang__word { font-size: 13px; color: var(--muted); }

/* Тариф */
.limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.limit { border-top: 2px solid var(--control); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.limit--accent { border-top-color: var(--accent); }
.limit__value { font-family: var(--mono); font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; }
.limit__label { font-size: 15px; color: var(--muted); }

/* Финальный CTA */
.final { padding: clamp(72px, 9vw, 136px) 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.final__title { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.final__lead { max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--text-2); }

/* Футер */
.footer { border-top: 1px solid var(--line); }
.footer__inner { padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { width: 28px; height: 28px; border-radius: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { color: var(--muted); }
.footer__nav a:hover { color: var(--text); }

/* Нижняя кнопка на телефоне */
.sticky-cta { display: none; }

/* Политика конфиденциальности */
.doc { width: min(720px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 6vw, 88px) 0 96px; display: flex; flex-direction: column; gap: 40px; }
.doc__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.doc__section { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.doc__h2 { font-size: 22px; font-weight: 700; }
.doc__list { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 640px) {
  .tl-h { display: none; }
  .tl-v { display: flex; }
  .langs { grid-template-columns: 1fr; }
  .lang { flex-direction: row; align-items: center; justify-content: space-between; }
  .header .btn--ghost { display: none; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { width: 100%; height: 52px; font-size: 16px; }
  .has-sticky { padding-bottom: calc(77px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pain-item, .pain-item__text { animation: none; }
}
