/* Embedded GUI & HMI: calm, legible engineering surfaces, scoped to this page. */
#hmi-capabilities {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.3vw, 34px);
  border: 1px solid #24516b;
  border-radius: 16px;
  background-color: #0a2030;
  background-image:
    radial-gradient(ellipse at 91% 0%, rgb(0 184 239 / 16%), transparent 43%),
    radial-gradient(ellipse at 0% 100%, rgb(20 97 154 / 14%), transparent 44%),
    linear-gradient(132deg, #0a1d2b 0%, #0d2c40 57%, #0a2232 100%);
  box-shadow: 0 18px 42px rgb(4 22 35 / 12%);
}
#hmi-capabilities::before,
.hmi-delivery-section::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 9%;
  left: 9%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #08aee0 22%, #7cdcf5 50%, #08aee0 78%, transparent);
  opacity: .8;
  content: "";
  pointer-events: none;
}
#hmi-capabilities .sectionhead {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
#hmi-capabilities .sectionhead .mono,
.hmi-delivery-section .sectionhead .mono {
  color: #43c9f0 !important;
}
#hmi-capabilities .sectionhead h2,
#hmi-capabilities.page-section h2,
.hmi-delivery-section .sectionhead h2,
.hmi-delivery-section.page-section h2 {
  color: #f4f8fc !important;
  -webkit-text-fill-color: #f4f8fc !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
#hmi-capabilities .sectionhead h2 .hmi-title-accent,
.hmi-delivery-section .sectionhead h2 .hmi-title-accent {
  color: #18bce8 !important;
  -webkit-text-fill-color: #18bce8 !important;
}
#hmi-capabilities .sectionhead p,
.hmi-delivery-section .sectionhead p {
  color: #c6d8e4 !important;
  -webkit-text-fill-color: #c6d8e4 !important;
  opacity: 1 !important;
}
#hmi-capabilities .hmi-capabilities {
  position: relative;
  z-index: 1;
}
#hmi-capabilities .hmi-capabilities > article {
  border-color: #24516a;
  border-top-color: #05b7e8;
  background: linear-gradient(145deg, #133a50 0%, #0c2a3d 100%);
  box-shadow: inset 0 1px 0 rgb(179 232 250 / 5%), 0 10px 24px rgb(2 15 25 / 18%);
}
#hmi-capabilities .hmi-capabilities > article:nth-child(3n + 2) {
  border-top-color: #55a9e8;
}
#hmi-capabilities .hmi-capabilities > article:nth-child(3n) {
  border-top-color: #42d3c1;
}
#hmi-capabilities .hmi-capabilities > article:hover {
  border-color: #3c89aa;
  background: linear-gradient(145deg, #174a66, #103750);
  box-shadow: 0 16px 32px rgb(0 11 20 / 28%);
}
#hmi-capabilities .hmi-capabilities > article > span {
  display: grid;
  place-items: center;
  border-color: #286986;
  background: linear-gradient(145deg, #164a66, #10374f);
  color: #70dcf6;
  box-shadow: inset 0 0 0 1px rgb(0 184 239 / 8%);
}
#hmi-capabilities .hmi-capabilities h3 {
  color: #f1f8fc;
}
#hmi-capabilities .hmi-capabilities p {
  color: #c1d5e2;
}
#hmi-capabilities .hmi-capabilities > article::after {
  background: linear-gradient(rgb(71 126 153 / 45%), rgb(71 126 153 / 45%)) left bottom / 100% 1px no-repeat;
}

.hmi-context-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #e4eff5;
  background-image:
    radial-gradient(ellipse at 86% 0%, rgb(0 153 205 / 10%), transparent 42%),
    radial-gradient(ellipse at 5% 95%, rgb(47 119 174 / 7%), transparent 42%),
    linear-gradient(115deg, #eaf3f8 0%, #e1edf4 54%, #edf4f8 100%);
  border-block-color: #c5d8e4;
}
.hmi-context-band > .wrap {
  position: relative;
  z-index: 1;
}
.hmi-context-band .sectionhead .mono {
  color: #087fae;
}
.hmi-contexts > article {
  border-color: #c6d9e4;
  border-top-color: #08aee0;
  background: linear-gradient(150deg, #ffffff 0%, #f0f7fb 100%);
  box-shadow: 0 10px 24px rgb(20 67 96 / 8%);
}
.hmi-contexts > article:nth-child(4n + 2) {
  border-top-color: #438fca;
}
.hmi-contexts > article:nth-child(4n + 3) {
  border-top-color: #28b9b3;
}

.hmi-delivery-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.3vw, 34px);
  border: 1px solid #24516b;
  border-radius: 16px;
  background-color: #0a2030;
  background-image:
    radial-gradient(ellipse at 90% 0%, rgb(0 184 239 / 15%), transparent 43%),
    radial-gradient(ellipse at 0% 100%, rgb(20 97 154 / 12%), transparent 44%),
    linear-gradient(132deg, #0a1d2b 0%, #0e3046 59%, #0a2232 100%);
  box-shadow: 0 18px 42px rgb(4 22 35 / 11%);
}
.hmi-delivery-section .sectionhead {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.hmi-delivery-section .hmi-delivery {
  position: relative;
  z-index: 1;
}
.hmi-delivery-section .hmi-delivery > article,
.hmi-delivery-section .hmi-delivery > article:first-child {
  border-color: #bed6e2;
  border-top-color: #08aee0;
  background: linear-gradient(150deg, #fafdff 0%, #eaf4f9 100%);
  box-shadow: 0 10px 24px rgb(2 15 25 / 20%);
}
.hmi-delivery-section .hmi-delivery > article:nth-child(4n + 2) {
  border-top-color: #438fca;
}
.hmi-delivery-section .hmi-delivery > article:nth-child(4n + 3) {
  border-top-color: #28b9b3;
}
.hmi-delivery-section .hmi-delivery article > b {
  display: grid;
  place-items: center;
  border-color: #c4dce8;
  background: linear-gradient(145deg, #e3f3fa, #d8ebf5);
  color: #087fae;
}
.hmi-delivery-section .hmi-delivery > article:hover {
  border-color: #68b7d7;
  box-shadow: 0 15px 30px rgb(2 15 25 / 28%);
}

@media (max-width: 650px) {
  #hmi-capabilities,
  .hmi-delivery-section {
    padding: 18px 14px;
    border-radius: 14px;
  }
  #hmi-capabilities .sectionhead,
  .hmi-delivery-section .sectionhead {
    margin-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hmi-capabilities .hmi-capabilities > article,
  .hmi-delivery-section .hmi-delivery > article {
    transition: none;
  }
}
/* Give the image gallery a distinct, comfortable break before the capabilities panel. */
#hmi-capabilities {
  margin-top: clamp(30px, 3vw, 44px);
}
@media (max-width: 650px) {
  #hmi-capabilities {
    margin-top: 26px;
  }
}
/* Topic icons replace the numeric badges without changing their dimensions. */
#hmi-capabilities .hmi-capabilities > article > .hmi-capability-icon svg,
.hmi-delivery-section .hmi-delivery article > .hmi-step-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#hmi-capabilities .hmi-capability-icon svg [fill="currentColor"] {
  fill: currentColor;
}
#hmi-capabilities .hmi-capabilities > article > .hmi-capability-icon,
.hmi-delivery-section .hmi-delivery article > .hmi-step-icon {
  font-size: 0;
}
/* HMI cross-links: use small topic pictograms and keep the two-line heading balanced. */
.hmi-next h2 {
  max-width: 30ch;
}
.hmi-next-links small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 12px;
}
.hmi-next-links .hmi-link-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -1px;
}
.hmi-next-links .hmi-link-icon [fill="currentColor"] {
  fill: currentColor;
}
@media (max-width: 760px) {
  .hmi-next h2 {
    max-width: 30ch;
  }
}