/* Device hardware security testing service page */

.hardware-hero {
  min-height: 780px;
  padding: 0 !important;
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 80% 42%, rgba(22, 184, 173, 0.12), transparent 30%),
    linear-gradient(135deg, #071113 0%, #09191c 62%, #071113 100%);
}

.hardware-hero::after {
  content: "";
  width: 34%;
  height: 2px;
  position: absolute;
  top: 76px;
  right: 0;
  background: linear-gradient(90deg, transparent, var(--teal));
}

.hardware-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 64%, transparent 100%);
}

.hardware-hero-content {
  min-height: 780px;
  padding-top: 154px;
  padding-bottom: 42px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hardware-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 80px;
  align-items: center;
}

.hardware-hero-copy {
  max-width: 780px;
}

.hardware-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.04;
}

.hardware-hero-intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.65;
}

.hardware-hero-actions,
.hardware-contact-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.board-visual {
  width: min(100%, 470px);
  aspect-ratio: 1 / 0.86;
  margin-left: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(22, 184, 173, 0.1) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(22, 184, 173, 0.1) 50%, transparent 50.2%),
    rgba(6, 22, 24, 0.74);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), inset 0 0 70px rgba(22, 184, 173, 0.03);
}

.board-visual::before,
.board-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(22, 184, 173, 0.18);
}

.board-visual::before {
  inset: 35px;
}

.board-visual::after {
  inset: 67px;
  border-style: dashed;
}

.board-chip {
  width: 146px;
  height: 146px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: #fff;
  background: #0e282b;
  border: 1px solid var(--teal);
  box-shadow: 0 0 0 12px rgba(22, 184, 173, 0.05), 0 0 42px rgba(22, 184, 173, 0.12);
}

.board-chip::before,
.board-chip::after {
  content: "";
  position: absolute;
  background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 12px);
}

.board-chip::before {
  width: calc(100% + 36px);
  height: 5px;
  top: -11px;
  left: -18px;
}

.board-chip::after {
  width: calc(100% + 36px);
  height: 5px;
  bottom: -11px;
  left: -18px;
}

.board-chip i {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 28px;
}

.board-chip strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
  font-weight: 600;
}

.board-chip span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.board-label {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.57);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.board-label-top { top: 19px; left: 50%; transform: translateX(-50%); }
.board-label-right { top: calc(50% - 24px); right: 18px; }
.board-label-bottom { bottom: 19px; left: 50%; transform: translateX(-50%); }
.board-label-left { top: calc(50% - 24px); left: 18px; }

.board-trace {
  position: absolute;
  z-index: 1;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(22, 184, 173, 0.5);
}

.trace-top,
.trace-bottom {
  width: 1px;
  height: calc(50% - 72px);
  left: 50%;
}

.trace-top { top: 36px; }
.trace-bottom { bottom: 36px; }

.trace-left,
.trace-right {
  width: calc(50% - 72px);
  height: 1px;
  top: 50%;
}

.trace-left { left: 36px; }
.trace-right { right: 36px; }

.board-node {
  width: 8px;
  height: 8px;
  position: absolute;
  z-index: 2;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(237, 176, 75, 0.7);
}

.node-one { top: 33px; left: calc(50% - 3px); }
.node-two { top: calc(50% - 3px); right: 33px; }
.node-three { bottom: 33px; left: calc(50% - 3px); }
.node-four { top: calc(50% - 3px); left: 33px; }

.hardware-proof {
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hardware-proof > div {
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hardware-proof > div:first-child { padding-left: 0; }
.hardware-proof > div:last-child { padding-right: 0; border-right: 0; }

.hardware-proof strong {
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
  font-weight: 600;
}

.hardware-proof span {
  max-width: 250px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.hardware-intro {
  border-bottom: 1px solid var(--line);
}

.hardware-intro-layout,
.hardware-outcomes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 90px;
  align-items: start;
}

.hardware-intro h2,
.harness-heading h2,
.hardware-outcomes h2,
.hardware-contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.12;
}

.hardware-intro-copy p,
.harness-heading > p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.hardware-intro-copy p:last-child { margin-bottom: 0; }

.hardware-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #bdc8c5;
  border-left: 1px solid #bdc8c5;
}

.hardware-capability-card {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid #bdc8c5;
  border-bottom: 1px solid #bdc8c5;
  background: rgba(255, 255, 255, 0.18);
  transition: background 160ms ease, transform 160ms ease;
}

.hardware-capability-card:hover {
  position: relative;
  z-index: 1;
  background: #fff;
  transform: translateY(-2px);
}

.capability-card-head {
  margin-bottom: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capability-card-head span {
  color: var(--teal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

.capability-card-head i {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: #e2ece9;
  border: 1px solid #c7d8d4;
  border-radius: 3px;
  font-size: 21px;
}

.hardware-capability-card h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.hardware-capability-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.68;
}

.test-enablement {
  position: relative;
}

.test-enablement::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, transparent, #000 64%, transparent);
}

.test-enablement-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(620px, 1.22fr);
  gap: 90px;
  align-items: center;
}

.test-enablement-copy h2 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.13;
}

.test-enablement-copy > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.7;
}

.test-enablement-copy > p:last-child { margin-bottom: 0; }

.test-system {
  padding: 52px 34px;
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 33, 36, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.system-item {
  min-height: 205px;
  padding: 23px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: #0d2124;
}

.system-harness {
  border-color: rgba(22, 184, 173, 0.66);
  box-shadow: 0 0 32px rgba(22, 184, 173, 0.1);
}

.system-item .system-kicker {
  margin-bottom: 17px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.system-item i {
  margin-bottom: 15px;
  color: var(--teal);
  font-size: 27px;
}

.system-item strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.system-item small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1.5;
}

.system-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.system-link span {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.harness-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 90px;
  align-items: end;
}

.harness-heading > p { margin-bottom: 3px; }

.harness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.harness-grid article {
  min-height: 306px;
  padding: 31px 27px 25px;
  border-right: 1px solid var(--line);
}

.harness-grid article:first-child { padding-left: 0; }
.harness-grid article:last-child { padding-right: 0; border-right: 0; }

.harness-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: #e2ece9;
  border: 1px solid #c7d8d4;
  border-radius: 3px;
  font-size: 21px;
}

.harness-grid h3 {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.harness-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.68;
}

.hardware-workflow-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  border-top: 1px solid #bdc8c5;
}

.hardware-workflow-list li {
  min-height: 250px;
  padding: 27px 23px;
  border-right: 1px solid #bdc8c5;
}

.hardware-workflow-list li:first-child { padding-left: 0; }
.hardware-workflow-list li:last-child { padding-right: 0; border-right: 0; }

.hardware-workflow-list span {
  display: block;
  margin-bottom: 66px;
  color: var(--teal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

.hardware-workflow-list strong {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.hardware-workflow-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.hardware-outcomes-layout {
  align-items: center;
}

.hardware-outcome-list {
  border-top: 1px solid var(--line);
}

.hardware-outcome-list > div {
  min-height: 64px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}

.hardware-outcome-list i {
  color: var(--teal-dark);
  font-size: 22px;
}

.hardware-contact {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hardware-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 90px;
  align-items: center;
}

.hardware-contact h2 { color: #fff; }

.hardware-contact-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.7;
}

.hardware-phone {
  min-height: 48px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 15px;
  font-weight: 600;
}

.hardware-phone i { color: var(--teal); }

@media (max-width: 1199px) {
  .hardware-hero::after { top: 68px; }

  .hardware-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 50px;
  }

  .hardware-hero-copy h1 { font-size: 54px; }

  .test-enablement-layout {
    grid-template-columns: 1fr;
  }

  .test-enablement-copy { max-width: 740px; }

  .hardware-workflow-list { grid-template-columns: repeat(3, 1fr); }

  .hardware-workflow-list li:nth-child(3) { border-right: 0; }
  .hardware-workflow-list li:nth-child(-n + 3) { border-bottom: 1px solid #bdc8c5; }
  .hardware-workflow-list li:nth-child(4) { padding-left: 0; }
}

@media (max-width: 991px) {
  .hardware-hero,
  .hardware-hero-content {
    min-height: 900px;
  }

  .hardware-hero-content { padding-top: 128px; }

  .hardware-hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hardware-hero-copy { max-width: 760px; }
  .hardware-hero-copy h1 { font-size: 50px; }

  .board-visual {
    width: 360px;
    margin: 0;
    position: absolute;
    right: 24px;
    bottom: 126px;
    opacity: 0.76;
  }

  .hardware-proof { position: relative; z-index: 2; }

  .hardware-intro-layout,
  .hardware-outcomes-layout,
  .hardware-contact-layout,
  .harness-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hardware-capability-grid { grid-template-columns: 1fr 1fr; }

  .harness-grid { grid-template-columns: 1fr 1fr; }

  .harness-grid article,
  .harness-grid article:first-child,
  .harness-grid article:last-child {
    min-height: 260px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .harness-grid article:nth-child(2n) { border-right: 0; }
  .harness-icon { margin-bottom: 34px; }
}

@media (max-width: 767px) {
  .hardware-hero,
  .hardware-hero-content {
    min-height: 820px;
  }

  .hardware-hero-content {
    padding-top: 112px;
    padding-bottom: 28px;
  }

  .hardware-hero-copy h1 { font-size: 42px; }

  .hardware-hero-intro {
    margin-top: 22px;
    font-size: 17px;
  }

  .board-visual { display: none; }

  .hardware-proof {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .hardware-proof > div,
  .hardware-proof > div:first-child,
  .hardware-proof > div:last-child {
    padding: 14px 0;
    grid-template-columns: 82px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .hardware-proof > div:last-child { border-bottom: 0; }

  .hardware-intro h2,
  .harness-heading h2,
  .hardware-outcomes h2,
  .hardware-contact h2,
  .test-enablement-copy h2 {
    font-size: 34px;
  }

  .hardware-capability-grid { grid-template-columns: 1fr; }

  .hardware-capability-card {
    min-height: 0;
    padding: 27px;
  }

  .capability-card-head { margin-bottom: 26px; }

  .test-system {
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .system-item { min-height: 172px; }

  .system-link {
    height: 52px;
    flex-direction: column;
  }

  .harness-grid { grid-template-columns: 1fr; }

  .harness-grid article,
  .harness-grid article:first-child,
  .harness-grid article:last-child,
  .harness-grid article:nth-child(2n) {
    min-height: 0;
    padding: 27px 0;
    border-right: 0;
  }

  .harness-icon { margin-bottom: 25px; }

  .hardware-workflow-list { grid-template-columns: 1fr; }

  .hardware-workflow-list li,
  .hardware-workflow-list li:first-child,
  .hardware-workflow-list li:nth-child(4),
  .hardware-workflow-list li:last-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid #bdc8c5;
  }

  .hardware-workflow-list li:last-child { border-bottom: 0; }

  .hardware-workflow-list span { margin-bottom: 24px; }

  .hardware-contact-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .hardware-hero-copy h1 { font-size: 37px; }
  .hardware-hero-actions .button { width: 100%; }
}
