:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #14171c;
  --muted: #5b6370;
  --border: #e3e6ea;
  --accent: #2563eb;
  --max-width: 1040px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a20;
    --text: #e8eaee;
    --muted: #9aa2ae;
    --border: #272b33;
    --accent: #6b9bff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.hero {
  padding: 112px 0 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 24px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.services {
  padding: 80px 0 112px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 32px;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.card-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h3 {
  margin: 20px 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .services {
    padding: 56px 0 72px;
  }

  .card {
    padding: 24px;
  }
}
