/* Base — port of src/index.css (light theme only; the React ThemeContext forces light). Loaded AFTER tailwind.css. */
:root { color-scheme: light; --ri-navy: #0c326f; --ri-navy-dark: #0a2757; --ri-cyan: #22cdf0; --ri-page: #f4f7fa; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #f8fafc; color: #0f172a; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
.font-mono, code, kbd, pre { font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, 'Cascadia Code', monospace; }
.tabular-nums { font-variant-numeric: tabular-nums; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,.3); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,.5); }
.scrollbar-none { scrollbar-width: none; } .scrollbar-none::-webkit-scrollbar { display: none; }
[hidden] { display: none !important; }
/* Entry animations (React used tailwind animate-in utilities) */
@keyframes ri-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ri-slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ri-fade { from { opacity: 0; } to { opacity: 1; } }
.ri-pop { animation: ri-pop .18s ease-out; } .ri-slide-in { animation: ri-slide-in .2s ease-out; } .ri-fade { animation: ri-fade .2s ease-out; }
@media (prefers-reduced-motion: reduce) { .ri-pop, .ri-slide-in, .ri-fade { animation: none; } html { scroll-behavior: auto; } }
