/* ДомCRM — светлая тема лендинга в стиле самой CRM (Inter, белые карточки, синий #2563eb). */
:root {
  --bg: #f9fafb;
  --card: #fff;
  --ink: #0f172a;
  --text: #18181b;
  --soft: #334155;
  --muted: #64748b;
  --dim: #94a3b8;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-l: #bfdbfe;
  --green: #15803d;
  --green-50: #f0fdf4;
  --green-l: #bbf7d0;
  --red: #dc2626;
  --red-50: #fef2f2;
  --red-l: #fecaca;
  --amber-50: #fffbeb;
  --amber-l: #fde68a;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 60px rgba(15, 23, 42, .12);
  --font: Inter, "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 84px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.col { width: min(100% - 40px, 720px); margin-inline: auto; }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(249, 250, 251, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--soft); font-size: 14px; font-weight: 500; text-decoration: none; }
.top nav a:hover { color: var(--blue); }
.top__cta { display: flex; align-items: center; gap: 10px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:hover { border-color: var(--dim); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .25); }
.btn--primary:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #1e293b; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: default; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid var(--blue-l); border-radius: 999px; background: var(--blue-50); color: var(--blue-d); font-size: 12.5px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--green-l); border-radius: 8px; background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 700; }

/* переключатель актов */
.seg { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #f1f5f9; }
.seg button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.seg button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .1); }
.seg button[data-act="before"][aria-pressed="true"]::before { background: var(--red); opacity: 1; }
.seg button[data-act="after"][aria-pressed="true"]::before { background: #16a34a; opacity: 1; }

/* маскот */
.msc { display: block; transition: transform .25s cubic-bezier(.2, .9, .25, 1.4); }
.msc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.msc .m-brow, .msc .m-pupil, .msc .m-open { transform-box: fill-box; transform-origin: center; transition: transform .3s; }
.msc .m-sleep, .msc .m-happy, .msc .m-sweat, .msc .m-zz, .msc .m-smile, .msc .m-wavy, .msc .m-open { opacity: 0; transition: opacity .2s; }
.msc .m-eyes, .msc .m-flat, .msc .m-brow { transition: opacity .2s, transform .3s; }
.msc[data-mood="calm"] .m-flat, .msc[data-mood="happy"] .m-flat, .msc[data-mood="sleep"] .m-flat, .msc[data-mood="tense"] .m-flat, .msc[data-mood="shout"] .m-flat { opacity: 0; }
.msc[data-mood="calm"] .m-smile, .msc[data-mood="happy"] .m-smile, .msc[data-mood="sleep"] .m-smile { opacity: 1; }
.msc[data-mood="calm"] .m-brow, .msc[data-mood="happy"] .m-brow { transform: translateY(-3px); }
.msc[data-mood="happy"] .m-eyes, .msc[data-mood="sleep"] .m-eyes, .msc[data-mood="sleep"] .m-brow { opacity: 0; }
.msc[data-mood="happy"] .m-happy { opacity: 1; }
.msc[data-mood="sleep"] .m-sleep, .msc[data-mood="sleep"] .m-zz { opacity: 1; }
.msc[data-mood="sleep"] .m-zz { animation: msc-zz 2s ease-in-out infinite; }
.msc[data-mood="tense"] .m-brow-l, .msc[data-mood="shout"] .m-brow-l { transform: translateY(-1px) rotate(16deg); }
.msc[data-mood="tense"] .m-brow-r, .msc[data-mood="shout"] .m-brow-r { transform: translateY(-1px) rotate(-16deg); }
.msc[data-mood="tense"] .m-sweat, .msc[data-mood="shout"] .m-sweat { opacity: 1; }
.msc[data-mood="tense"] .m-wavy { opacity: 1; }
.msc[data-mood="tense"] .m-pupil { animation: msc-dart 1.1s steps(1) infinite; }
.msc[data-mood="shout"] { transform: scale(1.1); }
.msc[data-mood="shout"] svg { animation: msc-shake .16s linear infinite; }
.msc[data-mood="shout"] .m-open { opacity: 1; animation: msc-yell .22s ease-in-out infinite alternate; }
.msc[data-mood="shout"] .m-pupil { transform: scale(.62); }
@keyframes msc-dart { 0% { transform: translate(-2.5px, 0); } 25% { transform: translate(2.5px, -1px); } 50% { transform: translate(-1px, 1.5px); } 75% { transform: translate(2px, 1px); } }
@keyframes msc-shake { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-2.5px) rotate(-2deg); } 75% { transform: translateX(2.5px) rotate(2deg); } }
@keyframes msc-yell { from { transform: scale(.85, .8); } to { transform: scale(1.08, 1.15); } }
@keyframes msc-zz { 0%, 100% { transform: translate(0, 0); opacity: .4; } 50% { transform: translate(3px, -5px); opacity: 1; } }
@keyframes rattle { 0%, 100% { translate: 0 0; } 25% { translate: -2px 1px; } 50% { translate: 2px -1px; } 75% { translate: -1px -2px; } }

/* секции */
.section { padding: 96px 0 0; }
.section h2 { color: var(--ink); font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.section__lead { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 17px; }
.center { text-align: center; }
.center .section__lead { margin-inline: auto; }
.card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }

/* день по часам */
.day { margin-top: 36px; overflow: hidden; }
.day__head, .day__row { display: grid; grid-template-columns: 88px 1fr 1fr; }
.day__head { border-bottom: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.day__head span { padding: 13px 20px; }
.day__head span:nth-child(2) { color: var(--red); }
.day__head span:nth-child(3) { color: var(--green); }
.day__row + .day__row { border-top: 1px solid var(--line); }
.day__time { padding: 20px 0 20px 20px; color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 700; }
.day__cell { padding: 18px 20px 20px; border-left: 1px solid var(--line); }
.day__cell--after { background: linear-gradient(90deg, var(--green-50), transparent 70%); }
.day__tag { display: none; }
.day__say { font-size: 15.5px; line-height: 1.55; }
.day__cell--before .day__say { color: var(--soft); }
.day__row[data-heat="3"] .day__cell--before .day__say { color: var(--red); font-weight: 700; }
.chip { display: inline-flex; flex-wrap: wrap; gap: 3px 7px; margin-top: 10px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--muted); font-size: 12px; line-height: 1.5; }
.chip b { font-weight: 700; color: var(--red); }
.day__cell--after .chip b { color: var(--green); }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; overflow: hidden; }
.calc__in { padding: 26px; }
.calc__out { display: flex; flex-direction: column; justify-content: center; padding: 26px; background: var(--ink); color: #fff; }
.calc label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--soft); font-size: 14px; font-weight: 600; }
.calc label output { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; margin: 0 0 22px; accent-color: var(--blue); }
.calc__big { font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: #cbd5e1; }
.calc__out p { margin-top: 12px; color: #cbd5e1; font-size: 15px; }
.calc__out p b { color: #fff; }
.calc__note { margin-top: 0; color: var(--dim); font-size: 12.5px; }

/* возможности */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.feat { padding: 20px; }
.feat b { display: block; color: var(--ink); font-size: 16px; font-weight: 800; }
.feat i { display: block; margin: 3px 0 8px; color: var(--blue); font-size: 13px; font-style: normal; font-weight: 600; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--soft); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9.5 2.6 2.5L13 6.5'/%3E%3C/svg%3E") center/18px no-repeat; border: 1px solid var(--green-l); }
.frame { overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame__bar span { margin-left: 8px; }
.frame img { width: 100%; }
.frame figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

.why { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: center; margin-top: 30px; padding: 28px; }
.why .msc { width: 132px; height: 132px; }
.why p { color: var(--soft); font-size: 17px; line-height: 1.65; }
.why p + p { margin-top: 12px; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(226px, 1fr)); gap: 14px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; padding: 22px; text-align: left; }
.plan h3 { color: var(--ink); font-size: 20px; font-weight: 800; }
.plan .badge { align-self: flex-start; margin-top: 8px; }
.plan__price { margin-top: 14px; color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan__price small { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.plan ul { margin: 18px 0; border-top: 1px solid var(--line); }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.plan li strong { color: var(--ink); font-weight: 800; text-align: right; }
.plan li strong.yes { color: var(--green); }
.plan .btn { margin-top: auto; }
.plans__state { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--line-2); border-radius: 18px; color: var(--muted); text-align: center; font-size: 14.5px; }
.plans__fallback { margin-top: 16px; color: var(--muted); font-size: 14.5px; text-align: center; }

/* вопросы */
.faq { margin-top: 30px; overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; color: var(--ink); cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 20px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* форма */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.contact__side .msc { width: 120px; height: 120px; margin-bottom: 18px; }
.form { padding: 24px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.field label span { color: var(--dim); font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: #f8fafc; font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); background: #fff; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__hint { margin: -6px 0 14px; color: var(--muted); font-size: 12.5px; }
.field__error { margin: 6px 0 0; color: var(--red); font-size: 12.5px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form .btn { width: 100%; }
.form__msg { margin-top: 14px; padding: 10px 13px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form__msg.ok { border: 1px solid var(--green-l); background: var(--green-50); color: var(--green); }
.form__msg.err { border: 1px solid var(--red-l); background: var(--red-50); color: var(--red); }

/* подвал */
.footer { margin-top: 110px; padding: 30px 0 44px; border-top: 1px solid var(--line); background: var(--card); }
.footer__in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer__in strong { color: var(--soft); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: flex-start; max-width: 540px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--blue); }
.footer .logo { margin-bottom: 12px; }

.mcta { display: none; }

@media (max-width: 980px) {
  .top nav { display: none; }
  .two, .contact { grid-template-columns: 1fr; gap: 26px; }
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap, .col { width: min(100% - 32px, 1120px); }
  .section { padding-top: 72px; }
  .top__in { min-height: 58px; }
  .top__cta .btn--ghost { display: none; }
  .day__head { display: none; }
  .day__row { grid-template-columns: 1fr; }
  .day__time { padding: 16px 16px 0; }
  .day__cell { border-left: 0; padding: 10px 16px 14px; }
  .day__cell--after { padding-bottom: 18px; background: var(--green-50); }
  .day__tag { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
  .day__cell--after .day__tag { color: var(--green); }
  .calc { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .why .msc { width: 96px; height: 96px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 18px; }
  .footer { margin-top: 80px; padding-bottom: 96px; }
  .mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; box-shadow: var(--shadow-lg); border-radius: 14px; transform: translateY(140%); transition: transform .3s; }
  .mcta.is-on { transform: none; }
  .mcta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── маскоты, второй раунд: румянец, клювы, анимация покоя ── */
.msc .m-cheeks { opacity: 0; transition: opacity .25s; }
.msc[data-mood="calm"] .m-cheeks, .msc[data-mood="happy"] .m-cheeks, .msc[data-mood="sleep"] .m-cheeks { opacity: 1; }
.msc .m-nomouth .m-flat, .msc .m-nomouth .m-smile, .msc .m-nomouth .m-wavy, .msc .m-nomouth .m-open { display: none; }
.msc .b-beak-low { transform-box: fill-box; transition: transform .15s; }
.msc[data-mood="shout"] .b-beak-low { transform: translateY(5px); animation: msc-yell .22s ease-in-out infinite alternate; }
.msc .b-lid { transition: opacity .2s; }
.msc[data-mood="shout"] .b-lid, .msc[data-mood="tense"] .b-lid, .msc[data-mood="happy"] .b-lid, .msc[data-mood="sleep"] .b-lid { opacity: 0; }
.msc .a-wave, .msc .a-wag, .msc .a-flap, .msc .a-flick, .msc .a-shadow, .msc .a-wobble, .msc .a-puff { transform-box: fill-box; }
.msc .a-shadow { transform-origin: center; }
.msc--live .a-all { animation: a-bob 3.2s ease-in-out infinite; }
.msc--live .a-shadow { animation: a-shadow 3.2s ease-in-out infinite; }
.msc--live .m-eyes { transform-box: fill-box; transform-origin: center; animation: a-blink 4.6s infinite; }
.msc--live .a-wave { animation: a-wave 1.5s ease-in-out infinite; }
.msc--live .a-wave--l { animation-name: a-wave-l; }
.msc--live .a-wag { animation: a-wave 2.2s ease-in-out infinite; }
.msc--live .a-flap { animation: a-flap 2.4s ease-in-out infinite; }
.msc--live .a-flap--r { animation-name: a-flap-r; }
.msc--live .a-puff { animation: a-puff 2.8s ease-out infinite; }
.msc--live .a-flick { animation: a-flick .8s ease-in-out infinite alternate; }
.msc--live .a-led { animation: a-led 2s ease-in-out infinite; }
.msc--live .a-twinkle { animation: a-led 2.2s ease-in-out infinite; }
.msc--live .a-wobble { transform-origin: 50% 100%; animation: a-wobble 3.2s ease-in-out infinite; }
.msc--live[data-mood="shout"] .a-all { animation-duration: .5s; }
.msc--live[data-mood="shout"] .a-wave, .msc--live[data-mood="shout"] .a-wag, .msc--live[data-mood="shout"] .a-flap { animation-duration: .35s; }
.msc--live[data-mood="shout"] .a-flick { animation-duration: .25s; }
.msc--live[data-mood="sleep"] .a-all { animation-duration: 5s; }
.msc--live[data-mood="sleep"] .a-wave, .msc--live[data-mood="sleep"] .a-wag, .msc--live[data-mood="sleep"] .a-flap { animation: none; }
@keyframes a-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes a-shadow { 0%, 100% { transform: scaleX(1); opacity: .13; } 50% { transform: scaleX(.88); opacity: .09; } }
@keyframes a-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes a-wave { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg); } }
@keyframes a-wave-l { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-9deg); } }
@keyframes a-flap { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(14deg); } }
@keyframes a-flap-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes a-puff { 0% { transform: translateY(6px) scale(.5); opacity: 0; } 30% { opacity: .95; } 100% { transform: translateY(-9px) scale(1.25); opacity: 0; } }
@keyframes a-flick { from { transform: scale(1, 1) skewX(-2deg); } to { transform: scale(.97, 1.05) skewX(2.5deg); } }
@keyframes a-led { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes a-wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* хамелеон Леон: цвет кожи зависит от настроения */
.msc .ch-skin { fill: #22c55e; transition: fill .6s; }
.msc .ch-line { stroke: #22c55e; transition: stroke .6s; }
.msc[data-mood="calm"] .ch-skin { fill: #3b82f6; } .msc[data-mood="calm"] .ch-line { stroke: #3b82f6; }
.msc[data-mood="tense"] .ch-skin { fill: #f59e0b; } .msc[data-mood="tense"] .ch-line { stroke: #f59e0b; }
.msc[data-mood="shout"] .ch-skin { fill: #ef4444; } .msc[data-mood="shout"] .ch-line { stroke: #ef4444; }
.msc[data-mood="sleep"] .ch-skin { fill: #818cf8; } .msc[data-mood="sleep"] .ch-line { stroke: #818cf8; }
.msc[data-mood="happy"] .ch-skin { fill: #14b8a6; } .msc[data-mood="happy"] .ch-line { stroke: #14b8a6; }
.msc .ch-tongue { opacity: 0; transition: opacity .2s; }
.msc[data-mood="happy"] .ch-tongue { opacity: 1; }
.msc[data-mood="happy"] .m-smile { opacity: 1; }

/* Значок «готовится к релизу» и сноска в подвале */
.warn { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; color: #f59e0b; }
.feat b .warn { width: 17px; height: 17px; margin-left: 4px; vertical-align: -3px; }
.lead .warn, .section__lead .warn { width: 17px; height: 17px; vertical-align: -3px; }
.soon-note { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.soon-note .warn { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
