.hardware-documentation {
  background: #f5f7fc;
  color: #18264d;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.hardware-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.hardware-category,
.hardware-panel {
  background: #fff;
  border: 1px solid #d4dbea;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 2rem);
}

.hardware-category > summary {
  width: fit-content;
  color: #3d4c91;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
}

.hardware-apps,
.hardware-documents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
}

.hardware-apps {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  margin-block-start: 1rem;
}

.hardware-app,
.hardware-document {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1rem;
  background: #f5f7fc;
  border: 1px solid #d4dbea;
  border-radius: 8px;
  color: #18264d;
  text-decoration: none;
}

.hardware-app {
  border-block-start: 4px solid #3d4c91;
}

.hardware-app:hover,
.hardware-document:hover {
  background: #eef1fa;
  border-color: #3d4c91;
}

.hardware-documentation :is(summary, a):focus-visible {
  outline: 3px solid #3d4c91;
  outline-offset: 3px;
}

.hardware-app :is(h2, p),
.hardware-panel h2 {
  color: #18264d;
  margin: 0;
}

.hardware-app h2,
.hardware-panel h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.hardware-app p,
.hardware-panel p {
  line-height: 1.55;
}

.hardware-action {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  background: #dd7127;
  color: #121f43;
  font-weight: 750;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.hardware-app:hover .hardware-action,
.hardware-action:hover {
  background: #ee8846;
}

.hardware-product {
  padding-block-start: 0;
}

.hardware-hero {
  background: #3d4c91;
  color: #fff;
  padding: clamp(1.75rem, 5vw, 4rem) 0;
}

.hardware-hero :is(h1, p, .hardware-back) {
  color: #fff;
}

.hardware-hero :is(a):focus-visible {
  outline-color: #fff;
}

.hardware-hero h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.05;
}

.hardware-hero p {
  line-height: 1.55;
  margin: 0.85rem 0 1.15rem;
}

.hardware-back,
.hardware-text-link {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hardware-text-link {
  color: #3d4c91;
}

.hardware-sections {
  display: grid;
  gap: 1rem;
  padding-block-start: clamp(1rem, 3vw, 2rem);
}

.hardware-panel h2 {
  scroll-margin-top: 7rem;
}

.hardware-panel p {
  max-width: 68ch;
  margin: 0.65rem 0 1rem;
}

.hardware-documents,
.hardware-reference-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hardware-document {
  box-sizing: border-box;
  height: 100%;
}

.hardware-document strong {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hardware-document span {
  color: #4c5975;
  font-size: 0.875rem;
}

.hardware-reference-links {
  display: grid;
  gap: 0.75rem;
  margin-block-start: 0.9rem;
}
