/* ============================================================ LIGHT MODE (html[data-theme="light"]) */
/* Dark is the default. The switch in the menu bar sets data-theme on <html> (theme.js). */

/* theme switch button (both themes) */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--gold-2); display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: border-color .2s, transform .3s; }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(20deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-sun { display: block; }
html[data-theme="light"] .theme-toggle .i-moon { display: none; }

html[data-theme="light"] {
  --ink: #f8f4ea;
  --ink-2: #ffffff;
  --ink-3: #eee5d1;
  --line: #e2d6bb;
  --paper: #1d1810;
  --muted: #645a47;
  --gold: #b88c0e;
  --gold-2: #8f6a06;
  color-scheme: light;
}
html[data-theme="light"] body { background: var(--ink); color: var(--paper); }

/* text on gold stays dark */
html[data-theme="light"] .skip, html[data-theme="light"] .btn--gold, html[data-theme="light"] .plan__badge,
html[data-theme="light"] .tour__tabs button[aria-selected="true"], html[data-theme="light"] .journey.is-in .journey__dot,
html[data-theme="light"] .guard__tag, html[data-theme="light"] .refer__tag, html[data-theme="light"] .flow__step::before { color: #16130e; }
html[data-theme="light"] .btn--gold { background: #d4a92a; }
html[data-theme="light"] .btn--gold:hover { background: #e2bb45; }
html[data-theme="light"] .play::after { border-left-color: #16130e; }
html[data-theme="light"] .cmp__yes::after { border-color: #16130e; }
html[data-theme="light"] .flow__step::before { background: #d4a92a; }
html[data-theme="light"] .btn--ghost { background: rgba(255,255,255,.7); color: var(--paper); }

/* menu bar */
html[data-theme="light"] .nav { background: rgba(248,244,234,.88); border-bottom-color: var(--line); }
html[data-theme="light"] .nav.is-scrolled { background: rgba(248,244,234,.97); box-shadow: 0 8px 30px rgba(80,60,20,.12); }

/* hero */
html[data-theme="light"] .hero__shade { background: linear-gradient(90deg, rgba(248,244,234,.95) 0%, rgba(248,244,234,.7) 42%, rgba(248,244,234,0) 75%), linear-gradient(0deg, var(--ink) 0%, transparent 22%); }
@media (max-width: 900px) { html[data-theme="light"] .hero__shade { background: linear-gradient(180deg, rgba(248,244,234,.92) 0%, rgba(248,244,234,.75) 60%, var(--ink) 100%); } }
html[data-theme="light"] .hero__badger img, html[data-theme="light"] .hbt__img img, html[data-theme="light"] .hb__figure img { filter: drop-shadow(0 26px 30px rgba(80,60,20,.28)); }

html[data-theme="light"] .hero .lead { color: #3b3325; }
html[data-theme="light"] .form__status.is-error { color: #b3412f; }
html[data-theme="light"] .plan:hover, html[data-theme="light"] .ig-card:hover { box-shadow: 0 24px 48px rgba(80,60,20,.16); }

/* soft gold washes instead of dark ones */
html[data-theme="light"] .problem { background: radial-gradient(ellipse at top, #f6e9c6 0%, var(--ink) 65%); }
html[data-theme="light"] .contact { background: radial-gradient(ellipse at bottom left, #f6e9c6 0%, var(--ink) 60%); }
html[data-theme="light"] .ig { background: radial-gradient(ellipse at top right, #f6e9c6 0%, var(--ink) 55%); }
html[data-theme="light"] .refer { background: radial-gradient(ellipse at center, #f6e9c6 0%, var(--ink) 65%); }
html[data-theme="light"] .film-card, html[data-theme="light"] .cta-band__inner { background: linear-gradient(135deg, #fbeec9, #ffffff 70%); }
html[data-theme="light"] .plan--featured, html[data-theme="light"] .guard__col--gold, html[data-theme="light"] .refer__card--gold,
html[data-theme="light"] .explore__card--gold, html[data-theme="light"] .calc__result, html[data-theme="light"] .vs__col--good,
html[data-theme="light"] .mplan--featured, html[data-theme="light"] .card--gold, html[data-theme="light"] .explore__card--hb { background: linear-gradient(160deg, #fbeec9, #ffffff 70%); }

/* cards and panels */
html[data-theme="light"] .plan, html[data-theme="light"] .guard__col, html[data-theme="light"] .ig-card { background: #ffffff; }
html[data-theme="light"] .who__card { background: var(--ink); }
html[data-theme="light"] .card, html[data-theme="light"] .explore__card, html[data-theme="light"] .mplan, html[data-theme="light"] .vs__col,
html[data-theme="light"] .nums > div, html[data-theme="light"] .security li, html[data-theme="light"] .plan, html[data-theme="light"] .ig-card,
html[data-theme="light"] .films2__card { box-shadow: 0 10px 30px rgba(80,60,20,.07); }
html[data-theme="light"] .card:hover, html[data-theme="light"] .explore__card:hover, html[data-theme="light"] .films2__card:hover { box-shadow: 0 24px 48px rgba(80,60,20,.16); }
html[data-theme="light"] .section--tint .card, html[data-theme="light"] .section--tint .nums > div, html[data-theme="light"] .section--tint .vs__col--bad { background: var(--ink); }
html[data-theme="light"] .ticker { background: #efe4c9; }
html[data-theme="light"] .faq__item[open] { background: #fff8e4; }
html[data-theme="light"] .faq__a { color: #3b3325; }
html[data-theme="light"] .cmp__no::before, html[data-theme="light"] .cmp__no::after { background: #b8ab92; }
html[data-theme="light"] .cmp thead th { background: var(--ink); }
html[data-theme="light"] .vs__col--bad h3 { color: #b3412f; }
html[data-theme="light"] .vs__col--bad li::before { background: rgba(179,65,47,.12); color: #b3412f; }
html[data-theme="light"] .ai-chips li, html[data-theme="light"] .verticals span { background: rgba(184,140,14,.1); border-color: rgba(184,140,14,.45); }

/* chat bubbles (problem chat, Honey-B chat, teaser) */
html[data-theme="light"] .chat__msg, html[data-theme="light"] .hb__msg--bot, html[data-theme="light"] .hbt__bubbles .a { background: #eee5d1; color: #1d1810; }
html[data-theme="light"] .chat__msg--out, html[data-theme="light"] .hb__msg--out, html[data-theme="light"] .hbt__bubbles .q { background: #f6dc94; color: #1d1810; }
html[data-theme="light"] .chat__sys { color: #b3412f; }
html[data-theme="light"] .hb__chat { background: #ffffff; box-shadow: 0 30px 70px rgba(80,60,20,.18), 0 0 0 6px rgba(184,140,14,.08); }
html[data-theme="light"] .hb__head { background: linear-gradient(180deg, #fbeec9, #ffffff); }
html[data-theme="light"] .hb__msg .bad { color: #b3412f; }
html[data-theme="light"] .hb__msg .good { color: #1f8a57; }
html[data-theme="light"] .hb__head i { background: #1f8a57; }

/* the calculator */
html[data-theme="light"] .calc input[type=range]::-webkit-slider-thumb { border-color: #ffffff; }
html[data-theme="light"] .calc input[type=range]::-moz-range-thumb { border-color: #ffffff; }

/* screenshots stay dark (they are the product); frames keep their metal */
html[data-theme="light"] .shot:not(.dev) { box-shadow: 0 24px 50px rgba(80,60,20,.2); }
html[data-theme="light"] .shot.dev { filter: drop-shadow(0 26px 34px rgba(80,60,20,.25)); }

/* the white-label preview panels sit on white cards */
html[data-theme="light"] .wl__panel { background: #ffffff; box-shadow: 0 16px 34px rgba(80,60,20,.12); }
html[data-theme="light"] .wl__nav i { background: #eee5d1; }

/* the "threat" band stays dark on purpose: it should feel like a warning */
html[data-theme="light"] .threat { color: #f6f2e6; margin: 40px 0; border: 0; box-shadow: 0 30px 60px -20px rgba(60,20,10,.45), 0 -30px 60px -20px rgba(60,20,10,.45); }
html[data-theme="light"] .threat__b { color: #f0cf6a; text-shadow: 0 0 40px rgba(240,200,90,.5), 0 6px 30px rgba(0,0,0,.9); }
html[data-theme="light"] .threat__sub { color: #d8cdb5; }
html[data-theme="light"] .threat__sub b { color: #ff8a73; }

/* footer */
html[data-theme="light"] .footer { background: #f1ead9; }

/* smooth switch */
html.theme-anim, html.theme-anim * { transition: background-color .35s, color .35s, border-color .35s !important; }
