/* =========================================================
   Финансовая азбука роста — лендинг
   Mobile-first. Палитра и шрифты — из BRAND.md
   ========================================================= */

:root {
  /* Названия переменных исторические (--violet = основной цвет темы, --orange = кнопки CTA).
     Сами цвета задаются темами ниже: mint (по умолчанию), ocean, berry. */
  --coin: #FFC83D;
  --white: #fff;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(var(--pd-rgb), .10);
  --shadow-lg: 0 24px 60px rgba(var(--pd-rgb), .18);
  --shadow-orange: 0 10px 24px rgba(var(--cta-rgb), .38);
  --f-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: 16px;
}
:root, [data-theme="mint"] {
  --violet: #1F9D6B;
  --violet-2: #3DBA85;
  --violet-3: #17805A;
  --violet-deep: #0F5C45;
  --violet-ink: #08382A;
  --violet-soft: #E6F7EE;
  --soft-2: #E2F5EA;
  --soft-hover: #D4EFE0;
  --lilac: #8FDDB4;
  --ph-1: #DDF4E7;
  --ph-2: #B9E8CF;
  --line: #D3ECDE;
  --dot: #BFE3CF;
  --minus: #C3D3CB;
  --bg: #F4FAF6;
  --ink: #11261D;
  --muted: #5B7268;
  --footer: #0C2019;
  --orange-1: #F2553F;
  --orange-2: #FF7B63;
  --cta-soft: #FFEDE9;
  --cta-dark: #C23A26;
  --green: #1F9D6B;
  --p-rgb: 31, 157, 107;
  --pd-rgb: 15, 92, 69;
  --cta-rgb: 242, 85, 63;
  --cta2-rgb: 255, 123, 99;
  --bg-rgb: 244, 250, 246;
  --shadow-rgb: 6, 36, 26;
  --ink-rgb: 17, 38, 29;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231F9D6B' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
  --star-lilac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238FDDB4' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
}
[data-theme="ocean"] {
  --violet: #2563C9;
  --violet-2: #4A84E0;
  --violet-3: #1C4FA6;
  --violet-deep: #153E7E;
  --violet-ink: #0B2350;
  --violet-soft: #E8F0FC;
  --soft-2: #E4EEFB;
  --soft-hover: #D6E4F8;
  --lilac: #9CC0F2;
  --ph-1: #E0EBFB;
  --ph-2: #BFD5F5;
  --line: #D5E2F4;
  --dot: #C3D6F0;
  --minus: #C5CFDC;
  --bg: #F5F8FD;
  --ink: #111E33;
  --muted: #5A6780;
  --footer: #0B1629;
  --orange-1: #16A34A;
  --orange-2: #34C46A;
  --cta-soft: #E6F8EC;
  --cta-dark: #0E7A36;
  --green: #16A34A;
  --p-rgb: 37, 99, 201;
  --pd-rgb: 21, 62, 126;
  --cta-rgb: 22, 163, 74;
  --cta2-rgb: 52, 196, 106;
  --bg-rgb: 245, 248, 253;
  --shadow-rgb: 8, 20, 45;
  --ink-rgb: 17, 30, 51;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563C9' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
  --star-lilac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239CC0F2' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
}
[data-theme="berry"] {
  --violet: #0E8C8C;
  --violet-2: #2AAAA8;
  --violet-3: #0B7272;
  --violet-deep: #0B5563;
  --violet-ink: #06343C;
  --violet-soft: #E2F5F4;
  --soft-2: #DDF3F2;
  --soft-hover: #CDEDEB;
  --lilac: #7FD6D2;
  --ph-1: #DAF3F1;
  --ph-2: #B3E6E2;
  --line: #CFEAE8;
  --dot: #BADFDC;
  --minus: #C2D4D3;
  --bg: #F3FAFA;
  --ink: #0E2426;
  --muted: #56706F;
  --footer: #0A1D20;
  --orange-1: #D93A68;
  --orange-2: #F2668C;
  --cta-soft: #FDE8EE;
  --cta-dark: #A8264C;
  --green: #0E8C8C;
  --p-rgb: 14, 140, 140;
  --pd-rgb: 11, 85, 99;
  --cta-rgb: 217, 58, 104;
  --cta2-rgb: 242, 102, 140;
  --bg-rgb: 243, 250, 250;
  --shadow-rgb: 5, 30, 34;
  --ink-rgb: 14, 36, 38;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230E8C8C' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
  --star-lilac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237FD6D2' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
}
/* Исходная гамма (фиолетовый + оранжевый) — оставлена для сравнения; картинки для неё лежат в img/violet/ */
[data-theme="violet"] {
  --violet: #6B3FA0;
  --violet-2: #7C4DB5;
  --violet-3: #5A2F8E;
  --violet-deep: #45256E;
  --violet-ink: #2E1850;
  --violet-soft: #F2EAFB;
  --soft-2: #F1EAFA;
  --soft-hover: #E8DAF8;
  --lilac: #B48CE0;
  --ph-1: #E6D6F7;
  --ph-2: #CDB2EE;
  --line: #E7DEF3;
  --dot: #D8CBEA;
  --minus: #C9C2D3;
  --bg: #F8F7FB;
  --ink: #231B2E;
  --muted: #6E6480;
  --footer: #1E1428;
  --orange-1: #FF7A1A;
  --orange-2: #FF9A3C;
  --cta-soft: #FFF4EB;
  --cta-dark: #C85A0C;
  --green: #2BB673;
  --p-rgb: 107, 63, 160;
  --pd-rgb: 69, 37, 110;
  --cta-rgb: 255, 122, 26;
  --cta2-rgb: 255, 154, 60;
  --bg-rgb: 248, 247, 251;
  --shadow-rgb: 20, 8, 40;
  --ink-rgb: 35, 27, 46;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236B3FA0' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
  --star-lilac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23B48CE0' d='M12 1.8l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.1l7.1-.7z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
b, strong { font-weight: 800; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

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

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

/* ---------- Плейсхолдер картинок (пока файлы генерятся) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(255, 255, 255, .55) 0 18%, transparent 45%),
    radial-gradient(80% 70% at 85% 90%, rgba(255, 200, 61, .28), transparent 60%),
    linear-gradient(135deg, var(--ph-1) 0%, var(--ph-2) 55%, var(--lilac) 100%);
}
.ph--dark { background: linear-gradient(135deg, var(--violet-3) 0%, var(--violet-deep) 60%, var(--violet-ink) 100%); }
.ph--round { border-radius: 50%; }
.ph img { width: 100%; height: 100%; object-fit: cover; color: transparent; font-size: 0; }
.ph img.is-missing { opacity: 0; }

/* ---------- Заголовки и плашка ---------- */
.h2 {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 7.4vw, 56px);
  line-height: 1.08;
  letter-spacing: .005em;
  color: var(--ink);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}
.h2--center { text-align: center; }
.h2--light { color: #fff; }
.h3 {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--violet-deep);
}
.hl {
  display: inline-block;
  max-width: 100%;
  background: var(--violet);
  color: #fff;
  padding: .06em .22em .08em;
  margin: .06em 0;
  border-radius: 10px;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 16px rgba(var(--p-rgb), .25);
}
.hl--light { background: #fff; color: var(--violet); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.hl--xl { border-radius: 16px; }

.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.lead--light { color: rgba(255, 255, 255, .88); }
.lead b { color: var(--violet-deep); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--orange {
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--orange:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(var(--cta-rgb), .45); }
.btn--orange:active { transform: translateY(0); }
.btn--outline { background: #fff; color: var(--violet); border-color: var(--violet); }
.btn--outline:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--violet); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn--white:hover { transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 16px 36px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none !important; } }

/* ---------- Верхняя панель ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(var(--p-rgb), .08);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--violet-deep); }
.logo__coin {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFE69A, var(--coin) 55%, #E7A51C);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 3px 8px rgba(231, 165, 28, .45);
}
.logo__txt { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.05; }
.topnav { display: none; gap: 24px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.topnav a:hover { color: var(--violet); }
.topbar__cta { display: none; }
@media (min-width: 560px) { .topbar__cta { display: inline-flex; } }
@media (min-width: 1000px) { .topnav { display: flex; } }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  padding: 48px 0 236px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { object-position: center 40%; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(var(--bg-rgb), .92) 0%, rgba(var(--bg-rgb), .7) 45%, rgba(var(--bg-rgb), 0) 80%),
    linear-gradient(180deg, rgba(var(--bg-rgb), 0) 70%, rgba(var(--bg-rgb), .9) 100%);
}
.hero__in { text-align: center; position: relative; }
.hero__kicker {
  display: inline-block;
  font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--violet);
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(var(--pd-rgb), .08);
}
.hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(46px, 13vw, 116px);
  color: var(--violet-deep);
  display: flex; flex-direction: column; align-items: center; gap: .06em;
  margin-bottom: 20px;
}
.hero__line { display: block; }
.hero__sub { max-width: 640px; margin: 0 auto 28px; font-size: clamp(16px, 2.3vw, 20px); color: var(--ink); }
.hero__sub b { color: var(--violet); }
.hero__btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 360px; margin: 0 auto; }
.hero__mascot {
  position: absolute;
  right: 50%; bottom: 122px;
  transform: translateX(50%);
  width: 96px; height: 96px;
  z-index: 1;
  display: none; /* Боня уже есть на hero-картинке; кружок показываем только там, где он не наезжает на кнопки */
  box-shadow: 0 12px 30px rgba(var(--pd-rgb), .25);
  border: 4px solid #fff;
}
.hero__mascot img { object-fit: cover; }
@media (min-width: 640px) {
  .hero__btns { flex-direction: row; justify-content: center; max-width: none; }
  .hero { padding-bottom: 160px; }
  .hero__mascot { right: 24px; bottom: 100px; transform: none; width: 130px; height: 130px; }
}
@media (min-width: 900px) {
  .hero { min-height: 720px; padding: 80px 0 180px; }
  .hero__mascot { width: 200px; height: 200px; right: max(24px, calc(50% - 620px)); bottom: 120px; }
}
@media (min-width: 1280px) { .hero__mascot { display: block; } }

/* ---------- Общие секции ---------- */
.section { padding: 64px 0; }
.section--soft { background: linear-gradient(180deg, var(--soft-2) 0%, var(--bg) 100%); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* ---------- 2. Панель «Из чего состоит» ---------- */
.section--panel { padding-top: 0; margin-top: -110px; position: relative; z-index: 2; }
.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 16px 20px;
}
@media (min-width: 900px) { .panel { padding: 56px 48px 40px; } }

.tabs { display: flex; justify-content: center; gap: 8px; margin: 4px 0 28px; flex-wrap: wrap; }
.tab {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--orange-1);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 12px;
  transition: border-color .2s, background .2s, color .2s;
}
.tab:hover { border-color: var(--orange-2); }
.tab.is-active { border-color: var(--orange-1); background: var(--cta-soft); }

.mocks { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mocks { grid-template-columns: repeat(3, 1fr); } }
.mock { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mock__img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.mock__cap {
  background: var(--violet-soft);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
  min-height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.mock__cap b { color: var(--violet); }
.tabpane { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.news {
  margin-top: 24px;
  background: linear-gradient(100deg, var(--violet) 0%, var(--violet-2) 100%);
  border-radius: var(--radius);
  color: #fff;
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  overflow: hidden;
}
.news__img { display: none; width: 180px; flex: none; aspect-ratio: 4 / 3; border-radius: 12px; }
.news__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 6vw, 40px); line-height: 1; margin-bottom: 8px; }
.news__title::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .25em; vertical-align: .02em; background: var(--coin); border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }
.news__text { font-size: 15px; color: rgba(255, 255, 255, .92); }
.news__text b { color: #fff; }
@media (min-width: 640px) { .news__img { display: block; } .news { padding: 20px 28px 20px 20px; } }

/* ---------- 3. Боль → решение ---------- */
.pain { display: grid; gap: 12px; max-width: 960px; margin: 12px auto 0; align-items: center; }
.pain__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px;
}
.pain__lead { font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.pain__note { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.pain__arrow { width: 90px; height: 54px; color: var(--violet); justify-self: center; transform: rotate(80deg); }
.pain__solution {
  background: var(--violet);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  font-size: 16px;
  box-shadow: 0 16px 36px rgba(var(--p-rgb), .3);
}
.pain__solution b { color: var(--coin); }
.star--float {
  position: absolute; left: -10px; top: -16px;
  width: 38px; height: 38px;
  background: var(--star) center / contain no-repeat;
  transform: rotate(-12deg);
  filter: drop-shadow(0 4px 6px rgba(var(--p-rgb), .3));
}
@media (min-width: 860px) {
  .pain { grid-template-columns: 1.1fr 110px 1fr; gap: 8px; }
  .pain__arrow { transform: none; width: 110px; height: 64px; align-self: start; margin-top: 20px; }
  .pain__solution { margin-top: 60px; }
}

/* ---------- Списки ---------- */
.dots, .stars, .checks, .minuses, .minus { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 18px; font-size: 15px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); }
.stars li { position: relative; padding-left: 30px; }
.stars li::before { content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; background: var(--star) center / contain no-repeat; }
.stars--compact { gap: 6px; margin-top: 14px; }
.checks li, .minuses li, .minus li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.4; }
.checks li::before, .minuses li::before, .minus li::before {
  content: ""; position: absolute; left: 0; top: .05em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.5 2.4L10 3.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.minuses { margin-top: 8px; }
.minuses li, .minus li { color: var(--muted); }
.minuses li::before, .minus li::before {
  background: var(--minus) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5h6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- 4. Почему важно ---------- */
.why-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.why-card { background: #fff; border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.why-card__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--violet-soft);
  font-size: 22px; margin-bottom: 12px;
}
.why-card h3 { font-family: var(--f-head); text-transform: uppercase; font-size: 20px; color: var(--violet-deep); margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.45; }

.compare { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } }
.compare__col { border-radius: var(--radius); padding: 24px 22px; }
.compare__col--bad { background: #fff; border: 2px dashed var(--line); }
.compare__col--good { background: #fff; box-shadow: var(--shadow); border: 2px solid var(--lilac); }
.compare__title { font-family: var(--f-head); text-transform: uppercase; font-size: 20px; line-height: 1.2; margin-bottom: 14px; color: var(--violet-deep); }
.compare__col--bad .compare__title { color: var(--muted); }

.quote {
  margin: 32px auto 0; max-width: 860px;
  background: var(--violet-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.quote::after { content: ""; position: absolute; right: -14px; bottom: -18px; width: 96px; height: 96px; background: var(--star-lilac) center / contain no-repeat; opacity: .35; transform: rotate(14deg); }
.quote p { font-size: clamp(17px, 2.4vw, 22px); font-weight: 600; line-height: 1.45; position: relative; z-index: 1; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--coin); }

/* ---------- 5. Форматы ---------- */
.formats { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fmt { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 2px solid transparent; }
.fmt--accent { border-color: var(--lilac); }
.fmt__img { aspect-ratio: 3 / 2; }
.fmt__body { padding: 20px 20px 24px; }
.fmt__title { font-family: var(--f-head); text-transform: uppercase; font-size: 24px; color: var(--violet); margin-bottom: 6px; }
.fmt__desc { font-size: 15px; font-weight: 600; margin-bottom: 14px; line-height: 1.45; }

/* ---------- 6. Слайдер возрастов ---------- */
.slider { position: relative; margin-top: 8px; }
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 340px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px var(--gutter) 24px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: -3px; }
@media (min-width: 1232px) {
  .slider__track { padding-left: calc((100vw - 1200px) / 2 + var(--gutter)); padding-right: calc((100vw - 1200px) / 2 + var(--gutter)); scroll-padding: 0 calc((100vw - 1200px) / 2 + var(--gutter)); grid-auto-columns: 370px; gap: 20px; }
}
.age-card {
  scroll-snap-align: start;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.age-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  background: var(--violet);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(var(--p-rgb), .3);
}
.age-card__img { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; }
.age-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.age-card__title { font-family: var(--f-head); text-transform: uppercase; font-size: 21px; line-height: 1.15; color: var(--violet-deep); }
.age-card__for { font-size: 14px; color: var(--muted); line-height: 1.45; }
.age-card__for b { color: var(--ink); }
.age-card__inc { font-weight: 800; font-size: 14px; }
.age-card .stars li { font-size: 14px; font-weight: 600; }
.age-card .btn { margin-top: auto; }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--violet);
  background: #fff; color: var(--violet);
  font-size: 20px; font-weight: 800;
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.round-btn:hover { background: var(--violet); color: #fff; }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--dot); transition: width .25s, background .25s; }
.slider__dots span.is-active { width: 24px; background: var(--violet); }

/* ---------- 7. Родители ---------- */
.gift {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--violet-3) 0%, var(--violet) 55%, var(--violet-2) 100%);
  color: #fff;
  display: grid;
  box-shadow: var(--shadow-lg);
}
.gift__body { padding: 32px 22px; position: relative; z-index: 1; }
.gift__kicker { display: inline-block; background: var(--coin); color: var(--violet-deep); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.gift__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 7vw, 58px); line-height: 1.02; margin-bottom: 14px; text-shadow: 0 4px 18px rgba(0, 0, 0, .2); }
.gift__text { color: rgba(255, 255, 255, .9); margin-bottom: 22px; max-width: 460px; }
.gift__img { aspect-ratio: 16 / 10; }
@media (min-width: 860px) {
  .gift { grid-template-columns: 1fr 1.1fr; align-items: stretch; min-height: 380px; }
  .gift__body { padding: 48px; align-self: center; }
  .gift__img { aspect-ratio: auto; min-height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
}

.parents-grid { display: grid; gap: 36px; margin-top: 44px; }
@media (min-width: 900px) { .parents-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.acc { display: grid; gap: 10px; }
.acc__item { background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(var(--pd-rgb), .07); border: 1px solid var(--line); }
.acc__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  border-radius: 16px;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--violet-soft); color: var(--violet);
  display: grid; place-items: center; font-size: 20px; font-weight: 600; line-height: 1;
  transition: transform .25s, background .25s, color .25s;
}
.acc__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--violet); color: #fff; }
.acc__item p { padding: 0 18px 18px; color: var(--muted); font-size: 15px; }
.acc--faq .acc__item summary { font-size: 17px; }

.tasks { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; gap: 10px; }
.tasks li {
  counter-increment: t;
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px 14px 60px;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 4px 16px rgba(var(--pd-rgb), .07);
}
.tasks li::before {
  content: counter(t);
  position: absolute; left: 14px; top: 13px;
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE69A, var(--coin) 55%, #E7A51C);
  color: var(--violet-deep);
  font-family: var(--f-head); font-weight: 700; font-size: 17px;
  display: grid; place-items: center;
}
.tasks b { color: var(--violet-deep); }
.result-box { margin-top: 16px; background: var(--violet-soft); border-radius: 16px; padding: 18px; font-size: 15px; }
.result-box__title { font-family: var(--f-head); text-transform: uppercase; font-weight: 700; color: var(--violet); font-size: 18px; margin-bottom: 6px; }

/* ---------- 8. Тест ---------- */
.quiz {
  max-width: 760px; margin: 8px auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quiz::before { content: ""; position: absolute; right: -24px; top: -24px; width: 110px; height: 110px; background: var(--star-lilac) center / contain no-repeat; opacity: .25; transform: rotate(18deg); }
@media (min-width: 700px) { .quiz { padding: 44px 48px; } }
.quiz__step { display: none; position: relative; }
.quiz__step.is-active { display: block; animation: fadeIn .3s ease; }
.quiz__q { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 4.6vw, 32px); line-height: 1.15; color: var(--violet-deep); margin-bottom: 24px; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.quiz__ages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-btn {
  border: 2px solid var(--violet);
  background: #fff; color: var(--violet);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800; font-size: 15px;
  min-width: 120px;
  transition: background .2s, color .2s, transform .2s;
}
.chip-btn:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }
.quiz__progress { height: 8px; background: var(--violet-soft); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.quiz__progress span { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--lilac), var(--violet)); border-radius: 999px; transition: width .3s ease; }
.quiz__count { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.quiz__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
.quiz__back { margin-top: 18px; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.quiz__back:hover { color: var(--violet); }
.quiz__score { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--f-head); font-weight: 700; color: var(--violet); margin-bottom: 8px; }
.quiz__score span { font-size: 72px; line-height: 1; }
.quiz__score small { font-size: 20px; color: var(--muted); }
.quiz__rtitle { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 4.6vw, 30px); color: var(--violet-deep); margin-bottom: 10px; }
.quiz__rtext { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.quiz__module { background: var(--violet-soft); border-radius: 16px; padding: 16px; margin: 0 auto 22px; max-width: 560px; }
.quiz__mlabel { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin-bottom: 4px; }
.quiz__mname { font-weight: 800; font-size: 17px; }
.quiz__rbtns { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (min-width: 560px) { .quiz__rbtns { flex-direction: row; } }

/* ---------- 9. Автор ---------- */
.author {
  max-width: 900px; margin: 8px auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: grid; gap: 22px; justify-items: center; text-align: center;
}
.author__ava {
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--lilac) 0%, var(--violet) 55%, var(--violet-deep) 100%);
  color: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 56px; letter-spacing: .02em;
  box-shadow: 0 0 0 8px var(--violet-soft), 0 16px 34px rgba(var(--p-rgb), .3);
}
.author__name { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 5vw, 40px); line-height: 1.05; color: var(--violet); }
.author__role { font-weight: 800; margin: 6px 0 14px; }
.author__body > p:not(.author__name):not(.author__role) { color: var(--muted); margin-bottom: 10px; }
.author .stars { display: inline-grid; text-align: left; }
@media (min-width: 760px) {
  .author { grid-template-columns: 200px 1fr; text-align: left; justify-items: start; align-items: center; padding: 40px 44px; gap: 36px; }
  .author__ava { width: 190px; height: 190px; font-size: 68px; }
}

/* ---------- 10. Тарифы ---------- */
.pricing { position: relative; padding: 72px 0 80px; color: #fff; isolation: isolate; overflow: hidden; }
.pricing__bg { position: absolute; inset: 0; z-index: -2; }
.pricing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--pd-rgb), .82) 0%, rgba(var(--p-rgb), .72) 50%, rgba(var(--pd-rgb), .9) 100%); }
@media (min-width: 900px) { .pricing { padding: 104px 0 110px; } }
.plans { display: grid; gap: 22px; margin-top: 12px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; } }
.plan {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), .35);
  display: flex; flex-direction: column;
}
.plan--hot {
  box-shadow: 0 0 0 4px var(--orange-2), 0 0 44px rgba(var(--cta2-rgb), .6), 0 24px 60px rgba(var(--shadow-rgb), .4);
}
@media (min-width: 900px) { .plan--hot { padding: 36px 24px 30px; } }
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-orange);
}
.plan__head { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 20px; margin-bottom: 10px; }
.plan__brand { color: var(--violet-deep); }
.plan__name { background: var(--violet); color: #fff; padding: 2px 12px 4px; border-radius: 8px; transform: rotate(-1.5deg); }
.plan__what {
  align-self: center;
  background: var(--violet-soft);
  border: 1px solid var(--line);
  color: var(--violet);
  font-weight: 700; font-size: 13px;
  border-radius: 10px;
  padding: 7px 14px;
  margin-bottom: 18px;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--p-rgb), .35);
}
.plan__what:hover { background: var(--soft-hover); }
.plan__month { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 8vw, 36px); line-height: 1.05; text-align: center; color: var(--ink); }
.plan__month span { display: block; font-size: 20px; font-weight: 500; color: var(--violet-deep); margin-top: 2px; }
.plan__full { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.plan__btns { display: grid; gap: 10px; margin-top: auto; }
.plan__btns .btn { font-size: 13px; min-height: 48px; padding: 12px 14px; }

/* ---------- 12. Финальный CTA ---------- */
.final { padding-top: 0; }
.final__box {
  position: relative;
  background: linear-gradient(120deg, var(--violet-deep) 0%, var(--violet) 70%, var(--violet-2) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 22px;
  display: grid; gap: 20px; justify-items: center; text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final__box::before { content: ""; position: absolute; left: -30px; bottom: -30px; width: 140px; height: 140px; background: var(--star-lilac) center / contain no-repeat; opacity: .22; transform: rotate(-12deg); }
.final__mascot { width: 150px; height: 150px; border: 5px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 36px rgba(0, 0, 0, .25); flex: none; }
.final__body { position: relative; }
.final__body .lead { margin-left: 0; margin-right: 0; }
@media (min-width: 760px) {
  .final__box { grid-template-columns: 240px 1fr; text-align: left; justify-items: start; align-items: center; padding: 48px 56px; gap: 40px; }
  .final__mascot { width: 230px; height: 230px; }
}

/* ---------- 13. Футер ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, .75); padding: 36px 0; font-size: 14px; }
.footer__in { display: flex; flex-direction: column; gap: 18px; }
.footer__brand { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 20px; margin-bottom: 4px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a { color: rgba(255, 255, 255, .8); }
.footer__links a:hover { color: #fff; }
@media (min-width: 760px) { .footer__in { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(var(--ink-rgb), .6); backdrop-filter: blur(3px); animation: fadeOnly .25s ease; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 18px 32px;
  animation: slideUp .3s ease;
}
.modal__dialog:focus { outline: none; }
@media (min-width: 760px) {
  .modal { align-items: center; padding: 24px; }
  .modal__dialog { border-radius: 28px; padding: 44px 44px 40px; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: sticky; top: 0; float: right;
  margin: -12px -6px 0 12px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--violet-soft); color: var(--violet);
  font-size: 26px; line-height: 1; z-index: 2;
}
.modal__close:hover { background: var(--violet); color: #fff; }
body.no-scroll { overflow: hidden; }

.m-badge { display: inline-block; background: var(--violet); color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.m-title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 5vw, 38px); line-height: 1.08; color: var(--violet-deep); margin-bottom: 12px; padding-right: 8px; }
.m-goal { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.m-idea { background: var(--violet-soft); border-radius: 14px; padding: 12px 16px; font-weight: 600; margin: 14px 0 6px; }
.m-idea b { color: var(--violet); }
.m-h { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; color: var(--violet); font-size: 19px; margin: 24px 0 12px; }
.m-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.m-meta span { background: var(--cta-soft); color: var(--cta-dark); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; color: var(--violet-deep); }
.chips span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coin); margin-right: 7px; vertical-align: .02em; }
.m-cols { display: grid; gap: 0 28px; }
@media (min-width: 700px) { .m-cols { grid-template-columns: 1fr 1fr; } }
.m-tasks { list-style: none; counter-reset: mt; padding: 0; margin: 0; display: grid; gap: 8px; }
.m-tasks li { counter-increment: mt; position: relative; padding: 10px 12px 10px 48px; background: var(--bg); border-radius: 12px; font-size: 15px; line-height: 1.4; }
.m-tasks li::before { content: counter(mt); position: absolute; left: 10px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.m-result { margin-top: 24px; background: linear-gradient(110deg, var(--violet) 0%, var(--violet-2) 100%); color: #fff; border-radius: 18px; padding: 18px 20px; }
.m-result .m-h { color: var(--coin); margin-top: 0; margin-bottom: 8px; }
.m-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.m-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.m-price { font-family: var(--f-head); font-weight: 700; font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.m-price small { font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--muted); margin-left: 6px; }
.m-plus { margin: 18px 0 10px; font-weight: 800; color: var(--violet); }

/* ---------- Тост ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px);
  background: var(--ink); color: #fff;
  padding: 14px 20px; border-radius: 14px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  width: max-content; max-width: calc(100% - 32px);
  text-align: center;
}
.toast::before { content: "🪙 "; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Появления при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Переключатель цветовой гаммы ---------- */
.theme-switch {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(var(--pd-rgb), .22); border: 1px solid var(--line);
}
.theme-switch__label { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.theme-switch__btn {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 3px solid #fff;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s;
}
.theme-switch__btn:hover { transform: scale(1.1); }
.theme-switch__btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.theme-switch__btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (max-width: 480px) { .theme-switch__label { display: none; } .theme-switch { padding: 6px 8px; } .theme-switch__btn { width: 26px; height: 26px; } }
