/* ── Design Tokens ─────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-muted: #fafafa;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: rgba(0, 0, 0, 0.06);
  --border-md: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.12);
  --icon-bg: #f3f4f6;
  --input-bg: #f9fafb;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #22c55e;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.07);
  --shadow-hero: 0 20px 60px rgba(0, 0, 0, 0.06);
  --max-w: 1200px;
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }

/* ── Utilities ─────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  background: var(--text-primary); color: #fff;
  font-size: 15px; font-weight: 500; line-height: 1;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  background: var(--bg); color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-size: 15px; font-weight: 500; line-height: 1;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--input-bg); }

/* ── Cards ─────────────────────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-lift:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-wrap svg { width: 20px; height: 20px; color: var(--text-primary); }

/* ── Section label ─────────────────────────────── */
.section-label {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* ── Grid helpers ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Lucide icon sizing helper ─────────────────── */
[data-lucide] { display: inline-block; vertical-align: middle; }

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer__tagline { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.footer__link { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer__link:hover { color: var(--text-primary); }
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: rgba(0,0,0,0.04); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.footer__social:hover { background: var(--text-primary); color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
