/* PHALA production brand tokens, sourced from the live site's themes.css. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap');
:root{--cream:#fffdf7;--green:#756100;--dark:#17140c;--ink:#171717;--muted:#77736b;--gold:#887600;--line:#ece8dc;--soft:#fffbea;--paper:#fffdf7;--accent:#f5df20;--accent-hover:#ead20b;--theme-panel:#fffbea;--theme-highlight:#887600;--theme-heading:inherit}
html[data-brand-theme=classic]{--cream:#fff8ef;--green:#9a2f17;--dark:#4a170d;--ink:#28150f;--muted:#806b5d;--gold:#b46b14;--line:rgba(92,48,25,.13);--soft:#fff1df;--paper:#fffdf9;--accent:#e9470a;--accent-hover:#c93a06;--theme-panel:#fff1df;--theme-highlight:#b46b14;--theme-heading:'Libre Baskerville',Georgia,serif}
body{background:var(--cream)!important;color:var(--ink)!important;font-family:'Avenir Next','DM Sans',Inter,system-ui,sans-serif!important}h1,h2,h3,h4,.logo,.brand strong{font-family:var(--theme-heading)!important;color:var(--ink)}h1,h2{font-weight:500}h1 em,h2 em{color:var(--theme-highlight);font-style:normal}header{background:var(--cream)!important;border-color:var(--line)!important}.brand-logo{width:58px;height:58px;object-fit:cover;border-radius:14px;flex:none;box-shadow:0 7px 20px #49241020}.brand strong{letter-spacing:.08em;font-weight:600}.brand small{color:var(--muted)}.btn:not(.light):not(.outline):not(.secondary):not(.ghost){background:var(--accent)!important;border-color:var(--accent)!important;color:var(--ink)!important;border-radius:999px}.btn:not(.light):hover{background:var(--accent-hover)!important}.btn.light,.btn.outline,.btn.secondary{color:var(--ink)!important;border-color:var(--line)!important;border-radius:999px}.concept-bar,.final-cta,.mini-workspace,.evidence,.hero.card,.note{background:var(--theme-panel)!important;color:var(--muted)!important}.dark{background:var(--dark)!important}.dark h2,.dark h3{color:#fff8ef}.dark h2 em{color:#f5df20}.dark p{color:#dbd3bd}.tag,.pill,.success{background:var(--soft)!important;color:var(--theme-highlight)!important}.preview,.card,.area,.topic,.demo{border-color:var(--line)!important}.hero-art{background:radial-gradient(ellipse at center,var(--theme-panel),transparent 70%)}.orbit,.orbit:before,.orbit:after{border-color:#e7d8a3}.orbit-label{background:var(--cream);color:var(--muted)}.micro b,.float strong,.inline-link,.back,.link,.close,.preview-top,.demo-toolbar>span:first-child{color:var(--green)!important}.demo-tabs button.active,.mini-nav span{background:var(--soft)!important;color:var(--green)!important}.topics .topic:hover{background:var(--soft)}.chart,.chart:before,.diamond{border-color:#c6a667}.check input{accent-color:var(--accent)}nav button.active{color:var(--ink)!important;border-color:var(--accent)!important}.ring .value{stroke:var(--accent)}.steps .active b{background:var(--accent);border-color:var(--accent);color:var(--ink)}.switch{background:var(--soft)}.avatar{background:var(--soft);color:var(--ink)}.theme-select{font:11px 'DM Sans',Arial;padding:8px 10px;border:1px solid var(--line);background:var(--cream);color:var(--ink);border-radius:8px;width:auto}.brandtop{display:flex;align-items:center;gap:12px}.brandtop .logo{font-size:25px}.brandtop .logo small{font-size:8px}@media(max-width:650px){.brand-logo{width:43px;height:43px;border-radius:11px}.brand small{font-size:7px}.theme-select{max-width:95px;font-size:10px}header .inner{gap:8px}header nav{gap:9px}header nav .btn{padding:10px 12px;font-size:10px}.brand strong{font-size:21px}.brand{gap:8px}}
