@font-face { font-family:Manrope; src:url('/img/fonts/Manrope-Variable.ttf') format('truetype'); font-weight:200 800; font-display:swap; }
body.standalone-theme { font-family:Manrope,Inter,'Segoe UI',sans-serif; }
/* Standalone informational and sign-in pages share the saved site preference. */
body.standalone-theme { --bg:#151d1c; --bg2:#1c2624; --bg3:#25312d; --text:#f1f1e9; --text2:#c0cbc2; --text3:#a2b1a7; --teal:#a2c4b4; --teal-light:#b3d0bf; --gold:#c9b487; --gold-light:#d8c9a4; background-image:none; }
body.standalone-theme .nav-header { background:#151d1c; border-color:rgba(225,230,218,.14); }
body.standalone-theme.light-mode { --bg:#f4f2eb; --bg2:#fffefb; --bg3:#edf0e9; --surface:#fffefb; --border:#d9ded5; --text:#24332d; --text2:#485c52; --text3:#617368; --teal:#376c59; --teal-light:#376c59; --gold:#806b42; --gold-light:#806b42; --bg-deep:#f4f2eb; --bg-card:#fffefb; --bg-input:#f4f5ef; --border-soft:#d9ded5; --text-main:#24332d; --text-muted:#53695c; color:var(--text); background:#f4f2eb; }
body.standalone-theme.light-mode .nav-header { background:#faf9f4; border-color:#d9ded5; }
body.standalone-theme.light-mode :is(.nav-link,.nav-back-link,.contact-lead,.about-lead,.auth-subtitle,.form-group label) { color:#485c52 !important; }
body.standalone-theme.light-mode :is(.story-card,.pillar-card,.form-card,.contact-card,.legal-card,.auth-side,.showcase-side,.auth-card) { background:#fffefb !important; color:#24332d; border-color:#d9ded5 !important; box-shadow:none !important; }
body.standalone-theme.light-mode :is(.form-input,.form-select,.form-textarea) { background:#f7f8f3 !important; color:#24332d !important; border-color:#cbd5cb !important; }
body.standalone-theme.light-mode :is(h1,h2,h3,h4) { color:#24332d; }
body.standalone-theme.light-mode :is(.site-footer,.highlight-card) { background:#fffefb; border-color:#d9ded5; }
body.standalone-theme.light-mode :is(.highlight-card strong,.policy-container strong) { color:#24332d; }
body.standalone-theme.light-mode :is(a:hover,.nav-link:hover) { color:#284c38; }
.standalone-theme-toggle { border:1px solid var(--border); border-radius:8px; background:transparent; color:var(--text); padding:7px 10px; font:600 13px inherit; cursor:pointer; }
.standalone-theme-toggle:focus-visible { outline:3px solid #6c9c86; outline-offset:3px; }
body.standalone-theme { --bg:#1d191b; --bg2:#292226; --bg3:#332a30; --text:#f4efed; --text2:#c9cecd; --text3:#a8b1af; --teal:#a9c9be; --teal-light:#bfd7ce; }
body.standalone-theme .nav-header { background:#1d191b; }
body.standalone-theme.light-mode { --bg:#f7f5f2; --bg2:#fffefc; --bg3:#f1edeb; --surface:#fffefc; --border:#e3deda; --text:#272c2e; --text2:#596165; --text3:#687176; --teal:#0a3d3d; --teal-light:#0a3d3d; --bg-deep:#f7f5f2; --bg-card:#fffefc; --bg-input:#f7f5f2; --border-soft:#e3deda; --text-main:#272c2e; --text-muted:#687176; color:#272c2e; background:#f7f5f2; }
body.standalone-theme.light-mode .nav-header { background:#fffefc; border-color:#e3deda; }
body.standalone-theme.light-mode :is(.nav-link,.nav-back-link,.contact-lead,.about-lead,.auth-subtitle,.form-group label) { color:#596165 !important; }
body.standalone-theme.light-mode :is(.story-card,.pillar-card,.form-card,.contact-card,.legal-card,.auth-side,.showcase-side,.auth-card,.site-footer,.highlight-card) { background:#fffefc !important; color:#272c2e; border-color:#e3deda !important; }
body.standalone-theme.light-mode :is(h1,h2,h3,h4,.highlight-card strong,.policy-container strong) { color:#272c2e; }
body.standalone-theme.light-mode :is(a,.nav-link,a:hover,.nav-link:hover) { color:#0a3d3d; }
.standalone-theme-toggle:focus-visible { outline-color:#92798a; }
.standalone-brand-logo { display:block; position:relative; width:140px; aspect-ratio:3 / 1; }
.standalone-brand-logo img { display:block; width:100%; height:auto; }
.standalone-brand-logo .standalone-brand-wordmark { position:absolute; inset:0; clip-path:polygon(33% 0,89% 0,89% 50%,100% 50%,100% 100%,33% 100%); filter:brightness(0) invert(95%) sepia(8%); }
body.light-mode .standalone-brand-wordmark { display:none; }
@media (max-width:600px) {
  body.standalone-theme .nav-header { height:auto; min-height:64px; flex-wrap:wrap; gap:10px; padding:10px 16px; }
  body.standalone-theme .nav-links { order:3; flex:1 0 100%; flex-wrap:wrap; gap:12px; }
  body.standalone-theme .standalone-theme-toggle { margin-left:auto; }
  body.standalone-theme .nav-link { padding:4px 0; }
}
