/* ============================================================
   base.css — design tokens + basics for the landing and account
   pages (same tokens as Collect / Recognize / Train).
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0d10;
  --surface: #14161b;
  --surface2: #1c1e26;
  --border: #252830;
  --border2: #32363f;
  --accent: #1895ff;
  --accent-dim: #1058a0;
  --accent2: #e05a2b;
  --text: #e2e4ea;
  --text2: #9aa0b0;
  --muted: #50566a;
  --canvas-bg: #181a20;
  --radius: 10px;
  --mono: "IBM Plex Mono", monospace;
  --status-complete: #22c55e;
  --status-over: #eab308;
  --control-w: 300px;
  --bento-gap: 10px;
  --bento-pad: 10px;
}
:root.light {
  --bg: #f0f1f4;
  --surface: #ffffff;
  --surface2: #f4f5f8;
  --border: #d8dae0;
  --border2: #bec2cc;
  --accent: #1895ff;
  --accent2: #e05a2b;
  --text: #0f1117;
  --text2: #505870;
  --muted: #8890a4;
  --canvas-bg: #e8eaee;
}

:root { --myanmar: "Noto Sans Myanmar", sans-serif; }

html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.my { font-family: var(--myanmar); }
a { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }
.btn.ghost { background: none; border-color: transparent; }
.btn.ghost:hover { border-color: var(--border2); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
