.preview-site {
  min-height: 100vh;
  overflow-x: hidden;
}

.preview-ribbon {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f6f4ec;
  background: #17352d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.preview-header {
  height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(23,53,45,.16);
}

.preview-header-label {
  color: #89918c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preview-edit-link {
  justify-self: end;
  font-size: 12px;
  font-weight: 800;
}

.preview-edit-link:hover,
.preview-footer a:hover {
  text-decoration: underline;
}

.preview-hero {
  min-height: 610px;
  padding-top: 80px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.preview-hero h1 {
  max-width: 650px;
  font-size: clamp(55px, 6.8vw, 88px);
}

.preview-hero h1 em {
  color: #527463;
}

.preview-hero-copy > p:not(.eyebrow) {
  max-width: 440px;
  margin: 28px 0 30px;
  color: #69756d;
  font-size: 15px;
  line-height: 1.75;
}

.preview-art {
  height: 445px;
  position: relative;
  display: grid;
  place-items: center;
  background: #c5dd97;
  border: 1px solid #17352d;
  border-radius: 32px;
  box-shadow: 10px 12px 0 #f6c9ad;
}

.preview-art-orbit {
  width: 280px;
  height: 280px;
  position: absolute;
  border: 1px solid rgba(23,53,45,.18);
  border-radius: 50%;
}

.preview-art-orbit.orbit-two {
  width: 380px;
  height: 380px;
}

.preview-art-card {
  width: min(300px, 75%);
  padding: 30px;
  position: relative;
  z-index: 1;
  background: #fffefa;
  border: 1px solid #17352d;
  border-radius: 20px;
  box-shadow: 7px 9px 0 rgba(23,53,45,.16);
  transform: rotate(-4deg);
}

.preview-art-small {
  display: block;
  color: #819087;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.preview-art-card strong {
  margin: 18px 0 24px;
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.preview-art-line {
  width: 85%;
  height: 7px;
  margin-bottom: 9px;
  display: block;
  background: #e2e5dc;
  border-radius: 9px;
}

.preview-art-line.short {
  width: 57%;
}

.preview-art-pill {
  width: max-content;
  margin-top: 25px;
  padding: 8px 13px;
  display: block;
  background: #ff704d;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.preview-art-star {
  position: absolute;
  right: 45px;
  top: 25px;
  color: #17352d;
  font-size: 38px;
}

.preview-cards {
  padding-top: 36px;
  padding-bottom: 85px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid rgba(23,53,45,.16);
}

.preview-cards article {
  padding: 26px;
  background: #eeede4;
  border-radius: 17px;
}

.preview-cards article > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #17352d;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 10px;
}

.preview-cards h2 {
  margin-top: 35px;
  font-size: 28px;
}

.preview-cards p {
  margin: 12px 0 0;
  color: #69756d;
  font-size: 12px;
}

.preview-state {
  max-width: 440px;
  margin: 0 auto 70px;
  padding: 16px 20px;
  color: #4b6255;
  background: #e8eadf;
  border: 1px solid rgba(23,53,45,.2);
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
}

.preview-state[data-state="error"] {
  color: #8e3827;
  background: #ffe6dd;
}

.preview-state a {
  font-weight: 800;
  text-decoration: underline;
}

.preview-footer {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  color: #89918c;
  border-top: 1px solid rgba(23,53,45,.16);
  font-size: 10px;
}

@media (max-width: 820px) {
  .preview-hero { grid-template-columns: 1fr; gap: 45px; }
  .preview-art { max-width: 620px; }
  .preview-cards { grid-template-columns: 1fr; }
  .preview-cards article { min-height: 180px; }
}

@media (max-width: 560px) {
  .preview-header { height: 76px; grid-template-columns: 1fr auto; }
  .preview-header-label { display: none; }
  .preview-hero { padding-top: 60px; padding-bottom: 75px; }
  .preview-hero h1 { font-size: clamp(48px, 12vw, 65px); }
  .preview-art { height: 340px; }
  .preview-art-orbit.orbit-two { width: 290px; height: 290px; }
  .preview-art-orbit.orbit-one { width: 210px; height: 210px; }
  .preview-art-card { width: 70%; padding: 21px; }
  .preview-art-card strong { font-size: 26px; }
  .preview-state { margin-inline: 14px; }
}
