/* Светлая тема. Тёмная остаётся базовой, поэтому без data-theme="light" ничего не меняется. */
.theme-toggle{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line,rgba(255,255,255,.12));border-radius:12px;background:transparent;color:var(--text,#fff);font-size:18px;line-height:1;cursor:pointer;transition:border-color .2s,background .2s}
.theme-toggle:hover{border-color:var(--cyan,#54e4dd)}
.theme-toggle:before{content:"☀"}
html[data-theme="light"] .theme-toggle:before{content:"☾"}
.top-actions{display:flex;align-items:center;gap:10px}
.seo-header nav{gap:14px}

html[data-theme="light"]{
  color-scheme:light;
  --bg:#f5f7fb;--panel:#ffffff;--panel2:#eef2f8;--line:rgba(15,23,42,.12);
  --text:#0f172a;--muted:#4b5a6e;--cyan:#08736f;--purple:#6a4de0;--green:#12874f;--danger:#c92a47;
  --seo-bg:#f5f7fb;--seo-panel:#ffffff;--seo-line:rgba(15,23,42,.12);--seo-text:#0f172a;--seo-muted:#4b5a6e;--seo-accent:#6a4de0;--seo-accent-2:#08736f;
}
html[data-theme="light"] .page-glow{opacity:.07}

/* Кнопки и акценты: тёмный текст на тёмно-бирюзовом фоне нечитаем, поэтому белый */
html[data-theme="light"] .button{background:linear-gradient(135deg,#6a4de0,#4f6df0);color:#fff;box-shadow:0 12px 30px rgba(79,109,240,.22)}
html[data-theme="light"] .button:hover{box-shadow:0 16px 36px rgba(79,109,240,.3)}
html[data-theme="light"] .button--ghost{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none}
html[data-theme="light"] .brand-mark{color:#fff}
html[data-theme="light"] .chat-form button,html[data-theme="light"] .plan--accent button{background:#6a4de0;color:#fff}
html[data-theme="light"] .lead-card>span{color:#fff}
html[data-theme="light"] .badge{border-color:rgba(18,135,79,.3);background:rgba(18,135,79,.08);color:#0b6b3d}
html[data-theme="light"] h1 span{background:linear-gradient(90deg,#08736f,#6a4de0);background-clip:text;-webkit-background-clip:text;color:transparent}
html[data-theme="light"] .hero-lead{color:#3b4a5e}

/* Карточки и панели */
html[data-theme="light"] .logos,html[data-theme="light"] .response-strip,html[data-theme="light"] .timeline article,html[data-theme="light"] .plan-grid article,html[data-theme="light"] .faq-grid article,html[data-theme="light"] .solution-card,html[data-theme="light"] .feature,html[data-theme="light"] .case-card,html[data-theme="light"] .launch form{background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04),0 10px 30px rgba(15,23,42,.05)}
html[data-theme="light"] .plan--accent{background:linear-gradient(145deg,#f3f0ff,#eefaf9)}
html[data-theme="light"] .logos b,html[data-theme="light"] .context-visual span,html[data-theme="light"] .demo-copy li,html[data-theme="light"] .demo-panel label,html[data-theme="light"] .launch label,html[data-theme="light"] .chat-status,html[data-theme="light"] .plan-grid li,html[data-theme="light"] .case-flow span{color:#334155}
html[data-theme="light"] .demo-disclosure span{color:#475569}
html[data-theme="light"] .context-visual span,html[data-theme="light"] .case-flow span{background:#f1f5fb}
html[data-theme="light"] .demo-card{box-shadow:0 20px 60px rgba(15,23,42,.1)}
html[data-theme="light"] .demo-panel input,html[data-theme="light"] .demo-panel textarea,html[data-theme="light"] .demo-panel select,html[data-theme="light"] .launch input,html[data-theme="light"] .launch textarea{background:#fff;color:var(--text)}
html[data-theme="light"] .plan-grid button{background:#eef2f8;color:var(--text)}
html[data-theme="light"] .chat-bubble--ai{background:#eaf0f8}
html[data-theme="light"] .solution-card:hover,html[data-theme="light"] .case-card:hover{box-shadow:0 18px 44px rgba(15,23,42,.12)}
html[data-theme="light"] .case-card__top b{color:#0b6b3d}
html[data-theme="light"] .case-card__visual{background:#e6ecf5}
html[data-theme="light"] .case-card__visual:after{background:none}
html[data-theme="light"] .case-card__visual img{border-color:rgba(15,23,42,.1);box-shadow:0 14px 28px rgba(15,23,42,.14)}
html[data-theme="light"] .case-card__link:hover{color:var(--cyan)}

/* Консоль в первом экране остаётся тёмной как «окно продукта» */
html[data-theme="light"] .hero-console{--text:#f5f7fb;--muted:#98a2b3;--cyan:#54e4dd;--green:#78e7ad;--line:rgba(255,255,255,.1);color:#f5f7fb;box-shadow:0 30px 80px rgba(15,23,42,.28)}

/* Страницы решений (seo.php) */
html[data-theme="light"] .seo-header{background:rgba(245,247,251,.92)}
html[data-theme="light"] .seo-brand,html[data-theme="light"] .seo-footer a,html[data-theme="light"] .seo-related a,html[data-theme="light"] .seo-trust b,html[data-theme="light"] .seo-text-link{color:var(--seo-text)}
html[data-theme="light"] .seo-lead{color:#3b4a5e}
html[data-theme="light"] .seo-section--alt{background:#eaf0f8}
html[data-theme="light"] .seo-checks li{background:#fff}
html[data-theme="light"] .seo-card,html[data-theme="light"] .seo-steps article,html[data-theme="light"] .seo-faq details,html[data-theme="light"] .seo-related a{background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.05)}
html[data-theme="light"] .seo-answer{box-shadow:0 18px 50px rgba(15,23,42,.1);background:linear-gradient(145deg,rgba(8,115,111,.07),rgba(106,77,224,.07))}
html[data-theme="light"] .seo-result{background:linear-gradient(145deg,rgba(106,77,224,.09),rgba(8,115,111,.06))}
html[data-theme="light"] .seo-button{color:#fff}
