* {
  box-sizing: border-box;
}
html {
  background: #f8f9f5;
  color: #17201b;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
body {
  margin: 0;
}
header,
footer,
main {
  max-width: 1180px;
  margin: auto;
  padding-inline: clamp(22px, 5vw, 78px);
}
header,
footer,
nav,
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header {
  height: 96px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.brand {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -2px;
  gap: 10px;
}
.brand img,
dialog img {
  border-radius: 24%;
}
header > a:last-child,
footer {
  font-size: 14px;
}
.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 44px;
  padding: 30px 0 48px;
}
.words {
  padding-block: 25px;
}
h1 {
  font-size: clamp(56px, 6.8vw, 99px);
  line-height: 0.99;
  letter-spacing: -0.075em;
  font-weight: 620;
  margin: 0;
}
em {
  font:
    italic 1.04em Georgia,
    serif;
  letter-spacing: -0.07em;
  color: #536f50;
}
.words > p {
  max-width: 385px;
  line-height: 1.55;
  font-size: 18px;
  margin: 26px 0;
}
.words .hint {
  font-size: 13px;
  margin: 14px 0;
  color: #536457;
}
button {
  background: #17271d;
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 17px 27px;
  font:
    650 16px -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  cursor: pointer;
}
button span {
  margin-left: 20px;
}
figure {
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 35% 10%, #e2f1d5, transparent 65%),
    linear-gradient(145deg, #e0ecdc, #b6ccb8);
}
figure img {
  width: 58%;
  padding: 28px 0;
  filter: drop-shadow(0 13px 13px #23372233);
}
footer {
  border-top: 1px solid #d6ded5;
  min-height: 72px;
  color: #586155;
}
nav {
  gap: 20px;
}
dialog {
  max-width: min(430px, 92vw);
  border: 0;
  padding: 32px;
  border-radius: 26px;
  color: #17201b;
  box-shadow: 0 20px 100px #17201b45;
}
dialog::backdrop {
  background: #10221777;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 27px;
  letter-spacing: -1px;
}
dialog ol {
  padding-left: 23px;
}
dialog li,
dialog p {
  line-height: 1.5;
  margin: 14px 0;
}
dialog li::marker {
  font-weight: 700;
  color: #466144;
}
.close {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 3px 12px;
  background: #eef2eb;
  color: #263529;
  font-size: 25px;
}
#done {
  width: 100%;
}
@media (max-width: 680px) {
  header {
    height: 70px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 8px 28px;
  }
  .words {
    padding: 10px 0;
  }
  .words > p {
    margin: 16px 0;
  }
  .words .hint {
    margin: 10px 0;
  }
  figure {
    height: 285px;
    border-radius: 24px;
  }
  figure img {
    width: 170px;
    align-self: start;
    padding-top: 18px;
  }
  footer,
  nav {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
  }
}
