/* Duotone icon accents based on the open-source Phosphor icon family. */
.button-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.service-list {
  gap: 14px;
  border: 0;
}

.service-item {
  min-height: 258px;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(5, 32, 56, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-item:last-child {
  border-right: 1px solid #dce6ee;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--icon-color) 35%, #dce6ee);
  box-shadow: 0 20px 42px rgba(5, 32, 56, 0.11);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--icon-color);
  background: var(--icon-surface);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--icon-color) 13%, transparent);
  transition: transform 180ms ease;
}

.service-item:hover .service-icon {
  transform: rotate(-4deg) scale(1.06);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-number {
  margin: 5px 0 0;
  color: color-mix(in srgb, var(--icon-color) 70%, #7890a2);
}

.service-screen {
  --icon-color: #0e6edb;
  --icon-surface: #e8f3ff;
}

.service-battery {
  --icon-color: #159947;
  --icon-surface: #e8f9ee;
}

.service-housing {
  --icon-color: #7454d8;
  --icon-surface: #f0ecff;
}

.service-camera {
  --icon-color: #dc7621;
  --icon-surface: #fff2e7;
}

.service-audio {
  --icon-color: #d84270;
  --icon-surface: #ffeaf1;
}

.process-grid {
  gap: 14px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.process-grid li {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #0a2139, #0d2b48);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease;
}

.process-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 229, 255, 0.48);
}

.process-mark {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.process-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #8be5ff;
  background: rgba(84, 217, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(139, 229, 255, 0.16);
}

.process-grid li:nth-child(2) .process-icon {
  color: #7af0a6;
  background: rgba(37, 211, 102, 0.11);
  box-shadow: inset 0 0 0 1px rgba(122, 240, 166, 0.16);
}

.process-grid li:nth-child(3) .process-icon {
  color: #c5a7ff;
  background: rgba(148, 108, 230, 0.13);
  box-shadow: inset 0 0 0 1px rgba(197, 167, 255, 0.17);
}

.process-icon svg {
  width: 34px;
  height: 34px;
}

.process-number {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.process-grid li > .process-mark + div h3 {
  margin-top: 0;
}

/* Small compatibility note below the hero photograph. */
.supported-brands {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-inline: 4px;
}

.supported-brands p {
  max-width: 190px;
  margin: 0;
  color: #a9bfce;
  font-size: 11px;
  line-height: 1.45;
}

.brand-logos {
  width: min(192px, 44%);
  flex: 0 1 192px;
}

.brand-logos img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 920px) {
  .service-list {
    gap: 12px;
    border: 0;
    overflow: visible;
  }

  .service-item,
  .service-item:nth-child(even),
  .service-item:last-child {
    border: 1px solid #dce6ee;
  }
}

@media (max-width: 760px) {
  .service-item {
    min-height: 0;
  }

  .process-grid {
    gap: 12px;
  }

  .process-grid li {
    min-height: 0;
  }

  .brand-logos {
    width: min(192px, 44%);
    flex-basis: 192px;
  }
}

@media (max-width: 480px) {
  .supported-brands {
    flex-direction: column;
    gap: 10px;
    margin-top: 13px;
    text-align: center;
  }

  .supported-brands p {
    max-width: none;
  }

  .brand-logos {
    width: min(156px, 54%);
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-item,
  .service-icon,
  .process-grid li {
    transition: none !important;
  }

  .service-item:hover,
  .service-item:hover .service-icon,
  .process-grid li:hover {
    transform: none;
  }
}
