/* Dark theme (Malik's pick, 2026-11-25), applied as a light-touch refinement.
   Rules from Impeccable/Hallmark/Taste: keep content + layout, one accent, accent only on actions,
   one arch in the hero only, no tracked-caps labels, flat surfaces, no glow. */
:root{
  --bg:#0B1220; --surface:#111A2C; --surface-2:#0E1626;
  --head:#F5FAFC; --text:#B8C5D1; --muted:#8696A8; --rule:rgba(184,197,209,.14);
  --mint:#50F2BD; --mint-hover:#7AF5CF; --teal:#087F82;
  /* remap the old tokens so every existing rule follows */
  --navy:var(--surface-2); --navy-2:var(--surface); --ink:var(--head); --slate:var(--text); --line:var(--rule);
  --paper:var(--bg); --white:var(--surface); --brass:var(--mint); --brass-deep:var(--mint);
  --on-navy:var(--text); --on-navy-dim:var(--muted);
  --display:"Bricolage Grotesque",system-ui,sans-serif; --body:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:dark;
}
html,body{overflow-x:clip}
body{background:var(--bg);color:var(--text);font-family:var(--body)}
h1,h2,h3,.brand b,.sitebar .brand b{font-family:var(--display);font-weight:700;letter-spacing:-.02em;color:var(--head)}
.hook,.quote:before,.statcard b,.step .n{font-family:var(--display)}
.hook{color:var(--head);font-weight:500}
p,li{color:inherit}
/* labels: sentence case, untracked, quiet */
.eyebrow,.brand span,.sitebar .brand span,.phone small,.step .tag,.range span,.miniwin div{letter-spacing:0;text-transform:none}
.eyebrow{font-size:15px;font-weight:600;color:var(--muted)}
.hero .eyebrow,.tool .eyebrow{color:var(--muted)}
/* buttons: the one accent */
.btn,.sitebar .navcta{font-family:var(--body);border-radius:8px}
.btn-brass,.sitebar .navcta{background:var(--mint);color:#0B1220}
.btn-brass:hover,.sitebar .navcta:hover{background:var(--mint-hover)}
.btn-navy{background:var(--mint);color:#0B1220}
.btn-navy:hover{background:var(--mint-hover)}
.btn-line{border-color:var(--rule);color:var(--head)}
.btn:focus-visible,a:focus-visible,button:focus-visible,.sitebar a:focus-visible,.dd summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.btn{transition:background-color .15s}
/* header + footer */
.sitebar{background:rgba(11,18,32,.92);border-bottom:1px solid var(--rule);font-family:var(--body);backdrop-filter:blur(8px)}
.mainnav a,.dd summary{color:var(--muted)}
.mainnav a:hover,.dd summary:hover,.mainnav a.on{color:var(--head)}
.dd-menu{background:var(--surface);border-color:var(--rule);box-shadow:none}
.dd-menu a{color:var(--head)} .dd-menu a small{color:var(--muted)}
.dd-menu a:hover,.dd-menu a.on{background:var(--surface-2);color:var(--head)}
.sitefoot,footer.site{background:var(--bg);border-top:1px solid var(--rule);font-family:var(--body);color:var(--muted)}
.sitefoot a{color:var(--muted)}
/* hero: the single arch */
.hero{background:var(--bg);position:relative;isolation:isolate}
.hero:before{content:"";position:absolute;z-index:-1;right:-12%;bottom:-58%;width:78%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 50% 50%,transparent 57%,rgba(80,242,189,.20) 58%,rgba(8,127,130,.10) 66%,transparent 72%)}
.hero h1{color:var(--head)}
.portrait img{filter:none}
/* sections: flat, one rhythm */
section.block{background:var(--bg)!important;border:0!important;border-top:1px solid var(--rule)!important}
.loopsec{background:var(--surface-2)!important}
.final{background:var(--surface-2);border-top:1px solid var(--rule)}
/* cards: one surface, one border, one radius, no shadow, no coloured top rules */
.door,.step,.pane,.tool,.tool.light,.statcard,.quote,.loop li,.tabs{background:var(--surface);border:1px solid var(--rule);border-radius:12px;box-shadow:none;color:var(--text)}
.door{border-top:1px solid var(--rule)} .door:hover{transform:none;border-color:rgba(80,242,189,.45);box-shadow:none}
.pane.good,.door.other{border-top:1px solid var(--rule)}
.tabs button{font-family:var(--body);color:var(--muted)} .tabs button[aria-selected="true"]{background:var(--surface-2);color:var(--head)}
.statcard b,.loop li:before{color:var(--head)}
.loop li:before{background:var(--surface-2);border:1px solid var(--rule)}
.loop li:not(:last-child):after{color:var(--muted)}
.quote:before{color:var(--muted)}
.about-photo{background:var(--surface)}
.miniwin{background:var(--bg);border-color:var(--rule)} .miniwin div:nth-child(2){background:var(--surface);color:var(--text)}
.range a{background:var(--surface);border-color:var(--rule);color:var(--head)} .range a:hover{border-color:rgba(80,242,189,.45)}
.tbd{background:#3A3216;color:#F5E3A3}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}
/* fixes: old rules that used --navy as TEXT colour, leftover serif, white pills */
.stat b,.door .proofline b,.door .go,.other a,.range a,.step .tag{color:var(--head)}
.stat b,.door .proofline b,.loop b,.loopnote,.quote p,.statcard b,.step .n,.quote:before{font-family:var(--display)}
.loop b,.loopnote,.tool h3,.final h2,.quote footer b{color:var(--head)}
.quote p{font-size:19px;font-weight:500;color:var(--head)}
.step .n{color:var(--muted);letter-spacing:0;font-weight:600}
.step .tag{background:var(--surface-2);border:1px solid var(--rule);letter-spacing:0;text-transform:none;font-weight:600}
.loop li:before{color:var(--head);font-family:var(--body)}
.loopnote a{color:var(--mint)}
.range span{color:var(--muted);font-weight:600}
.stat{border-color:var(--rule)!important}
/* the top announcement bar: quiet, not a second mint band */
body>a[href*="calendly"]:first-of-type{background:var(--surface-2)!important;color:var(--head)!important;border-bottom:1px solid var(--rule)}
.loopsec .eyebrow,.eyebrow[style]{color:var(--muted)!important}
/* site-wide leftovers: no serif anywhere, accent only on actions */
.lede,.dek,.hook,.beyond .q,.next a,.faq summary,.prose blockquote,.say,.gform h2{font-family:var(--display)}
.lede,.dek{font-weight:500;color:var(--text)}
.beyond .q,.beyond .q b{color:var(--head)}
.prose blockquote{border-left-color:var(--rule);color:var(--head)}
.next a{color:var(--head);text-decoration-color:var(--mint)}
.say{background:var(--surface-2);border-left-color:var(--mint);font-weight:500}
.gform{background:var(--surface);border:1px solid var(--rule);border-radius:12px}
.gform input{background:var(--surface-2);border-color:var(--rule);color:var(--head);border-radius:8px}
.gform input:focus-visible{outline-color:var(--mint);border-color:var(--mint)}
.gcover{border:1px solid var(--rule);border-radius:12px;overflow:hidden;box-shadow:none}
.inside li::before{background:var(--mint);border-radius:50%;width:10px;height:10px;top:.55em}
.how li{background:var(--surface);border-color:var(--rule);border-radius:10px}
.how li::before{background:var(--surface-2);color:var(--head);border:1px solid var(--rule)}
.feature,.tool2,.req,.win{border-radius:12px}
.feature{border-top:1px solid var(--rule);box-shadow:none}
/* outline buttons: same as the primary button (Tyler 11/30) */
.btn-outline{background:var(--mint);color:#0B1220;border:0}
.btn-outline:hover{background:var(--mint-hover);border:0}
.badge{background:var(--surface-2);color:var(--head);border:1px solid var(--rule);letter-spacing:0;text-transform:none}
/* 11/30: last serif + gold leftovers (law, agency) */
.ba b,blockquote p,blockquote:before{font-family:var(--display)}
.ba b{font-weight:700;letter-spacing:-.02em}
.ba{border-color:var(--rule);border-radius:12px;background:var(--surface)}
.ba small{letter-spacing:0;text-transform:none}
.fixline{background:var(--surface);border:1px solid var(--rule);border-radius:12px}
.fixline b{color:var(--head)}
.case .eyebrow{color:var(--muted)}
blockquote:before{color:var(--muted)}
blockquote{border-radius:12px}
/* 11/30 contrast audit: key-facts table, old fonts */
.facts-wrap{background:var(--surface);border:1px solid var(--rule);border-radius:12px}
.facts th{background:var(--surface-2);color:var(--head);font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;padding-top:14px}
@media (max-width:640px){.facts th{background:none}}
.valueprop{font-family:var(--display)}
h4,.loopnote a{font-family:var(--body)!important}
.prose h2,.req h3,h2,h3{font-family:var(--display)!important}
button,.announce,body>a:first-of-type{font-family:var(--body)!important}
.team-photo,.about-photo{background:var(--surface)!important}
