/*
 * Light theme for the marketing v5 page (/). The v5 bundle is dark-native; this sheet only applies when
 * html[data-theme=light] (Light, or Auto on a light OS; see lib/ui/theme.ts). The hero keeps its dark stage
 * (three.js scene) and light text, so it is re-scoped to the dark tokens. Not generated: survives dist regen.
 * WCAG AA: --tx #0b1220 on --bg #f6f8fb = 17.6:1; --mut #475467 on #fff = 7.6:1, on --bg 7.1:1; --acc #0b6b86 on #fff = 6.0:1.
 */
html[data-theme='light'] {
  --bg: #f6f8fb;
  --bg2: #eef2f6;
  --card: #ffffff;
  --line: #d5dce5;
  --tx: #0b1220;
  --mut: #475467;
  --social: #0b6b86;
  --email: #2f4fd1;
  --ana: #0b6b86;
  --bad: #b42335;
  --acc: #0b6b86;
}
html[data-theme='light'] body { background: var(--bg); color: var(--tx); }
html[data-theme='light'] .hero {
  --bg: #05070b; --bg2: #0b0e13; --card: #0e1217; --line: #1d242c; --tx: #eef2f5; --mut: #a3adb8;
  --social: #38e1ff; --email: #9fefff; --ana: #38e1ff; --acc: #38e1ff; --bad: #ff6b7a;
  color: var(--tx); background: #07090d;
}
html[data-theme='light'] .nav { background: rgba(246, 248, 251, 0.9); border-bottom-color: #0b122014; }
html[data-theme='light'] .nav a, html[data-theme='light'] .logo { color: var(--tx); }
html[data-theme='light'] .nav-toggle { border-color: #0b122033; }
html[data-theme='light'] .nav-toggle span { background: var(--tx); }
html[data-theme='light'] .nav nav.open { background: rgba(246, 248, 251, 0.98); border-bottom-color: #0b122014; }
html[data-theme='light'] .nav nav.open .nav-auth-mobile { border-top-color: #0b122014; }
html[data-theme='light'] .btn { background: #0b1220; color: #ffffff; box-shadow: 0 0 0 1px #0b122022, 0 10px 30px -14px #0b6b8640; }
html[data-theme='light'] .btn:hover { box-shadow: 0 0 0 1px #0b122044, 0 14px 36px -12px #0b6b8655; }
html[data-theme='light'] .btn-text { background: none; color: var(--mut); box-shadow: none; }
html[data-theme='light'] .btn-text:hover { color: var(--tx); }
html[data-theme='light'] .btn-ghost { background: #ffffff; color: var(--tx); border-color: #0b122026; }
html[data-theme='light'] .hero .btn { background: linear-gradient(#f4fbff, #c9eef8); color: #05070b; }
html[data-theme='light'] .hero .btn-ghost { background: #ffffff06; color: var(--tx); border-color: #ffffff1f; }
html[data-theme='light'] .sec, html[data-theme='light'] .foot { border-top-color: #0b122012; }
html[data-theme='light'] .sec:before { background: radial-gradient(600px 300px at 50% 0, #0b6b860d, #0000); }
html[data-theme='light'] .win, html[data-theme='light'] .canvas-card, html[data-theme='light'] .do-card,
html[data-theme='light'] .dist-draft, html[data-theme='light'] .ea-card {
  background: #ffffff; border-color: var(--line); box-shadow: 0 20px 50px #0b122014;
}
html[data-theme='light'] .do-card b, html[data-theme='light'] .dd-line { color: var(--tx); }
html[data-theme='light'] .do-s { color: #0b5a70; background: #0b6b860f; border-color: #0b6b8640; }
html[data-theme='light'] .cal i, html[data-theme='light'] .meter, html[data-theme='light'] .ln,
html[data-theme='light'] .dd-bar i, html[data-theme='light'] .fb-bar i { background: #e3e8ef; }
html[data-theme='light'] .cal i.desync { background: #b4233522; outline-color: #b4233566; }
html[data-theme='light'] .rules li, html[data-theme='light'] .ui, html[data-theme='light'] .draft,
html[data-theme='light'] .queue li, html[data-theme='light'] .flow span, html[data-theme='light'] .pj,
html[data-theme='light'] code { background: #eef2f6; color: var(--tx); }
html[data-theme='light'] .rules li { color: #23408f; }
html[data-theme='light'] .pj { color: var(--mut); }
html[data-theme='light'] .pj.on, html[data-theme='light'] .net.on { background: #0b6b861f; color: var(--tx); }
html[data-theme='light'] code, html[data-theme='light'] .pill, html[data-theme='light'] .eyebrow { color: #0b5a70; }
html[data-theme='light'] .pill { background: #0b6b861a; }
html[data-theme='light'] .badge-off { color: #9b1c2c; background: #b423350f; border-color: #b4233544; }
html[data-theme='light'] .beta { color: #0b5a70; background: #0b6b8614; border-color: #0b6b8655; }
html[data-theme='light'] .hero .beta { color: var(--acc); background: transparent; border-color: #38e1ff55; }
html[data-theme='light'] .unify { background: #ffffffee; border-color: #0b6b8655; color: var(--tx); }
html[data-theme='light'] .dd-bar { border-bottom-color: #0b12200f; }
html[data-theme='light'] .rail { background: linear-gradient(#0b122030, #0b6b8640 60%, #0b122010); }
html[data-theme='light'] .price.hot { box-shadow: 0 0 0 1px var(--acc), 0 20px 50px #0b6b8614; }
html[data-theme='light'] .grad { background: linear-gradient(90deg, #0b6b86, #2f4fd1 50%, #0b6b86); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme='light'] .hero .grad { background: linear-gradient(90deg, #38e1ff, #9fefff 50%, #38e1ff); -webkit-background-clip: text; background-clip: text; }
/* Intro overlay: light paper + dark word. Dismiss logic (index-D_8VdsWr.js) is untouched. */
html[data-theme='light'] .intro { background: #f6f8fb; }
html[data-theme='light'] .intro-word { color: #0b1220; }
html[data-theme='light'] .foot { color: var(--mut); }
html[data-theme='light'] .foot-links { opacity: 1; }
html[data-theme='light'] .foot-links a { color: var(--mut); }
html[data-theme='light'] .foot-links a:hover { color: var(--tx); }
