/* Th3 M3ta Way tokens — generated by build_registry.py. Load: <link rel=stylesheet href=/brand-system/th3m3taway/tokens.css> then data-brand="th3m3taway" */
[data-brand="th3m3taway"],:root.th3m3taway{
 --c-bg:#0B1630;
 --c-bg-elevated:#14244A;
 --c-indigo:#1F3A7A;
 --c-haint:#9FD8D3;
 --c-marsh:#4E6B3A;
 --c-sweetgrass:#C9A45C;
 --c-rice:#F4EFE3;
 --c-tabby:#D9CFBF;
 --c-oyster:#8C8478;
 --c-pluff:#2B2520;
 --c-akashic:#7C6CF2;
 --c-ink-on-light:#0B1630;
 --role-surface:var(--c-bg);
 --role-surface-raised:var(--c-bg-elevated);
 --role-text:var(--c-rice);
 --role-text-muted:var(--c-tabby);
 --role-accent:var(--c-sweetgrass);
 --role-accent-2:var(--c-haint);
 --role-link:var(--c-haint);
 --role-glow:var(--c-akashic);
 --role-success:var(--c-marsh);
 --r-sm:6px;--r-md:12px;--r-lg:20px;
}

/* === MODES (light+dark semantic layer, appended by build_modes.py) === */
/* Th3 M3ta Way — light/dark semantic modes (PROPOSED draft 2026-10-22, generated by brand-system/build_modes.py).
   Default: dark. Use <html data-brand="th3m3taway"> ; force with data-theme="light|dark"; otherwise follows prefers-color-scheme. */
[data-brand="th3m3taway"],:root.th3m3taway{
 --s-bg:#0B1630;
 --s-surface:#14244A;
 --s-line:#1F3A7A;
 --s-text:#F4EFE3;
 --s-text-muted:#D9CFBF;
 --s-accent:#C9A45C;
 --s-accent-fill:#C9A45C;
 --s-on-accent:#0B1630;
 --s-link:#9FD8D3;
 --s-alert:#FF7A6E;
 color-scheme:dark;
}
[data-brand="th3m3taway"][data-theme="light"],[data-brand="th3m3taway"][data-mode="light"]{
 --s-bg:#F4EFE3;
 --s-surface:#FBF8F1;
 --s-line:#D9CFBF;
 --s-text:#0B1630;
 --s-text-muted:#4A4F5E;
 --s-accent:#7A5A1E;
 --s-accent-fill:#C9A45C;
 --s-on-accent:#0B1630;
 --s-link:#1F3A7A;
 --s-alert:#A3261C;
 color-scheme:light;
}
@media (prefers-color-scheme:light){[data-brand="th3m3taway"]:not([data-theme="dark"]):not([data-mode="dark"]){
 --s-bg:#F4EFE3;
 --s-surface:#FBF8F1;
 --s-line:#D9CFBF;
 --s-text:#0B1630;
 --s-text-muted:#4A4F5E;
 --s-accent:#7A5A1E;
 --s-accent-fill:#C9A45C;
 --s-on-accent:#0B1630;
 --s-link:#1F3A7A;
 --s-alert:#A3261C;
 color-scheme:light;
}}
