* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: rgb(55, 53, 47);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.brand img {
  height: 2rem;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 4rem 0 3rem;
}

.eyebrow,
.tag {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(120, 119, 116, 1);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.lead {
  max-width: 40rem;
  margin: 0;
  font-size: 1.125rem;
}

.services {
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 3rem;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid rgba(55, 53, 47, 0.12);
  border-radius: 12px;
  background: rgba(251, 243, 219, 0.45);
  scroll-margin-top: 1rem;
}

.service p {
  margin-top: 0;
}

.button {
  display: inline-block;
  margin-top: auto;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: #ffd43b;
  color: rgb(55, 53, 47);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #fcc419;
}

.about,
.contact {
  padding: 3rem 0;
  border-top: 1px solid rgba(55, 53, 47, 0.12);
}

dl {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

dt {
  font-size: 0.85rem;
  color: rgba(120, 119, 116, 1);
}

dd {
  margin: 0;
  font-weight: 600;
}

.contact p {
  margin: 0.4rem 0;
}

.site-footer {
  padding-top: 2rem;
  padding-bottom: 3rem;
  font-size: 0.9rem;
  color: rgba(120, 119, 116, 1);
}

@media screen and (min-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  h1 {
    font-size: 3.25rem;
  }

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

  dl {
    grid-template-columns: repeat(4, 1fr);
  }
}
