/* Home: on-premises installation and security, after Dilara's mockups (design/reference). */

/* the band: a blue glow behind the server racks at the top right, a faint horizon and light on the floor */

.teo-website-deployment {
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(80px, 12vw, 176px);
}

.teo-website-deployment::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 52% at 86% 6%, rgba(16, 84, 220, 0.5), rgba(1, 47, 126, 0.2) 55%, transparent 75%),
    radial-gradient(ellipse 40% 24% at 74% 62%, rgba(30, 100, 230, 0.26), transparent 72%),
    linear-gradient(180deg, transparent 46%, rgba(0, 40, 110, 0.3) 58%, transparent 74%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(0, 3, 14, 0.6), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

/* heading on the left, above the render */

.teo-website-deployment .teo-website-heading {
  position: relative;
  z-index: 1;
  max-width: 62%;
  margin-bottom: 0;
}

.teo-website-deployment .teo-website-eyebrow {
  margin-bottom: 30px;
  color: #a8d8fb;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

/* the short bar under the eyebrow */
.teo-website-deployment .teo-website-eyebrow::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, #90d7ff, #4da4ff 70%, transparent);
}

/* semi-bold, as drawn */
.teo-website-deployment .teo-website-title {
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.teo-website-deployment .teo-website-title em {
  background: linear-gradient(100deg, #f4f9ff 0%, #d9edfc 45%, #b8dbfb 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.teo-website-deployment .teo-website-lead {
  margin-top: 26px;
  max-width: 560px;
  color: #d3e0f0;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.55;
}

/* the server racks under a glass shield; the art fades into the band on its left, top and bottom */
.teo-website-deployment-visual {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(-1 * clamp(0px, 4.4vw, 68px));
  width: clamp(420px, 56vw, 820px);
  pointer-events: none;
}

.teo-website-deployment-visual img {
  width: 100%;
  height: auto;
}

/* four open columns with thin dividers that fade at both ends */

.teo-website-deployment-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
  margin: clamp(56px, 8vw, 116px) 0 0;
  padding: 0;
  list-style: none;
}

.teo-website-deployment-point {
  position: relative;
  padding: 0 28px 0 44px;
}

.teo-website-deployment-point:first-child {
  padding-left: 0;
}

.teo-website-deployment-point:nth-child(2) {
  transition-delay: 0.08s;
}

.teo-website-deployment-point:nth-child(3) {
  transition-delay: 0.16s;
}

.teo-website-deployment-point:nth-child(4) {
  transition-delay: 0.24s;
}

.teo-website-deployment-point + .teo-website-deployment-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: -6px;
  bottom: -20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(45, 125, 235, 0.55) 15%, rgba(45, 125, 235, 0.55) 85%, transparent);
}

.teo-website-deployment-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: rgba(4, 18, 46, 0.85);
  border: 1px solid rgba(77, 164, 255, 0.45);
  box-shadow: inset 0 0 18px rgba(77, 164, 255, 0.12);
  color: #71c3fa;
  font-size: 31px;
  line-height: 1;
}

.teo-website-deployment-point h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: clamp(20px, 1.75vw, 25px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.teo-website-deployment-point p {
  margin: 0;
  color: #c8d6e8;
  font-size: 16px;
  line-height: 1.65;
}

/* narrow screens */

@media (max-width: 1080px) {
  .teo-website-deployment-visual {
    width: clamp(380px, 48vw, 560px);
    opacity: 0.85;
  }

  .teo-website-deployment-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .teo-website-deployment-point:nth-child(3) {
    padding-left: 0;
  }

  .teo-website-deployment-point:nth-child(3)::before {
    display: none;
  }

  .teo-website-deployment-point:nth-child(n + 3) {
    padding-top: 40px;
  }

  /* a hairline over the second row */
  .teo-website-deployment-point:nth-child(n + 3)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 28px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 125, 235, 0.5) 15%, rgba(45, 125, 235, 0.5) 85%, transparent);
  }

  .teo-website-deployment-point:nth-child(4)::after {
    left: 44px;
    right: 0;
  }

  .teo-website-deployment-point:nth-child(4)::before {
    top: 34px;
  }
}

@media (max-width: 900px) {
  .teo-website-deployment .teo-website-heading {
    max-width: none;
  }

  /* the render sits between the heading and the columns, bleeding off the right edge */
  .teo-website-deployment-visual {
    position: relative;
    z-index: 0;
    top: auto;
    right: auto;
    width: auto;
    max-width: 640px;
    margin: 12px calc(-1 * var(--teo-website-gutter)) 0 auto;
    opacity: 1;
  }

  .teo-website-deployment-points {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .teo-website-deployment .teo-website-eyebrow {
    font-size: 13px;
  }

  .teo-website-deployment-visual {
    margin-left: 8%;
  }

  .teo-website-deployment-points {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .teo-website-deployment-point, .teo-website-deployment-point:nth-child(n + 3) {
    padding: 28px 0;
  }

  .teo-website-deployment-point:first-child {
    padding-top: 0;
  }

  .teo-website-deployment-point + .teo-website-deployment-point::before, .teo-website-deployment-point:nth-child(n + 3)::after {
    display: none;
  }

  .teo-website-deployment-point + .teo-website-deployment-point {
    border-top: 1px solid rgba(45, 125, 235, 0.4);
  }

  .teo-website-deployment-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 26px;
  }

  .teo-website-deployment-point h3 {
    margin-top: 18px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teo-website-deployment-point {
    transition-delay: 0s !important;
  }
}
