* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 1.25rem;
  font-family: "Work Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1d2a24;
  background-color: #fbfaf5;
}

header,
main,
footer {
  max-width: 64rem;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #1f5a41;
}

a:hover {
  color: #14261e;
  background-color: #f2b632;
}

a:focus-visible {
  outline: 3px solid #1f5a41;
  outline-offset: 2px;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.2;
  color: #1f5a41;
}

h1 {
  margin: 1.5rem 0 0.75rem;
  font-size: 2.5rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1f5a41;
}

p {
  margin: 0 0 1rem;
}

.hero {
  padding-top: 1.25rem;
  text-align: center;
}

.hero img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.see-recipe {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: #14261e;
  background-color: #f2b632;
}

.see-recipe:hover {
  color: #fbfaf5;
  background-color: #1f5a41;
}

main > section {
  margin-top: 2.5rem;
}

.prep > section,
.notes > section {
  margin-top: 2.5rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.stats div {
  padding-top: 0.5rem;
  border-top: 3px solid #f2b632;
}

.stats dt {
  font-size: 0.875rem;
  color: #55635b;
}

.stats dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.stats .detail {
  margin-top: 0.25rem;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #55635b;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.checklist label {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  cursor: pointer;
}

.checklist input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.25rem 0 0;
  accent-color: #1f5a41;
}


.notes ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.notes li {
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.steps img {
  width: 100%;
  height: 14rem;
  margin: 1.5rem 0 0;
  object-fit: cover;
}

.steps ol {
  max-width: 40rem;
  margin: 0;
  padding-left: 2rem;
}

.steps li {
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
  line-height: 1.45;
}

.steps li::marker {
  font-weight: 700;
  color: #1f5a41;
}

.time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #55635b;
}

footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: #55635b;
}

@media (min-width: 50rem) {

  body {
    padding: 0 2rem;
  }

  .hero img {
    height: 26rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  .intro {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: start;
  }

  .stats {
    margin-top: 0;
  }

  .prep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .prep > section,
  .notes > section {
    margin-top: 0;
  }

  .notes > section + section {
    margin-top: 2.5rem;
  }

  .steps img {
    height: 18rem;
  }
}