/* A concrete service-page example, presented as an editorial spread. */
.service-example {
  overflow: hidden;
  margin: 72px 0 0;
  border: 8px solid #6e50dd;
  border-radius: 12px;
  background: #17102e;
  box-shadow: 0 22px 48px #24174625;
}

.service-example__intro {
  position: relative;
  overflow: hidden;
  padding: 27px clamp(25px, 4vw, 45px) 36px;
  background: radial-gradient(circle at 88% 85%, #6745bb, transparent 44%), linear-gradient(135deg, #19102e, #30205d);
  color: #fff;
}

.service-example__intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#ffffff12 1px, transparent 1px), linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.service-example__intro > * { position: relative; z-index: 1; }
.service-example__masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6dafa8c;
}
.service-example__masthead > span:first-child {
  font: 900 clamp(28px, 4vw, 43px)/.85 Archivo, Arial, sans-serif;
  letter-spacing: -.085em;
}
.service-example__masthead > span:first-child span { color: #f1d95f; font-size: .6em; vertical-align: top; }
.service-example__masthead > span:last-child,
.service-example__intro > p:first-of-type,
.service-example__sitebar,
.service-example__page-hero > span:first-child,
.service-example__page-detail span,
.service-example__page-proof span {
  font: 800 12px/1.15 BlurryDisplay, Arial, sans-serif;
  letter-spacing: .09em;
}
.service-example__intro > p:first-of-type { margin: 0 0 12px; color: #f1d95f; }
.service-example__intro h2 {
  max-width: 690px;
  margin: 0;
  font: 800 clamp(30px, 3.8vw, 45px)/1.06 Archivo, Arial, sans-serif;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.service-example__intro > p:last-child {
  max-width: 690px;
  margin: 18px 0 0;
  color: #e7defb;
  font-size: 17px;
  line-height: 1.52;
}

.service-example__body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .8fr);
  gap: 26px;
  padding: 33px;
  background: #eee9fa;
}
.service-example__page {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c4b8df;
  border-radius: 7px;
  background: #fffefa;
  box-shadow: 0 16px 24px #1f143c26;
  color: #241b3b;
}
.service-example__sitebar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #d6cfdf;
  color: #5038a2;
  font-size: 10px;
}
.service-example__sitebar strong { font-weight: 900; }
.service-example__page-hero {
  padding: 32px 24px 30px;
  background: radial-gradient(circle at 95% 13%, #d8ccff, transparent 43%), #f5f1fe;
}
.service-example__page-hero > span:first-child { color: #684dbf; }
.service-example__page-hero h3 {
  max-width: 440px;
  margin: 10px 0 12px;
  font: 800 clamp(27px, 3.1vw, 36px)/1.05 Archivo, Arial, sans-serif;
  letter-spacing: -.05em;
}
.service-example__page-hero p {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.service-example__mock-button {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 15px;
  border-radius: 3px;
  background: #f1d95f;
  color: #24183a;
  font: 800 13px/1 BlurryDisplay, Arial, sans-serif;
  letter-spacing: .045em;
}
.service-example__page-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #ded6e9;
  border-bottom: 1px solid #ded6e9;
}
.service-example__page-detail > div { padding: 23px 20px 25px; }
.service-example__page-detail > div + div { border-left: 1px solid #ded6e9; }
.service-example__page-detail span,
.service-example__page-proof span { color: #684dbf; }
.service-example__page-detail p,
.service-example__page-proof p {
  margin: 11px 0 0;
  font-size: 14px;
  line-height: 1.52;
}
.service-example__page-proof { padding: 23px 20px 25px; }
.service-example__page-next {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #e8e0fb;
  font-size: 14px;
  line-height: 1.45;
}
.service-example__page-next strong { font-size: 16px; }
.service-example__notes {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 4px 0;
}
.service-example__notes > div {
  position: relative;
  padding: 13px 0 19px 21px;
  border-left: 1px solid #8e77d8;
}
.service-example__notes > div::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6e50dd;
}
.service-example__notes dt {
  color: #2c1e55;
  font: 800 18px/1.2 Archivo, Arial, sans-serif;
  letter-spacing: -.025em;
}
.service-example__notes dd {
  margin: 7px 0 0;
  color: #4d455f;
  font-size: 14px;
  line-height: 1.48;
}
.service-example figcaption {
  padding: 14px 25px 17px;
  color: #e8def9;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .service-example__body { grid-template-columns: 1fr; gap: 22px; }
  .service-example__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 20px; }
}

@media (max-width: 590px) {
  .service-example { margin: 65px -20px 0; border-width: 6px; border-radius: 0; }
  .service-example__intro { padding: 23px 20px 27px; }
  .service-example__masthead { margin-bottom: 32px; }
  .service-example__intro h2 { font-size: 31px; }
  .service-example__intro > p:last-child { font-size: 15.5px; }
  .service-example__body { padding: 16px; }
  .service-example__sitebar { padding: 12px; font-size: 8px; }
  .service-example__page-hero { padding: 25px 17px; }
  .service-example__page-hero h3 { font-size: 29px; }
  .service-example__page-detail > div,
  .service-example__page-proof { padding: 17px 14px; }
  .service-example__page-detail { grid-template-columns: 1fr; }
  .service-example__page-detail > div + div { border-top: 1px solid #ded6e9; border-left: 0; }
  .service-example__page-next { padding: 17px 14px; }
  .service-example__notes { grid-template-columns: 1fr; padding: 0 5px; }
  .service-example figcaption { padding: 14px 17px; }
}
