:root {
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.4;
}

main {
  max-width: var(--max-width);
  margin: 50px auto;
  padding: 0 20px 60px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

h2 {
  margin: 0 0 12px;
}

.lead {
  margin: 0 0 20px;
  max-width: 900px;
  font-size: 17px;
  line-height: 1.65;
  color: #313131;
}

.is-hidden {
  display: none !important;
}

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

.btn {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #111;
}

.btn:hover {
  background: #f5f5f5;
}

.btn.primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn.primary:hover {
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
