.app-family-page .page-hero {
  background: linear-gradient(120deg, #04192c 0%, #073e70 72%, #07599f 100%);
}

.app-family-page .page-hero .eyebrow,
.app-family-page .page-hero h1,
.app-family-page .breadcrumbs,
.app-family-page .breadcrumbs a {
  color: #fff;
}

.app-family-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  grid-template-areas:
    "main contact"
    "related contact";
}

.app-family-layout > .app-family-content {
  grid-area: main;
  max-width: none;
}

.app-family-layout > .app-family-related {
  grid-area: related;
  max-width: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.app-family-layout > .solution-contact {
  grid-area: contact;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  width: 100%;
  height: fit-content;
  margin: 0;
  padding: 28px;
  position: sticky;
  top: 104px;
  align-self: start;
}

.app-family-layout > .solution-contact h2 {
  overflow-wrap: normal;
  hyphens: auto;
}

.app-family-layout > .solution-contact .button {
  width: 100%;
  max-width: 100%;
  padding-inline: 16px;
  text-align: center;
  white-space: normal;
}

.app-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  margin-bottom: clamp(56px, 8vw, 92px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #04192c, #07599f);
  overflow: hidden;
}

.app-product-hero .eyebrow {
  color: #abd4f4;
}

.app-product-hero h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.app-product-hero .app-hero-lead {
  margin: 0 0 26px;
  color: #edf6fc;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.app-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.app-actions a,
.store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #c6d7e5;
  border-radius: 3px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.app-product-hero .app-actions a {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.app-product-hero .app-actions a:first-child {
  border-color: var(--orange);
  color: #171717;
  background: var(--orange);
}

.app-hero-visual,
.app-gallery {
  display: grid;
  gap: 18px;
}

.app-hero-visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-width: 0;
}

.app-hero-visual figure,
.app-gallery figure,
.app-showcase-media {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: #edf3f8;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
}

.app-hero-visual figure:first-child {
  transform: translateY(-18px);
}

.app-hero-visual figure:last-child {
  transform: translateY(18px);
}

.app-hero-visual img,
.app-gallery img,
.app-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
}

.app-section {
  margin: clamp(58px, 8vw, 94px) 0 0;
}

.app-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.app-section-heading h2,
.app-showcase-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.app-value-grid,
.app-module-grid,
.app-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-value-card,
.app-module-card,
.app-flow > div {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d8e3ec;
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  background: #fff;
}

.app-value-card h3,
.app-module-card h3,
.app-flow h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.app-value-card p,
.app-module-card p,
.app-flow p {
  margin: 0;
}

.app-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-module-card ul,
.app-check-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.app-module-card li,
.app-check-list li {
  margin: 7px 0;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
  margin-top: clamp(52px, 8vw, 90px);
  padding-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line);
}

.app-showcase:nth-of-type(even) .app-showcase-media {
  order: 2;
}

.app-showcase-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  background: linear-gradient(145deg, #e8f1f8, #f8fafc);
}

.app-showcase-media img:first-child:last-child {
  grid-column: 1/-1;
}

.app-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-gallery figure {
  box-shadow: 0 16px 36px rgba(5,36,63,.13);
}

.app-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.app-integration {
  margin-top: clamp(58px, 8vw, 90px);
  padding: clamp(28px, 5vw, 48px);
  border-left: 4px solid var(--orange);
  color: #fff;
  background: var(--navy);
}

.app-integration h2 {
  margin: 0 0 12px;
  color: #fff;
}

.app-integration p {
  color: #e2eef7;
}

.app-integration a {
  color: #fff;
  font-weight: 750;
}

.app-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 52px;
}

.app-sitemap-group {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--blue);
}

.app-sitemap-group h2 {
  margin-top: 0;
  font-size: 24px;
}

.app-sitemap-group ul {
  margin: 0;
  padding-left: 20px;
}

.app-sitemap-group li {
  margin: 8px 0;
}

@media (max-width: 1100px) {
  .app-family-layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 320px);
  }

  .app-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .app-family-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "contact"
      "related";
  }

  .app-family-layout > .solution-contact {
    margin-top: 12px;
    position: static;
    top: auto;
    align-self: auto;
  }

  .app-product-hero,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .app-showcase:nth-of-type(even) .app-showcase-media {
    order: 0;
  }
}

@media (max-width: 620px) {
  .app-product-hero {
    padding: 26px 22px 32px;
  }

  .app-product-hero h2 {
    font-size: 36px;
  }

  .app-value-grid,
  .app-module-grid,
  .app-flow,
  .app-gallery,
  .app-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .app-hero-visual {
    max-width: 330px;
    margin: 8px auto 0;
  }

  .app-showcase-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-actions,
  .store-links {
    align-items: stretch;
    flex-direction: column;
  }
}
