@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600;700&display=swap");

:root {
  --sofi-teal: #0FBFA0;
  --sofi-teal-deep: #0A9E85;
  --sofi-teal-soft: #E5F7F4;
  --sofi-ink: #0D0F12;

  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-sunken: #EDEEF1;

  --border: #E4E6EA;
  --border-strong: #C8CBD2;

  --fg-1: #0D0F12;
  --fg-2: #4B5060;
  --fg-3: #9099A8;

  --n-200: #DEE2E0;
  --n-300: #C2C8C5;
  --n-400: #969C99;

  --ok: #16A34A;
  --ok-soft: #F2FAF4;
  --ok-border: #CBEBD5;
  --error: #DC2626;
  --error-soft: #FDECEC;
  --error-border: #F2C9C9;
  --warn: #CA8A04;
  --warn-soft: #FBF1D8;
  --warn-border: #E8D6A6;
  --info: #2563EB;
  --purple: #7C3AED;
  --purple-soft: #F1ECFB;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-1: 0 1px 3px rgba(0,0,0,.08);
  --shadow-2: 0 4px 12px rgba(0,0,0,.10);
  --shadow-glow: 0 0 0 4px rgba(15,191,160,.18);

  --dur-fast: 120ms;
  --dur-base: 200ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes qpulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg-1);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--n-200); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--n-300); }

a { color: var(--sofi-teal-deep); text-decoration: none; }
kbd {
  font-family: var(--font-mono); font-size: 10px; padding: 1px 5px;
  border: 1px solid var(--border); border-radius: 5px; background: var(--bg-alt); color: var(--fg-3);
}
.mono { font-family: var(--font-mono); }
.caption { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
