/* 3rg brand: 3RD Rock Grid colours (https://3rdrockgrid.com/): orange on warm charcoal and off-white.
   Only design tokens are overridden here; every component follows them. */
:root {
  --accent: #e8822a;
  --accent-2: #4f9bff;                         /* the blue of the globe */
  --brand-ink: #171412;                        /* brand box, hero fallback */
  --font-display: "Orbitron", "Exo 2", var(--font-sans);
  /* dark theme: warm charcoal instead of blue-black */
  --bg: #0f0d0c;
  --bg-glow-1: rgba(232, 130, 42, 0.12);
  --bg-glow-2: rgba(79, 155, 255, 0.06);
  --surface-0: #141211;
  --surface-1: #1a1716;
  --surface-2: #232020;
  --surface-3: #2e2a28;
  --field: #131110;
  --glass: rgba(26, 23, 22, 0.78);
  --border: rgba(232, 220, 205, 0.10);
  --border-strong: rgba(232, 220, 205, 0.20);
  --text: #ece8e4;
  --text-2: #b4ada6;
  --text-3: #857d76;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --accent: #c9620f;                         /* a touch deeper than the site's #e07820 for readable white text */
    --accent-2: #1f6fd6;
    --bg: #f5f3ef;
    --bg-glow-1: rgba(224, 120, 32, 0.09);
    --bg-glow-2: rgba(31, 111, 214, 0.05);
    --surface-0: #ffffff; --surface-1: #ffffff; --surface-2: #f3f0eb; --surface-3: #e8e3dc; --field: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --border: rgba(40, 30, 20, 0.10);
    --border-strong: rgba(40, 30, 20, 0.18);
    --text: #1a1816; --text-2: #4a4541; --text-3: #8a8480;
  }
}
:root[data-theme="light"] {
  --accent: #c9620f;
  --accent-2: #1f6fd6;
  --bg: #f5f3ef;
  --bg-glow-1: rgba(224, 120, 32, 0.09);
  --bg-glow-2: rgba(31, 111, 214, 0.05);
  --surface-0: #ffffff; --surface-1: #ffffff; --surface-2: #f3f0eb; --surface-3: #e8e3dc; --field: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --border: rgba(40, 30, 20, 0.10);
  --border-strong: rgba(40, 30, 20, 0.18);
  --text: #1a1816; --text-2: #4a4541; --text-3: #8a8480;
}
