:root {
  --max-width: 1120px;
  --space: 1.25rem;
  --radius: 1rem;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --background: #ffffff;
  --surface: #f9fafb;
  --accent: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space) 4rem;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.hero {
  padding: 5rem 0;
  border-top: 0;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 1;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 720px;
  font-size: 1.2rem;
  color: var(--muted);
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

.button,
button {
  display: inline-block;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.cards article {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

form {
  max-width: 720px;
}

label {
  display: block;
  margin: 1rem 0;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: .35rem;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  font: inherit;
}

textarea {
  min-height: 8rem;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.muted {
  color: var(--muted);
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--space);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
