/* design tokens: light theme by default, dark overrides via [data-theme="dark"] */
:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --text: #0b1220;
  --muted: #64748b;
  --primary: #2b6cff; /* blue */
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --card-border: rgba(0, 0, 0, 0.08);
  --line: rgba(0, 0, 0, 0.15);
}
/* dark theme overrides */
[data-theme="dark"] {
  --bg: #0b1020;
  --surface: rgba(11, 16, 32, 0.92);
  --text: #e5e7eb;
  --muted: #93a2b8;
  --primary: #66e0ff;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  --card-border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.2);
}
html, body { background: var(--bg); color: var(--text); }
.apple-ish-typography {
  --font-hero: clamp(40px, 6vw, 72px);
  --font-h1: clamp(28px, 4vw, 40px);
  --font-h2: clamp(20px, 2.5vw, 28px);
  --font-body: 16px;
  --line-height: 1.6;
}
.grad-bg {
  background: linear-gradient(135deg, rgba(2,132,199,0.15), rgba(99,102,241,0.15));
}
.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}
.btn {
  border-radius: 8px;
  padding: .6em 1.1em;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4b83ff);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.15); }
.input, .search-input {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.5em 0.75em;
  backdrop-filter: saturate(1.1) blur(6px);
}
[data-theme="dark"] .input, [data-theme="dark"] .search-input {
  background: rgba(255, 255, 255, 0.08);
}
