/* tokens.css — Design tokens (custom properties), light-theme overrides, reset and base typography.
   Extracted from the original single-file index.html (2026-08-29 split).
*/

/* ═══════════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════════ */
:root {
  --bg: #0f172a; --bg2: #1e293b; --bg3: #334155;
  --card: #1a2744; --card2: #1e293b;
  --text: #f1f5f9; --text2: #94a3b8; --text3: #64748b;
  --accent: #6366f1; --accent2: #818cf8; --accent3: #a5b4fc;
  --green: #10b981; --amber: #f59e0b; --rose: #f43f5e; --cyan: #06b6d4;
  --border: rgba(99,102,241,0.18); --border2: rgba(255,255,255,0.07);
  --shadow: 0 4px 24px rgba(0,0,0,0.45); --shadow2: 0 2px 8px rgba(0,0,0,0.3);
  --r: 10px; --r2: 16px; --r3: 24px;
  --sidebar: 272px; --nav: 60px;
  --font: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --mono: 'SF Mono','Fira Code',Consolas,monospace;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}
[data-theme="light"] {
  --bg: #f0f4ff; --bg2: #e8eeff; --bg3: #d4dbf5;
  --card: #ffffff; --card2: #f5f7ff;
  --text: #1e2547; --text2: #4b5280; --text3: #8b90b0;
  --accent: #4f46e5; --accent2: #6366f1; --accent3: #818cf8;
  --border: rgba(79,70,229,0.15); --border2: rgba(0,0,0,0.07);
  --shadow: 0 4px 24px rgba(79,70,229,0.12); --shadow2: 0 2px 8px rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════ RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.7;overflow-x:hidden;transition:background var(--transition),color var(--transition)}
a{color:var(--accent);text-decoration:none}
img,svg{display:block;max-width:100%}
button{cursor:pointer;border:none;font-family:inherit}
ul,ol{padding-left:1.4em}
li{margin-bottom:.3em}
h1,h2,h3,h4{line-height:1.25;color:var(--text)}
h1{font-size:2.2rem;font-weight:800}
h2{font-size:1.7rem;font-weight:700}
h3{font-size:1.25rem;font-weight:600}
h4{font-size:1rem;font-weight:600}
p{margin-bottom:.85em}
p:last-child{margin-bottom:0}
code{font-family:var(--mono);background:var(--bg3);padding:.15em .45em;border-radius:4px;font-size:.85em}

