/* =====================================================================
   brand-interstellarobservatory.css — interstellarobservatory.com brand layer
   Overrides KIT TOKENS only (no component rules). Load after theme-base.css.
   CSP-safe: no fonts to download, no images, no inline styles needed.
   ---------------------------------------------------------------------
   Idea: a night-sky observatory. Light theme = pale starlight paper with
   deep-space indigo ink; dark theme = the sky after dark, with soft
   starlight blue links and a nebula-violet second accent.
   ---------------------------------------------------------------------
   Token                    Light        Dark         Why
   --color-bg               #f5f6fb      #0a0d1a      starlight paper / night sky
   --color-text             #161a2e      #e7e9f3      deep-space ink / starlight
   --color-accent           #2d3a8c      #9db0ff      observatory indigo
   --color-accent-2         #67379a      #d2a8ff      nebula violet
   --color-link             #2d3a8c      #a8b9ff
   --brand-gradient         #101645 → #3a2870 (light)  #141b44 → #2e1f57 (dark)
                            header: a slice of night sky, white text on top
   Fonts: system stacks from theme-base.css (nothing downloaded at all).
   Verify with:  python3 check-contrast.py   (0 failures required)
   ===================================================================== */
:root {
  --color-bg: #f5f6fb;
  --color-surface: #ffffff;
  --color-surface-2: #eceef7;
  --color-tint: #e6e9fa;
  --color-border: #d3d7ea;
  --color-text: #161a2e;
  --color-text-muted: #545a73;
  --color-accent: #2d3a8c;
  --color-accent-contrast: #ffffff;
  --color-accent-2: #67379a;
  --color-accent-2-contrast: #ffffff;
  --color-link: #2d3a8c;
  --color-link-hover: #1b2460;
  --color-focus: #3b4fd6;
  --color-code-bg: #101433;
  --color-code-fg: #e7e9f3;
  --brand-gradient: linear-gradient(135deg, #101645 0%, #3a2870 100%);
  --brand-gradient-fg: #ffffff;
}
/* Dark: keep this block and the @media block below IDENTICAL. */
:root[data-theme="dark"] {
  --color-bg: #0a0d1a;  --color-surface: #121729;  --color-surface-2: #1a2036;
  --color-tint: #1b2447;  --color-border: #2c3556;
  --color-text: #e7e9f3;  --color-text-muted: #a3a9c2;
  --color-accent: #9db0ff;  --color-accent-contrast: #0a0d1a;
  --color-accent-2: #d2a8ff;  --color-accent-2-contrast: #160a24;
  --color-link: #a8b9ff;  --color-link-hover: #d3dcff;  --color-focus: #a8b9ff;
  --color-code-bg: #060814;  --color-code-fg: #e7e9f3;
  --brand-gradient: linear-gradient(135deg, #141b44 0%, #2e1f57 100%);
  --brand-gradient-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a0d1a;  --color-surface: #121729;  --color-surface-2: #1a2036;
    --color-tint: #1b2447;  --color-border: #2c3556;
    --color-text: #e7e9f3;  --color-text-muted: #a3a9c2;
    --color-accent: #9db0ff;  --color-accent-contrast: #0a0d1a;
    --color-accent-2: #d2a8ff;  --color-accent-2-contrast: #160a24;
    --color-link: #a8b9ff;  --color-link-hover: #d3dcff;  --color-focus: #a8b9ff;
    --color-code-bg: #060814;  --color-code-fg: #e7e9f3;
    --brand-gradient: linear-gradient(135deg, #141b44 0%, #2e1f57 100%);
    --brand-gradient-fg: #ffffff;
  }
}
