/* Очаг — сайт для продвижения (по артбордам «Лендинг — компьютер / телефон»).
   Токены цветов и шрифтов — из ochag.css. */

body.site { background: var(--bg); }
.site h1, .site h2, .site h3 { font-family: var(--display); color: var(--ink); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 80px; box-sizing: border-box; }

/* ——— Кнопки ——— */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
         padding: 12px 22px; font-size: 15px; font-weight: 700; border: 1px solid transparent; cursor: pointer;
         text-align: center; line-height: 1.2; font-family: var(--font); }
.l-btn-primary { background: var(--primary); color: #fff; }
.l-btn-primary:hover { background: var(--primary-hover); }
.l-btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.l-btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.l-btn-xl { font-size: 17px; padding: 18px 32px; }
.l-btn-primary.l-btn-xl { box-shadow: 0 10px 24px rgba(194, 67, 10, 0.25); }
.l-link-plain { font-size: 16px; font-weight: 600; color: var(--ink); padding: 18px 8px; }
.l-link-plain:hover { color: var(--primary); }
.l-inline-link { color: var(--primary); font-weight: 600; }

/* ——— Шапка ——— */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header-row { height: 80px; display: flex; align-items: center; gap: 40px; }
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.site-logo span { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); }
.site-logo.on-dark { color: var(--side-accent); }
.site-logo.on-dark span { color: var(--side-ink); font-size: 20px; }
.site-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--ink-2); flex-grow: 1; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.site-login { font-size: 15px; font-weight: 600; }
.site-login:hover { color: var(--primary); }
.site-cta .short { display: none; }

/* ——— Первый экран ——— */
.l-hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.l-blob { position: absolute; border-radius: 999px; filter: blur(8px); pointer-events: none; }
.l-blob.a { top: -160px; right: -120px; width: 620px; height: 620px; background: var(--primary-soft); }
.l-blob.b { bottom: -200px; left: -160px; width: 480px; height: 480px; background: var(--green-soft); opacity: .8; }
.l-hero-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.l-hero-text { display: flex; flex-direction: column; gap: 26px; }
.l-eyebrow-pill { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft);
                  padding: 6px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.l-hero h1 { margin: 0; font-size: 62px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.l-lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 540px; text-wrap: pretty; }
.l-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.l-small { font-size: 14px; color: var(--muted); }
.l-hero-visual { position: relative; min-height: 460px; }
.l-window { position: absolute; top: 20px; right: 0; width: 100%; max-width: 620px; margin: 0; background: #fff; border-radius: 20px;
            box-shadow: 0 2px 4px rgba(23,22,43,.04), 0 30px 60px rgba(23,22,43,.14); overflow: hidden; border: 1px solid var(--line); }
.l-window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--chip-muted); }
.l-window-bar span { width: 10px; height: 10px; border-radius: 999px; background: #E3DFEE; }
.l-window-bar em { margin-left: 14px; font-style: normal; font-size: 12px; color: var(--faint); }
.l-window img { display: block; width: 100%; height: auto; }
.l-hero-mascot { position: absolute; left: -10px; bottom: -4px; }
.mascot { display: block; height: auto; }

/* ——— Секции ——— */
.l-section { padding: 96px 0; }
.l-white { background: #fff; }
.l-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 48px; }
.l-head h1, .l-head h2 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.l-head p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.l-head-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 36px; }
.l-eyebrow { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.l-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.l-situation { background: var(--bg); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.l-situation h3 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; }
.l-situation p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.l-check { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); }

.l-feature { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 28px;
             display: flex; flex-direction: column; gap: 12px; }
.l-feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.l-feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.l-feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tone-primary { background: var(--primary-soft); color: var(--primary); }
.tone-green { background: var(--green-soft); color: var(--green); }
.tone-pink { background: var(--pink-soft); color: var(--pink); }
.tone-orange { background: var(--orange-soft); color: var(--orange); }

.l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.l-steps li { display: flex; flex-direction: column; gap: 14px; }
.l-steps h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.l-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.l-step-num { width: 52px; height: 52px; border-radius: 999px; background: var(--primary); color: #fff; font-family: var(--display);
              font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ——— Тарифы ——— */
.l-center { display: flex; flex-direction: column; align-items: center; }
.l-toggle { display: flex; gap: 4px; background: var(--segment); padding: 5px; border-radius: 999px; margin-bottom: 36px; }
.l-toggle button { border: 0; border-radius: 999px; padding: 11px 24px; font: 500 15px var(--font); color: var(--muted); background: transparent; cursor: pointer; }
.l-toggle button.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(23,22,43,.06); }
.l-plans { width: 100%; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.l-plans[hidden] { display: none; }
.l-plans-two { max-width: 760px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-plan { position: relative; background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow); border-radius: 24px;
          padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.l-plan.best { border-color: var(--primary); }
.l-plan-flag { position: absolute; top: -14px; left: 32px; font-size: 12px; font-weight: 700; color: #fff; background: var(--primary);
               padding: 5px 12px; border-radius: 999px; }
.l-plan-period { margin: 0; font-family: var(--font) !important; font-size: 16px; font-weight: 600; color: var(--ink-2) !important; }
.l-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.l-plan-price > span:first-child { font-family: var(--display); font-size: 48px; font-weight: 700; }
.l-badge { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.l-plan-note { margin: 0; font-size: 15px; color: var(--muted); }
.l-plan .l-btn { margin-top: 14px; padding: 14px; }
.l-note { margin: 36px 0 0; font-size: 14px; color: var(--muted); text-align: center; max-width: 720px; line-height: 1.6; }

/* ——— Вопросы ——— */
.l-faq-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; }
.l-faq-grid .l-head { margin-bottom: 0; }
.l-faq details { border-bottom: 1px solid rgba(23,22,43,.08); }
.l-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0;
                 cursor: pointer; font-size: 18px; font-weight: 600; color: var(--ink); }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary .icon { color: var(--primary); transition: transform .2s; }
.l-faq details[open] summary .icon { transform: rotate(180deg); }
.l-faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }

/* ——— Призыв и подвал ——— */
.l-cta { position: relative; overflow: hidden; background: var(--side); padding: 88px 0; }
.l-cta-circle { position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 999px; background: var(--side-card); }
.l-cta-row { position: relative; display: flex; align-items: center; gap: 56px; }
.l-cta-mascot { flex-shrink: 0; }
.l-cta-text { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; }
.l-cta h2 { margin: 0; font-size: 44px; line-height: 1.1; color: var(--side-ink); }
.l-cta p { margin: 0; font-size: 18px; color: var(--side-muted); }

.site-footer { background: #141026; color: var(--side-muted); padding: 48px 0; font-size: 14px; }
.site-footer-top { display: flex; align-items: flex-start; gap: 48px; }
.site-footer-brand { display: flex; flex-direction: column; gap: 12px; flex: 0 1 300px; line-height: 1.5; }
.site-footer-apps { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; }
.site-footer-app { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(244,242,255,.16); color: var(--side-ink); font-weight: 600; }
.site-footer-app:hover { border-color: rgba(244,242,255,.4); }
.site-footer-cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer-col { display: flex; flex-direction: column; gap: 10px; }
.site-footer-col h3 { margin: 0 0 4px; font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--side-ink); }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a:hover { color: var(--side-ink); }
.site-footer-sep { height: 1px; background: rgba(244,242,255,.1); margin: 28px 0; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; flex-wrap: wrap; }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: #fff;
              border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 16px 14px 20px; display: flex; align-items: center; gap: 16px;
              font-size: 14px; color: var(--ink-2); }
.cookie-bar a { color: var(--primary); font-weight: 600; }
.cookie-bar .l-btn { flex-shrink: 0; padding: 10px 18px; }
.cookie-bar .cookie-short { display: none; }

/* ——— Юридические страницы ——— */
.l-legal { max-width: 820px; }
.l-legal h1 { font-size: 36px; margin: 0 0 8px; }
.l-legal .l-legal-meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.l-legal h2 { font-size: 22px; margin: 36px 0 12px; }
.l-legal p, .l-legal li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.l-legal ul, .l-legal ol { padding-left: 22px; }
.l-legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; }
.l-legal th, .l-legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.l-legal a { color: var(--primary); font-weight: 600; }

/* ——— Планшет ——— */
@media (max-width: 1100px) {
  .wrap { padding: 0 40px; }
  .l-hero h1 { font-size: 50px; }
  .l-hero-grid { grid-template-columns: 1fr; }
  .l-hero-visual { min-height: 0; padding-bottom: 60px; }
  .l-window { position: relative; top: 0; margin-left: auto; }
  .l-grid-3, .l-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Планшет: в шапке пять разделов — плотнее меню и короткая кнопка, чтобы ничего не вылезало за край. */
@media (max-width: 1000px) {
  .site-header-row { gap: 18px; }
  .site-nav { gap: 16px; font-size: 14px; }
  .site-cta .long { display: none; }
  .site-cta .short { display: inline; }
}

/* ——— Телефон (артборд «Лендинг — телефон») ——— */
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .site-header-row { height: 64px; gap: 12px; }
  .site-logo { flex-grow: 1; }
  .site-logo span { font-size: 20px; }
  .site-nav { display: none; }
  .site-login { padding: 12px 6px; }
  .site-cta { padding: 12px 16px; font-size: 14px; }
  .site-cta .long { display: none; }
  .site-cta .short { display: inline; }

  .l-hero { padding: 40px 0 48px; }
  .l-hero-text { gap: 20px; }
  .l-eyebrow-pill { font-size: 12px; padding: 6px 12px; }
  .l-hero h1 { font-size: 38px; line-height: 1.08; }
  .l-lead { font-size: 17px; }
  .l-hero-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .l-hero-actions .l-btn { padding: 18px; }
  .l-hero-actions .l-link-plain { text-align: center; padding: 12px; }
  .l-small { text-align: center; }
  .l-hero-visual { padding: 12px 0 70px; }
  .l-window { border-radius: 16px; }
  .l-window-bar { height: 24px; gap: 5px; padding: 0 10px; }
  .l-window-bar span { width: 7px; height: 7px; }
  .l-window-bar em { display: none; }
  .l-hero-mascot { left: -6px; bottom: 0; }
  .l-hero-mascot .mascot { width: 120px; }

  .l-section { padding: 48px 0; }
  .l-head { margin-bottom: 20px; gap: 10px; }
  .l-head h1, .l-head h2 { font-size: 30px; line-height: 1.12; }
  .l-head p { font-size: 16px; }
  .l-grid-3, .l-plans, .l-steps { grid-template-columns: 1fr; gap: 16px; }
  .l-situation { padding: 22px; border-radius: 20px; gap: 10px; }
  .l-situation h3 { font-size: 20px; }
  .l-situation p { font-size: 15px; }
  .l-feature { flex-direction: row; padding: 20px; gap: 14px; border-radius: 20px; }
  .l-feature-icon { width: 44px; height: 44px; border-radius: 13px; }
  .l-feature h3 { font-size: 18px; margin-bottom: 6px; }
  .l-feature p { font-size: 14.5px; line-height: 1.55; }
  .l-steps { gap: 24px; }
  .l-steps li { flex-direction: row; gap: 16px; }
  .l-step-num { width: 44px; height: 44px; font-size: 19px; }
  .l-steps h3 { font-size: 19px; margin-bottom: 4px; }
  .l-steps p { font-size: 15px; line-height: 1.55; }

  .l-center { align-items: stretch; }
  .l-head-center { align-items: flex-start; text-align: left; margin-bottom: 20px; }
  .l-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .l-toggle button { padding: 12px 8px; }
  .l-plans { gap: 22px; }
  .l-plan { padding: 22px; border-radius: 22px; gap: 8px; }
  .l-plan-flag { left: 22px; top: -13px; }
  .l-plan-price > span:first-child { font-size: 36px; }
  .l-note { text-align: left; font-size: 13.5px; margin-top: 24px; }

  .l-faq summary { font-size: 16px; padding: 18px 0; min-height: 44px; }
  .l-faq details p { font-size: 15px; margin-bottom: 18px; }

  .l-cta { padding: 48px 0; text-align: center; }
  .l-cta-circle { display: none; }
  .l-cta-row { flex-direction: column; gap: 18px; }
  .l-cta-mascot .mascot { width: 110px; }
  .l-cta h2 { font-size: 30px; }
  .l-cta p { font-size: 16px; }
  .l-cta .l-btn { align-self: stretch; padding: 18px; }

  .site-footer { padding: 32px 0; }
  .site-footer-top { flex-direction: column; gap: 26px; }
  .site-footer-brand { flex-basis: auto; }
  .site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .site-footer-bottom { flex-direction: column; gap: 10px; }
  .site-footer-sep { margin: 18px 0; }
  .site-footer-bottom { font-size: 12.5px; line-height: 1.6; }

  /* Телефон: плашка не закрывает первый экран — мелкий текст и кнопка в одну строку с ним */
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 10px 10px 10px 14px; gap: 10px; font-size: 12px; line-height: 1.4; border-radius: 14px; }
  .cookie-bar .cookie-more { display: none; }
  .cookie-bar .cookie-short { display: inline; }
  .cookie-bar .l-btn { padding: 8px 14px; font-size: 13px; }
  .l-legal h1 { font-size: 28px; }
}

/* ——— Бот, Огонёк, сценарии ——— */
.l-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.l-split-text { display: flex; flex-direction: column; gap: 18px; }
.l-split-text h1, .l-split-text h2 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.l-sub { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.l-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.l-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.l-points b { display: block; color: var(--ink); font-size: 16px; }
.l-point-icon { width: 36px; height: 36px; border-radius: 12px; background: var(--primary-soft); color: var(--primary);
                display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.l-platforms { display: flex; gap: 10px; flex-wrap: wrap; }
.l-platform { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 8px 14px 8px 8px;
              border-radius: 999px; background: var(--bg); color: var(--ink); }
.l-platform span { width: 24px; height: 24px; border-radius: 999px; color: #fff; display: inline-flex; align-items: center;
                   justify-content: center; font-size: 12px; }
.l-platform.tg span { background: #229ED9; }
.l-platform.max span { background: #5B3FD1; }

.l-chat { background: #EEF1F6; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 10px;
          box-shadow: 0 2px 4px rgba(23,22,43,.04), 0 30px 60px rgba(23,22,43,.10); max-width: 460px; justify-self: center; width: 100%; box-sizing: border-box; }
.l-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; font-size: 15px; }
.l-chat-head span:last-child { font-size: 13px; color: var(--muted); }
.l-chat-avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.l-bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.l-bubble.me { align-self: flex-end; background: #DCF3C8; border-bottom-right-radius: 6px; }
.l-bubble.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.l-bubble.soft { background: var(--orange-soft); }
.l-bubble-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.l-bubble-btns span { font-size: 13px; font-weight: 700; color: #1F6FA3; background: #EAF4FB; border-radius: 10px; padding: 6px 10px; }

.l-stages { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.l-stage { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 12px 20px; display: flex; flex-direction: column;
           align-items: center; gap: 6px; box-shadow: var(--shadow); text-align: center; }
.l-stage b { font-family: var(--display); font-size: 18px; }
.l-stage > span:last-child { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; }
.l-stage-art { width: 100%; height: 118px; border-radius: 16px; background: #FFF6EC; display: flex; align-items: center; justify-content: center; }
.l-stage.stage-koster .l-stage-art { background: var(--orange-soft); }
.l-stage.stage-ochag .l-stage-art { background: var(--primary-soft); }
.l-stage.stage-secret { background: #1C1633; border-color: #1C1633; }
.l-stage.stage-secret b { color: #F4F2FF; }
.l-stage.stage-secret .l-stage-art { background: #2A2250; }
.l-stage.stage-secret > span:last-child { color: #3A2A00; background: #FFD24A; }
.l-streak-points { list-style: none; margin: 32px auto 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.l-streak-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.l-streak-points .icon { color: var(--green); flex-shrink: 0; margin-top: 3px; }

.l-scenarios { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.l-scenarios.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l-scenario { background: var(--bg); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink);
              border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.l-scenario:hover { border-color: var(--primary-border); transform: translateY(-2px); }
.l-scenario h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.l-scenario p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.l-more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--primary); }

.l-scenario-hero { padding-top: 64px; }
.l-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.l-back:hover { color: var(--primary); }
.l-pains { background: var(--bg); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
.l-pains-title { font-family: var(--display); font-size: 22px; font-weight: 700; }
.l-pain { background: #fff; border-radius: 16px; padding: 14px 18px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.l-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.l-how li { display: flex; gap: 16px; align-items: flex-start; background: #fff; box-shadow: var(--shadow); border-radius: 20px; padding: 20px; }
.l-how p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 1100px) {
  .l-split { grid-template-columns: 1fr; gap: 40px; }
  .l-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-scenarios, .l-scenarios.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .l-split-text h1, .l-split-text h2 { font-size: 32px; }
  .l-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-stages .l-stage:last-child { grid-column: 1 / -1; }
  .l-streak-points, .l-how { grid-template-columns: 1fr; }
  .l-scenarios, .l-scenarios.compact { grid-template-columns: 1fr; }
  .l-chat { padding: 16px; }
  .l-bubble { max-width: 90%; }
}

/* ——— Помощь ——— */
.l-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l-help-grid .l-scenario { background: #fff; box-shadow: var(--shadow); }
.l-help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.l-help-article { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.l-help-title { display: flex; align-items: center; gap: 14px; }
.l-help-title h1 { margin: 0; font-size: 40px; line-height: 1.1; }
.l-help-article h2 { margin: 18px 0 0; font-size: 22px; }
.l-help-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.l-help-steps li { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-left: 4px; }
.l-help-foot { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.l-help-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.l-help-nav span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding: 4px 10px 8px; }
.l-help-nav a { font-size: 14px; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; }
.l-help-nav a:hover { background: var(--bg); color: var(--ink); }
.l-help-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
@media (max-width: 1100px) {
  .l-help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-help-layout { grid-template-columns: 1fr; }
  .l-help-nav { position: static; }
}
@media (max-width: 700px) {
  .l-help-grid { grid-template-columns: 1fr; }
  .l-help-title h1 { font-size: 30px; }
}

.l-invite-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; background: var(--green-soft);
                   color: #04684F; font-size: 15px; text-align: center; }
.l-invite-banner .icon { flex-shrink: 0; }

/* ——— О проекте ——— */
.l-about { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.l-about p, .l-about li { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.l-about p b, .l-about li b { color: var(--ink); }
.l-about h2 { margin: 20px 0 0; font-size: 26px; line-height: 1.2; }
.l-about-head { display: flex; align-items: center; gap: 28px; margin-bottom: 16px; }
.l-about-head h1 { margin: 6px 0 8px; font-size: 40px; line-height: 1.12; letter-spacing: -.01em; }
.l-about-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none;
                 box-shadow: 0 0 0 6px var(--primary-soft); }
.l-about-by { font-size: 15px !important; color: var(--muted) !important; }
.l-about-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.l-about-note { margin-top: 8px; padding: 20px 24px; border-radius: 18px; background: var(--primary-soft);
                font-size: 16px; line-height: 1.6; color: var(--ink); }
.l-about-note a { color: var(--primary); font-weight: 700; }
.l-founder-section { padding: 48px 0; }
.l-founder { display: flex; align-items: center; gap: 24px; max-width: 860px; margin: 0 auto; padding: 28px 32px;
             background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
             color: inherit; text-decoration: none; transition: transform .15s; }
.l-founder:hover { transform: translateY(-2px); }
.l-founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.l-founder p { margin: 0 0 10px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.l-founder-by { font-size: 14px; color: var(--muted); }
.l-founder-by b { color: var(--primary); }
@media (max-width: 700px) {
  .l-about-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .l-about-head h1 { font-size: 30px; }
  .l-about-photo { width: 120px; height: 120px; }
  .l-founder { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .l-founder img { width: 72px; height: 72px; }
  .l-founder p { font-size: 16px; }
}
.l-about-quote { margin: 4px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--primary);
                 font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.l-about-quote span { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }

/* ——— Готовые списки покупок ——— */
.l-tpl-head { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.l-tpl-head h1 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.l-tpl-head form { margin: 0; }
.l-tpl-head .l-btn svg { margin-right: 6px; }
.l-print-btn { background: none; border: 0; cursor: pointer; font: inherit; }
.l-tpl-note { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.l-tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.l-tpl-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 24px 26px; }
.l-tpl-card h2 { margin: 0 0 10px; font-size: 20px; }
.l-tpl-card ul { list-style: none; margin: 0; padding: 0; }
.l-tpl-card li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; font-size: 15.5px; line-height: 1.4; }
.l-tpl-card li + li { border-top: 1px solid var(--line); }
.l-tpl-name { color: var(--ink); font-weight: 500; }
.l-tpl-qty { color: var(--muted); white-space: nowrap; text-align: right; }
.l-tpl-hint { grid-column: 1 / -1; font-size: 13px; color: var(--faint); }
.l-tpl-tips { margin-top: 28px; background: var(--primary-soft); border-radius: 22px; padding: 24px 28px; }
.l-tpl-tips h2 { margin: 0 0 10px; font-size: 20px; }
.l-tpl-tips ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.l-tpl-tips li { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 800px) {
  .l-tpl-grid { grid-template-columns: 1fr; }
  .l-tpl-head h1 { font-size: 32px; }
}
/* ——— Страница «Общий список покупок» (/spisok-pokupok/) ——— */
/* Два телефона: цикл 10 с — Лена печатает, строка появляется у обоих, Антон отмечает, у Лены «Антон купил». */
.sp-duo { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.sp-phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 250px; }
.sp-phone-b { margin-top: 46px; }
.sp-phone figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
.sp-screen { width: 100%; height: 466px; display: flex; flex-direction: column; background: var(--bg); border: 7px solid #1C1633; border-radius: 30px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(23,22,43,.16); }
.sp-bar { background: #1C1633; color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 6px; }
.sp-bar .icon { color: #FF8A4C; }
.sp-bar { flex: none; }
.sp-body { flex: 1; min-height: 0; overflow: hidden; padding-bottom: 8px; }
.sp-body > * { flex: none; }
.sp-title { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); margin: 12px 12px 8px; line-height: 1.1; }
.sp-tabs { display: flex; gap: 2px; margin: 0 12px; padding: 3px; background: #E9E6F5; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--muted); }
.sp-tabs span { flex: 1; text-align: center; padding: 5px 2px; border-radius: 999px; }
.sp-tabs .on { background: #fff; color: var(--ink); font-weight: 700; }
.sp-placeholder { color: var(--muted-2); font-size: 12px; white-space: nowrap; overflow: hidden; }
.sp-screen .kc-tabbar { margin-top: auto; }
.sp-input { margin: 12px 12px 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; height: 34px;
  display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--ink); overflow: hidden; }
.sp-typed { display: inline-block; white-space: nowrap; overflow: hidden; width: 0; animation: sp-type 10s steps(10) infinite; }
.sp-caret { display: inline-block; width: 1.5px; height: 15px; background: var(--primary); margin-left: 1px; animation: sp-caret 10s linear infinite; }
.sp-items { list-style: none; margin: 8px 12px 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.sp-items li { display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 13.5px; border-top: 1px solid var(--line); }
.sp-items li:first-child { border-top: 0; }
.sp-name { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sp-name small, .sp-ex-row small { color: var(--muted-2); font-size: .85em; margin-left: 3px; }
.sp-box { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.8px solid #C9C6DC; display: inline-flex; align-items: center;
  justify-content: center; color: #fff; }
.sp-box .icon { opacity: 0; }
.done .sp-box { background: var(--green); border-color: var(--green); }
.done .sp-box .icon { opacity: 1; }
.done .sp-name, .sp-ex-row.done > span:nth-child(2) { color: var(--muted-2); text-decoration: line-through; }
.sp-who { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--green); white-space: nowrap; opacity: 0; }
.sp-who-short { display: none; }
/* Место под новую строку занято с самого начала — телефон не меняет размер, строка только проявляется. */
.sp-new { opacity: 0; }
.sp-new-a { animation: sp-row-a 10s ease infinite; }
.sp-new-b { animation: sp-row-b 10s ease infinite; }
.sp-box-a, .sp-box-b { animation: sp-tick-a 10s ease infinite; }
.sp-box-b { animation-name: sp-tick-b; }
.sp-box-a .icon { animation: sp-icon-a 10s ease infinite; }
.sp-box-b .icon { animation: sp-icon-b 10s ease infinite; }
.sp-name-b { animation: sp-strike 10s ease infinite; }
.sp-who-a { animation: sp-who 10s ease infinite; }
@keyframes sp-type { 0%, 4% { width: 0; } 24%, 30% { width: 6.2em; } 31%, 100% { width: 0; } }
@keyframes sp-caret { 0%, 30% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes sp-row-a { 0%, 30% { opacity: 0; transform: translateY(-6px); } 34%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sp-row-b { 0%, 38% { opacity: 0; transform: translateY(-6px); } 42%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sp-tick-b { 0%, 58% { background: #fff; border-color: #C9C6DC; } 61%, 100% { background: var(--green); border-color: var(--green); } }
@keyframes sp-icon-b { 0%, 58% { opacity: 0; } 61%, 100% { opacity: 1; } }
@keyframes sp-strike { 0%, 58% { color: var(--ink); text-decoration: none; } 61%, 100% { color: var(--muted-2); text-decoration: line-through; } }
@keyframes sp-tick-a { 0%, 66% { background: #fff; border-color: #C9C6DC; } 69%, 100% { background: var(--green); border-color: var(--green); } }
@keyframes sp-icon-a { 0%, 66% { opacity: 0; } 69%, 100% { opacity: 1; } }
@keyframes sp-who { 0%, 66% { opacity: 0; } 70%, 94% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sp-typed, .sp-caret, .sp-new-a, .sp-new-b, .sp-box-a, .sp-box-b, .sp-box .icon, .sp-name-b, .sp-who-a { animation: none !important; }
  .sp-typed { width: auto; } .sp-caret { display: none; }
  .sp-new { opacity: 1; }
  .sp-box-a, .sp-box-b { background: var(--green); border-color: var(--green); } .sp-box-a .icon, .sp-box-b .icon { opacity: 1; }
  .sp-who-a { opacity: 1; } .sp-name-b { color: var(--muted-2); text-decoration: line-through; }
}

.sp-pains { padding: 40px 0; background: var(--bg); }
.sp-pains .wrap { display: flex; flex-direction: column; gap: 16px; }
.sp-pains-title { font-family: var(--display); font-size: 24px; font-weight: 700; }
.sp-pains-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sp-pains .l-pain { box-shadow: var(--shadow); }

.sp-example-wrap { align-items: center; }
.sp-note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.sp-example { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; max-width: 460px; width: 100%; justify-self: center; }
.sp-ex-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.sp-ex-head b { font-family: var(--display); font-size: 20px; }
.sp-ex-head span { font-size: 13px; color: var(--muted); }
.sp-ex-group { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin: 14px 0 4px; }
.sp-ex-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sp-ex-group + .sp-ex-row { border-top: 0; }
.sp-ex-who { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sp-ava { width: 20px; height: 20px; border-radius: 999px; color: #fff; font-style: normal; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.sp-ava.a { background: #3D5BD9; } .sp-ava.k { background: #C22A57; } .sp-ava.l { background: var(--green); }
.sp-ex-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.sp-ex-label { width: 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.sp-chip { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }

.sp-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-story { background: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sp-story h3 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 24px; }
.sp-story p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.sp-story b { color: var(--ink); }

.sp-compare-wrap { overflow-x: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.sp-compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.sp-compare th, .sp-compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.sp-compare thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.sp-compare tbody th { font-weight: 600; color: var(--ink); }
.sp-compare td { color: var(--ink-2); }
.sp-compare .us { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.sp-yes { display: inline-flex; align-items: center; gap: 4px; }
.sp-no { color: var(--muted-2); }

.sp-lists { background: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sp-lists-title { font-family: var(--display); font-size: 20px; font-weight: 700; }
.sp-lists-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-lists-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.sp-lists-links a:hover { border-color: var(--primary); color: var(--primary); }

.sp-price { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.sp-price h2 { margin: 0 0 10px; font-size: 32px; }
.sp-price p { margin: 0 0 6px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.sp-price .l-btn { flex: none; padding: 16px 26px; }

@media (max-width: 1100px) {
  .sp-duo { margin-top: 8px; }
}
@media (max-width: 700px) {
  .sp-duo { gap: 10px; }
  .sp-phone { width: calc(50% - 5px); max-width: 190px; }
  .sp-phone-b { margin-top: 34px; }
  .sp-screen { height: 360px; border-width: 5px; border-radius: 22px; }
  .sp-title { font-size: 16px; margin: 9px 8px 6px; }
  .sp-tabs { margin: 0 8px; font-size: 8px; }
  .sp-tabs span { padding: 4px 0; overflow: hidden; }
  .sp-placeholder { font-size: 10px; }
  .sp-screen .kc-tabbar { padding: 5px 2px 7px; }
  .sp-screen .kc-tabbar .icon { width: 14px; height: 14px; padding: 2px 6px; }
  .sp-screen .kc-tabbar em { display: none; }
  .sp-bar { font-size: 12px; padding: 9px 10px; }
  .sp-input { margin: 8px 8px 2px; height: 28px; font-size: 11.5px; padding: 0 9px; }
  .sp-items { margin: 6px 8px 0; border-radius: 12px; }
  .sp-items li { font-size: 11.5px; gap: 6px; padding: 8px 8px; }
  .sp-box { width: 15px; height: 15px; border-radius: 5px; }
  .sp-who { font-size: 10px; }
  .sp-who-long { display: none; }
  .sp-new-a small { display: none; }
  .sp-who-short { display: inline !important; }
  .sp-pains { padding: 28px 0; }
  .sp-pains-row, .sp-stories { grid-template-columns: 1fr; gap: 12px; }
  .sp-story { padding: 22px; }
  .sp-story h3 { font-size: 21px; }
  .sp-example { padding: 16px; }
  .sp-ex-row { font-size: 14px; flex-wrap: wrap; }
  .sp-compare { font-size: 13.5px; }
  .sp-compare { table-layout: fixed; font-size: 12.5px; }
  .sp-compare th, .sp-compare td { padding: 10px 7px; hyphens: manual; }
  .sp-compare thead th { font-size: 11.5px; }
  .sp-compare th:first-child { width: 31%; }
  .sp-price { flex-direction: column; align-items: stretch; padding: 24px; gap: 18px; }
  .sp-price h2 { font-size: 26px; }
  .sp-price p { font-size: 16px; }
}

/* ——— Страница «Семейный календарь» (/semeynyy-kalendar/) ——— */
/* Телефон как в приложении: шапка, экран, нижнее меню. Высота постоянная; цикл 10 с: собрание проявляется
   на оставленном месте, уведомление выезжает поверх экрана и уезжает. */
.kc-phone { width: 300px; justify-self: center; }
.kc-screen { position: relative; height: 600px; overflow: hidden; background: var(--bg); border: 8px solid #1C1633; border-radius: 36px;
  box-shadow: 0 30px 60px rgba(23,22,43,.18); display: flex; flex-direction: column; }
.kc-top { flex: none; background: #1C1633; color: #fff; display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  font-family: var(--display); font-size: 16px; }
.kc-top .icon { color: #FF8A4C; }
.kc-body { flex: 1; min-height: 0; overflow: hidden; padding: 14px 14px 0; display: flex; flex-direction: column; gap: 7px; }
.kc-body > * { flex: none; }   /* лента не сжимается, а уходит под нижнее меню, как в приложении */
.kc-title { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.kc-legend { display: flex; gap: 12px; font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.kc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.kc-legend i { width: 8px; height: 8px; border-radius: 99px; }
.kc-day { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.kc-day.today { color: var(--primary); }
.kc-ev { border-radius: 12px; padding: 9px 11px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-ev .t { font-weight: 500; }
.kc-task { background: #fff; border-radius: 12px; padding: 9px 11px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-task::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 99px; border: 1.6px solid #9A98B5; }
.kc-slot { min-height: 35px; border-radius: 12px; }
.kc-new { opacity: 0; animation: kc-new 10s ease infinite; }
.kc-notice { position: absolute; z-index: 2; left: 10px; right: 10px; top: 54px; display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,.97); border-radius: 16px; padding: 11px 12px; box-shadow: 0 12px 30px rgba(23,22,43,.22);
  font-size: 12.5px; line-height: 1.4; color: var(--ink-2); transform: translateY(-140%); opacity: 0; animation: kc-notice 10s ease infinite; }
.kc-notice b { display: block; color: var(--ink); font-size: 12px; }
.kc-notice-icon { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #1C1633; color: #FF8A4C; display: inline-flex;
  align-items: center; justify-content: center; }
.kc-tabbar { flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line);
  padding: 7px 4px 9px; }
.kc-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted-2); }
.kc-tabbar span .icon { padding: 3px 9px; border-radius: 10px; box-sizing: content-box; }
.kc-tabbar em { font-style: normal; font-size: 9.5px; font-weight: 600; }
.kc-tabbar .on { color: var(--primary); }
.kc-tabbar .on .icon { background: var(--primary-soft); }
@keyframes kc-new { 0%, 18% { opacity: 0; transform: translateY(-6px); } 24%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes kc-notice { 0%, 34% { transform: translateY(-140%); opacity: 0; } 40%, 74% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(-140%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kc-new { animation: none; opacity: 1; }
  .kc-notice { animation: none; transform: none; opacity: 1; }
}

.sp-stories.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kc-sync { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kc-sync-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.kc-sync-card h3 { margin: 0; font-size: 21px; }
.kc-sync-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.kc-sync-dir { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--pink);
  background: var(--pink-soft); border-radius: 999px; padding: 5px 11px; }
.kc-sync-card.plus { background: var(--primary-soft); box-shadow: none; }
.kc-sync-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kc-sync-card li { display: flex; gap: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.kc-sync-card li .icon { flex: none; margin-top: 3px; color: var(--primary); }

@media (max-width: 1100px) {
  .sp-stories.three, .kc-sync { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .kc-phone { width: 272px; margin: 8px auto 0; }
  .kc-screen { height: 540px; border-width: 7px; border-radius: 32px; }
}

/* ——— Главная: «Так выглядит главный экран» (dm-*), «Установите на телефон» (in-*) ——— */
.dm-wrap { align-items: center; }
.dm-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dm-points li { display: flex; gap: 14px; align-items: center; }
.dm-points p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.dm-points b { color: var(--ink); }
.dm-phone { width: 300px; justify-self: center; }
.dm-screen { height: 600px; }
.dm-body { flex: 1; min-height: 0; overflow: hidden; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.dm-body > * { flex: none; }
.dm-date { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.dm-hello { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 2px; }
.dm-quick { display: flex; align-items: center; height: 38px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 4px 0 12px;
  font-size: 12.5px; color: var(--ink); overflow: hidden; }
.dm-typed { display: inline-block; white-space: nowrap; overflow: hidden; width: 0; animation: dm-type 10s steps(24) infinite; }
.dm-caret { display: inline-block; width: 1.5px; height: 15px; background: var(--primary); margin-left: 1px; animation: dm-caret 10s linear infinite; }
.dm-add { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; }
.dm-hint { height: 16px; font-size: 11px; font-weight: 600; color: var(--green); padding-left: 12px; opacity: 0; animation: dm-hint 10s ease infinite; }
.dm-card { background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(23,22,43,.05); }
.dm-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.dm-card-head b { font-family: var(--display); font-size: 14.5px; }
.dm-card-head span { font-size: 11px; color: var(--muted-2); }
.dm-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; color: var(--ink); border-top: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; }
.dm-card-head + .dm-row { border-top: 0; }
.dm-row small { color: var(--muted-2); font-size: .9em; }
.dm-time { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--primary); }
.dm-circle { flex: none; width: 13px; height: 13px; border-radius: 99px; border: 1.6px solid #9A98B5; }
.dm-box { flex: none; width: 14px; height: 14px; border-radius: 5px; border: 1.6px solid #C9C6DC; }
.dm-new { opacity: 0; }
.dm-new-1 { animation: dm-row1 10s ease infinite; }
.dm-new-2 { animation: dm-row2 10s ease infinite; }
.dm-fire { display: flex; align-items: center; gap: 10px; background: #FFF4E5; }
.dm-fire-art { flex: none; display: flex; }
.dm-fire b { display: block; font-family: var(--display); font-size: 15px; }
.dm-fire small { font-size: 11px; color: var(--muted); }
@keyframes dm-type { 0%, 4% { width: 0; } 34%, 44% { width: 14.6em; } 45%, 100% { width: 0; } }
@keyframes dm-caret { 0%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes dm-hint { 0%, 20% { opacity: 0; } 26%, 44% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes dm-row1 { 0%, 45% { opacity: 0; transform: translateY(-5px); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dm-row2 { 0%, 49% { opacity: 0; transform: translateY(-5px); } 54%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .dm-typed, .dm-caret, .dm-hint, .dm-new-1, .dm-new-2 { animation: none; }
  .dm-typed { width: auto; } .dm-caret { display: none; } .dm-hint, .dm-new { opacity: 1; }
}

.in-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.in-card { background: var(--bg); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.in-card h3 { margin: 0; font-size: 22px; }
.in-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.in-card .l-btn { align-self: flex-start; margin-top: 6px; padding: 13px 22px; }

@media (max-width: 1100px) { .in-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .dm-phone { width: 272px; margin: 8px auto 0; }
  .dm-screen { height: 592px; }
  .dm-points p { font-size: 15px; }
  .in-card { padding: 22px; }
}

/* ——— Страница «Домашние дела» (/domashnie-dela/): экран «Задачи», список дел, советы ——— */
.dd-tabs { margin: 0 0 4px; font-size: 11.5px; }
.dd-task { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; padding: 9px 10px; font-size: 13px; color: var(--ink); }
.dd-check { flex: none; width: 17px; height: 17px; border-radius: 99px; border: 1.8px solid #9A98B5; display: inline-flex; align-items: center;
  justify-content: center; color: #fff; }
.dd-check .icon { opacity: 0; }
.dd-name { flex: 1; min-width: 0; display: flex; flex-direction: column; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-name small { font-size: 10.5px; color: var(--muted-2); }
.dd-task .sp-ava { flex: none; }
.sp-ava.m { background: #04886B; }
.dd-check-anim { animation: dd-check 10s ease infinite; }
.dd-check-anim .icon { animation: dd-icon 10s ease infinite; }
.dd-name-anim { animation: dd-strike 10s ease infinite; }
.dd-toast { top: 54px; animation-name: dd-toast; }
@keyframes dd-check { 0%, 24% { background: #fff; border-color: #9A98B5; } 28%, 92% { background: var(--green); border-color: var(--green); } 96%, 100% { background: #fff; border-color: #9A98B5; } }
@keyframes dd-icon { 0%, 24% { opacity: 0; } 28%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes dd-strike { 0%, 24% { color: var(--ink); text-decoration: none; } 28%, 92% { color: var(--muted-2); text-decoration: line-through; } 96%, 100% { color: var(--ink); text-decoration: none; } }
@keyframes dd-toast { 0%, 30% { transform: translateY(-140%); opacity: 0; } 36%, 72% { transform: none; opacity: 1; } 78%, 100% { transform: translateY(-140%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .dd-check-anim, .dd-check-anim .icon, .dd-name-anim, .dd-toast { animation: none; }
  .dd-check-anim { background: var(--green); border-color: var(--green); } .dd-check-anim .icon { opacity: 1; }
  .dd-name-anim { color: var(--muted-2); text-decoration: line-through; }
}

.dd-chores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dd-col { background: var(--bg); border-radius: 22px; padding: 22px; }
.dd-col h3 { margin: 0 0 12px; font-size: 19px; }
.dd-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dd-col li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.dd-col li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 11px; border-radius: 4px; border: 1.8px solid #C9C6DC; }
.dd-chores-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.dd-chores-actions .l-btn { padding: 14px 22px; }
.dd-chores-actions + .sp-note { margin-top: 12px; }

.dd-tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dd-tips li { display: flex; gap: 16px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.dd-tips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dd-tips .l-step-num { flex: none; width: 40px; height: 40px; font-size: 18px; }
.dd-tips h3 { margin: 0 0 6px; font-size: 19px; }
.dd-tips p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.dd-ours { margin-top: 10px !important; display: flex; gap: 7px; align-items: flex-start; background: var(--primary-soft); color: var(--ink) !important;
  border-radius: 12px; padding: 8px 12px; font-size: 14.5px !important; }
.dd-ours .icon { flex: none; margin-top: 3px; color: var(--primary); }

@media (max-width: 1100px) {
  .dd-chores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-tips { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .dd-chores { grid-template-columns: 1fr; gap: 12px; }
  .dd-col { padding: 18px; }
  .dd-chores-actions { flex-direction: column; align-items: stretch; }
  .dd-chores-actions .l-btn { white-space: normal; text-align: center; }
  .dd-tips li { padding: 18px; gap: 12px; }
}

/* ——— «Смотрите также» на посадочных ——— */
.rl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rl-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid transparent; border-radius: 20px; padding: 18px 20px;
  color: var(--ink); text-decoration: none; transition: border-color .15s; }
.rl-card:hover { border-color: var(--primary-border); }
.rl-card > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.rl-card b { font-size: 16.5px; color: var(--ink); }
@media (max-width: 700px) { .rl-grid { grid-template-columns: 1fr; } .rl-card { padding: 16px; } }

/* ——— Шаблоны дел: блоки текста, пример недели, конструктор графика уборки (pl-*) ——— */
.tpl-main .wrap { display: flex; flex-direction: column; gap: 22px; }
.tpl-block { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; }
.tpl-block h2, .tpl-sections-title { margin: 0 0 10px; font-size: 22px; }
.tpl-sections-title { margin: 8px 0 -6px; font-size: 26px; }
.tpl-block p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.tpl-block p:last-child { margin-bottom: 0; }
.tpl-block ul, .tpl-block ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.tpl-block li { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.tpl-block li b { color: var(--ink); }
.tpl-note { font-size: 14px !important; color: var(--muted) !important; margin-top: 10px !important; }
.tpl-check { display: none; }
.tpl-week-wrap { overflow-x: auto; }
.tpl-week { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.tpl-week th { padding: 8px 6px; background: var(--primary-soft); color: var(--primary); font-size: 13px; text-align: left; }
.tpl-week th:first-child { border-top-left-radius: 12px; } .tpl-week th:last-child { border-top-right-radius: 12px; }
.tpl-week td { vertical-align: top; padding: 8px 6px; border: 1px solid var(--line); border-top: 0; line-height: 1.4; color: var(--ink); }
.tpl-week-cell + .tpl-week-cell { margin-top: 6px; }
.tpl-rest { color: var(--muted-2); font-size: 13px; }

.tpl-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.tpl-hero-grid .l-tpl-head { max-width: none; }
@media (max-width: 1100px) { .tpl-hero-grid { grid-template-columns: minmax(0, 1fr); } .tpl-hero-grid .kc-phone { margin: 4px auto 0; } }

/* Конструктор графика уборки — вариант Б (макет на холсте «Конструктор графика уборки — макет») */
.pl { display: flex; flex-direction: column; gap: 18px; }
.pl-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-presets > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.pl-grid { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 26px; align-items: start; }
.pl-steps { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pl-card { background: var(--bg); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pl-card h3 { margin: 0; font-size: 18px; }
.pl-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pl-card-head span { font-size: 13px; color: var(--muted); }
.pl-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.pl-sr { position: absolute; left: -9999px; }
.pl-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
summary.pl-label { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
summary.pl-label::-webkit-details-marker { display: none; }
summary.pl-label::after { content: "▾"; letter-spacing: 0; }
details[open] > summary.pl-label::after { content: "▴"; }
.pl-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.pl-pills, .pl-days { display: flex; flex-wrap: wrap; gap: 7px; }
.pl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--input); background: #fff;
  font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .12s, border-color .12s; }
.pl-pill small { font-size: 12px; color: var(--muted-2); }
.pl-pill:hover { border-color: var(--primary-border); }
.pl-pill.on { background: #FFF1E8; border-color: var(--primary); color: var(--ink); font-weight: 600; }
.pl-pill.on small { color: #A85A2C; }
.pl-pill:disabled { opacity: .45; cursor: not-allowed; }
.pl-pill-x { color: var(--muted-2); margin-left: 2px; }
.pl-custom { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-custom input { flex: 1 1 200px; min-width: 0; border: 1px solid var(--input); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 14.5px; background: #fff; }
.pl-custom select { border: 1px solid var(--input); border-radius: 999px; padding: 9px 12px; font: inherit; font-size: 13.5px; background: #fff; color: var(--ink-2); }
.pl-custom .l-btn { padding: 9px 16px; font-size: 14px; }

.pl-people { display: flex; gap: 12px; flex-wrap: wrap; }
.pl-ava-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 66px; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.pl-ava { width: 52px; height: 52px; border-radius: 999px; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 20px; }
.pl-ava.sm { width: 24px; height: 24px; font-size: 11px; }
.pl-ava-btn.on .pl-ava { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); }
.pl-ava-name { font-size: 13px; font-weight: 600; color: var(--ink); max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-kid-badge { margin-top: -3px; font-size: 10.5px; font-weight: 700; color: #04886B; background: #DFFBF3; border-radius: 999px; padding: 1px 7px; }
.pl-ava-add { width: 52px; height: 52px; border-radius: 999px; border: 2px dashed #C9C6DC; background: #fff; color: var(--muted); font-size: 24px; cursor: pointer; }
.pl-person-edit { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pl-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.pl-field input { border: 1px solid var(--input); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink); }
.pl-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; cursor: pointer; }
.pl-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pl-switch i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 99px; background: #DDDAEB; transition: background .15s; }
.pl-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; transition: left .15s; }
.pl-switch input:checked + i { background: #04886B; }
.pl-switch input:checked + i::after { left: 21px; }
.pl-switch input:focus-visible + i { box-shadow: 0 0 0 3px var(--primary-ring); }
.pl-link-danger { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: #B4234C; cursor: pointer; }
.pl-link { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }

.pl-result { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px;
  box-shadow: 0 2px 4px rgba(23,22,43,.04), 0 24px 50px rgba(23,22,43,.10); display: flex; flex-direction: column; gap: 16px; }
.pl-result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-result h3 { margin: 0; font-size: 22px; }
.pl-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.pl-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pl-legend i { width: 9px; height: 9px; border-radius: 99px; }
.pl-print-only { display: none; font-size: 12px; color: var(--muted); }
.pl-tabs { display: none; }
.pl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pl-day { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-day-head b { font-size: 13px; }
.pl-full { display: none; }
.pl-bar-line { height: 5px; border-radius: 99px; background: #F0EEF8; overflow: hidden; }
.pl-bar-line i { display: block; height: 100%; border-radius: 99px; background: #F5A97F; }
.pl-day-min { font-size: 11px; color: var(--muted-2); }
.pl-item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; border-radius: 12px; border: 0; background: #F7F6FC;
  font: inherit; font-size: 12.5px; line-height: 1.3; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow .12s, background .12s; }
.pl-item:hover { background: #FFF6F0; box-shadow: 0 0 0 1.5px var(--primary-border); }
.pl-item small { color: var(--muted-2); }
.pl-box { display: none; }
.pl-who { display: inline-block; font-size: 11px; font-weight: 700; color: var(--c); background: var(--s); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.pl-rest { flex: 1; min-height: 90px; border-radius: 12px; border: 1.5px dashed #DDDAEB; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted-2); text-align: center; padding: 6px; }
.pl-day.off .pl-day-head b { color: var(--muted-2); }
.pl-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.pl-bottom > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pl-item-row { flex-direction: row; align-items: center; gap: 6px; }
.pl-balance { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 9px 10px; font-size: 13px; margin-top: 8px; }
.pl-bal-name { font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-bal-bar { height: 10px; border-radius: 99px; background: #F0EEF8; overflow: hidden; }
.pl-bal-bar i { display: block; height: 100%; border-radius: 99px; }
.pl-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pl-actions form { margin: 0; }
.pl-actions .l-btn { padding: 13px 22px; }

.pl-sheet { position: absolute; z-index: 30; width: 310px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(23,22,43,.18); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pl-sheet[hidden], .pl-backdrop[hidden], .pl-bar[hidden], .pl-person-edit[hidden] { display: none; }
.pl-grip { display: none; }
.pl-sheet-head { display: flex; align-items: baseline; gap: 8px; }
.pl-sheet-head b { font-family: var(--display); font-size: 16px; flex: 1; min-width: 0; }
.pl-sheet-head span { font-size: 13px; color: var(--muted); }
.pl-x { border: 0; background: none; font-size: 20px; color: var(--muted-2); cursor: pointer; padding: 0 2px; }
.pl-sheet-who { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-pill-ava { padding: 5px 12px 5px 5px; }
.pl-sheet-why { font-size: 12px; color: var(--muted); }
.pl-sheet-why:empty { display: none; }
.pl-sheet-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pl-sheet-days .pl-pill { justify-content: center; padding: 7px 0; }
.pl-sheet-days[hidden], #pl-sheet-day-label[hidden] { display: none; }
.pl-sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pl-sheet-actions .l-btn { padding: 10px 20px; }
.pl-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(23,22,43,.38); }
.pl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px 14px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23,22,43,.08); display: flex; flex-direction: column; gap: 6px; }
.pl-bar .l-btn { width: 100%; justify-content: center; padding: 15px; }
.pl-bar span { text-align: center; font-size: 12.5px; color: var(--muted); }

@media (max-width: 1100px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .tpl-block { padding: 20px; }
  .tpl-block h2 { font-size: 20px; }
  .tpl-sections-title { font-size: 22px; }
  .pl-card { padding: 16px; }
  .pl-presets { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .pl-presets > span { display: none; }
  .pl-presets .pl-pill { flex: none; }
  .pl-result { padding: 16px; border: 0; box-shadow: none; padding: 0; }
  .pl-legend { display: none; }
  .pl-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .pl-tab { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 0; border: 0; border-radius: 14px; background: none;
    font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
  .pl-tab i { height: 4px; border-radius: 99px; background: #F5A97F; }
  .pl-tab.off { color: var(--muted-2); } .pl-tab.off i { background: #ECEAF5; }
  .pl-tab.on { background: #FFF1E8; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
  .pl-tab.on i { background: var(--primary); }
  .pl-week { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .pl-week::-webkit-scrollbar { display: none; }
  .pl-day { flex: none; width: 82%; scroll-snap-align: start; background: var(--bg); border-radius: 22px; padding: 16px; gap: 10px; }
  .pl-day-head b { display: none; }
  .pl-full { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; }
  .pl-item { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; font-size: 15px; }
  .pl-item .pl-who { font-size: 12px; padding: 3px 10px; }
  .pl-item-row { padding: 10px 12px; font-size: 14px; }
  .pl-bottom { grid-template-columns: minmax(0, 1fr); }
  .pl-actions { flex-direction: column; align-items: stretch; }
  .pl-actions .l-btn { width: 100%; justify-content: center; }
  .pl-sheet { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; z-index: 70; border-radius: 26px 26px 0 0;
    padding: 10px 16px 22px; gap: 12px; box-shadow: 0 -12px 40px rgba(23,22,43,.25); }
  .pl-grip { display: block; align-self: center; width: 40px; height: 4px; border-radius: 99px; background: #DDDAEB; }
  .pl-sheet-head b { font-size: 20px; }
  .pl-sheet-days .pl-pill { padding: 10px 0; }
  .pl-sheet-actions .l-btn { flex: 1; justify-content: center; padding: 14px; }
}

@media print {
  .pl-steps, .pl-presets, #konstruktor .l-head, .pl-bar, .pl-sheet, .pl-backdrop { display: none !important; }
  body:not(.print-plan) #konstruktor { display: none !important; }
  body.print-plan * { visibility: hidden; }
  body.print-plan #pl-result, body.print-plan #pl-result * { visibility: visible; }
  body.print-plan #pl-result { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
  .pl-print-only { display: inline; }
  .pl-tabs { display: none !important; }
  .pl-week { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; overflow: visible !important; margin: 0 !important; }
  .pl-day { width: auto !important; padding: 0 !important; background: none !important; }
  .pl-full { display: none !important; } .pl-day-head b { display: inline !important; }
  .pl-item { flex-direction: column !important; align-items: flex-start !important; background: none !important; border: 1px solid #ccc !important; padding: 5px !important; font-size: 10.5px !important; }
  .pl-box, .tpl-check { display: inline-block; flex: none; width: 10px; height: 10px; border: 1.5px solid #888; border-radius: 3px; }
  .tpl-check { margin-right: 6px; vertical-align: -1px; }
  .tpl-block { border: 0; padding: 8px 0; break-inside: avoid; }
  .tpl-week { font-size: 11px; }
  .l-tpl-tips, .l-tpl-note, .l-back { display: none !important; }
}

/* ——— Первый экран: телефонная версия (короткий текст, экран приложения, вход через Яндекс, кнопка внизу) ——— */
.l-lead-short, .l-hero-yandex, .l-hero-legal, .l-sticky-cta { display: none; }
.l-btn-yandex { width: 100%; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); gap: 10px; }
.l-btn-yandex:hover { border-color: var(--ink); }
.l-ya-mark { width: 24px; height: 24px; border-radius: 999px; background: #FC3F1D; color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.l-hero-legal { font-size: 12px; line-height: 1.45; color: var(--muted); text-align: center; }
.l-hero-legal a { color: inherit; text-decoration: underline; }
@media (max-width: 700px) {
  .l-hero { padding: 24px 0 36px; }
  .l-hero-text { gap: 16px; }
  .l-eyebrow-pill { display: block; box-sizing: border-box; font-size: 12px; letter-spacing: .02em; padding: 5px 10px; line-height: 1.35;
    max-width: 100%; }
  .l-hero h1 { font-size: 36px; }
  .l-lead { font-size: 16.5px; line-height: 1.5; }
  .l-lead-long { display: none; }
  .l-lead-short { display: inline; }
  .l-hero-actions { gap: 10px; }
  .l-hero-actions .l-btn-xl { padding: 17px; }
  .l-hero-yandex { display: block; margin: 0; }
  .l-hero-yandex .l-btn { padding: 15px; }
  .l-hero-actions .l-link-plain { padding: 6px 12px; }
  .l-hero-legal { display: block; margin-top: -8px; }
  /* Экран приложения в рамке телефона вместо окна браузера */
  .l-hero-visual { display: flex; justify-content: center; padding: 8px 0 12px; }
  .l-window { max-width: 260px; border-radius: 34px; border: 7px solid #1C1633; box-shadow: 0 24px 50px rgba(23,22,43,.18); }
  .l-window-bar { display: none; }
  .l-hero-mascot { left: 0; bottom: -6px; }
  .l-hero-mascot .mascot { width: 104px; }
  .l-sticky-cta:not([hidden]) { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; }
  .l-sticky-cta .l-btn { width: 100%; padding: 16px; box-shadow: 0 10px 30px rgba(194, 67, 10, .35); }
}

@media print {
  .site-header, .site-footer, .l-noprint, .cookie-bar { display: none !important; }
  .l-section { padding: 12px 0 !important; }
  .l-tpl-card { box-shadow: none; break-inside: avoid; }
  .l-tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ——— Страница «Приложение»: шаги установки ——— */
.l-btn[hidden] { display: none; }
.l-install { background: #fff; box-shadow: var(--shadow); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.l-install h3 { margin: 0; font-size: 22px; font-weight: 700; }
.l-install ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ——— Страница «Для пары» (/dlya-pary/, cp-*) ——— */
/* Два телефона с экраном «Календарь», размер постоянный. Цикл 10 с: событие проявляется у Димы на оставленном месте,
   следом у Ани, и у неё выезжает уведомление. */
.cp-duo { min-width: 0; }   /* длинные строки событий не раздвигают колонку на телефоне */
.cp-screen { position: relative; }
.cp-body { padding: 12px 12px 0; gap: 6px; }
.cp-body .kc-title { font-size: 21px; }
.cp-body .kc-ev { padding: 8px 10px; font-size: 12.5px; }
.cp-body .kc-slot { min-height: 33px; }
.cp-notice { top: 48px; animation-name: cp-notice; }
.cp-new-a { opacity: 0; animation: cp-new-a 10s ease infinite; }
.cp-new-b { opacity: 0; animation: cp-new-b 10s ease infinite; }
@keyframes cp-new-a { 0%, 14% { opacity: 0; transform: translateY(-6px); } 20%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes cp-new-b { 0%, 28% { opacity: 0; transform: translateY(-6px); } 34%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes cp-notice { 0%, 30% { transform: translateY(-140%); opacity: 0; } 36%, 74% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(-140%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cp-new-a, .cp-new-b { animation: none; opacity: 1; }
  .cp-notice { animation: none; transform: none; opacity: 1; }
}
.cp-pains-note { margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 760px; }
.cp-how li p b { color: var(--ink); }

.cp-list { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 28px 30px; }
.cp-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cp-list-head h3 { margin: 0; font-size: 22px; }
.cp-list-head span { font-size: 14.5px; color: var(--muted); }
.cp-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cp-list-col { background: var(--bg); border-radius: 18px; padding: 16px 18px; }
.cp-list-col h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.cp-list-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cp-list-col li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.cp-list-col li::before { content: ""; position: absolute; left: 1px; top: 4px; width: 11px; height: 11px; border-radius: 4px; border: 1.8px solid #C9C6DC; }
.cp-list-col small { color: var(--muted-2); font-size: .88em; }
.cp-list .dd-chores-actions { margin-top: 20px; }
.cp-list form { margin: 0; }

.cp-split { align-items: center; }
.cp-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.cp-split .l-btn { align-self: flex-start; }
.cp-balance { background: var(--bg); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; max-width: 460px; width: 100%; justify-self: center; }
.cp-balance-title { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.cp-balance-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 14px; }
.cp-balance-row i { height: 10px; border-radius: 99px; background: #E9E6F5; overflow: hidden; }
.cp-balance-row em { display: block; height: 100%; border-radius: 99px; }
.cp-balance-row span { font-weight: 700; text-align: right; }
.cp-balance-tasks { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.cp-balance-tasks .dd-task { font-size: 14px; padding: 11px 12px; }
.sp-ava.cp-ava-a { background: #C22A57; } .sp-ava.cp-ava-d { background: #5B3FD1; }
.cp-compare th:first-child { width: 26%; }

@media (max-width: 1100px) {
  .cp-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cp-body { padding: 8px 8px 0; gap: 4px; }
  .cp-body .kc-title { font-size: 16px; }
  .cp-body .kc-legend { font-size: 10px; gap: 8px; margin-bottom: 0; }
  .cp-body .kc-day { font-size: 8.5px; margin-top: 3px; }
  .cp-body .kc-ev { padding: 6px 7px; font-size: 10.5px; border-radius: 9px; }
  .cp-body .kc-slot { min-height: 26px; }
  .cp-extra { display: none; }
  .cp-notice { top: 38px; left: 6px; right: 6px; padding: 7px 8px; gap: 6px; font-size: 10px; border-radius: 12px; }
  .cp-notice b { font-size: 10px; }
  .cp-notice .kc-notice-icon { width: 20px; height: 20px; border-radius: 6px; }
  .cp-pains-note { font-size: 16px; }
  .cp-list { padding: 20px 16px; border-radius: 22px; }
  /* на телефоне — группа одной строкой через запятую, чтобы список не растягивался на три экрана */
  .cp-list-grid { grid-template-columns: 1fr; gap: 8px; }
  .cp-list-col { padding: 12px 14px; }
  .cp-list-col h4 { margin-bottom: 4px; }
  .cp-list-col ul { display: block; }
  .cp-list-col li { display: inline; padding-left: 0; font-size: 14.5px; }
  .cp-list-col li::before { content: none; }
  .cp-list-col li:not(:last-child)::after { content: ", "; }
  .cp-text { font-size: 16px; }
  .cp-list form .l-btn { width: 100%; }
  .cp-split .l-btn { align-self: stretch; text-align: center; white-space: normal; }
  .cp-balance { padding: 18px; border-radius: 22px; }
  .cp-compare th:first-child { width: 24%; }
}

/* ——— Блог (/blog/, bl-*) ——— */
.bl-preview { background: #FFF1DC; color: #7A4A00; text-align: center; padding: 10px 16px; font-size: 14.5px; }
.bl-preview a { color: inherit; font-weight: 700; }
.bl-crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.bl-crumbs a { color: var(--muted); }
.bl-crumbs a:hover { color: var(--primary); }
.bl-article { background: #fff; padding-bottom: 72px; }
.bl-head { max-width: 920px; padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.bl-head h1 { margin: 0; font-size: 46px; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.bl-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--muted); }
.bl-meta a { color: var(--ink-2); font-weight: 600; }
.bl-cover { max-width: 1040px; margin: 28px auto 0; }
.bl-cover img { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--bg); }
.bl-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; margin-top: 40px; }
.bl-toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.bl-toc b { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.bl-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; border-left: 2px solid var(--line); }
.bl-toc a { display: block; padding-left: 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); line-height: 1.4; }
.bl-toc a:hover { color: var(--primary); border-left-color: var(--primary); }
.bl-toc-m { display: none; }
.bl-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.bl-main h2 { margin: 0; font-size: 30px; line-height: 1.2; scroll-margin-top: 90px; }
.bl-about { display: flex; flex-direction: column; gap: 14px; }
.bl-about h2, .bl-key h2 { font-size: 22px; }
.bl-about p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--ink); }
.bl-key { background: var(--primary-soft); border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.bl-key ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bl-key li { display: flex; gap: 10px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.bl-key li .icon { flex: none; margin-top: 5px; color: var(--primary); }
.bl-body { font-size: 18px; line-height: 1.7; color: var(--ink); }
.bl-body > * { margin: 0 0 20px; }
.bl-body > *:last-child { margin-bottom: 0; }
.bl-body h2 { margin: 44px 0 16px; }
.bl-body h3 { margin: 30px 0 12px; font-size: 22px; line-height: 1.3; scroll-margin-top: 90px; }
.bl-body > h2:first-child { margin-top: 0; }
.bl-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.bl-body ul, .bl-body ol { padding-left: 26px; }
.bl-body li { margin-bottom: 8px; }
.bl-body li::marker { color: var(--primary); font-weight: 700; }
.bl-body blockquote { margin: 0 0 20px; padding: 6px 0 6px 22px; border-left: 4px solid var(--primary); font-size: 20px; font-style: italic; color: var(--ink-2); }
.bl-body blockquote p { margin: 0; }
.bl-figure img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--bg); }
.bl-figure figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); text-align: center; }
.bl-callout { border-radius: 20px; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.bl-callout b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.bl-callout p { margin: 0; font-size: 17px; line-height: 1.6; }
.bl-tip { background: #DFFBF3; } .bl-tip b { color: #04694F; }
.bl-case { background: #EFEBFF; } .bl-case b { color: #4A2FBF; }
.bl-warn { background: #FFF1DC; } .bl-warn b { color: #8A4A00; }
.bl-table { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
.bl-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.bl-table th { background: var(--bg); text-align: left; font-weight: 700; }
.bl-table th, .bl-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bl-table tr:last-child td { border-bottom: 0; }
.bl-check { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 4px; }
.bl-check li { margin: 0; }
.bl-check label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 14px; background: var(--bg); cursor: pointer; }
.bl-check input { flex: none; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--green); }
.bl-check input:checked + span { color: var(--muted-2); text-decoration: line-through; }
.bl-button { text-align: center; }
.bl-body .bl-button a { color: #fff; text-decoration: none; }
.bl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1C1633; }
.bl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bl-faq { display: flex; flex-direction: column; gap: 10px; }
.bl-faq h2 { margin-bottom: 6px; }
.bl-faq details { background: var(--bg); border-radius: 18px; padding: 16px 20px; }
.bl-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; line-height: 1.45; }
.bl-faq details p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.bl-cta { display: flex; gap: 22px; align-items: center; background: #1C1633; color: #fff; border-radius: 28px; padding: 26px 28px; }
.bl-cta-icon { flex: none; }
.bl-cta-text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bl-cta-text b { font-family: var(--display); font-size: 23px; line-height: 1.2; }
.bl-cta-text p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.bl-subscribe { background: var(--bg); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.bl-subscribe h2 { font-size: 24px; }
.bl-subscribe > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.bl-subscribe form { display: flex; flex-direction: column; gap: 12px; }
.bl-sub-row { display: flex; gap: 10px; }
.bl-sub-row input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 13px 18px; font: inherit; font-size: 16px; background: #fff; }
.bl-sub-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.bl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.bl-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }
.bl-consent a { color: var(--ink-2); text-decoration: underline; }
.bl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bl-msg { margin: 0; font-weight: 600; font-size: 15px; color: #04694F; }
.bl-msg.error { color: var(--pink); }
.bl-index-head .wrap { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.bl-index-head h1 { margin: 0; font-size: 48px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s; }
.bl-card:hover { transform: translateY(-2px); }
.bl-card-img { aspect-ratio: 16 / 9; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-card-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.bl-card-text b { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.bl-card-text > span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.bl-card-text small { font-size: 13px; color: var(--muted-2); }
.bl-related .bl-card { background: var(--bg); box-shadow: none; }
.bl-pages { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 30px; font-size: 15px; }
.bl-pages a { font-weight: 700; color: var(--primary); }
.bl-empty { font-size: 18px; color: var(--muted); text-align: center; padding: 40px 0; }
@media (max-width: 1100px) {
  .bl-layout { grid-template-columns: minmax(0, 720px); }
  .bl-toc { display: none; }
  .bl-toc-m { display: block; background: var(--bg); border-radius: 18px; padding: 14px 18px; }
  .bl-toc-m summary { cursor: pointer; font-weight: 700; }
  .bl-toc-m ol { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 7px; font-size: 16px; }
  .bl-toc-m a { color: var(--ink-2); }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .bl-head { padding-top: 24px; gap: 12px; }
  .bl-head h1 { font-size: 31px; }
  .bl-meta { font-size: 13.5px; gap: 4px 14px; }
  .bl-cover { margin-top: 20px; padding: 0; }
  .bl-cover img { border-radius: 0; }
  .bl-layout { margin-top: 26px; }
  .bl-main { gap: 26px; }
  .bl-main h2 { font-size: 25px; }
  .bl-about p { font-size: 17.5px; }
  .bl-key { padding: 18px; border-radius: 20px; }
  .bl-key li { font-size: 16px; }
  .bl-body { font-size: 17px; }
  .bl-body h3 { font-size: 20px; }
  .bl-table table { font-size: 14.5px; }
  .bl-table th, .bl-table td { padding: 10px; }
  .bl-cta { flex-direction: column; align-items: flex-start; padding: 22px; gap: 14px; }
  .bl-cta-icon { display: none; }
  .bl-cta-text .l-btn { align-self: stretch; text-align: center; }
  .bl-subscribe { padding: 20px; border-radius: 22px; }
  .bl-sub-row { flex-direction: column; }
  .bl-index-head h1 { font-size: 34px; }
  .bl-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ——— Окно «Что вас остановило?» (ex-*, templates/stats/_exit.html) ——— */
.ex-open, .ex-open body { overflow: hidden; }
.ex-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ex-wrap[hidden] { display: none; }
.ex-backdrop { position: absolute; inset: 0; background: rgba(23, 22, 43, .45); }
.ex-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px;
  box-shadow: 0 30px 80px rgba(23, 22, 43, .3); padding: 30px 30px 26px; }
.ex-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer; border-radius: 50%; }
.ex-x:hover { background: var(--bg); }
.ex-card h2 { margin: 0 0 8px; font-size: 26px; padding-right: 36px; }
.ex-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ex-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ex-reasons button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 15px;
  color: var(--ink); cursor: pointer; }
.ex-reasons button:hover { border-color: var(--primary-border); }
.ex-reasons button[aria-checked="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); font-weight: 700; }
.ex-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.ex-label span { font-weight: 500; color: var(--muted-2); }
.ex-card textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px; font: inherit;
  font-size: 15px; resize: vertical; }
.ex-card textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ex-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ex-actions .l-btn[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.ex-skip { border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; padding: 8px; }
.ex-thanks p { margin-bottom: 0; }
@media (max-width: 700px) {
  .ex-wrap { align-items: flex-end; padding: 0; }
  .ex-card { border-radius: 26px 26px 0 0; padding: 26px 18px 22px; max-height: 92vh; }
  .ex-card h2 { font-size: 22px; }
  .ex-reasons button { font-size: 14px; padding: 9px 12px; }
  .ex-actions { flex-direction: column-reverse; align-items: stretch; }
  .ex-actions .l-btn { width: 100%; }
}

/* Готовые списки: меню, «когда что покупать», «смотрите также» (необязательные блоки) */
.l-tpl-also { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15.5px; }
.l-tpl-also a { color: var(--primary); font-weight: 600; }
.l-tpl-menu { margin-bottom: 22px; display: flex; flex-direction: column; gap: 14px; }
.l-tpl-menu h2 { margin: 0; font-size: 26px; }
.l-tpl-menu .l-tpl-sub { margin-top: 14px; }
.l-tpl-table { overflow-x: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.l-tpl-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.l-tpl-table th { text-align: left; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.l-tpl-table th, .l-tpl-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.l-tpl-table tr:last-child td { border-bottom: 0; }
.l-tpl-table td:first-child { font-weight: 700; white-space: nowrap; }
.l-tpl-when { margin-top: 28px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 24px 28px; }
.l-tpl-when h2 { margin: 0 0 12px; font-size: 20px; }
.l-tpl-when ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.l-tpl-when li { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.l-tpl-when li b { color: var(--ink); margin-right: 6px; }
@media (max-width: 700px) {
  .l-tpl-menu h2 { font-size: 22px; }
  .l-tpl-table table { font-size: 14.5px; }
  .l-tpl-table th, .l-tpl-table td { padding: 10px 12px; }
  .l-tpl-table td:first-child { white-space: normal; width: 38%; }
  .l-tpl-when { padding: 18px; }
}
@media print {
  .l-tpl-table, .l-tpl-when { box-shadow: none; border: 1px solid #ddd; }
}

/* Калькулятор режима дня ребёнка (templates/blog/tools/rezhim.html) — внутри статьи блога */
.rz { margin: 8px 0 28px; background: #FFF6EF; border-radius: 26px; padding: 26px 28px; display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.5; }
.rz-head h3 { margin: 6px 0 6px; font-size: 24px; line-height: 1.25; }
.rz-head p { margin: 0; color: var(--ink-2); }
.rz-badge { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.rz-form { display: flex; flex-direction: column; gap: 14px; }
.rz-ages { border: 0; margin: 0; padding: 0; min-width: 0; }
.rz-ages legend, .rz-field { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.rz-ages legend { margin-bottom: 8px; padding: 0; }
.rz-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rz-pill { font: inherit; font-size: 15px; font-weight: 600; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.rz-pill:hover { border-color: var(--primary); }
.rz-pill.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.rz-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.rz-field { display: flex; flex-direction: column; gap: 6px; }
.rz-field[hidden] { display: none; }
.rz-field select, .rz-field input { font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; min-width: 130px; }
.rz-field input { min-width: 210px; }
.rz-opt { font-weight: 500; color: var(--muted-2); }
.rz-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rz-card { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.rz-card span { font-size: 13px; font-weight: 700; color: var(--muted); }
.rz-card b { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.rz-card small { font-size: 13.5px; color: var(--muted); }
.rz-card.ok small { color: var(--green); font-weight: 600; }
.rz-card.hot { background: var(--primary); color: #fff; }
.rz-card.hot span, .rz-card.hot small { color: rgba(255, 255, 255, .85); }
.bl-body .rz-day, .rz-day { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rz-day li { display: grid; grid-template-columns: 54px 40px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0; background: #fff; border-radius: 14px; padding: 8px 14px; }
.rz-day li::marker { content: none; }
.rz-day time { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--primary); }
.rz-ic { width: 40px; height: 40px; }
.rz-ic-dot { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--bg) center / 18px no-repeat; position: relative; }
.rz-ic-dot::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--muted-2); }
.rz-day b { display: block; font-size: 16px; line-height: 1.3; }
.rz-day small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.bl-body .rz-tips, .rz-tips { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.rz-tips li { margin: 0; }
.rz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rz-actions span { font-size: 14px; color: var(--muted); }
.rz-empty { background: #fff; border-radius: 18px; padding: 16px 18px; }
.rz-empty p { margin: 4px 0 0; color: var(--ink-2); }
.rz-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rz-sheet { display: none; }
@media (max-width: 700px) {
  .rz { padding: 18px 16px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
  .rz-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rz-card b { font-size: 22px; }
  .rz-day li { grid-template-columns: 46px 34px minmax(0, 1fr); gap: 10px; padding: 8px 10px; }
  .rz-ic, .rz-ic-dot { width: 34px; height: 34px; }
  .rz-ic-dot::after { inset: 12px; }
  .rz-field { flex: 1 1 140px; min-width: 0; }
  .rz-field select, .rz-field input { width: 100%; min-width: 0; box-sizing: border-box; }
}
/* печать листа «Мой день»: копия листа кладётся в body, остальное скрыто */
@media print {
  html.rz-print body > *:not(#rz-print-sheet) { display: none !important; }
  html.rz-print body { background: #fff !important; }
  #rz-print-sheet { display: block !important; font-family: var(--font); color: #17162B; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rzs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10mm; margin-bottom: 6mm; }
  .rzs-head h2 { margin: 0; font-family: var(--display); font-size: 30pt; line-height: 1; }
  .rzs-head p { margin: 2mm 0 0; font-size: 12pt; color: #6B6984; font-weight: 600; }
  .rzs-name { font-size: 12pt; color: #6B6984; font-weight: 600; white-space: nowrap; }
  .rzs-name i { display: inline-block; width: 45mm; border-bottom: 1.5pt dashed #C9C3E6; margin-left: 2mm; }
  .rzs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .rzs-card { border-radius: 6mm; padding: 3.5mm 3mm 4mm; display: flex; flex-direction: column; align-items: center; gap: 1.5mm; text-align: center; break-inside: avoid; }
  .rzs-card svg { width: 26mm; height: 26mm; }
  .rzs-grid.few .rzs-card svg { width: 38mm; height: 38mm; }
  .rzs-card b { font-family: var(--display); font-size: 20pt; line-height: 1; }
  .rzs-card span { font-size: 12.5pt; font-weight: 700; line-height: 1.15; }
  .rzs-card.c0 { background: #FFF3E0; } .rzs-card.c0 b { color: #C2430A; }
  .rzs-card.c1 { background: #E6F6FD; } .rzs-card.c1 b { color: #1C77A8; }
  .rzs-card.c2 { background: #F0ECFF; } .rzs-card.c2 b { color: #5B3FD1; }
  .rzs-card.c3 { background: #E5F8EF; } .rzs-card.c3 b { color: #04886B; }
  .rzs-card.c4 { background: #FFECEF; } .rzs-card.c4 b { color: #C22A57; }
  .rzs-card.c5 { background: #EEF0FF; } .rzs-card.c5 b { color: #3A2F7A; }
  .rzs-foot { margin-top: 4mm; font-size: 9pt; color: #8886A3; text-align: center; }
}

/* Генератор меню на неделю (templates/marketing/menu/_planner.html): страница /menyu-na-nedelyu/ и статьи блога */
.mp-hero h1 { margin: 8px 0 12px; }
.mp-hero .l-lead { max-width: 760px; }
.mp-crumbs { font-size: 14px; color: var(--muted); }
.mp-crumbs a { color: var(--muted); }
.mp { margin-top: 26px; background: #FFF6EF; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.5; text-align: left; }
.mp-set { display: grid; grid-template-columns: auto auto auto; gap: 16px 24px; align-items: start; }
.mp-wide { grid-column: 1 / -1; }
.mp-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mp-label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.mp-step { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 3px; width: max-content; }
.mp-step button { font: inherit; font-size: 20px; font-weight: 700; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink); cursor: pointer; }
.mp-step b { min-width: 34px; text-align: center; font-family: var(--display); font-size: 20px; }
.mp-seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 3px; gap: 2px; width: max-content; max-width: 100%; }
.mp-seg button, .mp-chips button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: none; color: var(--ink-2); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.mp-seg button.on { background: var(--primary); color: #fff; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chips button { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.mp-chips button.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.mp-chips button.on::before { content: "✓ "; }
.mp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(23, 22, 43, .08); padding-top: 18px; }
.mp-head .mp-title { margin: 0; font-size: 24px; }
.mp-again { font: inherit; font-size: 15px; font-weight: 700; color: var(--primary); background: #fff; border: 1.5px solid var(--primary-soft); border-radius: 12px; padding: 8px 14px; cursor: pointer; }
.mp-warn { margin: 0; font-size: 14.5px; color: #8A4B00; background: #FFF3E0; border-radius: 12px; padding: 10px 14px; }
.mp-warn[hidden] { display: none; }
.mp-week, .bl-body .mp-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .mp-week, .bl-body .mp-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mp-day { margin: 0; background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mp-day::marker { content: none; }
.mp-dname { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.mp-meal { display: flex; align-items: flex-start; gap: 8px; }
.mp-meal > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mp-meal small { font-size: 12.5px; color: var(--muted); }
.mp-meal b { font-size: 16px; line-height: 1.3; }
.mp-meal em { font-style: normal; font-size: 13px; color: var(--muted-2); }
.mp-bf { padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.mp-swap { flex: none; width: 32px; height: 32px; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink-2); font-size: 17px; cursor: pointer; }
.mp-swap:hover { background: var(--primary-soft); color: var(--primary); }
.mp-list { background: #fff; border-radius: 20px; padding: 18px 20px; }
.mp-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mp-list-head h3 { margin: 0; font-size: 20px; }
.mp-list-head span { font-size: 14px; color: var(--muted); }
.mp-depts { columns: 3 220px; column-gap: 26px; }
.mp-dept { break-inside: avoid; margin-bottom: 14px; }
.mp-dept h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mp-dept ul, .bl-body .mp-dept ul { list-style: none; margin: 0; padding: 0; }
.mp-dept li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mp-dept li::marker { content: none; }
.mp-dept li b { font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.mp-basics { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.mp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mp-hint { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.mp-sheet { display: none; }
.mp-text { max-width: 820px; }
.mp-rules { margin: 0 0 30px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.mp-rules li { line-height: 1.55; }
.mp-rules b { display: block; font-size: 18px; }
.mp-rules span { color: var(--ink-2); }
.mp-links { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-weight: 600; }
.mp-links a { color: var(--primary); }
.mp-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.mp-faq summary { font-weight: 700; font-size: 17px; cursor: pointer; }
.mp-faq p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 700px) {
  .mp { padding: 18px 14px; border-radius: 22px; margin-left: -4px; margin-right: -4px; }
  .mp-set { grid-template-columns: 1fr; }
  .mp-seg button { padding: 8px 10px; font-size: 14.5px; }
  .mp-week, .bl-body .mp-week { grid-template-columns: 1fr; }
  .mp-day { flex-direction: column; }
  .mp-list { padding: 14px; }
  .mp-actions .l-btn { width: 100%; justify-content: center; }
}
@media print {
  html.mp-print body > *:not(#mp-print-sheet) { display: none !important; }
  html.mp-print body { background: #fff !important; }
  #mp-print-sheet { display: block !important; font-family: var(--font); color: #17162B; font-size: 10.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #mp-print-sheet h2 { margin: 0 0 4mm; font-family: var(--display); font-size: 20pt; }
  #mp-print-sheet h3 { margin: 6mm 0 2mm; font-size: 13pt; }
  .mps-menu { width: 100%; border-collapse: collapse; }
  .mps-menu th, .mps-menu td { border-bottom: 0.5pt solid #ddd; padding: 2mm 1mm; text-align: left; vertical-align: top; }
  .mps-menu th { width: 30mm; color: #C2430A; }
  .mps-menu small { display: block; color: #6B6984; }
  .mps-list { columns: 3; column-gap: 8mm; }
  .mps-list div { break-inside: avoid; margin-bottom: 3mm; }
  .mps-list h4 { margin: 0 0 1mm; font-size: 9pt; text-transform: uppercase; color: #6B6984; }
  .mps-list p { margin: 0 0 0.8mm; }
  .mps-foot { margin-top: 5mm; font-size: 8.5pt; color: #8886A3; }
}
.l-scenario-tool { border: 2px solid var(--primary-soft); background: #FFF6EF; }

/* HTML-карта сайта (/karta-sajta/) */
.sm-grid { columns: 3 280px; column-gap: 40px; }
.sm-sec { break-inside: avoid; margin-bottom: 30px; }
.sm-sec h2 { margin: 0 0 10px; font-size: 20px; }
.sm-sec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sm-sec a { color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.sm-sec a:hover { color: var(--primary); }

/* ——— Посадочная «Вишлист»: экраны вишлиста в макете телефона (vl-*) ——— */
.vl-sub { margin: -4px 12px 8px; font-size: 11.5px; color: var(--muted); }
.vl-hint { margin: -2px 12px 8px; display: flex; gap: 6px; align-items: flex-start; background: #EFEBFF; color: #3A2A8C;
  border-radius: 10px; padding: 7px 9px; font-size: 11px; line-height: 1.35; }
.vl-hint .icon { flex: none; margin-top: 1px; }
.vl-items { list-style: none; margin: 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vl-items li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 8px; }
.vl-th { flex: none; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.vl-th.a { background: #FFEEE3; color: var(--primary); }
.vl-th.b { background: #EFEBFF; color: #5B3FD1; }
.vl-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.vl-name em { align-self: flex-start; font-style: normal; font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #A3214A; background: #FFE3EC; border-radius: 4px; padding: 1px 4px; margin-bottom: 2px; }
.vl-name small { font-size: 10.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-btn { flex: none; font-size: 10.5px; font-weight: 700; color: var(--primary); border: 1.3px solid var(--primary); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.vl-btn.mine { border-color: transparent; background: #EFEBFF; color: #4A33B0; }
.vl-taken { flex: none; max-width: 58px; font-size: 10px; font-weight: 700; color: var(--green); text-align: right; line-height: 1.2; }
@media (max-width: 700px) {
  .vl-sub, .vl-hint { margin-left: 8px; margin-right: 8px; font-size: 9.5px; }
  .vl-items { margin: 0 8px; gap: 5px; }
  .vl-items li { padding: 6px; gap: 6px; border-radius: 10px; }
  .vl-th { display: none; }   /* узко: место — названиям */
  .vl-name { font-size: 10.5px; }
  .vl-name small { font-size: 9px; }
  .vl-name em { font-size: 7px; }
  .vl-btn { font-size: 8.5px; padding: 3px 5px; }
  .vl-taken { font-size: 8.5px; max-width: 44px; }
}
@media (min-width: 1000px) { .vl-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ——— «Вишлист на день рождения» (vd-*) ——— */
.vd-example { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 22px 18px 18px; max-width: 420px; width: 100%; justify-self: center; }
.vd-example .vl-items { margin: 0; gap: 8px; }
.vd-example .vl-items li { background: var(--bg); padding: 9px 10px; }
.vd-example .vl-name { font-size: 14px; }
.vd-example .vl-name small { font-size: 12px; }
.vd-example .vl-name em { font-size: 9.5px; }
.vd-example .vl-th { width: 36px; height: 36px; }
.vd-ex-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vd-ex-head b { display: block; font-family: var(--display); font-size: 21px; }
.vd-ex-head small { font-size: 13px; color: var(--muted); }
.vd-ex-ava { width: 44px; height: 44px; border-radius: 999px; background: #C22A57; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 19px; flex: none; }
.vd-ex-note { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.vd-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vd-idea { background: var(--bg); border-radius: 20px; padding: 20px 22px; }
.vd-idea b { font-family: var(--display); font-size: 19px; color: var(--pink); }
.vd-idea p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.vd-describe { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.vd-pair { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px 20px; font-size: 16px; }
.vd-pair > svg { flex: none; color: var(--primary); }
.vd-bad { flex: none; min-width: 170px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(194, 42, 87, .5); }
.vd-good { color: var(--ink); font-weight: 600; }
.vd-messages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vd-msg { margin: 0; background: var(--bg); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.vd-msg figcaption { font-weight: 700; font-size: 14px; color: var(--pink); text-transform: uppercase; letter-spacing: .04em; }
.vd-msg blockquote { margin: 0; flex: 1; background: #fff; border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.vd-copy { align-self: flex-start; }
.vd-kids { margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 860px; }
.vd-mistakes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 1000px; }
.vd-mistakes li { position: relative; padding: 14px 18px 14px 46px; background: var(--bg); border-radius: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.vd-mistakes li::before { content: "×"; position: absolute; left: 16px; top: 11px; width: 20px; height: 20px; border-radius: 999px; background: var(--pink-soft);
  color: var(--pink); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
@media (max-width: 900px) {
  .vd-ideas, .vd-messages { grid-template-columns: 1fr; }
  .vd-mistakes { grid-template-columns: 1fr; }
  .vd-pair { flex-wrap: wrap; gap: 6px 10px; padding: 14px 16px; }
  .vd-bad { min-width: 0; }
  .vd-example { margin-top: 8px; }
}
@media (max-width: 700px) {
  /* в карточке-примере (не в макете телефона) миниатюры оставляем */
  .vd-example .vl-th { display: inline-flex; width: 32px; height: 32px; }
  .vd-example .vl-name { font-size: 13.5px; }
  .vd-example .vl-name small { font-size: 12px; }
  .vd-example .vl-name em { font-size: 9px; }
  .vd-example .vl-items { margin: 0; }
}
.vl-sub-link { display: inline-block; margin-top: 18px; font-size: 15px; }

/* ——— «Детский вишлист» (vk-*) ——— */
.vk-ask { display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--pink-soft); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.4; }
.vk-ask-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.vk-btn { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 12px; border: 1.5px solid var(--line-2); color: var(--ink-2); background: #fff; }
.vk-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.vk-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vk-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vk-ages .vd-idea:last-child { grid-column: 1 / -1; }
.vk-class p { margin: 0; max-width: 860px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 1000px) { .vk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vk-why { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .vk-steps { grid-template-columns: 1fr; } }
.vl-sub-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 15px; }
/* на сером фоне секции карточки — белые, иначе сливаются */
.vk-ages .vd-idea { background: #fff; box-shadow: var(--shadow); }
.vk-msg { background: #fff; box-shadow: var(--shadow); }
.vk-msg blockquote { background: var(--bg); }

/* Ссылки «назад» на страницах сайта — зона нажатия 40 px */
.l-back { min-height: 40px; display: inline-flex; align-items: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.l-plan-price, .l-tpl-table td { font-variant-numeric: tabular-nums; }

/* Пресс-кит (/press/) */
.l-press header h1 { margin: 6px 0 4px; font-size: 40px; line-height: 1.12; letter-spacing: -.01em; }
.l-press-story { display: flex; gap: 24px; align-items: flex-start; }
.l-press-story .l-about-photo { width: 120px; height: 120px; }
.l-press p a { color: var(--primary); font-weight: 600; }
.l-press-shots { display: grid; gap: 16px; align-items: start; }
.l-press-shots.is-wide { grid-template-columns: repeat(2, 1fr); }
.l-press-shots.is-phones { grid-template-columns: repeat(4, 1fr); }
.l-press-shot { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.l-press-shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; }
@media (max-width: 720px) {
  .l-press header h1 { font-size: 30px; }
  .l-press-story { flex-direction: column; gap: 14px; }
  .l-press-shots.is-wide { grid-template-columns: 1fr; }
  .l-press-shots.is-phones { grid-template-columns: repeat(2, 1fr); }
}

/* Тарифы: что входит в карточку */
.l-plan-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.l-plan-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.l-plan-list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 12px; height: 7px;
                          border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.l-plan-list.is-plus li::before { border-color: var(--primary); }
.l-plan-plus { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); text-align: left; }
.l-plan .l-btn { margin-top: auto; }
.l-plan .l-plan-list + .l-btn { margin-top: auto; }
.l-plans .l-plan { text-align: left; }
