@font-face {
  font-family: Configurate;
  src: url("sample/assets/configurate-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 20px;
  background: #f4f3f0 url("preview-background.jpg") center / cover;
  font:
    14px/1.5 Configurate,
    Arial,
    sans-serif;
  color: #151515;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid;
  outline-offset: 5px;
}
.email {
  max-width: 672px;
  margin-inline: auto;
  border: 1px solid #dfded9;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 36px #28221b0a;
}
.envelope {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-bottom: 1px solid #ecebe8;
  background: #fafaf9;
  font-size: 11px;
}
.sender {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #deddd8;
  border-radius: 50%;
  font-size: 15px;
  background: white;
}
.envelope strong {
  font-weight: 600;
}
.envelope p,
.date {
  color: #666;
}
.date {
  margin-left: auto;
}
.content {
  padding: 20px 32px 22px;
}
.brand {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 15px;
  margin-bottom: 18px;
  text-decoration: none;
}
.brand img {
  display: block;
  mix-blend-mode: multiply;
  width: 130px;
  height: auto;
}
.brand > span {
  padding-left: 15px;
  border-left: 1px solid #d4d4d4;
  font-size: 15px;
}
.eyebrow {
  color: #67645f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow > span {
  padding-inline: 5px;
  color: #b2b0aa;
}
h1 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-block: 10px 12px;
  font-variation-settings: "wdth" 125;
}
.intro {
  color: #626262;
  font-size: 12px;
  line-height: 1.6;
}
.next {
  margin-top: 16px;
  border-top: 1px solid #e7e6e2;
  padding-top: 12px;
}
h2 {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
}
.action {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-block: 11px;
}
.action-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid #e7e6e2;
  border-radius: 7px;
  background: #fafaf8;
  font-size: 16px;
}
h3 {
  font-size: 12px;
  font-weight: 600;
}
.action p {
  color: #666;
  font-size: 10px;
  margin-top: 3px;
}
.time {
  margin-left: auto;
  flex: none;
  color: #666;
  font-size: 10px;
}
.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 13px 16px;
  border: 1px solid #e6e8df;
  border-radius: 8px;
  background: #f5f6f0;
}
.progress p {
  margin-top: 3px;
  font-size: 11px;
}
.progress strong {
  font-size: 22px;
  letter-spacing: -0.04em;
  font-weight: 500;
  white-space: nowrap;
}
.progress strong span {
  padding-inline: 5px;
  color: #747866;
}
.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  gap: 28px;
  padding: 10px 18px;
  margin-top: 16px;
  border-radius: 999px;
  color: white;
  background: #111;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: #333;
}
@media (max-width: 500px) {
  body {
    padding: 16px;
  }
  .envelope {
    padding: 14px 18px;
  }
  .content {
    padding: 24px 20px;
  }
  .date {
    font-size: 10px;
  }
  h1 {
    font-size: clamp(29px, 8vw, 37px);
  }
  .desktop-break {
    display: none;
  }
  .action {
    flex-wrap: wrap;
  }
  .action > div {
    flex: 1;
    min-width: 160px;
  }
  .time {
    margin-left: 38px;
  }
  .progress {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .button {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }
}
