.top-inner:has(.sap-shortcut) {
  grid-template-columns: auto 1fr auto auto;
}

.sap-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.sap-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.sap-download:hover,
.sap-download:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sap-shortcut,
.sap-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 44px;
  border: 1px solid;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.sap-shortcut {
  justify-self: end;
  padding: 0 14px;
  color: var(--brand);
  border-color: var(--line-strong);
  background: var(--surface);
  font-size: 14px;
}

.sap-shortcut:hover {
  border-color: var(--brand);
}

.sap-promo {
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid #365e54;
  border-radius: var(--radius-media);
  background: radial-gradient(ellipse at 100% 25%, #245850 0%, transparent 55%), #102c29;
  color: #f0faf5;
  box-shadow: inset 0 1px 0 #b8e0ca30, 0 18px 52px #16352a21;
}

.sap-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, #b8efce12 1px, transparent 1px),
    linear-gradient(to bottom, #b8efce12 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(110deg, transparent 32%, black 100%);
}

.sap-promo h2,
.sap-promo h3,
.sap-promo p,
.sap-promo dl,
.sap-promo dd {
  margin: 0;
}

.sap-promo h2 {
  color: #f5fff9;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.sap-promo .sap-promo-intro {
  margin-top: 18px;
  max-width: 33em;
  color: #deece5;
  line-height: 1.8;
}

.sap-promo .sap-mission {
  margin-top: 12px;
  color: #e4f7e9;
  font-weight: 650;
}
.sap-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.sap-signup-offer {
  display: inline-block;
  padding: 10px 0;
  color: #dbf7dc;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.sap-signup-offer:hover, .sap-signup-offer:focus-visible { color: #fff; }

.sap-promo .sap-capabilities {
  margin: 27px 0 26px;
}

.sap-capabilities > div {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 8px;
  margin-block: 12px;
  font-size: 14px;
}

.sap-capabilities dt {
  color: #f5fff9;
  font-weight: 700;
}

.sap-capabilities dd {
  color: #c7dbd1;
}

.sap-cta {
  padding: 8px 10px 8px 21px;
  gap: 17px;
  border-color: #eeffe2;
  color: #103025;
  background: linear-gradient(115deg, #ecfad6, #a9ebc3);
  box-shadow: inset 0 1px 0 #fff, 0 4px 15px #03151155;
}

.sap-cta span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #163d2f;
  color: #edffed;
}

.sap-cta:hover,
.sap-cta:focus-visible {
  background: #e7ffcf;
}

.sap-example {
  position: relative;
  padding: clamp(24px, 2.6vw, 42px);
  border: 1px solid #638e7d;
  border-radius: 12px;
  background: linear-gradient(145deg, #244b42, #173830);
  box-shadow: 8px 8px 0 -1px #1b4238, 8px 8px 0 0 #537e6c, 0 12px 32px #0b252351;
}

.sap-example-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #beebc6;
  font-size: 14px;
  font-weight: 650;
}

.sap-example-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.sap-example h3 {
  margin: 12px 0 24px;
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.4;
  text-wrap: balance;
}

.sap-example-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #567868;
}

.sap-example h3 span {
  display: inline-block;
}

.sap-example-notes dt {
  color: #b9edbf;
  font-size: 13px;
  font-weight: 700;
}

.sap-example-notes dd {
  margin-top: 3px;
  color: #e4efe9;
  font-size: clamp(19px, 2vw, 25px);
  font-variant-numeric: tabular-nums;
}

.sap-example .sap-estimate-caption {
  margin-bottom: 12px;
  color: #dbece2;
  font-size: 14px;
}

.sap-example .sap-estimate-basis {
  margin-top: 8px;
  color: #c7dbd1;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .sap-promo {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .top-inner:has(.sap-shortcut) {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .sap-shortcut {
    padding-inline: 11px;
    font-size: 13px;
  }

  .sap-promo {
    padding: 29px 21px 29px;
  }

  .sap-capabilities > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    margin-block: 15px;
  }

  .sap-example {
    padding: 20px;
    box-shadow: 4px 4px 0 -1px #1b4238, 4px 4px 0 0 #537e6c;
  }
}
.sap-promo .sap-cost-offer {
  margin: 16px 0;
  padding-left: 13px;
  border-left: 2px solid #a8e4cc;
}
.sap-cost-offer strong { color: #d1f5e5; font-size: 16px; }

@media (min-width: 901px) and (max-width: 1150px) {
  .top-inner:has(.sap-tools) { gap: 12px; }
  .top-inner .main-nav { gap: 10px; }
  .sap-tools { gap: 8px; }
}

@media (max-width: 460px) {
  .top-inner:has(.sap-tools) { gap: 6px; }
  .top-inner:has(.sap-tools) .brand span { display: none; }
  .sap-tools { gap: 9px; }
  .sap-shortcut { padding-inline: 9px; }
  .sap-download { font-size: 13px; }
}
