:root {
  --ast-hpx-navy: #173a62;
  --ast-hpx-navy-deep: #102f53;
  --ast-hpx-blue: #087dcc;
  --ast-hpx-ink: #202933;
  --ast-hpx-muted: #596675;
  --ast-hpx-line: #dbe1e8;
  --ast-hpx-surface: #f2f5f8;
}

.ast-home-experience #main.ast-hpx-main {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 0;
  color: var(--ast-hpx-ink);
}

.ast-hpx-container {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

.ast-hpx-hero {
  overflow: hidden;
  background: var(--ast-hpx-navy);
  color: #fff;
}

.ast-hpx-hero__grid {
  min-height: 495px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: 44px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.ast-hpx-eyebrow {
  margin: 0 0 10px;
  color: var(--ast-hpx-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ast-hpx-hero .ast-hpx-eyebrow,
.ast-hpx-proof .ast-hpx-eyebrow,
.ast-hpx-cta .ast-hpx-eyebrow {
  color: #85c9f3;
}

.ast-hpx-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ast-hpx-hero__intro {
  max-width: 590px;
  margin: 20px 0 0;
  color: #d8e4ef;
  font-size: 16px;
  line-height: 1.7;
}

.ast-hpx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
}

.ast-hpx-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ast-hpx-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ast-hpx-navy);
}

.ast-hpx-button--light:hover,
.ast-hpx-button--light:focus-visible {
  border-color: #bce2fa;
  background: #eaf6fd;
  color: var(--ast-hpx-navy-deep);
}

.ast-hpx-button--outline {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.ast-hpx-button--outline:hover,
.ast-hpx-button--outline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.ast-hpx-button--primary {
  border-color: var(--ast-hpx-blue);
  background: var(--ast-hpx-blue);
  color: #fff;
}

.ast-hpx-button--primary:hover,
.ast-hpx-button--primary:focus-visible {
  border-color: var(--ast-hpx-navy);
  background: var(--ast-hpx-navy);
  color: #fff;
}

.ast-hpx-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 590px;
  margin-top: 30px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.ast-hpx-hero__facts span {
  color: #b9cadd;
  font-size: 11px;
  line-height: 1.45;
}

.ast-hpx-hero__facts strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 13px;
}

.ast-hpx-hero__visual {
  min-width: 0;
  text-align: center;
}

.ast-hpx-hero__visual img {
  width: min(100%, 485px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, .2));
}

.ast-hpx-hero__visual p {
  max-width: 420px;
  margin: 10px auto 0;
  color: #b9cadd;
  font-size: 10px;
  line-height: 1.5;
}

.ast-hpx-quick-nav {
  border-bottom: 1px solid var(--ast-hpx-line);
  background: #fff;
}

.ast-hpx-quick-nav .ast-hpx-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ast-hpx-quick-nav a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--ast-hpx-line);
  color: var(--ast-hpx-navy);
  font-size: 12px;
  font-weight: 600;
}

.ast-hpx-quick-nav a:first-child {
  border-left: 1px solid var(--ast-hpx-line);
}

.ast-hpx-quick-nav i {
  color: var(--ast-hpx-blue);
}

.ast-hpx-section {
  padding: 58px 0;
}

.ast-hpx-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.ast-hpx-heading-row h2,
.ast-hpx-paths h2,
.ast-hpx-resources h2,
.ast-hpx-cta h2 {
  margin: 0;
  color: var(--ast-hpx-ink);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.ast-hpx-heading-row p:not(.ast-hpx-eyebrow),
.ast-hpx-resources__grid > div > p:not(.ast-hpx-eyebrow),
.ast-hpx-cta p:not(.ast-hpx-eyebrow) {
  margin: 8px 0 0;
  color: var(--ast-hpx-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ast-hpx-heading-row > a {
  flex: 0 0 auto;
  color: var(--ast-hpx-blue);
  font-size: 12px;
  font-weight: 600;
}

.ast-hpx-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ast-hpx-family-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 186px;
  overflow: hidden;
  border: 1px solid var(--ast-hpx-line);
  border-radius: 5px;
  background: #fff;
  color: var(--ast-hpx-ink);
}

.ast-hpx-family-card:hover,
.ast-hpx-family-card:focus-visible {
  border-color: #a9c5db;
  color: var(--ast-hpx-ink);
  box-shadow: 0 8px 24px rgba(23, 58, 98, .09);
}

.ast-hpx-family-card__image {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: var(--ast-hpx-surface);
}

.ast-hpx-family-card__image img {
  width: 100%;
  max-width: 122px;
  height: 150px;
  object-fit: contain;
}

.ast-hpx-family-card__content {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 18px 16px;
}

.ast-hpx-family-card__content strong {
  color: var(--ast-hpx-ink);
  font-size: 15px;
  line-height: 1.38;
}

.ast-hpx-family-card__content small {
  margin-top: 6px;
  color: #7a8794;
  font-size: 10px;
  text-transform: uppercase;
}

.ast-hpx-family-card__content > span {
  margin-top: 15px;
  color: var(--ast-hpx-blue);
  font-size: 11px;
  font-weight: 600;
}

.ast-hpx-paths {
  border-top: 1px solid var(--ast-hpx-line);
  background: var(--ast-hpx-surface);
}

.ast-hpx-paths > .ast-hpx-container > h2 {
  max-width: 610px;
}

.ast-hpx-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ast-hpx-path-grid > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  padding: 22px 20px;
  border: 1px solid var(--ast-hpx-line);
  border-radius: 5px;
  background: #fff;
  color: var(--ast-hpx-navy);
}

.ast-hpx-path-grid > a > i:first-child {
  color: var(--ast-hpx-blue);
  font-size: 22px;
}

.ast-hpx-path-grid span strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ast-hpx-navy);
  font-size: 15px;
  line-height: 1.35;
}

.ast-hpx-path-grid span {
  color: var(--ast-hpx-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ast-hpx-path-grid > a > i:last-child {
  margin-top: 4px;
  color: var(--ast-hpx-blue);
  font-size: 11px;
}

.ast-hpx-proof {
  padding: 52px 0 56px;
  background: var(--ast-hpx-navy-deep);
  color: #fff;
}

.ast-hpx-heading-row--light h2 {
  max-width: 760px;
  color: #fff;
}

.ast-hpx-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.ast-hpx-proof-grid > span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 23px 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.ast-hpx-proof-grid > span:last-child {
  border-right: 0;
}

.ast-hpx-proof-grid i {
  grid-row: 1 / span 2;
  color: #85c9f3;
  font-size: 19px;
}

.ast-hpx-proof-grid strong {
  color: #fff;
  font-size: 13px;
}

.ast-hpx-proof-grid small {
  margin-top: 3px;
  color: #b9cadd;
  font-size: 10px;
  line-height: 1.45;
}

.ast-hpx-resources__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 66px;
  align-items: center;
}

.ast-hpx-resources__grid > div:first-child > p:not(.ast-hpx-eyebrow) {
  max-width: 490px;
}

.ast-hpx-resource-links {
  border-top: 1px solid var(--ast-hpx-line);
}

.ast-hpx-resource-links > a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 19px 10px;
  border-bottom: 1px solid var(--ast-hpx-line);
  color: var(--ast-hpx-navy);
}

.ast-hpx-resource-links > a > i:first-child {
  color: var(--ast-hpx-blue);
  font-size: 18px;
}

.ast-hpx-resource-links strong {
  display: block;
  color: var(--ast-hpx-navy);
  font-size: 14px;
}

.ast-hpx-resource-links span {
  color: var(--ast-hpx-muted);
  font-size: 11px;
  line-height: 1.5;
}

.ast-hpx-resource-links > a > i:last-child {
  color: var(--ast-hpx-blue);
  font-size: 11px;
}

.ast-hpx-story {
  padding-top: 0;
}

.ast-hpx-story details {
  border: 1px solid var(--ast-hpx-line);
  border-radius: 5px;
  background: #fff;
}

.ast-hpx-story summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
}

.ast-hpx-story summary small {
  display: block;
  margin-bottom: 4px;
  color: var(--ast-hpx-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.ast-hpx-story summary strong {
  color: var(--ast-hpx-ink);
  font-size: 17px;
  line-height: 1.35;
}

.ast-hpx-story details[open] summary {
  border-bottom: 1px solid var(--ast-hpx-line);
}

.ast-hpx-story details[open] summary > i {
  transform: rotate(180deg);
}

.ast-hpx-story__content {
  max-width: 850px;
  padding: 22px 24px 12px;
  color: var(--ast-hpx-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ast-hpx-story__content p {
  margin: 0 0 14px;
}

.ast-hpx-cta {
  padding: 42px 0;
  background: var(--ast-hpx-navy);
  color: #fff;
}

.ast-hpx-cta > .ast-hpx-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.ast-hpx-cta h2 {
  color: #fff;
}

.ast-hpx-cta p:not(.ast-hpx-eyebrow) {
  color: #c6d5e3;
}

.ast-hpx-cta .ast-hpx-actions {
  margin-top: 0;
}

.ast-hpx-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ast-hpx-phone i {
  font-size: 17px;
}

.ast-hpx-phone strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 13px;
}

.ast-hpx-main a:focus-visible,
.ast-hpx-main summary:focus-visible {
  outline: 3px solid rgba(8, 125, 204, .35);
  outline-offset: 3px;
}

#ast-product-families {
  scroll-margin-top: 88px;
}

/* Porto leaves its desktop logo and search toggle oversized at the tablet breakpoint. */
@media (min-width: 768px) and (max-width: 991px) {
  .ast-home-experience #header .header-main,
  .ast-home-experience #header .header-main .header-row,
  .ast-home-experience #header .header-main .header-col {
    min-height: 100px !important;
    height: 100px !important;
  }

  .ast-home-experience #header .header-main .logo {
    width: auto !important;
  }

  .ast-home-experience #header .header-main .logo img {
    width: 115px !important;
    max-width: 115px !important;
    height: auto !important;
  }

  .ast-home-experience #header .search-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .ast-hpx-hero__grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
  }

  .ast-hpx-hero h1 {
    font-size: 36px;
  }

  .ast-hpx-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ast-hpx-path-grid,
  .ast-hpx-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ast-hpx-proof-grid > span:nth-child(2) {
    border-right: 0;
  }

  .ast-hpx-proof-grid > span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .ast-hpx-resources__grid {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .ast-hpx-container {
    width: min(100% - 24px, 1140px);
  }

  .ast-hpx-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .ast-hpx-hero h1 {
    font-size: 32px;
  }

  .ast-hpx-hero__intro {
    font-size: 14px;
  }

  .ast-hpx-hero__visual {
    order: -1;
  }

  .ast-hpx-hero__visual img {
    max-width: 320px;
    max-height: 225px;
  }

  .ast-hpx-hero__visual p {
    display: none;
  }

  .ast-hpx-quick-nav .ast-hpx-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ast-hpx-quick-nav a:nth-child(2) {
    border-right: 0;
  }

  .ast-hpx-quick-nav a:nth-child(-n+2) {
    border-bottom: 1px solid var(--ast-hpx-line);
  }

  .ast-hpx-section {
    padding: 42px 0;
  }

  .ast-hpx-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ast-hpx-family-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 160px;
  }

  .ast-hpx-family-card__image img {
    height: 126px;
  }

  .ast-hpx-path-grid,
  .ast-hpx-resources__grid {
    grid-template-columns: 1fr;
  }

  .ast-hpx-proof {
    padding: 42px 0;
  }

  .ast-hpx-cta > .ast-hpx-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 575px) {
  .ast-hpx-actions,
  .ast-hpx-cta .ast-hpx-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ast-hpx-button,
  .ast-hpx-phone {
    width: 100%;
    justify-content: center;
  }

  .ast-hpx-hero__facts,
  .ast-hpx-family-grid,
  .ast-hpx-path-grid,
  .ast-hpx-proof-grid {
    grid-template-columns: 1fr;
  }

  .ast-hpx-family-card {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .ast-hpx-family-card__content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .ast-hpx-proof-grid > span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .ast-hpx-proof-grid > span:last-child {
    border-bottom: 0;
  }

  .ast-hpx-story summary {
    padding: 18px;
  }

  .ast-hpx-story__content {
    padding: 18px 18px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ast-hpx-main * {
    scroll-behavior: auto !important;
  }
}
