:root, [data-theme-media], .acre-outcome-card, .acre-proof-orbit, .acre-proof-archive-stage, .acre-explore-cursor, .acre-operator-portrait-card {
  --acre-bg:#080808; --acre-surface:#151515; --acre-text:#f3f1ec; --acre-muted:#aaa9a3;
  --acre-border:rgba(255,255,255,.2); --acre-accent:#78a9ef; --acre-action:#f3f1ec; --acre-action-text:#141412; --acre-rgb:8 8 8;
}
html[data-acre-theme="dark"] { color-scheme:dark; }
html[data-acre-theme="light"] {
  color-scheme:light; --acre-bg:#f3f1ec; --acre-surface:#e9e7e1; --acre-text:#141412; --acre-muted:#5c5c57;
  --acre-border:rgba(20,20,18,.22); --acre-accent:#295ba5; --acre-action:#141412; --acre-action-text:#f3f1ec; --acre-rgb:243 241 236;
}
[data-theme-media] { color:var(--acre-text); color-scheme:dark; }
.acre-theme-toggle {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:none;
  min-width:44px; min-height:44px; padding:8px 12px; border:1px solid var(--acre-border); border-radius:999px;
  background:var(--acre-bg); color:var(--acre-text); font:500 10px/1.2 'IBM Plex Mono',monospace;
  letter-spacing:.08em; text-transform:uppercase; cursor:pointer; white-space:nowrap;
}
.acre-theme-toggle:hover { border-color:var(--acre-accent); }
.acre-theme-toggle:focus-visible { outline:2px solid var(--acre-accent); outline-offset:3px; }
.acre-theme-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; }
.acre-theme-moon { display:none; }
html[data-acre-theme="light"] .acre-theme-sun { display:none; }
html[data-acre-theme="light"] .acre-theme-moon { display:block; }
.acre-theme-action { background:var(--acre-action)!important; color:var(--acre-action-text)!important; }
header:has([data-nav-logo]) { background:var(--acre-bg)!important; border-bottom-color:var(--acre-border)!important; }
header [data-nav-fg], header [data-nav-muted] { color:var(--acre-text)!important; }
header [data-nav-bar] { background:var(--acre-text)!important; }
header [data-nav-cta] { background:var(--acre-action)!important; color:var(--acre-action-text)!important; }
html[data-acre-theme="light"] header [data-nav-logo] { filter:none!important; }
html[data-acre-theme="dark"] header [data-nav-logo] { filter:invert(1)!important; }
@media(max-width:1439px) { .acre-theme-toggle [data-acre-theme-label] { display:none; } .acre-theme-toggle { padding:8px; } }
@media(max-width:600px) { header [data-nav-logo] { max-width:calc(100vw - 145px)!important; height:auto!important; } }
@media(max-width:600px) {
  html[data-acre-theme] header [data-nav-logo] { max-width:calc(100vw - 150px)!important; height:auto!important; }
  html[data-acre-theme] header:has([data-nav-logo]) > div:first-child { gap:12px!important; }
  html[data-acre-theme] header nav[aria-label="Main"] { display:none!important; }
}
/* The marquee uses white monochrome logo assets, not photography. */
html[data-acre-theme="light"] .acre-logo-marquee-track image-slot { filter:brightness(0); }

/* Country geometry needs its own light palette; D3's SVG attributes are dark-mode defaults. */
html[data-acre-theme="light"] acre-network-map svg path {
  fill: #e5e2da;
  stroke: #77796f;
  stroke-width: 1;
}

/* Inflection point: native, keyboard-accessible exclusive disclosures. */
#home-inflection > div { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important; align-items:start; }
acre-better-proof { display:block; }
.acre-better-row { border-top:1px solid var(--acre-border); }
.acre-better-row summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:24px minmax(0,1fr) 18px; align-items:baseline; gap:clamp(10px,1.4vw,22px); padding:clamp(18px,2vw,26px) 0; color:var(--acre-text); }
.acre-better-row summary::-webkit-details-marker { display:none; }
.acre-better-row summary:focus-visible { outline:2px solid var(--acre-accent); outline-offset:5px; }
.acre-better-number { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.16em; color:var(--acre-accent); }
.acre-better-title { font-family:Archivo,sans-serif; font-weight:700; font-stretch:88%; font-size:clamp(24px,3.3vw,50px); line-height:1.05; letter-spacing:-.03em; text-transform:uppercase; overflow-wrap:normal; }
.acre-better-icon { position:relative; width:14px; height:14px; color:var(--acre-accent); }
.acre-better-icon::before,.acre-better-icon::after { content:""; position:absolute; background:currentColor; }
.acre-better-icon::before { width:14px; height:1px; top:6px; left:0; }
.acre-better-icon::after { width:1px; height:14px; top:0; left:6px; }
.acre-better-row[open] .acre-better-icon::after { display:none; }
.acre-better-row p { margin:0 28px 26px calc(24px + clamp(10px,1.4vw,22px)); max-width:52ch; font-size:clamp(15px,1.15vw,17px); line-height:1.65; color:var(--acre-muted); text-wrap:pretty; }
@media (hover:hover) { .acre-better-row summary:hover .acre-better-title { color:var(--acre-accent); } }
@media (max-width:600px) { .acre-better-title { font-size:clamp(22px,6.5vw,34px); } }

/* Vector external-link arrows: no platform emoji substitution. */
.acre-arrow-ne{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:url(/assets/arrow-up-right.svg) center/contain no-repeat;mask:url(/assets/arrow-up-right.svg) center/contain no-repeat;vertical-align:-.1em;flex-shrink:0;}
