.hardware-page {
  background:
    radial-gradient(ellipse at 85% 16%, rgba(103, 143, 177, 0.13), transparent 36%),
    radial-gradient(ellipse at 8% 60%, rgba(126, 125, 173, 0.1), transparent 32%),
    var(--bg);
}

.hardware-page :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 30;
  padding: 14px 20px;
  color: var(--black);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.hardware-page .nav [aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: var(--accent);
}

.hardware-page main,
.hardware-footer {
  width: min(1440px, calc(100% - 96px));
  margin-inline: auto;
}

.hardware-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: min(900px, 100svh);
  padding: 152px 0 80px;
}

.hardware-label {
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hardware-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(4.5rem, 8.3vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hardware-tagline {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hardware-lead {
  max-width: 440px;
  margin-bottom: 32px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hardware-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.hardware-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hardware-text-link:hover {
  color: var(--ink);
}

.hardware-page figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #191c25;
}

.hardware-page figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hardware-page figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.syntkey-portrait figcaption {
  color: var(--ink);
}

.syntkey-portrait figcaption span {
  color: var(--muted);
}

.hardware-connection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 80px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.hardware-page h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.connection-summary {
  align-self: end;
}

.connection-summary p,
.hardware-contact-copy p {
  max-width: 540px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.device-list li {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.875rem;
}

.syntkey-detail {
  grid-column: 1 / -1;
}

.hardware-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px 80px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.hardware-contact-copy p {
  margin-bottom: 28px;
}

.hardware-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.hardware-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hardware-footer a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hardware-page main,
  .hardware-footer {
    width: calc(100% - 48px);
  }

  .hardware-page .site-header {
    padding-inline: 24px;
  }

  .hardware-page .nav {
    gap: 20px;
  }

  .hardware-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }

  .hardware-lead {
    max-width: 580px;
  }

  .hardware-connection,
  .hardware-contact {
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .hardware-page .site-header {
    position: sticky;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: rgba(16, 19, 34, 0.96);
  }

  .hardware-page .nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hardware-page .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .hardware-page main,
  .hardware-footer {
    width: calc(100% - 32px);
  }

  .hardware-page section {
    scroll-margin-top: 160px;
  }

  .hardware-hero {
    padding: 48px 0;
  }

  .hardware-intro h1 {
    font-size: clamp(4.25rem, 16vw, 6.5rem);
  }

  .hardware-connection,
  .hardware-contact {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .hardware-page figcaption {
    padding: 16px;
  }

  .hardware-label {
    margin-bottom: 20px;
  }
}

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