:root {
  color: #182940;
  background: #f6f0e6;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}

body {
  margin: 0;
}

main {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding-block: clamp(48px, 8vw, 96px) 48px;
}

.medium, .details, figcaption, footer {
  color: #4c5869;
  font-size: .875rem;
}

h1, h2, p, figure {
  margin: 0;
}

h1 {
  margin-block: 8px 16px;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -.065em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -.035em;
}

.lead {
  max-width: 28ch;
  margin-bottom: 28px;
  font-size: 1.125rem;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  background: #233e5b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button:hover, .button:focus-visible {
  background: #142b43;
}

.details {
  margin-top: 10px;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c5bda9;
  box-shadow: 6px 7px 0 rgba(69, 56, 38, .12);
}

figcaption {
  margin-top: 12px;
}

.full, footer {
  border-top: 1px solid #c5bda9;
  padding-block: 32px;
}

.full p {
  max-width: 54ch;
  margin-top: 8px;
}

.full .price {
  margin-top: 16px;
  font-weight: 700;
}

.secondary {
  display: inline-block;
  margin-top: 10px;
  color: #233e5b;
  text-underline-offset: .18em;
}

@media (max-width: 650px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  figure {
    width: min(100%, 300px);
  }
}
