/* Responsive capability panels with frosted illustration surfaces. */
.compute-showcase {
  position: relative;
  isolation: isolate;
  padding: 64px 0 60px;
  background: transparent;
  color: #082449;
}
.compute-showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin: 0 0 24px;
}
.compute-showcase-tabs button {
  position: relative;
  padding: 12px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #61716f;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}
.compute-showcase-tabs button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2px;
  right: 2px;
  height: 2px;
  background: #0dac67;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.compute-showcase-tabs button[aria-pressed='true'] {
  color: #082449;
}
.compute-showcase-tabs button[aria-pressed='true']::after {
  transform: scaleX(1);
}
.compute-showcase-tabs button:hover {
  color: #0b8857;
}
.compute-showcase-tabs button:focus-visible,
.compute-service-action:focus-visible {
  outline: 2px solid #0dac67;
  outline-offset: 5px;
}
.compute-service-panel {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.compute-service-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 36px;
}
.compute-service-copy h3 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 450;
  color: #082449;
}
.compute-service-lead {
  margin: 0 0 12px;
  font-size: 17px;
  color: #1c3c43;
  line-height: 1.6;
}
.compute-service-details {
  display: grid;
  gap: 10px;
}
.compute-service-details p {
  margin: 0;
  max-width: 390px;
  font-size: 14px;
  line-height: 1.95;
  color: #58666b;
}
.compute-service-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  margin-top: 28px;
  padding: 10px 24px;
  border-radius: 4px;
  color: #fff;
  background: #082449;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.compute-service-action:hover {
  background: #103650;
  color: #65f3ae;
}
.compute-console-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 1500px) {
  .compute-service-panel {
    min-height: 440px;
  }
  .compute-service-copy {
    padding: 44px;
  }
}
@media (max-width: 1000px) {
  .compute-service-copy {
    padding: 38px 28px;
  }
  .compute-service-panel {
    min-height: 420px;
  }
  .compute-service-copy h3 {
    margin-bottom: 22px;
  }
  .compute-service-lead {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .compute-showcase {
    padding: 40px 0;
  }
  .compute-showcase-tabs {
    gap: 40px;
    margin: 0 0 20px;
  }
  .compute-showcase-tabs button {
    font-size: 15px;
  }
  .compute-service-panel {
    grid-template-columns: 1fr;
  }
  .compute-service-copy {
    padding: 30px 26px;
  }
  .compute-service-copy h3 {
    margin-bottom: 18px;
    font-size: 23px;
  }
  .compute-service-details p {
    max-width: none;
  }
  .compute-service-action {
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compute-showcase-tabs button,
  .compute-showcase-tabs button::after,
  .compute-service-action {
    transition: none;
  }
}

/* Product selection sits above the four independent capability tabs. */
.compute-product-selector {
  padding: 64px 0 0;
  background: transparent;
}
.compute-product-selector .wrap {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.compute-product-selector .wrap::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(500px, 100%);
  height: 130px;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 28% 65%, #9be4ce70, transparent 60%),
    radial-gradient(ellipse at 62% 45%, #bdd6f575, transparent 58%),
    radial-gradient(ellipse at 82% 60%, #d7cef04d, transparent 50%);
  filter: blur(22px);
  pointer-events: none;
}
.compute-product-selector .compute-type-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(480px, 100%);
  gap: 0;
  padding: 5px;
  border: 1px solid #ffffffe0;
  border-radius: 34px;
  background: linear-gradient(115deg, #ffffff66, #ffffff24 55%, #ffffff59);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 #ffffff70,
    0 8px 28px #426f6505;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  touch-action: pan-y;
  user-select: none;
}
.compute-switch-thumb {
  position: absolute;
  z-index: 0;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: calc((100% - 10px) / 2);
  border: 1px solid #ffffffcc;
  border-radius: 29px;
  background: linear-gradient(120deg, #ffffff8c, #ffffff3d);
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 12px #2b665508;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s;
  pointer-events: none;
}
.compute-type-switch[data-kind='bare-metal'] .compute-switch-thumb {
  transform: translateX(100%);
}
.compute-product-selector .compute-type-switch button {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 27px;
  background: transparent;
  color: #75838e;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.compute-product-selector .compute-type-switch button[aria-pressed='true'] {
  background: transparent;
  color: #0a7652;
}
.compute-product-selector .compute-type-switch button:hover {
  color: #087c50;
  background: #ffffff1f;
}
.compute-product-selector .compute-type-switch button {
  touch-action: pan-y;
}
.compute-product-selector .compute-type-switch button svg {
  flex-shrink: 0;
  stroke-width: 1.7;
}
.compute-product-body > .compute-showcase > .wrap {
  animation: compute-product-enter 0.38s ease-out both;
}
@keyframes compute-product-enter {
  from {
    opacity: 0.35;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.compute-product-selector + .compute-showcase {
  padding-top: 48px;
}
.compute-product-selector button:focus-visible {
  outline: 2px solid #0dac67;
  outline-offset: 3px;
}
.compute-showcase-tabs button[aria-selected='true'] {
  color: #082449;
}
.compute-showcase-tabs button[aria-selected='true']::after {
  transform: scaleX(1);
}
.compute-service-panel:focus-visible {
  outline: 2px solid #0dac67;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .compute-product-selector {
    padding: 40px 0 0;
  }
  .compute-product-selector .compute-type-switch {
    width: min(360px, 100%);
  }
  .compute-product-selector .compute-type-switch button {
    font-size: 14px;
    gap: 7px;
    min-height: 44px;
  }
  .compute-product-selector + .compute-showcase {
    padding-top: 32px;
  }
  .compute-showcase-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
  }
  .compute-showcase-tabs button {
    font-size: 14px;
    white-space: nowrap;
  }
  .compute-showcase-tabs button::after {
    left: 18%;
    right: 18%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compute-product-selector .compute-type-switch button,
  .compute-product-selector .compute-type-switch button::after {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compute-switch-thumb {
    transition: none;
  }
  .compute-product-body > .compute-showcase > .wrap {
    animation: none;
  }
}
