:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #17211b;
  background: #f7faf7;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 24px;
}

.hero {
  padding: 120px 0 140px;
  max-width: 760px;
}

.eyebrow {
  color: #247a4b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.hero > p:not(.eyebrow) {
  max-width: 600px;
  font-size: 1.2rem;
  color: #566159;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: white;
  background: #247a4b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 96px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid article,
form {
  padding: 28px;
  border: 1px solid #dce5de;
  border-radius: 24px;
  background: white;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

form {
  display: grid;
  gap: 10px;
}

label {
  margin-top: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bdc9c0;
  border-radius: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
}

footer {
  padding: 32px 0;
  border-top: 1px solid #dce5de;
  color: #566159;
}

@media (max-width: 720px) {
  .feature-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .section {
    padding: 64px 0;
  }
}
