/* The homepage desktop app showcase mirrors the open laptop in the reference. */
body.site-refresh .desktop-offer-section {
  padding: 70px 24px 96px;
  background: #fff;
  font-family: var(--font-body);
}

:root[data-theme="dark"] body.site-refresh .desktop-offer-section,
:root:not([data-theme="light"]) body.site-refresh .desktop-offer-section {
  background: #fff;
}

body.site-refresh .desktop-offer-section .c2e-container {
  max-width: var(--container-max);
}

body.site-refresh .desktop-offer-copy {
  margin-bottom: 55px;
}

body.site-refresh .desktop-offer-copy .band-title {
  max-width: none;
  margin: 4px 0 6px;
  color: var(--ink-900);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
}

body.site-refresh .desktop-offer-copy .band-lede {
  color: var(--ink-600);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
}

.desktop-offer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* The other platforms' downloads, kept small under the one button that fits
   the visitor's own machine. Only shown once there is more than one build. */
.desktop-offer-platforms {
  max-width: 640px;
  margin: 14px 0 0;
  color: #665d58;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.desktop-offer-platforms a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #c9bdb4;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.desktop-offer-platforms a:hover {
  color: #f26b21;
  text-decoration-color: currentColor;
}

.desktop-showcase {
  margin: 0;
  color: #544d48;
}

.desktop-laptop {
  position: relative;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding-bottom: 27px;
}

.desktop-laptop-screen {
  position: relative;
  z-index: 2;
  aspect-ratio: 1128 / 657;
  overflow: hidden;
  padding: 15px 13px 16px;
  border: 2px solid #44474a;
  border-radius: 19px 19px 6px 6px;
  background: linear-gradient(110deg, #252728, #101112 45%, #282a2b);
  box-shadow: inset 0 0 0 1px #74787a, inset 0 2px 1px rgb(255 255 255 / 20%), 0 5px 9px rgb(0 0 0 / 12%);
}

.desktop-laptop-screen::before {
  position: absolute;
  top: 6px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #171b20;
  box-shadow: 0 0 0 1px #34383c, inset 0 0 1px #54728b;
  content: "";
}

.desktop-laptop-hinge {
  position: absolute;
  z-index: 1;
  right: 1.5%;
  bottom: 15px;
  left: 1.5%;
  height: 17px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#161819 0%, #55595b 45%, #9b9fa2 90%);
}

.desktop-laptop-base {
  position: absolute;
  z-index: 3;
  right: -4%;
  bottom: 4px;
  left: -4%;
  height: 20px;
  border-radius: 5px 5px 50% 50% / 4px 4px 90% 90%;
  background: linear-gradient(to bottom, #f7f8f9 0%, #d5d8da 25%, #aeb3b6 58%, #dedfe1 80%, #a7abad 100%);
  box-shadow: 0 10px 15px rgb(0 0 0 / 14%), inset 0 1px 0 #fff, inset 0 -1px 0 #8f9497;
}

.desktop-laptop-base::before {
  position: absolute;
  top: 0;
  left: 42%;
  width: 16%;
  height: 8px;
  border-radius: 0 0 13px 13px;
  background: linear-gradient(#aeb3b7, #e9ebec);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 12%);
  content: "";
}

.desktop-app-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.desktop-showcase .desktop-app-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px 11px 2px 2px;
  object-fit: cover;
  object-position: center;
}

.desktop-app-brand-mask {
  position: absolute;
  top: 5%;
  left: 1.7%;
  width: 2.35%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 28%;
  background: #39291f;
}

.desktop-app-brand-mask img {
  display: block;
  width: 100%;
  height: 100%;
}

.desktop-showcase figcaption {
  margin-top: 24px;
  color: #a89a90;
  font-size: 16px;
  letter-spacing: .01em;
  text-align: center;
}

.desktop-showcase-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: min(100%, var(--content-max));
  margin: 42px auto 0;
  padding: 0;
  list-style: none;
  color: #665d58;
  font-size: 16px;
}

.desktop-showcase-benefits li {
  padding: 12px 14px;
  background: #fdfbf9;
  text-align: center;
  white-space: nowrap;
}

.desktop-showcase-benefits li::before {
  margin-right: 9px;
  color: #f26b21;
  content: "✓";
}

@media (max-width: 900px) {
  .desktop-showcase-benefits { grid-template-columns: 1fr; width: fit-content; }
}

@media (max-width: 700px) {
  body.site-refresh .desktop-offer-section { padding: 64px 16px 72px; }
  body.site-refresh .desktop-offer-copy { margin-bottom: 34px; }
  body.site-refresh .desktop-offer-copy .band-title { font-size: clamp(36px, 9vw, 46px); }
  body.site-refresh .desktop-offer-copy .band-lede { font-size: 16px; }
  .desktop-laptop-screen { width: 100%; height: auto; min-height: 0; aspect-ratio: 1128 / 657; padding: 9px 8px 8px; border-radius: 16px 16px 7px 7px; }
  .desktop-showcase figcaption { margin-top: 16px; font-size: 14px; }
  .desktop-showcase-benefits { gap: 9px; margin-top: 32px; font-size: 14px; }
  .desktop-showcase-benefits li { text-align: left; white-space: normal; }
}
