/* светлая тема arturr_city (22.10). Тёмная — основная и не меняется: здесь только переопределения под html[data-theme="light"].
   Светлый фон как в роликах (#f2f2f5), кружево/леопард/шёлк — светлые копии картинок (*-light.jpg), первый экран с ночным фото не трогаем. */

/* кнопка темы в шапке — в обеих темах */
.bar { gap: 18px; align-items: center; }
.theme-tg { margin-left: auto; width: 22px; height: 22px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; cursor: pointer; flex: none;
            background: linear-gradient(90deg, currentColor 50%, transparent 50%); color: inherit; opacity: .85; transition: opacity .2s, transform .3s; }
.theme-tg:hover { opacity: 1; transform: rotate(180deg); }
.theme-tg:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

html[data-theme="light"] {
  --bg: #f2f2f5; --fg: #111113; --muted: #6e6e73; --tile: #ffffff; --line2: #e3e3e8;
  color-scheme: light;
}
html[data-theme="light"] body { background-color: var(--bg); color: var(--fg); }

/* ── главная ───────────────────────────────────────────────────────────── */
html[data-theme="light"] .night { color: #f2f2f2; }                          /* первый экран — фото, текст остаётся светлым */
html[data-theme="light"] #bar { mix-blend-mode: difference; color: #fff; }  /* шапка читается и на фото, и на светлом */
html[data-theme="light"] .grain { opacity: .045; }
html[data-theme="light"] .bento { --ink: #f2f2f5; --line2: #e3e3e8; --flash: #111113; --dust: #55555a; }
html[data-theme="light"] .st { background-color: var(--bg); background-image: url(../img/ornament-light.jpg); box-shadow: 0 -40px 90px rgba(0,0,0,.08); border-top-color: #e3e3e8; }
html[data-theme="light"] .sec > .in { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(242,242,245,.86), rgba(242,242,245,.5) 70%, rgba(242,242,245,.25)); }
html[data-theme="light"] .pnl.t-plain > .pnl-in { box-shadow: 0 -34px 70px rgba(0,0,0,.1); border-top-color: #e3e3e8; }
html[data-theme="light"] .pnl.t-melt > .pnl-in::before,
html[data-theme="light"] .pnl.t-black > .pnl-in::before { background: linear-gradient(transparent, var(--bg)); }
html[data-theme="light"] .pnl.t-melt .pnl-bg::before { background: linear-gradient(var(--bg), transparent); }
html[data-theme="light"] .pnl.t-slant .pnl-bg { background: radial-gradient(ellipse 60% 45% at 78% 0%, rgba(0,0,0,.04), transparent 70%), var(--bg); }
html[data-theme="light"] .pnl.t-slant .pnl-bg::before { background: linear-gradient(to bottom right, transparent calc(50% - 1px), #c7c7cc 50%, transparent calc(50% + 1px)); }
html[data-theme="light"] .pnl:not(.dark):not(.clean) .pnl-bg::after { background: radial-gradient(ellipse 72% 62% at 50% 52%, rgba(242,242,245,.9), rgba(242,242,245,.55) 68%, rgba(242,242,245,.15)); }
html[data-theme="light"] .pnl-dim { background: var(--bg); }
html[data-theme="light"] .pnl-bg { background: var(--bg) url(../img/ornament-light.jpg) repeat; background-size: 520px 520px; }
html[data-theme="light"] .pnl.clean .pnl-bg,
html[data-theme="light"] .pnl.dark .pnl-bg { background: var(--bg); }
html[data-theme="light"] .pnl.glow-a .pnl-bg { background: radial-gradient(ellipse 60% 70% at 22% 30%, rgba(0,0,0,.035), transparent 70%), radial-gradient(ellipse 50% 60% at 85% 85%, rgba(0,0,0,.025), transparent 70%), var(--bg); }
html[data-theme="light"] .pnl.glow-p .pnl-bg { background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0,0,0,.03), transparent 70%), var(--bg); }
html[data-theme="light"] .pnl.glow-b .pnl-bg { background: radial-gradient(ellipse 75% 55% at 50% 112%, rgba(0,0,0,.045), transparent 70%), var(--bg); }
html[data-theme="light"] .pnl.lace .pnl-bg { background: linear-gradient(rgba(242,242,245,.25), rgba(242,242,245,.45)), var(--bg) url(../img/ornament-light.jpg) repeat; background-size: auto, 520px 520px; }
html[data-theme="light"] .pnl.leo-bg .pnl-bg { background: linear-gradient(rgba(242,242,245,.45), rgba(242,242,245,.6)), var(--bg) url(../img/leo-lace-light.jpg) 50% 50% / cover no-repeat; }
html[data-theme="light"] #ai .pnl-bg { background: linear-gradient(var(--bg), rgba(242,242,245,0) 26%), radial-gradient(ellipse 60% 50% at 50% 50%, rgba(242,242,245,.5), rgba(242,242,245,.12) 75%), var(--bg) url(../img/silk-light.jpg) 50% 50% / cover no-repeat; }
@media (max-width: 720px) { html[data-theme="light"] #ai .pnl-bg { background: linear-gradient(var(--bg), rgba(242,242,245,0) 22%), radial-gradient(ellipse 80% 45% at 50% 50%, rgba(242,242,245,.55), rgba(242,242,245,.12) 75%), var(--bg) url(../img/silk-m-light.jpg) 50% 50% / cover no-repeat; } }
html[data-theme="light"] .c::after { background: radial-gradient(circle 260px at var(--x, 50%) var(--y, 50%), rgba(0,0,0,.04), transparent 70%); }
html[data-theme="light"] .bento .c { background: none; }
html[data-theme="light"] a.c:hover { border-color: #c7c7cc; }
html[data-theme="light"] .hi p { color: #3a3a3c; }
html[data-theme="light"] .btn2 { color: #fff; }
html[data-theme="light"] .btn2.ghost { color: var(--flash); }
html[data-theme="light"] .chips span { border-color: #d1d1d6; color: #55555a; }
html[data-theme="light"] .code-vis { background: #fff; color: #6e6e73; }
html[data-theme="light"] .bento .c.pc { background: rgba(255,255,255,.94); border-color: #e3e3e8; box-shadow: 0 18px 50px rgba(17,17,19,.06); }
html[data-theme="light"] .bento .c.pc.lace { background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.75)), #fff url(../img/ornament-light.jpg) 0 0 / 360px 360px repeat; }
html[data-theme="light"] .bento .c.pc::before { background: conic-gradient(from var(--ring), transparent 0deg, rgba(17,17,19,0) 30deg, rgba(17,17,19,.85) 95deg, rgba(17,17,19,.2) 150deg, transparent 200deg, transparent 360deg); }
html[data-theme="light"] .stage2.fab { background-image: url(../img/leo-lace-light.jpg); }
html[data-theme="light"] .pc-in li { border-color: #e3e3e8; color: #2c2c2e; }
html[data-theme="light"] .pc-cta .go { color: #55555a; }
html[data-theme="light"] .dl .hl, html[data-theme="light"] .kw.hl, html[data-theme="light"] .why-q { background: #111113; color: #f2f2f5; }
html[data-theme="light"] .dl a.hl:hover { background: transparent; color: var(--flash); box-shadow: inset 0 0 0 1px #111113; }
html[data-theme="light"] .why-sub, html[data-theme="light"] .pil span, html[data-theme="light"] .q-sub,
html[data-theme="light"] .lead-h p, html[data-theme="light"] .f-msg { color: #55555a; }
html[data-theme="light"] .pil { border-top-color: #e3e3e8; }
html[data-theme="light"] .q-btn { color: #fff; }
html[data-theme="light"] .q-go, html[data-theme="light"] .lead-tg { border-bottom-color: #c7c7cc; }
html[data-theme="light"] .lead-f input:not([type=radio]):not([type=checkbox]), html[data-theme="light"] .lead-f textarea { background: #fff; border-color: #d1d1d6; }
html[data-theme="light"] .lead-f input::placeholder, html[data-theme="light"] .lead-f textarea::placeholder { color: #a1a1a6; }
html[data-theme="light"] .chips-f b { border-color: #d1d1d6; color: #3a3a3c; }
html[data-theme="light"] .chips-f input:checked + b { color: #fff; }
html[data-theme="light"] .agree input { accent-color: #111113; }
html[data-theme="light"] .wm-last { color: var(--fg); }
html[data-theme="light"] .wm-chart [stroke="#f2f2f2"] { stroke: #111113; }
html[data-theme="light"] .wm-chart [stroke="#2a2a2a"] { stroke: #dcdce1; }
html[data-theme="light"] .wm-chart [fill="#f2f2f2"] { fill: #111113; }
html[data-theme="light"] .wm-chart [stop-color="#f2f2f2"] { stop-color: #111113; }
/* логотипы: белые на чёрном → тёмные на светлом */
html[data-theme="light"] img.d3, html[data-theme="light"] .leo-made img { filter: invert(1); mix-blend-mode: multiply; }
html[data-theme="light"] img[src*="logo-importdare"], html[data-theme="light"] img[src*="logo-dare.svg"] { filter: invert(1); }
/* подвал: светлый леопард */
html[data-theme="light"] .leo { background: linear-gradient(var(--bg), var(--bg) 6%, rgba(242,242,245,.6) 26%, rgba(242,242,245,.3) 48%, rgba(242,242,245,.2) 72%, rgba(242,242,245,.65)), var(--bg) url(../img/leo-light.jpg) 50% 50% / cover no-repeat; }
html[data-theme="light"] .leo::before { background: linear-gradient(transparent, var(--bg)); }
html[data-theme="light"] .leo-read { color: #55555a; }
html[data-theme="light"] .leo-read a { border-bottom-color: #c7c7cc; }
html[data-theme="light"] .soc a { border-color: #d1d1d6; }
html[data-theme="light"] .soc a:hover { border-color: var(--fg); background: rgba(0,0,0,.04); }
html[data-theme="light"] .meta-note { color: #8e8e93; }

/* ── страницы продуктов, документы, оплата (offer.css) ───────────────── */
html[data-theme="light"] body { background-image: url(../img/ornament-light.jpg); }
html[data-theme="light"] body::before { background: radial-gradient(ellipse 72% 68% at 50% 45%, rgba(242,242,245,.9), rgba(242,242,245,.62) 66%, rgba(242,242,245,.3)); }
html[data-theme="light"] .bar:not(#bar) { background: linear-gradient(var(--bg) 40%, rgba(242,242,245,0)); }
html[data-theme="light"] .c p, html[data-theme="light"] .c.white p, html[data-theme="light"] .c.white .num small { color: #55555a; }
html[data-theme="light"] .btn, html[data-theme="light"] .c.white .btn { color: #fff; }
html[data-theme="light"] .chips span, html[data-theme="light"] .chips span[style] { border-color: #d1d1d6 !important; color: #55555a !important; }
html[data-theme="light"] .code-vis { border-left-color: #c7c7cc; }
html[data-theme="light"] .hero .lead, html[data-theme="light"] [style*="color: #d6d6d6"] { color: #2c2c2e !important; }
html[data-theme="light"] .fab-band { background-image: url(../img/leo-lace-light.jpg); }
html[data-theme="light"] .foot { color: var(--fg); background: linear-gradient(var(--bg), rgba(242,242,245,.55) 38%, rgba(242,242,245,.28) 74%, rgba(242,242,245,.7)), var(--bg) url(../img/leo-light.jpg) 50% 50% / cover no-repeat; }
html[data-theme="light"] .read-more li a { border-top-color: #e3e3e8; }
html[data-theme="light"] .wrap.doc { color: #2c2c2e; }
html[data-theme="light"] .doc main a, html[data-theme="light"] .doc p a, html[data-theme="light"] .doc li a { text-decoration-color: #c7c7cc; }
html[data-theme="light"] .tariff { background: rgba(255,255,255,.94); border-color: #e3e3e8; box-shadow: 0 18px 50px rgba(17,17,19,.05); }
html[data-theme="light"] .pay-f input[name="contact"], html[data-theme="light"] .pay-f .pm { background: #fff; border-color: #d1d1d6; }
html[data-theme="light"] .pay-f .pm, html[data-theme="light"] .pay-f .agree { color: #2c2c2e; }
html[data-theme="light"] .pay-f input[type="radio"], html[data-theme="light"] .pay-f input[type="checkbox"] { accent-color: #111113; }
html[data-theme="light"] .pay-msg { color: #a86a10; }
html[data-theme="light"] .pay-f .agree a { text-decoration-color: #c7c7cc; }

/* ── блог (blog.css) ───────────────────────────────────────────────────── */
html[data-theme="light"] .post { background: linear-gradient(90deg, transparent, rgba(242,242,245,.94) 9%, rgba(242,242,245,.95) 91%, transparent); }
html[data-theme="light"] .prose { color: #2c2c2e; }
html[data-theme="light"] .prose a { text-decoration-color: #c7c7cc; }
html[data-theme="light"] .prose blockquote { border-left-color: #c7c7cc; color: #55555a; }
html[data-theme="light"] .prose code { color: #1c1c1e; background: #e9e9ee; }
html[data-theme="light"] .prose pre { background: #fff; border-color: #e3e3e8; }
html[data-theme="light"] .prose pre code { color: #2c2c2e; background: none; }
html[data-theme="light"] .prose th, html[data-theme="light"] .prose td { border-bottom-color: #e3e3e8; }
html[data-theme="light"] .prose .cta { border-color: #e3e3e8; background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.78)), #fff url(../img/ornament-light.jpg) 0 0 / 360px 360px repeat; }
html[data-theme="light"] .prose .cta a { color: #fff; }
html[data-theme="light"] .more li a, html[data-theme="light"] .list li a { border-top-color: #e3e3e8; }
html[data-theme="light"] .more li a span, html[data-theme="light"] .list li a span { color: #6e6e73; }
html[data-theme="light"] .more li a:hover b, html[data-theme="light"] .list li a:hover b { text-decoration-color: #c7c7cc; }
html[data-theme="light"] .blog-list .lead { color: #3a3a3c; }
html[data-theme="light"] .leo-mini { background: linear-gradient(var(--bg), rgba(242,242,245,.6) 40%, rgba(242,242,245,.3) 75%, rgba(242,242,245,.7)), var(--bg) url(../img/leo-light.jpg) 50% 50% / cover no-repeat; }
html[data-theme="light"] .cl-mark { filter: invert(1); }   /* чёрная звёздочка claude на чёрной плашке → белая */
html[data-theme="light"] .pc-note, html[data-theme="light"] .quiet { color: #6e6e73; }
html[data-theme="light"] .quiet a { border-bottom-color: #c7c7cc; }
