:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5b6270;
  --line: #e4e4e0;
  --accent: #4f46e5;
  --accent-ink: #ffffff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --text: #e8e9ec;
    --muted: #9aa1ad;
    --line: #262a33;
    --accent: #8b85ff;
    --accent-ink: #0f1115;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, var(--bg) 85%, transparent);
       backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; letter-spacing: .02em; text-decoration: none; font-size: 1.2rem; }
.logo span { color: var(--accent); }
nav a { margin-left: 20px; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }

.hero { padding: 96px 0 72px; }
.kicker { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 0 28px; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
          padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.button:hover { filter: brightness(1.08); }

.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.8rem; margin: 0 0 8px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 32px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
        display: flex; flex-direction: column; gap: 10px; }
.card h3, .point h3 { margin: 0; font-size: 1.15rem; }
.card p, .point p { margin: 0; color: var(--muted); }
.icon { font-size: 1.8rem; }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.badge { margin-top: auto; align-self: flex-start; font-size: .8rem; font-weight: 600; color: var(--accent); }

.contact { text-align: center; }
.contact p { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot p { margin: 0; }

@media (max-width: 560px) {
  nav a { margin-left: 14px; }
  .hero { padding: 64px 0 48px; }
}
