:root {
  --bg: #fff;
  --bg-soft: #fafafa;
  --fg: #2d2d2d;
  --fg-strong: #111;
  --muted: #767676;
  --border: #d5d5d5;
  --border-soft: #ececec;
  --hover: #f4f4f4;
  --gray: #f5f5f5;

  --blue: #235ca3;
  --navy: #003a70;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  background: var(--bg-soft);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: var(--muted);
  font-size: 14px;
}
