:root {
  color-scheme: light;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: #f4f8fb;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  padding-bottom: 58px;
  overflow-x: auto;
  background: #f4f8fb;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.mobile-header {
  display: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  border-radius: 6px;
  background: #fff;
  color: #0b315f;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-viewport {
  display: grid;
  min-height: 100vh;
  place-items: start center;
}

.screen-stage {
  position: relative;
  width: min(100%, 1536px);
  min-width: 980px;
  aspect-ratio: var(--screen-ratio, 3 / 2);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 46px rgba(5, 36, 70, 0.12);
}

#page-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
}

.image-hotspots,
.hotspot {
  position: absolute;
}

.image-hotspots {
  inset: 0;
  pointer-events: none;
}

.hotspot {
  z-index: 5;
  top: 1.4%;
  height: 5.2%;
  border-radius: 6px;
  pointer-events: auto;
}

.hotspot:hover {
  background: rgba(14, 132, 72, 0.06);
}

.hotspot:focus-visible {
  outline: 3px solid #0e8448;
  outline-offset: -3px;
  background: rgba(14, 132, 72, 0.09);
}

.nav-home { left: 25.8%; width: 4.2%; }
.nav-solutions { left: 31.4%; width: 8%; }
.nav-products { left: 39.6%; width: 7.1%; }
.nav-integration { left: 47.9%; width: 7.6%; }
.nav-about { left: 56.3%; width: 6.6%; }
.nav-contact { left: 63.3%; width: 6.6%; }
.nav-contact-button { left: 88.1%; top: 1.5%; width: 9.6%; height: 4.3%; }

.screen-stage[data-layout="wide"] .nav-home { left: 49%; width: 3.8%; }
.screen-stage[data-layout="wide"] .nav-solutions { left: 52.7%; width: 6.6%; }
.screen-stage[data-layout="wide"] .nav-products { left: 59.3%; width: 6.2%; }
.screen-stage[data-layout="wide"] .nav-integration { left: 65.5%; width: 7.4%; }
.screen-stage[data-layout="wide"] .nav-about { left: 73.2%; width: 5.9%; }
.screen-stage[data-layout="wide"] .nav-contact { left: 79.1%; width: 5.9%; }
.screen-stage[data-layout="wide"] .nav-contact-button { display: none; }

/* The corrected About artwork extends the WHO WE ARE card around all four
   bullet points. This cover removes a stray duplicate line left below that
   corrected card without changing the approved content elsewhere. */
.screen-stage[data-route="about"]::after {
  position: absolute;
  z-index: 4;
  top: 62.15%;
  left: 3.2%;
  width: 35%;
  height: 1.95%;
  background: #fff;
  content: "";
  pointer-events: none;
}

.route-hotspot {
  border-radius: 8px;
}

.generated-page {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #fff;
  color: #0b315f;
}

.generated-page[hidden],
.image-hotspots[hidden],
#page-screen[hidden] {
  display: none;
}

.generated-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7%;
  padding: 0 2.2%;
  border-bottom: 1px solid #e7edf2;
  background: #fff;
}

.generated-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0b315f;
  text-decoration: none;
}

.generated-mark {
  position: relative;
  display: grid;
  width: clamp(28px, 3vw, 46px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 0;
  background: #fff;
  color: #168247;
  font-size: clamp(8px, 0.75vw, 12px);
  font-weight: 900;
}

.generated-mark img {
  position: absolute;
  top: 0;
  left: -81.5%;
  width: 272%;
  max-width: none;
  height: auto;
}

.generated-brand strong,
.generated-brand small {
  display: block;
}

.generated-brand strong {
  font-size: clamp(15px, 1.75vw, 27px);
  letter-spacing: 0.08em;
}

.generated-brand small {
  color: #425a70;
  font-size: clamp(5px, 0.55vw, 9px);
}

.generated-header nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 34px);
}

.generated-header nav a,
.contact-pill {
  color: #061f53;
  font-size: clamp(7px, 0.72vw, 12px);
  font-weight: 800;
  text-decoration: none;
}

.generated-header nav a.active {
  padding-bottom: 6px;
  border-bottom: 2px solid #138248;
  color: #087139;
}

.contact-pill {
  padding: clamp(5px, 0.65vw, 10px) clamp(8px, 1.1vw, 17px);
  border-radius: 5px;
  background: #08713a;
  color: #fff;
}

.products-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 18%;
  padding: 1.2% 3%;
  background: linear-gradient(90deg, #eef7fb 0%, #fff 55%, #edf8f3 100%);
}

.products-hero p,
.integration-copy > p:first-child {
  margin: 0 0 1%;
  color: #08713a;
  font-size: clamp(7px, 0.8vw, 13px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.products-hero p span,
.integration-copy p span {
  display: inline-grid;
  min-width: 25px;
  min-height: 21px;
  margin-right: 8px;
  place-items: center;
  border-radius: 5px;
  background: #08713a;
  color: #fff;
}

.products-hero h1,
.integration-hero h1 {
  margin: 0;
  font-size: clamp(22px, 2.7vw, 42px);
  line-height: 1.05;
}

.products-hero h1 em,
.integration-hero h1 em {
  color: #168247;
  font-style: normal;
}

.products-hero small {
  display: block;
  margin-top: 8px;
  color: #52677a;
  font-size: clamp(6px, 0.65vw, 10px);
}

.product-tabs {
  display: flex;
  align-items: center;
  height: 5.2%;
  margin: 0 3%;
  border-bottom: 1px solid #d9e5ed;
  gap: 1.6%;
}

.product-tabs a {
  color: #183a65;
  font-size: clamp(6px, 0.62vw, 10px);
  font-weight: 800;
  text-decoration: none;
}

.product-tabs a.selected {
  padding: 6px 10px;
  border-radius: 5px;
  background: #148347;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 49.8%;
  padding: 1.4% 3% 1.2%;
  gap: 1.4%;
}

.product-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 3.5%;
  border: 1px solid #d5e2eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(11, 49, 95, 0.06);
}

.product-art {
  display: grid;
  width: 100%;
  height: 46%;
  margin-bottom: 4%;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background-color: #f7fafc;
}

.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-art--manual img {
  object-fit: cover;
  object-position: center 70%;
}

.product-grid h2,
.product-grid h3,
.product-grid ul {
  margin: 0;
}

.product-grid h2 {
  font-size: clamp(11px, 1vw, 17px);
}

.product-grid h3 {
  margin-top: 3px;
  color: #168247;
  font-size: clamp(7px, 0.68vw, 11px);
}

.product-grid ul {
  flex: 1;
  padding: 5% 0 0 6%;
  color: #243f5e;
  font-size: clamp(6px, 0.62vw, 10px);
  line-height: 1.55;
}

.product-grid article > a {
  align-self: start;
  padding: 5px 9px;
  border: 1px solid #17874b;
  border-radius: 5px;
  color: #08713a;
  font-size: clamp(6px, 0.62vw, 10px);
  font-weight: 800;
  text-decoration: none;
}

.product-connectivity {
  display: flex;
  align-items: center;
  height: 6%;
  margin: 0 3% 1%;
  padding: 0 1.5%;
  border-radius: 8px;
  background: #e9f7ef;
  gap: 3%;
  color: #08713a;
  font-size: clamp(6px, 0.65vw, 10px);
}

.product-connectivity a {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 5px;
  background: #148347;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.screen-stage[data-route="products"] {
  min-height: 100vh;
  aspect-ratio: auto;
  overflow: visible;
}

.screen-stage[data-route="products"] .products-page {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.products-page .generated-header {
  height: 72px;
}

.products-page .products-hero {
  height: 190px;
}

.products-page .product-tabs {
  height: 58px;
}

.products-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: auto;
  padding: 22px 3%;
  gap: 18px;
}

.products-page .product-grid article {
  min-height: 430px;
  padding: 16px;
}

.products-page .product-art {
  height: 230px;
  flex: 0 0 230px;
}

.products-page .product-connectivity {
  min-height: 70px;
  height: auto;
  margin-bottom: 22px;
}

.products-page .generated-footer {
  min-height: 72px;
  height: auto;
}

.generated-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 7%;
  padding: 0 3%;
  background: #082f62;
  color: #fff;
  font-size: clamp(6px, 0.65vw, 11px);
}

.generated-footer a {
  color: inherit;
  text-decoration: none;
}

.generated-footer a:hover,
.generated-footer a:focus-visible {
  text-decoration: underline;
}

.integration-hero {
  display: grid;
  grid-template-columns: 32% 34% 34%;
  height: 39%;
  padding: 2% 3%;
  background: linear-gradient(90deg, #f3f8fb, #fff 52%, #ecf6fb);
}

.integration-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.integration-copy .lead {
  max-width: 95%;
  margin: 3% 0;
  color: #425b75;
  font-size: clamp(7px, 0.78vw, 13px);
  line-height: 1.55;
}

.micro-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2%;
  color: #0b315f;
  font-size: clamp(6px, 0.63vw, 10px);
  text-align: center;
}

.micro-benefits b {
  padding-top: 13%;
  border-top: 3px solid #168247;
}

.eb001-visual {
  align-self: center;
  width: 94%;
  height: 82%;
  justify-self: center;
  border-radius: 18px;
  background: #fff url("assets/screens/overview.png") no-repeat 16.5% 86% / 750% auto;
  filter: drop-shadow(0 14px 18px rgba(13, 48, 78, 0.14));
}

.integration-hero aside {
  align-self: center;
  padding: 5%;
  border: 1px solid #cbdde8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(10, 49, 95, 0.08);
}

.integration-hero aside h2 {
  margin: 0;
  color: #08713a;
  font-size: clamp(10px, 1vw, 16px);
}

.integration-hero aside ul {
  margin: 4% 0;
  padding-left: 6%;
  color: #193858;
  font-size: clamp(6px, 0.65vw, 11px);
  line-height: 1.7;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
}

.metric-row b {
  padding: 5%;
  border: 1px solid #d9e5ec;
  border-radius: 7px;
  color: #08713a;
  font-size: clamp(7px, 0.78vw, 12px);
  text-align: center;
}

.metric-row small {
  display: block;
  margin-top: 4px;
  color: #536a7e;
  font-size: 70%;
}

.architecture {
  height: 29%;
  padding: 1.2% 3%;
}

.architecture h2 {
  margin: 0 0 1%;
  color: #0b315f;
  font-size: clamp(10px, 1vw, 16px);
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  height: 80%;
  gap: 1%;
}

.architecture-flow article {
  position: relative;
  height: 100%;
  padding: 8% 6%;
  border: 1px solid #d3e1e9;
  border-radius: 10px;
  background: #f6f9fb;
  text-align: center;
}

.architecture-flow article.focus {
  border-color: #78c69a;
  background: #edf9f2;
}

.architecture-flow article span {
  position: absolute;
  top: 7%;
  left: 6%;
  display: grid;
  width: clamp(18px, 1.8vw, 28px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #168247;
  color: #fff;
  font-size: clamp(7px, 0.68vw, 11px);
}

.architecture-flow h3 {
  margin: 8% 0 4%;
  font-size: clamp(8px, 0.82vw, 13px);
}

.architecture-flow p {
  margin: 0;
  color: #526a7d;
  font-size: clamp(6px, 0.62vw, 10px);
  line-height: 1.45;
}

.architecture-flow i {
  color: #168247;
  font-size: clamp(18px, 2.2vw, 34px);
  font-style: normal;
}

.integration-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 11%;
  padding: 0 3%;
}

.integration-benefits article {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0 7%;
  border-right: 1px solid #d8e4ea;
}

.integration-benefits article:last-child {
  border-right: 0;
}

.integration-benefits strong {
  color: #08713a;
  font-size: clamp(7px, 0.75vw, 12px);
}

.integration-benefits span {
  margin-top: 4px;
  color: #52687b;
  font-size: clamp(6px, 0.6vw, 10px);
}

.integration-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7%;
  margin: 0 3%;
  padding: 0 2%;
  border-radius: 7px;
  background: #075742;
  color: #fff;
  font-size: clamp(8px, 0.85vw, 14px);
}

.integration-cta a {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  color: #fff;
  font-size: 80%;
  font-weight: 800;
  text-decoration: none;
}

.integration-page .generated-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7%;
}

.route-controls {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 12px;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 43, 89, 0.96);
  box-shadow: 0 10px 28px rgba(5, 36, 70, 0.24);
  color: #fff;
  gap: 7px;
  backdrop-filter: blur(10px);
}

.route-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #168247;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.route-controls button:hover {
  background: #1c9554;
}

.route-controls button:focus-visible,
.menu-toggle:focus-visible,
.mobile-menu a:focus-visible {
  outline: 3px solid #79d4a4;
  outline-offset: 2px;
}

#route-status {
  min-width: 148px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 70px;
    overflow-x: hidden;
  }

  .mobile-header {
    position: sticky;
    z-index: 80;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 9px 16px;
    border-bottom: 1px solid #dbe6ed;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 18px rgba(5, 36, 70, 0.08);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #0b315f;
    gap: 9px;
    text-decoration: none;
  }

  .mobile-mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    place-items: center;
    border: 0;
    background: #fff;
    color: #168247;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-mark img {
    position: absolute;
    top: 0;
    left: -81.5%;
    width: 272%;
    max-width: none;
    height: auto;
  }

  .mobile-brand strong,
  .mobile-brand small {
    display: block;
  }

  .mobile-brand strong {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .mobile-brand small {
    overflow: hidden;
    max-width: 230px;
    color: #4c6377;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 10px;
    place-content: center;
    border: 0;
    border-radius: 9px;
    background: #0b315f;
    cursor: pointer;
    gap: 5px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .mobile-menu {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - 66px);
    padding: 10px 14px 16px;
    overflow-y: auto;
    border-top: 1px solid #e1e9ee;
    background: #fff;
    box-shadow: 0 16px 34px rgba(5, 36, 70, 0.18);
    gap: 3px;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 11px 13px;
    border-radius: 7px;
    color: #0b315f;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-menu a.active {
    background: #eaf6ef;
    color: #08713a;
  }

  .mobile-menu .mobile-contact {
    margin-top: 5px;
    background: #08713a;
    color: #fff;
    text-align: center;
  }

  .site-viewport {
    display: block;
    min-height: 0;
  }

  .screen-stage {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .route-controls {
    right: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .screen-stage[data-route="products"],
  .screen-stage[data-route="integration"] {
    min-height: calc(100vh - 66px);
    aspect-ratio: auto;
    overflow: visible;
  }

  .generated-page {
    position: relative;
    min-height: calc(100vh - 66px);
    overflow: visible;
  }

  .generated-header {
    min-height: 64px;
    height: auto;
    padding: 10px 16px;
  }

  .generated-header nav,
  .generated-header .contact-pill {
    display: none;
  }

  .products-hero {
    align-items: stretch;
    height: auto;
    min-height: 250px;
    padding: 30px 18px 18px;
    flex-direction: column;
    gap: 22px;
  }

  .products-hero h1,
  .integration-hero h1 {
    font-size: clamp(28px, 9vw, 43px);
  }

  .products-hero small,
  .integration-copy .lead {
    font-size: 13px;
  }

  .product-tabs {
    height: auto;
    min-height: 54px;
    margin: 0;
    padding: 9px 16px;
    overflow-x: auto;
    gap: 9px;
    white-space: nowrap;
  }

  .product-tabs a,
  .product-grid h3,
  .product-grid ul,
  .product-grid article > a,
  .product-connectivity,
  .generated-footer {
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 16px;
    gap: 14px;
  }

  .products-page .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid article {
    min-height: 430px;
    padding: 18px;
  }

  .product-art {
    min-height: 245px;
  }

  .product-grid h2 {
    font-size: 22px;
  }

  .product-grid ul {
    padding: 12px 0 16px 18px;
  }

  .product-connectivity {
    height: auto;
    margin: 0 16px 18px;
    padding: 15px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .product-connectivity a {
    width: 100%;
    margin: 4px 0 0;
    padding: 10px 12px;
    text-align: center;
  }

  .generated-footer,
  .integration-page .generated-footer {
    position: static;
    justify-content: flex-start;
    height: auto;
    min-height: 110px;
    padding: 18px;
    flex-wrap: wrap;
    gap: 9px 18px;
  }

  .integration-hero {
    grid-template-columns: 1fr;
    height: auto;
    padding: 32px 18px;
    gap: 22px;
  }

  .integration-copy .lead {
    max-width: none;
    margin: 16px 0;
  }

  .micro-benefits {
    font-size: 10px;
  }

  .eb001-visual {
    width: 100%;
    height: 310px;
  }

  .integration-hero aside {
    padding: 22px;
  }

  .integration-hero aside h2 {
    font-size: 19px;
  }

  .integration-hero aside ul {
    padding-left: 19px;
    font-size: 13px;
  }

  .metric-row b {
    font-size: 12px;
  }

  .architecture {
    height: auto;
    padding: 24px 18px;
  }

  .architecture h2 {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }

  .architecture-flow article {
    min-height: 145px;
    padding: 28px 18px 18px;
  }

  .architecture-flow h3 {
    margin: 12px 0 7px;
    font-size: 15px;
  }

  .architecture-flow p {
    font-size: 12px;
  }

  .architecture-flow i {
    transform: rotate(90deg);
    font-size: 28px;
    text-align: center;
  }

  .integration-benefits {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0 18px;
  }

  .integration-benefits article {
    min-height: 90px;
    padding: 14px 4px;
    border-right: 0;
    border-bottom: 1px solid #d8e4ea;
  }

  .integration-benefits strong {
    font-size: 14px;
  }

  .integration-benefits span {
    font-size: 12px;
  }

  .integration-cta {
    height: auto;
    min-height: 112px;
    margin: 18px;
    padding: 18px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .integration-cta a {
    width: 100%;
    padding: 11px 16px;
  }
}

@media (max-width: 430px) {
  .mobile-brand small {
    max-width: 180px;
  }

  .route-controls {
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  #route-status {
    min-width: 0;
    font-size: 11px;
  }
}

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