
/* Theme */

body {
  background: var(--bg);
  color: var(--text);
}

.theme-toggle{
  position:fixed;
  top:1rem;
  right:1rem;
  z-index:45;
  width:38px;
  height:38px;
  background:var(--surface3);
  border:1px solid var(--border2);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  /* box-shadow:0 2px 8px rgba(0,0,0,.3); */
  transition:background .2s,border-color .2s}
.theme-toggle:hover{border-color:var(--accent)}

/* LIGHT theme vars - invert the colors */
[data-theme="light"] {
  --bg:antiquewhite;
  --surface:#ffffff;
  --surface2:#f3f4f6;
  --surface3:#e5e7eb;
  --border:rgba(0,0,0,0.08);
  --border2:rgba(0,0,0,0.15);
  --text:#111827;
  --muted:rgba(17,24,39,0.55);
  --faint:rgba(17,24,39,0.20);
  --accent:#22c55e; /* same green but darker for contrast */
  --accent2:#0891b2;
  --accent3:#dc2626;
  --accent4:#d97706;
  --fh:'Syne',sans-serif;
  --fb:'Instrument Sans',sans-serif;
  --fm:'JetBrains Mono',monospace;
  --r:12px;--rs:8px;--rl:16px;
  --ease:cubic-bezier(.16,1,.3,1);
  svg{
    stroke: var(--accent2);
    color: var(--accent2);
  }
  .sb-foot, .sb-foot-txt{
    color: var(--accent);
  }
  .fci{
    background: var(--muted);
  }
  .stxt{
    color: #111827;
  }
  .tcwhy{
    color: var(--accent);
  }
}