/* Example pages only. The light theme, which is the default (Jonathan, 2026-11-16: "want a button near
   the menu that makes light/dark mode. the site should default to light mode", then "everything in light
   mode needs lightened/visually tweaked to make it make sense as its own theme").
   Same system as the dark theme: Mona Sans, graphite #111114, gold. Here graphite is the ink and the page
   is warm paper. Nothing is left as a dark block: pictures sit on pale panels as ink drawings, icons sit on
   tinted chips, the score dial and score card are porcelain, the medallions get soft enamel and polished
   steel, the main button is filled with the page's color, and the words are charcoal, not black
   (Jonathan, same day: "no instances of black boxes, and the hero text shouldnt be black. too contrasty"). */
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f6f5f1;--raised:#ffffff;--raised-hover:#f0efea;
  --line:rgba(17,17,20,.10);--line-strong:rgba(17,17,20,.18);
  --text:#2e2e35;--text-2:#55555e;--muted:#6a6a73;--turn:#8a8a92;
  /* The accent on paper is the system's deep gold, so thin lines and words keep their contrast. */
  --accent:#a87b22;--accent-deep:#7d5a14;--accent-lit:#d9a93f;
  --bright:#d9a93f;--bright-lit:#f6dc8e;--bright-deep:#a87b22;
  --ink-1:#3a3a43;--ink-2:#8b8b93;--ink-3:#a6a6ad;--ink-4:#d8d7d1;
  /* The main button is filled with the page's color, never black. */
  --btn-1:#f2d57c;--btn-2:#dfb44c;--btn-ink:#33260a;--btn-shadow:rgba(168,123,34,.55);
  --hero-ink:#3a3a43;
  --card-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(17,17,20,.04),0 16px 32px -22px rgba(17,17,20,.26);
}
[data-theme="light"] [data-door="home-services"]{--accent:#a87b22;--accent-deep:#7d5a14;--accent-lit:#d9a93f;--bright:#d9a93f;--bright-lit:#f6dc8e;--bright-deep:#a87b22;--btn-1:#f2d57c;--btn-2:#dfb44c;--btn-ink:#33260a;--btn-shadow:rgba(168,123,34,.55)}
[data-theme="light"] [data-door="nonprofits"]{--accent:#6a45e6;--accent-deep:#4a26c4;--accent-lit:#8a63ff;--bright:#8a63ff;--bright-lit:#c5b1ff;--bright-deep:#5a35d6;--btn-1:#cdbffc;--btn-2:#a994f6;--btn-ink:#24124f;--btn-shadow:rgba(106,69,230,.5)}
[data-theme="light"] [data-door="business"]{--accent:#0a76b5;--accent-deep:#075a86;--accent-lit:#22b8ff;--bright:#22b8ff;--bright-lit:#91dcff;--bright-deep:#0a86c9;--btn-1:#a3dcf8;--btn-2:#62bcec;--btn-ink:#0a3350;--btn-shadow:rgba(10,118,181,.5)}

[data-theme="light"] ::selection{background:rgba(17,17,20,.16)}
[data-theme="light"] img[src$="b-mark-white.svg"]{filter:brightness(0);opacity:.8}

/* ---- Menu bar ---- */
[data-theme="light"] .nav > a:hover,[data-theme="light"] .drop summary:hover,[data-theme="light"] .drop[open] summary{background:rgba(17,17,20,.06)}
[data-theme="light"] .drop-panel{box-shadow:inset 0 0 0 1px var(--line-strong),0 24px 48px -16px rgba(17,17,20,.3)}
[data-theme="light"] .menu-panel{box-shadow:0 24px 48px rgba(17,17,20,.18)}
@media (max-width:719px){[data-theme="light"] .top{background:rgba(246,245,241,.92)}}

/* ---- Buttons ---- */
[data-theme="light"] .btn-primary{color:var(--btn-ink);background:linear-gradient(180deg,var(--btn-1) 0%,var(--btn-2) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 0 1px rgba(255,255,255,.18),0 1px 2px rgba(17,17,20,.12),0 14px 26px -14px var(--btn-shadow)}
[data-theme="light"] .btn-primary:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 0 1px rgba(255,255,255,.18),0 2px 4px rgba(17,17,20,.14),0 18px 30px -14px var(--btn-shadow)}
[data-theme="light"] .btn-primary .go,[data-theme="light"][data-theme] .btn-primary .go{color:var(--btn-ink);background:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),0 1px 2px rgba(17,17,20,.16)}
[data-theme="light"] .disc{background:linear-gradient(140deg,var(--btn-1) 0%,var(--btn-2) 100%);color:var(--btn-ink)}
[data-theme="light"] .btn-second{box-shadow:inset 0 0 0 1px var(--line-strong),0 12px 28px -16px rgba(17,17,20,.3)}
[data-theme="light"] .btn-quiet{box-shadow:inset 0 0 0 1px var(--line-strong),0 6px 16px -10px rgba(17,17,20,.25)}
[data-theme="light"] :is(.btn-card,.ico,.act,.more-svc > summary,.svc-sample span){box-shadow:inset 0 0 0 1px var(--line)}

/* ---- Cards: white on paper, a hairline and a soft shadow ---- */
[data-theme="light"] :is(.moves,.tile,.card,.door,.proof li,.panel,.fixes > div,.chip,.fix4 li,.pick-row,.take4 li,.ex-card,.works,.place){
  background:#fff;box-shadow:var(--card-shadow)}
[data-theme="light"] .place{border-color:transparent}
[data-theme="light"] :is(.door,.pick):hover{background-color:#fff;
  box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 60%,transparent),0 20px 36px -20px rgba(17,17,20,.35)}
[data-theme="light"] :is(.door,.pick):focus-within{box-shadow:inset 0 0 0 1px var(--line-strong),0 0 0 2px var(--text)}
[data-theme="light"] :is(.door,.pick):hover .act{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent)}
[data-theme="light"] .chip:hover{background-color:var(--raised-hover);box-shadow:inset 0 0 0 1px var(--line-strong),0 16px 32px -22px rgba(17,17,20,.28)}
[data-theme="light"] .door li,[data-theme="light"] .move-price span{background:rgba(17,17,20,.045)}
[data-theme="light"] .move-price span::before{background:#9a9aa1}
[data-theme="light"] .move-next{box-shadow:inset 0 0 0 1px var(--line-strong),0 4px 12px rgba(17,17,20,.16)}
[data-theme="light"] .team-faces li{background:#e6e5df}
[data-theme="light"] .ba .now{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 55%,transparent)}
[data-theme="light"] .ba .now svg{color:var(--accent)}
[data-theme="light"] .foot{background:linear-gradient(180deg,#efeee9,#eae9e3)}

/* ---- Pictures: pale panels tinted with the page's accent, drawn in ink ---- */
[data-theme="light"] :is(.move-vis,.door-vis){
  background:radial-gradient(rgba(17,17,20,.10) 1px,transparent 1.5px) 0 0/12px 12px,
    linear-gradient(180deg,color-mix(in srgb,var(--accent) 5%,#fbfaf7),color-mix(in srgb,var(--accent) 11%,#f1f0ea));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 16%,rgba(17,17,20,.08))}
[data-theme="light"] :is(.move-vis,.door-vis) :is([fill="#1a1a1e"],[fill="#1f1f23"],[fill="#1c1c20"]){fill:#fff}
[data-theme="light"] :is(.move-vis,.door-vis) [stroke="#55555c"]{stroke:var(--ink-2)}
[data-theme="light"] :is(.move-vis,.door-vis) [stroke="#4a4a52"]{stroke:var(--ink-3)}
[data-theme="light"] :is(.move-vis,.door-vis) [fill="#55555c"]{fill:var(--ink-3)}
[data-theme="light"] :is(.move-vis,.door-vis) :is([stroke="#2a2a30"],[stroke="#232328"]){stroke:var(--ink-4)}
[data-theme="light"] :is(.move-vis,.door-vis) [stroke="rgba(237,237,237,.16)"]{stroke:rgba(17,17,20,.2)}
[data-theme="light"] :is(.move-vis,.door-vis) [stroke="#ededed"]{stroke:var(--ink-1)}
[data-theme="light"] :is(.move-vis,.door-vis) [fill="#ededed"]{fill:var(--ink-1)}
[data-theme="light"] :is(.move-vis,.door-vis) [stroke="#0a0a0b"]{stroke:#fff}

/* ---- Icons: tinted chips with the accent as the ink ---- */
:root[data-theme="light"] .pip{color:var(--accent);background:color-mix(in srgb,var(--accent) 11%,#fff);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}
/* The trade colors are neon, made for a dark tile; on paper each is deepened so the icon still reads. */
:root[data-theme="light"] [data-industry] .pip,:root[data-theme="light"] .pip[data-industry]{
  color:color-mix(in srgb,var(--accent) 58%,#111114);background:color-mix(in srgb,var(--accent) 15%,#fff);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 42%,rgba(17,17,20,.12))}
:root[data-theme="light"] .flow-node{color:var(--accent);background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--accent) 10%,#fff));
  box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 32%,transparent),0 0 0 8px var(--bg),0 12px 22px -14px rgba(17,17,20,.35)}
:root[data-theme="light"] :is(.discs,.fix4) .flow-node{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 32%,transparent),0 12px 22px -14px rgba(17,17,20,.3)}
:root[data-theme="light"] .flow li.free .flow-node{box-shadow:inset 0 0 0 2px var(--accent),0 0 0 8px var(--bg),0 12px 22px -14px rgba(17,17,20,.35)}
@media (max-width:959px){
  :root[data-theme="light"] .flow-node{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 32%,transparent),0 0 0 6px var(--bg)}
  :root[data-theme="light"] .flow li.free .flow-node{box-shadow:inset 0 0 0 2px var(--accent),0 0 0 6px var(--bg)}
}

/* ---- Indiana map tile ---- */
[data-theme="light"] .place-map{background:linear-gradient(180deg,#fff,#f3f2ed);border-color:var(--line-strong)}
[data-theme="light"] .in-land{fill:#efeee8;stroke:rgba(17,17,20,.4)}
[data-theme="light"] .in-dot{fill:rgba(17,17,20,.22)}

/* ---- Hero: a paper floor, a pale skyline, charcoal words ---- */
[data-theme="light"] .hero :is(h1,.h1){color:var(--hero-ink)}
[data-theme="light"] .skyline linearGradient[id="sky-edge"] stop{stop-color:#3a3a43}
[data-theme="light"] .bg{background:
  radial-gradient(70% 55% at 50% -10%,rgba(255,255,255,.95),rgba(255,255,255,.35) 50%,transparent 75%),
  linear-gradient(180deg,var(--bg) 0%,#f1f0eb 55%,#e8e7e1 100%)}
[data-theme="light"] .bg::after{display:none}
[data-theme="light"] .page-light{background:
  radial-gradient(70% 55% at 50% -10%,rgba(255,255,255,.95),rgba(255,255,255,.35) 50%,transparent 75%),
  linear-gradient(180deg,#edece7 0%,var(--bg) 100%)}
[data-theme="light"] .satin{display:none}
[data-theme="light"] .sky-back path{fill:#e0dfd9}
[data-theme="light"] .skyline linearGradient[id="sky-fill"] stop:first-child{stop-color:#cbcac3}
[data-theme="light"] .skyline linearGradient[id="sky-fill"] stop:last-child{stop-color:#e4e3dd}
[data-theme="light"] .horizon{background:linear-gradient(180deg,#e7e6e0 0%,var(--bg) 100%);box-shadow:inset 0 1px 0 rgba(17,17,20,.10)}
[data-theme="light"] .horizon::before{background:linear-gradient(90deg,transparent,rgba(17,17,20,.22) 30%,rgba(17,17,20,.22) 70%,transparent)}

/* ---- Medallions: soft enamel, polished steel, a light stand. The inlay keeps the bright gold. ---- */
[data-theme="light"] .medal{--accent:var(--bright);--accent-lit:var(--bright-lit);--accent-deep:var(--bright-deep)}
[data-theme="light"] .medal svg{filter:drop-shadow(0 24px 32px rgba(17,17,20,.18))}
[data-theme="light"] .medal::after{background:radial-gradient(50% 50% at 50% 50%,rgba(17,17,20,.24),transparent 100%)}
[data-theme="light"] .md-enamel .s0{stop-color:#a9c3f8}
[data-theme="light"] .md-enamel .s1{stop-color:#7699ea}
[data-theme="light"] .md-enamel .s2{stop-color:#5377d2}
[data-theme="light"] .medal stop[stop-color="#1f7aa8"]{stop-color:#b5e1f8}
[data-theme="light"] .medal stop[stop-color="#0c3d61"]{stop-color:#6dc0ee}
[data-theme="light"] .medal stop[stop-color="#051b30"]{stop-color:#3d9ed8}
[data-theme="light"] .medal [fill="#0c3d61"]{fill:#4aa6dc}
[data-theme="light"] .medal [stroke="#0c3d61"]{stroke:#3d9ed8}
[data-theme="light"] .medal stop[stop-color="#5d43c9"]{stop-color:#d2c7fc}
[data-theme="light"] .medal stop[stop-color="#2d1b7a"]{stop-color:#a694f4}
[data-theme="light"] .medal stop[stop-color="#120a36"]{stop-color:#8672e2}
[data-theme="light"] .medal [fill="#2d1b7a"]{fill:#9482ea}
/* Home services: the black face becomes white porcelain, with a deeper gold so the house still stands out. */
[data-theme="light"] .medal stop[stop-color="#5a5148"]{stop-color:#ffffff}
[data-theme="light"] .medal stop[stop-color="#2a2622"]{stop-color:#f5f3ec}
[data-theme="light"] .medal stop[stop-color="#0f0d0b"]{stop-color:#dcd9cf}
[data-theme="light"] .medal [fill="#2a2622"]{fill:#f5f3ec}
[data-theme="light"] .medal:has(stop[stop-color="#5a5148"]) stop[stop-color="#fff3c9"]{stop-color:#f6e3a6}
[data-theme="light"] .medal:has(stop[stop-color="#5a5148"]) stop[stop-color="#f6dc8e"]{stop-color:#ecd07f}
[data-theme="light"] .medal:has(stop[stop-color="#5a5148"]) stop[stop-color="#d9a93f"]{stop-color:#dcb85a}
[data-theme="light"] .medal:has(stop[stop-color="#5a5148"]) stop[stop-color="#a87b22"]{stop-color:#c39a3a}
[data-theme="light"] .medal:has(stop[stop-color="#5a5148"]) .md-ring{opacity:.8}
[data-theme="light"] .medal stop[stop-color="#d4d4da"]{stop-color:#ffffff}
[data-theme="light"] .medal stop[stop-color="#6a6a71"]{stop-color:#cfcfd5}
[data-theme="light"] .medal stop[stop-color="#2a2a2e"]{stop-color:#93939b}
[data-theme="light"] .medal stop[stop-color="#4a4a50"]{stop-color:#b9b9c0}
[data-theme="light"] .medal stop[stop-color="#3a3a40"]{stop-color:#d2d1cb}
[data-theme="light"] .medal stop[stop-color="#121214"]{stop-color:#a3a29c}
[data-theme="light"] .md-stand-hi{stroke:rgba(255,255,255,.85)}
[data-theme="light"] :is(.md-stars,.md-torch,.md-rays){filter:drop-shadow(0 2px 1.5px rgba(17,17,20,.18))}

/* ---- Score dial: a porcelain face, ink marks, the gold zone ---- */
[data-theme="light"] .gauge stop[stop-color="#1a1a1e"]{stop-color:#ffffff}
[data-theme="light"] .gauge stop[stop-color="#0d0d0f"]{stop-color:#eeede7}
[data-theme="light"] .gauge stop[stop-color="#c8c8ce"]{stop-color:#ffffff}
[data-theme="light"] .gauge stop[stop-color="#5c5c62"]{stop-color:#c9c9cf}
[data-theme="light"] .gauge stop[stop-color="#1c1c1f"]{stop-color:#94949c}
[data-theme="light"] .g-inner{stroke:rgba(17,17,20,.08)}
[data-theme="light"] .g-zone.z2{stroke:rgba(17,17,20,.16)}
[data-theme="light"] .g-zone.z3{stroke:rgba(17,17,20,.34)}
[data-theme="light"] .g-tick[stroke="rgba(237,237,237,.6)"]{stroke:rgba(17,17,20,.62)}
[data-theme="light"] .g-tick[stroke="rgba(237,237,237,.32)"]{stroke:rgba(17,17,20,.36)}
[data-theme="light"] .g-tick[stroke="rgba(237,237,237,.16)"]{stroke:rgba(17,17,20,.2)}
[data-theme="light"] .gauge.big::before,[data-theme="light"] .g-pool{display:none}
[data-theme="light"] .gauge.big svg{filter:drop-shadow(0 18px 26px rgba(17,17,20,.16))}
[data-theme="light"] .g-base{background:linear-gradient(180deg,#dad9d3,#bdbcb5);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 18px 30px -10px rgba(17,17,20,.28)}

/* ---- Score card: white card stock ---- */
[data-theme="light"] .sc-back{background:#eceae4;border-color:var(--line)}
[data-theme="light"] .sc-card{background:linear-gradient(180deg,#fff,#f8f7f3);border-color:var(--line-strong);
  box-shadow:inset 0 1px 0 #fff,0 36px 60px -30px rgba(17,17,20,.38)}
[data-theme="light"] .sc-card [stroke="#2a2a30"]{stroke:#e3e2dc}
[data-theme="light"] .sc-card .md-gold .s0{stop-color:var(--accent-lit)}
[data-theme="light"] .sc-bar{background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 62%,transparent),rgba(17,17,20,.07))}

/* ---- Software logos: one ink tone on white ---- */
[data-theme="light"] .works-logos img{filter:invert(1);opacity:.76}
[data-theme="light"] .works-apps .app img{filter:grayscale(1) contrast(1.1);opacity:.9}
[data-theme="light"] .works-apps .app:hover img{filter:none;opacity:1}
[data-theme="light"] .works-apps .word img{filter:brightness(0);opacity:.72}

/* ---- The check page's greyed-out stops ---- */
:root[data-theme="light"] .ex-flow .flow-node.off{background:#f1f0eb;color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line-strong),0 0 0 8px var(--bg)}
