:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #0284c7;
  --primary-soft: rgba(2, 132, 199, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2e;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1e293b;
    --primary: #38bdf8;
    --primary-soft: rgba(56, 189, 248, 0.12);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--primary); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-link { font-weight: 600; text-decoration: none; }

.hero { text-align: center; padding-top: 48px; padding-bottom: 56px; }
.hero-logo { border-radius: 22px; box-shadow: 0 12px 32px rgba(2, 132, 199, 0.25); }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.1; letter-spacing: -1px; margin: 28px auto 16px; max-width: 760px; }
.lead { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.badge {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.feature .icon { font-size: 28px; }
.feature h2 { font-size: 18px; margin: 10px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

.footer { border-top: 1px solid var(--border); padding-top: 24px; padding-bottom: 32px; color: var(--muted); font-size: 14px; text-align: center; }
.footer p { margin: 0; }

.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 32px; margin: 0 0 8px; }
.notfound p { color: var(--muted); margin: 0 0 20px; }
