/* NOVA design system — foundation.
   Monochrome, quiet, tactile. Apple / Nothing / Linear inspired.
   All components live in e2ee.css; this file owns tokens and resets only. */
:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0a0a0b;
  --surface-2: #101011;
  --surface-3: #161618;
  --surface-4: #1c1c1e;
  --text: #f5f5f7;
  --text-2: #b4b4ba;
  --muted: #85858c;
  --faint: #5a5a61;
  --line: #222222;
  --line-soft: #191919;
  --line-strong: #303032;
  --accent: #f5f5f7;
  --accent-ink: #050505;
  --ok: #8db59c;
  --warn: #c9a878;
  --danger: #c98d92;
  --radius-xs: 8px;
  --radius-sm: 11px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --shadow-1: 0 1px 0 #ffffff0a inset, 0 8px 30px #00000070;
  --shadow-2: 0 24px 80px #000000b3;
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 180ms;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.01em;
  overflow-x: hidden;
}
body[data-theme="dark"] { background: var(--bg); color: var(--text); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; }
input, textarea, select { outline: none; }
:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
::selection { background: #ffffff26; color: var(--text); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #262628; border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: #353538; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes nova-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes nova-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nova-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nova-pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
