:root { color-scheme: light; }
.theme-picker { display:flex; align-items:center; gap:.5rem; font: .875rem var(--sans,system-ui); }
.theme-picker select { font:inherit; color:inherit; background:var(--paper); border:1px solid var(--ochre); border-radius:4px; padding:.55rem .6rem; min-height:44px; }
.site-header { flex-wrap:wrap; }
.site-header nav { flex-wrap:wrap; }
@media(max-width:700px) { .theme-picker { margin-left:auto; } .theme-picker select { max-width:8rem; } }
:root[data-theme="dark"] { color-scheme:dark; --paper:#17241f; --ink:#f2eee3; --muted:#c0c7bb; --ochre:#d5ae70; --gold:#c5a16a; --line:#526052; --dark:#0d1813; }
:root[data-theme="dark"] body { background:var(--paper);color:var(--ink); }
:root[data-theme="dark"] .dark { color:#f2eee3; background:#0d1813; }
:root[data-theme="dark"] .btn { color:#17241f; background:#d5ae70; border-color:#d5ae70; }
:root[data-theme="dark"] .btn:hover { background:#e6c58f; }
:root[data-theme="dark"] :focus-visible { outline-color:#f2eee3; }
:root[data-theme="dark"] .study-hero .hero-copy { background:#17241f; box-shadow:0 0 36px 20px #17241f; }
:root[data-theme="dark"] .study-hero-art { filter:brightness(.72) saturate(.7); opacity:.65; }
:root[data-theme="dark"] .study-hero .availability, :root[data-theme="dark"] .quiet-copy { color:#c0c7bb; }
:root[data-theme="dark"] .manuscript { --ink:#202f28; --muted:#50564a; --ochre:#71511f; color:#202f28; background:#e7decb; border-color:#b9aa8e; }
:root[data-theme="dark"] .manuscript:before { opacity:.3; }
:root[data-theme="dark"] .affirmation-paper { --ink:#202f28; color:#202f28; mix-blend-mode:normal; }
:root[data-theme="dark"] .affirmation-paper .specimen-label { color:#202f28; background:#eee5d3; }
:root[data-theme="dark"] .writing-tools-art, :root[data-theme="dark"] .tarot-art { mix-blend-mode:normal; filter:brightness(.78) saturate(.75); }
:root[data-theme="dark"] .feature-group th { background:#2b3b31; }
:root[data-theme="dark"] .scroll-copy { --ink:#202f28; color:#202f28; }
:root[data-theme="dark"] .scroll-copy .journal-type, :root[data-theme="dark"] .scroll-copy .specimen-label { color:#202f28; }
:root[data-theme="dark"] .scroll-seal:focus-visible { outline-color:#fff8eb; }
:root[data-theme="dark"] .scroll-instruction { color:#dfbd85; }
:root[data-theme="dark"] .site-footer small, :root[data-theme="dark"] .form-note, :root[data-theme="dark"] .pricing-note { color:#c0c7bb; }
:root[data-theme="dark"] .form-row input[type=email] { color:#f2eee3; }

@media(prefers-color-scheme:dark) {
:root:not([data-theme]) { color-scheme:dark; --paper:#17241f; --ink:#f2eee3; --muted:#c0c7bb; --ochre:#d5ae70; --gold:#c5a16a; --line:#526052; --dark:#0d1813; }
:root:not([data-theme]) body { background:var(--paper);color:var(--ink); }
:root:not([data-theme]) .dark { color:#f2eee3; background:#0d1813; }
:root:not([data-theme]) .btn { color:#17241f; background:#d5ae70; border-color:#d5ae70; }
:root:not([data-theme]) .btn:hover { background:#e6c58f; }
:root:not([data-theme]) :focus-visible { outline-color:#f2eee3; }
:root:not([data-theme]) .study-hero .hero-copy { background:#17241f; box-shadow:0 0 36px 20px #17241f; }
:root:not([data-theme]) .study-hero-art { filter:brightness(.72) saturate(.7); opacity:.65; }
:root:not([data-theme]) .study-hero .availability, :root:not([data-theme]) .quiet-copy { color:#c0c7bb; }
:root:not([data-theme]) .manuscript { --ink:#202f28; --muted:#50564a; --ochre:#71511f; color:#202f28; background:#e7decb; border-color:#b9aa8e; }
:root:not([data-theme]) .manuscript:before { opacity:.3; }
:root:not([data-theme]) .affirmation-paper { --ink:#202f28; color:#202f28; mix-blend-mode:normal; }
:root:not([data-theme]) .affirmation-paper .specimen-label { color:#202f28; background:#eee5d3; }
:root:not([data-theme]) .writing-tools-art, :root:not([data-theme]) .tarot-art { mix-blend-mode:normal; filter:brightness(.78) saturate(.75); }
:root:not([data-theme]) .feature-group th { background:#2b3b31; }
:root:not([data-theme]) .scroll-copy { --ink:#202f28; color:#202f28; }
:root:not([data-theme]) .scroll-copy .journal-type, :root:not([data-theme]) .scroll-copy .specimen-label { color:#202f28; }
:root:not([data-theme]) .scroll-seal:focus-visible { outline-color:#fff8eb; }
:root:not([data-theme]) .scroll-instruction { color:#dfbd85; }
:root:not([data-theme]) .site-footer small, :root:not([data-theme]) .form-note, :root:not([data-theme]) .pricing-note { color:#c0c7bb; }
:root:not([data-theme]) .form-row input[type=email] { color:#f2eee3; }
}

