/* Оксана Міхель · health coach — спільні стилі лендінгу й сторінки гайду */

:root {
  --bg: #fbf7f2;
  --bg-alt: #f4ece3;
  --surface: #ffffff;
  --ink: #2a2421;
  --ink-soft: #5f554e;
  --ink-mute: #736860;
  --line: #e6dbcf;
  --accent: #d2432f;
  --accent-dark: #b23423;
  --accent-soft: #f8e2db;
  --dark: #2a2421;
  --ok: #3f7a5a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(74, 44, 30, .35);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }

.sec { padding: 104px 0; }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--dark); color: #fff; }

/* ---------- Типографіка ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.3 var(--font-head);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.sec--dark .eyebrow { color: #f3b3a6; }

.h1 {
  font: 600 clamp(34px, 4.6vw, 58px)/1.08 var(--font-head);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h1 em, .h2 em { font-style: normal; color: var(--accent); }

.h2 {
  font: 600 clamp(27px, 3.2vw, 42px)/1.15 var(--font-head);
  letter-spacing: -.015em;
  text-wrap: balance;
  max-width: 21em;
}
.h3 { font: 600 20px/1.3 var(--font-head); letter-spacing: -.005em; }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 40em; margin-top: 18px; }
.sec--dark .lead { color: #d9cfc7; }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-mute); }
.center { text-align: center; }
.center .h2, .center .lead { margin-left: auto; margin-right: auto; }

/* Маркер даних, які ще треба отримати від Оксани */
.todo {
  background: #fff3bf; color: #5c4700;
  border-bottom: 1px dashed #b08900;
  padding: 0 .25em; border-radius: 3px;
  font-style: normal; font-weight: 500;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px;
  border: 2px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: #fff;
  font: 600 16px/1.2 var(--font-head); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 14px 26px -14px rgba(210, 67, 47, .8);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; box-shadow: none; }
.btn--lg { min-height: 64px; padding: 0 40px; font-size: 18px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px;
  font: 600 16px/1.2 var(--font-head); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.link-arrow:hover { color: var(--accent-dark); }

/* ---------- Шапка ---------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.logo { font: 700 18px/1 var(--font-head); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo span { font-weight: 400; color: var(--ink-mute); }
.nav { display: flex; gap: 28px; }
.nav a { font: 500 15px/1 var(--font-head); text-decoration: none; color: var(--ink-soft); padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); border-color: var(--accent); }
.header__right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, background .25s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 96px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 24px 0 34px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.trust svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }

.photo { position: relative; }
.photo img { position: relative; width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo--hero { max-width: 500px; margin-left: auto; }
.photo--hero img { aspect-ratio: 4 / 5; object-position: 50% 18%; border-radius: 240px 240px var(--radius) var(--radius); }
.badge {
  position: absolute; left: -18px; bottom: 34px; z-index: 2;
  background: var(--surface); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); max-width: 210px;
  font-size: 13px; line-height: 1.35; color: var(--ink-soft);
}
.badge b { display: block; font: 700 26px/1.1 var(--font-head); color: var(--accent); letter-spacing: -.02em; }

/* ---------- Картки та сітки ---------- */

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec__body { margin-top: 48px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

.pain { position: relative; padding: 30px 28px 28px; font-size: 18px; line-height: 1.45; }
.pain::before { content: "“"; display: block; font: 700 54px/.6 var(--font-head); color: var(--accent); margin-bottom: 10px; }
.bridge { margin-top: 56px; font: 600 clamp(22px, 2.6vw, 32px)/1.25 var(--font-head); letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.bridge em { font-style: normal; color: var(--accent); }

/* Порівняння «було → стає» */
.cmp { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.cmp__row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp__row + .cmp__row { border-top: 1px solid var(--line); }
.cmp__cell { padding: 20px 26px; display: flex; gap: 12px; align-items: flex-start; }
.cmp__cell--old { color: var(--ink-mute); }
.cmp__cell--new { background: #fff8f5; font-weight: 600; border-left: 1px solid var(--line); }
.cmp__row--head .cmp__cell { font: 600 13px/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; padding-top: 16px; padding-bottom: 16px; }
.cmp__row--head .cmp__cell--old { background: var(--bg-alt); color: var(--ink-soft); }
.cmp__row--head .cmp__cell--new { background: var(--accent); color: #fff; border-left-color: var(--accent); }
.cmp svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.cmp__cell--old svg { color: #b7aba1; }
.cmp__cell--new svg { color: var(--accent); }

.micro {
  margin-top: 36px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--accent-soft);
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  font: 600 19px/1.35 var(--font-head);
}

.area { display: flex; flex-direction: column; gap: 12px; }
.area__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.area__ico svg { width: 28px; height: 28px; }
.area p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Про Оксану ---------- */

.about { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
.photo--about { position: sticky; top: 96px; }
.photo--about img { aspect-ratio: 5 / 6; object-position: 50% 20%; }
.photo--about .photo__inset {
  position: absolute; right: -26px; bottom: -34px; width: 44%;
  border: 6px solid var(--bg); border-radius: var(--radius);
}
.photo--about .photo__inset img { aspect-ratio: 3 / 4; object-position: 50% 12%; border-radius: 14px; box-shadow: none; }
.story { margin-top: 22px; display: grid; gap: 16px; font-size: 18px; color: var(--ink-soft); }
.story strong { color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0; }
.principles li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font: 600 16px/1.3 var(--font-head); }
.principles svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.edu { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px dashed #cdbfb1; border-radius: var(--radius-sm); margin-bottom: 20px; }
.edu__thumb { flex: none; width: 110px; height: 78px; border-radius: 8px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--ink-mute); }
.edu__thumb svg { width: 30px; height: 30px; }
.limits { padding-left: 18px; border-left: 3px solid var(--accent); font-size: 16px; color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- Відгуки ---------- */

.review { display: flex; flex-direction: column; gap: 14px; }
.review__head { display: flex; gap: 14px; align-items: center; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font-head); }
.review__name { font: 600 17px/1.3 var(--font-head); }
.review__path { font-size: 14px; color: var(--ink-mute); padding: 10px 14px; background: var(--bg); border-radius: 10px; }
.review blockquote { font-size: 17px; line-height: 1.55; }
.review__shot { aspect-ratio: 4 / 3; border-radius: 14px; border: 1px dashed #cdbfb1; background: var(--bg); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; color: var(--ink-mute); }

/* ---------- Формати ---------- */

.plan { display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan__kicker { font: 600 12px/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.plan__desc { color: var(--ink-soft); font-size: 16px; }
.plan__list { display: grid; gap: 10px; font-size: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__list li { position: relative; padding-left: 28px; }
.plan__list svg { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; color: var(--accent); }
.plan__price { font: 700 30px/1.1 var(--font-head); letter-spacing: -.02em; margin-top: auto; padding-top: 8px; }
.plan__price small { font: 500 15px/1.3 var(--font-body); color: var(--ink-mute); letter-spacing: 0; }
.plan--top { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan__flag { position: absolute; top: -14px; left: 26px; background: var(--accent); color: #fff; font: 700 11px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.plan__num { font: 700 14px/1 var(--font-head); color: var(--accent); letter-spacing: .08em; }
.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 40px; }
.pillars li { font: 600 15px/1 var(--font-head); padding: 12px 20px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Кроки ---------- */

.steps { counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 22px; border-top: 2px solid var(--accent); }
.step::before { content: "0" counter(step); display: block; font: 700 44px/1 var(--font-head); letter-spacing: -.03em; color: var(--accent); margin-bottom: 14px; }
.step p { color: var(--ink-soft); font-size: 16px; margin-top: 8px; }
.sec--dark .step p { color: #d9cfc7; }
.sec--dark .step { border-color: #f08a78; }
.sec--dark .step::before { color: #f6a495; }
.assure { margin-top: 48px; text-align: center; font: 500 18px/1.4 var(--font-head); }

/* ---------- Кому підходить ---------- */

.fit h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.fit__ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fit__ico svg { width: 18px; height: 18px; }
.fit--yes .fit__ico { background: #e1efe7; color: var(--ok); }
.fit--no .fit__ico { background: #efe8e2; color: var(--ink-soft); }
.fit--no { background: transparent; }
.fit ul { display: grid; gap: 14px; }
.fit li { padding-left: 20px; position: relative; }
.fit li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 2px; background: currentColor; opacity: .5; }

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

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 600 18px/1.35 var(--font-head); border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__a { padding: 0 24px 22px; color: var(--ink-soft); max-width: 46em; }

/* ---------- Форма ---------- */

.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.final__who { display: flex; gap: 18px; align-items: center; margin-top: 34px; }
.final__who img { flex: none; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.final__who p { font-size: 16px; color: var(--ink-soft); }
.final__who b { display: block; font: 600 17px/1.3 var(--font-head); color: var(--ink); }

.form { background: var(--surface); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field label { display: block; font: 600 14px/1.3 var(--font-head); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--accent); background: #fff6f3; }
.field__err { display: none; font-size: 13px; color: var(--accent-dark); margin-top: 6px; }
.is-invalid .field__err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.consent.is-invalid { color: var(--accent-dark); }
.form__alt { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__done { text-align: center; padding: 20px 0; }
.form__done svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 16px; display: block; }
.form__done p { color: var(--ink-soft); margin: 10px 0 22px; }
.form__demo { margin-top: 16px; font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- М'який вихід ---------- */

.soft { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; }
.soft > div { flex: 1 1 460px; }
.soft .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.soft__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 1 auto !important; }

/* ---------- Футер ---------- */

.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.footer__brand p { margin-top: 12px; max-width: 26em; color: var(--ink-soft); line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__title { margin-bottom: 4px; font: 600 12px/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.footer__col a, .footer__bottom a { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.footer__col a:hover, .footer__bottom a:hover { color: var(--accent-dark); }
.footer__note { margin-top: 40px; font-size: 14px; color: var(--ink-mute); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-mute); }
.footer__bottom a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__note { margin-top: 32px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Липкі елементи ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 242, .96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s;
  display: none;
}
.sticky-cta.is-on { transform: none; }
.tg-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  background: #2aabee; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(42, 171, 238, .9);
  transition: transform .2s;
}
.tg-float:hover { transform: translateY(-3px) scale(1.04); }
.tg-float svg { width: 28px; height: 28px; }

/* ---------- Сторінка гайду ---------- */

.cover-wrap { position: relative; max-width: 440px; margin-left: auto; padding: 20px 0 20px 40px; }
.cover-wrap::before { content: ""; position: absolute; inset: 0 0 0 0; left: 40px; background: var(--accent-soft); border-radius: 50%; transform: scale(1.06); }
.cover {
  position: relative; aspect-ratio: 3 / 4.1; border-radius: 10px 18px 18px 10px;
  background: var(--accent); color: #fff; padding: 34px 30px 0; overflow: hidden;
  box-shadow: -10px 0 0 -4px #a93020, var(--shadow), 0 40px 60px -30px rgba(74, 44, 30, .5);
  transform: rotate(-3deg);
  display: flex; flex-direction: column;
}
.cover__tag { font: 600 11px/1.3 var(--font-head); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.cover__title { font: 700 clamp(22px, 2.5vw, 30px)/1.12 var(--font-head); letter-spacing: -.02em; margin-top: 14px; }
.cover__sub { font-size: 14px; line-height: 1.4; margin-top: 10px; opacity: .9; max-width: 15em; }
.cover__img { margin: auto -30px 0 auto; width: 74%; }
.cover__img img { border-radius: 160px 0 0 0; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 14%; }
.cover__name { position: absolute; left: 30px; bottom: 24px; font: 600 13px/1.3 var(--font-head); }

.no-grid .no { position: relative; padding: 24px 24px 24px 62px; font-size: 17px; line-height: 1.4; color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(210, 67, 47, .55); text-decoration-thickness: 2px; }
.no-grid .no svg { position: absolute; left: 22px; top: 24px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }
.statement { margin-top: 40px; font: 600 clamp(19px, 2vw, 24px)/1.35 var(--font-head); max-width: 32em; }

.checks { display: grid; gap: 16px; margin-top: 32px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.45; }
.checks svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; margin-top: 1px; }
.shots { margin-top: 22px; }
.shots .review__shot { aspect-ratio: 3 / 4; }

.inside { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.pages { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 420px; }
.page { position: absolute; left: 22%; top: 8%; width: 56%; aspect-ratio: 3 / 4.1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 9% 8%; transform-origin: 50% 100%; }
.page:nth-child(1) { transform: rotate(-14deg) translateX(-26%); }
.page:nth-child(2) { transform: rotate(-2deg); }
.page:nth-child(3) { transform: rotate(11deg) translateX(26%); }
.page b { display: block; font: 700 clamp(10px, 1.1vw, 13px)/1.25 var(--font-head); color: var(--accent); margin-bottom: 10%; }
.page i { display: block; height: 5px; border-radius: 3px; background: var(--bg-alt); margin-bottom: 9%; }
.page i:nth-of-type(3n) { width: 62%; }
.page i.dot { width: 100%; background: linear-gradient(90deg, var(--accent-soft) 0 12%, transparent 12% 18%, var(--bg-alt) 18%); }

.toc { display: grid; gap: 4px; margin-top: 30px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 18px/1.35 var(--font-body); }
.toc li::before { content: counter(toc); flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font-head); }

.how .card { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.how__num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--font-head); }
.how p { color: var(--ink-soft); font-size: 16px; margin-top: 4px; }
.sec--dark .how .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.sec--dark .how p { color: #d9cfc7; }
.note { font-size: 14px; color: var(--ink-mute); margin-top: 14px; }
.sec--dark .note { color: #b9ada4; }

.author { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.author .photo img { aspect-ratio: 4 / 5; object-position: 50% 16%; }
.author p:not(.eyebrow):not(.small) { font-size: 18px; color: var(--ink-soft); margin: 18px 0; max-width: 34em; }

/* ---------- Поява при скролі ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1), translate .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.js .reveal--scale { transform: scale(.9); }
.js .reveal--left { transform: translateX(-32px); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

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

@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 20px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .sec { padding: 68px 0; }
  .sec__body { margin-top: 34px; }

  .nav {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; padding: 8px 24px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }

  .hero { padding: 24px 0 60px; }
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .photo--hero { order: -1; max-width: 230px; margin: 0 auto; }
  .photo--hero img { aspect-ratio: 1 / 1; object-position: 50% 12%; }
  .badge { left: -30px; bottom: 16px; padding: 10px 14px; max-width: 170px; }
  .badge b { font-size: 22px; }
  .hero__sub { font-size: 17px; margin: 18px 0 26px; }
  .hero__cta .btn { width: 100%; }
  .trust { margin-top: 30px; padding-top: 22px; flex-direction: column; gap: 12px; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .pain { font-size: 17px; }

  .about, .final, .inside { grid-template-columns: 1fr; gap: 40px; }
  .photo--about { position: relative; top: 0; max-width: 420px; margin-bottom: 30px; }
  .photo--about .photo__inset { right: -10px; }

  .micro { padding: 22px; font-size: 17px; }
  .micro .btn { width: 100%; }

  /* Відгуки — слайдер */
  .slider { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 18px; scrollbar-width: none; }
  .slider::-webkit-scrollbar { display: none; }
  .slider > * { scroll-snap-align: center; }

  /* Рекомендований формат — першим */
  .plan--top { order: -1; margin-top: 10px; }

  .form { padding: 24px 20px; }
  .soft__btns, .soft__btns .btn { width: 100%; }

  .sticky-cta { display: block; }
  .tg-float { display: none; }
  body.has-sticky { padding-bottom: 84px; }

  .cover-wrap { margin: 0 auto; max-width: 280px; padding-left: 20px; order: -1; }
  .cover-wrap::before { left: 20px; }
  .pages { margin: 0 auto; max-width: 300px; }
  .author { grid-template-columns: 1fr; gap: 28px; }
  .author .photo { max-width: 260px; }
  .btn--lg { width: 100%; padding: 0 20px; font-size: 17px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .slider { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .grid--4 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .cmp__row { grid-template-columns: 1fr; }
  .cmp__row--head { display: none; }
  .cmp__cell { padding: 14px 18px; }
  .cmp__cell--old { padding-bottom: 6px; font-size: 15px; text-decoration: line-through; text-decoration-color: #cfc4ba; }
  .cmp__cell--new { border-left: 0; padding-top: 8px; }
  .faq summary { font-size: 16px; padding: 18px; }
  .faq__a { padding: 0 18px 20px; }
  .final__who img { width: 84px; height: 84px; }
  .edu { flex-direction: column; align-items: flex-start; }
  .logo { font-size: 16px; }
  .logo span { display: none; }
}


/* =====================================================================
   Моушн і декоративна графіка
   ===================================================================== */

@keyframes spin { to { rotate: 360deg; } }
@keyframes floatA { 50% { translate: 0 -12px; } }
@keyframes floatB { 50% { translate: 6px 10px; } }
@keyframes drift { to { translate: 60px 40px; scale: 1.15; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(210, 67, 47, .45); } 100% { box-shadow: 0 0 0 26px rgba(210, 67, 47, 0); } }
@keyframes ring { 0% { scale: 1; opacity: .8; } 100% { scale: 1.7; opacity: 0; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes shine { 0%, 60% { translate: -130% 0; } 100% { translate: 130% 0; } }
@keyframes wordUp { to { translate: 0 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 50% { opacity: .15; } }
@keyframes fadeDown { from { opacity: 0; translate: 0 -8px; } }
@keyframes coverFloat { 50% { translate: 0 -14px; rotate: 1.5deg; } }
@keyframes pop { 0% { scale: 0; } 70% { scale: 1.15; } 100% { scale: 1; } }

/* Рухомі декоративні елементи не мають створювати горизонтальний скрол */
body, .sec { overflow-x: clip; }

/* Індикатор прокрутки */
.progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.header { transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(74, 44, 30, .6); }

/* Кнопки: відблиск */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%); translate: -130% 0; }
.btn:hover::after { translate: 130% 0; transition: translate .7s ease; }
.btn--shine::after { animation: shine 4.5s ease-in-out infinite; }
.btn--ring { animation: pulse 2.4s ease-out infinite; }
.tg-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2aabee; animation: ring 2.4s ease-out infinite; }

/* Hero: фон, жива пляма, бейджі */
.hero { position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.hero::before { width: 560px; height: 560px; left: -220px; top: -200px; background: radial-gradient(circle, rgba(210, 67, 47, .17), transparent 66%); }
.hero::after { width: 460px; height: 460px; right: 22%; bottom: -260px; background: radial-gradient(circle, rgba(240, 178, 122, .28), transparent 66%); animation-duration: 21s; animation-direction: alternate-reverse; }
.hero__in { position: relative; z-index: 1; }

.blob { position: absolute; left: -7%; top: -5%; width: 124%; height: 114%; color: var(--accent); animation: spin 70s linear infinite; }
.photo--hero img { z-index: 1; }

.spin-badge { position: absolute; z-index: 2; right: -11%; top: 2%; width: 122px; height: 122px; filter: drop-shadow(0 12px 18px rgba(74, 44, 30, .22)); }
.spin-badge__text { transform-origin: 60px 60px; animation: spin 22s linear infinite; font: 700 9.6px var(--font-head); letter-spacing: .08em; fill: var(--ink); }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font: 600 14px/1 var(--font-head); white-space: nowrap; }
.chip svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }
.chip--1 { left: -15%; top: 24%; animation: floatA 5.5s ease-in-out infinite; }
.chip--2 { right: -13%; bottom: 26%; animation: floatB 7s ease-in-out infinite; }
.badge { animation: floatA 6.5s ease-in-out -2s infinite; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .12em; margin: -.14em 0 -.12em; }
.w > span { display: inline-block; translate: 0 115%; animation: wordUp .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }

/* Рухомий рядок */
.marquee { overflow: hidden; background: var(--accent); color: #fff; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group span { display: flex; align-items: center; gap: 44px; padding-left: 44px; font: 600 15px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.marquee__group span::after { content: "✦"; font-size: 13px; opacity: .8; }

/* Картки: ховер */
.pain, .area, .plan, .review, .how .card { transition: translate .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.pain:hover, .area:hover, .plan:hover, .review:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: #e9c4b9; }
.area__ico { transition: background .3s, color .3s, rotate .4s; }
.area:hover .area__ico { background: var(--accent); color: #fff; rotate: -8deg; }
.js .area .area__ico svg { stroke-dasharray: 200; stroke-dashoffset: 200; }
.js .area.is-in .area__ico svg { animation: draw 1.6s .35s ease forwards; }

/* Підкреслення фрази-моста */
.bridge em { position: relative; display: inline-block; }
.bridge em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.3em; height: .34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C60 2 110 14 160 7 S250 3 297 9' fill='none' stroke='%23d2432f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0); transition: clip-path 1s .6s ease;
}
.js .bridge:not(.is-in) em::after { clip-path: inset(0 100% 0 0); }

/* Орбіта «одна система» */
.approach__head { display: grid; grid-template-columns: minmax(0, 1.15fr) auto; gap: 64px; align-items: center; }
.orbit { --size: 380px; --r: 150px; position: relative; width: var(--size); height: var(--size); }
.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__rings circle { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; }
.orbit__rings .is-dash { stroke-dasharray: 2 10; stroke-linecap: round; animation: spin 70s linear infinite reverse; }
.orbit__rings .is-soft { stroke: #e9c4b9; stroke-dasharray: 6 8; animation: spin 90s linear infinite; }
.orbit__core { position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; margin: -64px 0 0 -64px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 15px/1.25 var(--font-head); animation: pulse 3s ease-out infinite; }
.orbit__spin { position: absolute; inset: 0; animation: spin 46s linear infinite; }
.orbit__node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))); }
.orbit__chip { position: absolute; left: 0; top: 0; translate: -50% -50%; animation: spin 46s linear infinite reverse; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 14px/1 var(--font-head); white-space: nowrap; }
.orbit__chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }
.orbit:hover .orbit__spin, .orbit:hover .orbit__chip { animation-play-state: paused; }

.cmp__cell--new svg { transition: scale .4s cubic-bezier(.3, 1.6, .5, 1) .35s; }
.js .cmp__row:not(.is-in) .cmp__cell--new svg { scale: 0; }

/* Фото «Про мене» */
.photo--about::before { content: ""; position: absolute; left: -22px; top: -22px; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--accent); opacity: .55; animation: spin 50s linear infinite; }
.photo--about .photo__inset { animation: floatA 7s ease-in-out infinite; }

/* Темні секції: зорі й місяць */
.sec--dark { position: relative; overflow: hidden; }
.sec--dark > .wrap { position: relative; z-index: 1; }
.sec--dark::before, .sec--dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; animation: twinkle 4.5s ease-in-out infinite; }
.sec--dark::before { background: radial-gradient(1.6px 1.6px at 8% 22%, #fff 98%, transparent), radial-gradient(1.2px 1.2px at 23% 71%, #fff 98%, transparent), radial-gradient(2px 2px at 41% 12%, #f6a495 98%, transparent), radial-gradient(1.2px 1.2px at 58% 84%, #fff 98%, transparent), radial-gradient(1.6px 1.6px at 72% 30%, #fff 98%, transparent), radial-gradient(1.2px 1.2px at 93% 64%, #fff 98%, transparent); }
.sec--dark::after { animation-duration: 6.5s; animation-delay: -2s; background: radial-gradient(1.2px 1.2px at 15% 48%, #fff 98%, transparent), radial-gradient(1.8px 1.8px at 33% 90%, #f6a495 98%, transparent), radial-gradient(1.2px 1.2px at 50% 38%, #fff 98%, transparent), radial-gradient(1.6px 1.6px at 66% 8%, #fff 98%, transparent), radial-gradient(1.2px 1.2px at 84% 88%, #fff 98%, transparent), radial-gradient(1.6px 1.6px at 97% 16%, #fff 98%, transparent); }
.moon { position: absolute; right: 7%; top: 56px; width: 96px; height: 96px; color: #f6a495; opacity: .9; animation: floatA 8s ease-in-out infinite; filter: drop-shadow(0 0 26px rgba(246, 164, 149, .45)); }

/* Кроки: лінія, що малюється */
.step { border-top-color: var(--line); }
.sec--dark .step { border-top-color: rgba(255, 255, 255, .16); }
.step::after { content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: var(--accent); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .25s; }
.sec--dark .step::after { background: #f08a78; }
.js .step:not(.is-in)::after { transform: scaleX(0); }

.faq details[open] .faq__a { animation: fadeDown .35s ease; }
.plan__flag { animation: floatA 4s ease-in-out infinite; }

/* Сторінка гайду */
.cover { animation: coverFloat 6.5s ease-in-out infinite; }
.cover-wrap::before { animation: floatB 9s ease-in-out infinite; }
.spark { position: absolute; z-index: 2; color: var(--accent); font-size: 26px; line-height: 1; animation: twinkle 2.8s ease-in-out infinite; }
.spark--1 { left: 4%; top: 10%; }
.spark--2 { right: -4%; top: 34%; font-size: 18px; animation-delay: -1s; }
.spark--3 { left: 14%; bottom: 2%; font-size: 16px; animation-delay: -1.8s; }
.page { transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s; }
.js .pages:not(.is-in) .page { transform: none; }
.js .no-grid .no { transition: opacity .8s, transform .8s, text-decoration-color .8s .5s; }
.js .no-grid .no:not(.is-in) { text-decoration-color: transparent; }
.js .checks li.is-in svg, .js .how .card.is-in .how__num { animation: pop .5s cubic-bezier(.3, 1.4, .5, 1) .3s backwards; }
.js .toc li::before { transition: background .5s .3s, color .5s .3s; }
.js .toc li.is-in::before { background: var(--accent); color: #fff; }

.cta-band { position: relative; overflow: hidden; color: #fff; background-color: var(--accent); background-image: linear-gradient(rgba(178, 52, 35, .5), rgba(150, 40, 26, .78)), url("../img/oksana-lifestyle.webp"); background-size: cover; background-position: 50% 28%; background-blend-mode: normal, luminosity; }
.cta-band .lead { color: #fbe4dd; }

@media (max-width: 900px) {
  .chip, .spin-badge { display: none; }
  .approach__head { grid-template-columns: 1fr; gap: 36px; }
  .orbit { --size: 270px; --r: 106px; margin: 0 auto; }
  .orbit__core { width: 104px; height: 104px; margin: -52px 0 0 -52px; font-size: 13px; }
  .orbit__chip { font-size: 13px; padding: 7px 12px 7px 8px; }
  .moon { width: 60px; height: 60px; top: 28px; right: 20px; }
  .marquee { padding: 15px 0; }
  .marquee__group span { font-size: 13px; gap: 30px; padding-left: 30px; }
  .photo--about::before { left: -12px; top: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w > span { translate: 0 0; }
}

/* ---------- Сторінка подяки ---------- */
.thanks { min-height: calc(100vh - 64px); display: flex; align-items: center; }
.thanks__photo { max-width: 420px; margin-left: auto; }
.thanks__photo img { aspect-ratio: 4 / 5; object-position: 50% 18%; border-radius: 220px 220px var(--radius) var(--radius); }
.thanks .hero__cta { margin-bottom: 30px; }
.thanks__summary { display: inline-block; margin: 0 0 16px; padding: 10px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 15px; }
.thanks__steps { display: grid; gap: 12px; margin: 0 0 34px; counter-reset: none; }
.thanks__steps li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; color: var(--ink-soft); }
.thanks__steps b { display: block; font: 600 16px/1.3 var(--font-head); color: var(--ink); }
.thanks__steps span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); font: 700 15px/1 var(--font-head); color: var(--ink-mute); }
.thanks__steps span svg { width: 18px; height: 18px; }
.thanks__steps .is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.thanks__steps .is-now { border-color: var(--accent); box-shadow: var(--shadow); }
.thanks__steps .is-now span { background: var(--accent); border-color: var(--accent); color: #fff; animation: pulse 2.4s ease-out infinite; }
@media (max-width: 900px) {
  .thanks { min-height: 0; }
  .thanks__photo { max-width: 132px; margin: 0 auto; order: -1; }
  .thanks__photo img { aspect-ratio: 1; border-radius: 50%; }
  .thanks__photo .badge { display: none; }
}

/* Політика конфіденційності та інші юридичні сторінки */
.legal { padding-top: 64px; }
.legal__meta { margin: 10px 0 22px; font-size: 14px; color: var(--ink-mute); }
.legal .lead { max-width: none; }
.legal section { margin-top: 44px; scroll-margin-top: 90px; }
.legal h2 { font: 600 clamp(20px, 2.2vw, 24px)/1.3 var(--font-head); margin-bottom: 12px; }
.legal h3 { font: 600 17px/1.4 var(--font-head); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal a:not(.btn) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: .9em; background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; }
.legal__toc { margin-top: 32px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 22px; list-style: decimal; }
.legal__toc li:first-child { margin-top: 0; }
.legal__toc li { margin: 4px 0; break-inside: avoid; }
.legal__toc a:not(.btn) { text-decoration: none; }
.legal__back { margin-top: 48px; }
@media (max-width: 640px) {
  .legal { padding-top: 40px; }
  .legal__toc ol { columns: 1; }
}
/* Плаваюча кнопка Telegram не перекриває «Розробка — Sova Logic» */
@media (min-width: 761px) { .footer__bottom { padding-right: 96px; } }
