/* =====================================================================
   OwnIt theme
   Every color and font lives here. Change a value once and it updates
   the home page and the docs. Colors follow brand-overview.md.
   ===================================================================== */

/* ---------- Light mode (default) ---------- */
:root{
  /* Primary */
  --accent:      #FFE14D;   /* Highlighter Yellow: highlights, primary actions */
  --ink:         #111110;   /* Ink: main text */
  --bg:          #F3F1EA;   /* Paper: page background */

  /* Secondary */
  --accent-ink:  #7A6100;   /* Ochre: yellow used as text or links */
  --muted:       #5F5C53;   /* Stone: secondary text */
  --surface:     #FFFFFF;   /* cards */

  /* Derived */
  --on-accent:   #111110;   /* text on yellow */
  --line:        color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow:      0 40px 80px -40px rgba(40,34,10,.35);
  --band-bg:     #111110;
  --band-fg:     #F3F1EA;

  /* Logo */
  --logo-bulb:   #F6C018;
  --logo-base:   #212E38;

  /* Fonts */
  --display:     "Geist", system-ui, sans-serif;       /* titles */
  --body:        "Geist", system-ui, sans-serif;       /* text */
  --mono:        "Geist Mono", ui-monospace, Menlo, monospace;  /* labels, code */

  --r: 6px;
}

/* ---------- Dark mode ----------
   Same values twice: once for the system setting, once for the Dark button. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#111110; --surface:#1B1B19; --ink:#F3F1EA; --muted:#A39F93;
    --accent:#FFE14D; --on-accent:#111110; --accent-ink:#FFE14D;
    --logo-base:#E9E6DA; --shadow:0 40px 80px -40px rgba(0,0,0,.7);
    --band-bg:#1E1D16; --band-fg:#F3F1EA; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#111110; --surface:#1B1B19; --ink:#F3F1EA; --muted:#A39F93;
  --accent:#FFE14D; --on-accent:#111110; --accent-ink:#FFE14D;
  --logo-base:#E9E6DA; --shadow:0 40px 80px -40px rgba(0,0,0,.7);
  --band-bg:#1E1D16; --band-fg:#F3F1EA; color-scheme:dark;
}
