/* Devices page. Kept self-contained so its layout cannot affect other pages. */
.ax-page-devices {
  padding-bottom: 4px;
}

.ax-page-devices .ax-page-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.ax-page-devices .ax-page-heading h1 {
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 0;
}

.ax-devices-page-lead {
  max-width: 550px;
  margin: 0;
  color: #686d76;
  font-size: 18px;
  line-height: 1.55;
}

.ax-page-devices .ax-page-content {
  max-width: 100%;
}

.ax-devices-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #dedee3;
  border-bottom: 1px solid #dedee3;
}

.ax-device-group {
  min-width: 0;
  min-height: 188px;
  padding: 28px 30px 30px;
}

.ax-device-group + .ax-device-group {
  border-left: 1px solid #dedee3;
}

.ax-device-group-number {
  margin: 0 0 38px;
  color: var(--ax-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.ax-device-group h2 {
  margin: 0 0 10px;
  color: #171719;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.18;
}

.ax-device-group p:not(.ax-device-group-number) {
  margin: 0;
  color: #686d76;
  font-size: 15px;
  line-height: 1.55;
}

.ax-devices-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 48px;
  margin-top: 32px;
  padding: 34px 36px;
  border-radius: 8px;
  background: #171719;
  color: #fff;
}

.ax-devices-bottom-copy .ax-eyebrow {
  margin-bottom: 10px;
  color: #a7a7b0;
}

.ax-devices-bottom-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.1;
}

.ax-devices-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ax-devices-bottom-actions .ax-button {
  min-width: 208px;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 8px;
  justify-content: center;
  font-size: 13px;
}

.ax-devices-bottom-actions .ax-button-secondary {
  border: 1px solid #5a5a62;
  background: transparent;
  color: #fff !important;
}

.ax-devices-bottom-actions .ax-button-secondary:hover {
  background: #2b2b30;
}

@media (max-width: 1080px) {
  .ax-devices-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ax-device-group:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid #dedee3;
    border-left: 0;
  }

  .ax-devices-bottom-cta {
    grid-template-columns: 1fr;
  }

  .ax-devices-bottom-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .ax-page-devices .ax-page-heading {
    margin-bottom: 32px;
  }

  .ax-page-devices .ax-page-heading h1 {
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1.08;
  }

  .ax-devices-page-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .ax-devices-overview {
    grid-template-columns: 1fr;
  }

  .ax-device-group {
    min-height: 0;
    padding: 22px 0 24px;
  }

  .ax-device-group + .ax-device-group,
  .ax-device-group:nth-child(3) {
    border-top: 1px solid #dedee3;
    border-left: 0;
  }

  .ax-device-group-number {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .ax-device-group h2 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.2;
  }

  .ax-device-group p:not(.ax-device-group-number) {
    font-size: 14px;
  }

  .ax-devices-bottom-cta {
    gap: 24px;
    margin-top: 24px;
    padding: 26px 20px 20px;
  }

  .ax-devices-bottom-cta h2 {
    font-size: 29px;
    line-height: 1.12;
  }

  .ax-devices-bottom-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ax-devices-bottom-actions .ax-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .ax-page-devices .ax-page-heading h1 {
    font-size: 32px;
  }

  .ax-devices-bottom-cta {
    padding: 24px 16px 16px;
  }

  .ax-devices-bottom-cta h2 {
    font-size: 27px;
  }
}
