/* Dark mode for a page = a dark hero and a dark footer. The rest of the page stays light.
   A page opts in by putting class="dark-page" on its hero section.
   The app screen in the hero stays light, like a real product shot on a dark stage. */
.dark-page, html:has(.dark-page) .footer {
  --bg-base: #0f1513; --bg-subtle: #0f1513; --bg-hover: #1a2321;
  --border: #25302d; --border-strong: #34413d;
  --fg-base: #eef3f1; --fg-heading: #eef3f1; --fg-h1: #eef3f1; --fg-muted: #9ba8a4; --fg-subtle: #6f7c78;
  --brand-strong: #3fd3bb; --brand-tint: #15302b;
  --air-tint: #161e1c;
  --pencil-color: #4a5552;
  color-scheme: dark;
  color: var(--fg-base);
}
/* full-bleed dark band behind the hero and the footer */
.sec.dark-page, html:has(.dark-page) .footer {
  background: #0f1513;
  box-shadow: 0 0 0 100vmax #0f1513;
  clip-path: inset(0 -100vmax);
}
html:has(.dark-page) .footer::before { background: #25302d; }
html:has(.dark-page) .footer a:hover { color: var(--fg-base); }
html:has(.dark-page) .footer .gaia-logo, html:has(.dark-page) .footer .brand { color: var(--fg-base); }

.dark-page .subhead { color: var(--fg-muted); }
.dark-page .btn-ghost { background: transparent; color: var(--fg-base); border-color: var(--border-strong); }
.dark-page .btn-ghost:hover { background: var(--bg-hover); }
.dark-page h1 { background: linear-gradient(180deg, #ffffff 30%, #b9cfc9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark-page .media.has-ui { background: linear-gradient(180deg, #17211e, #121a18); }
.dark-page .media.has-ui .ui-fit { box-shadow: 0 40px 90px -40px rgba(0, 171, 147, .35), 0 0 0 1px rgba(255, 255, 255, .06); }
