/* Hardware inherits VoltKeys typography and colors. Abstract art is static. */
.hardware-page { padding-bottom: 24px; overflow-wrap: anywhere }
.hardware-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 56px 28px }
.hardware-heading h1 { margin-bottom: 16px }
.hardware-heading .lead { max-width: 64ch; margin-bottom: 0 }
.hardware-page .mascot { flex-shrink: 0 }
.hardware-category-cover { margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--coal) }
.hardware-category-cover img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: cover }
.hardware-category-cover + .hardware-heading { padding-top: 28px }
.hardware-page .hardware-filters { flex-wrap: wrap }
.hardware-filters input, .hardware-filters select { width: 100%; min-height: 46px }
.hardware-filters input[type="search"] { padding-left: 14px }
.hardware-filters .clear-link { margin: 0; padding-block: 12px }
.hardware-results { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .9rem; margin-block: 24px 16px }
.hardware-results p { margin: 0 }
.hardware-results strong { color: var(--paper) }
.hardware-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
.hardware-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s var(--ease) }
.hardware-card:hover, .hardware-card:focus-within { border-color: var(--amber) }
.hardware-card-link { display: block; flex: 1 }
.hardware-card-link:focus-visible { outline-offset: -4px }
.hardware-art { margin: 0; background: radial-gradient(ellipse at center, rgba(245, 166, 35, .08), transparent 70%), var(--coal) }
.hardware-art img, .hardware-illustration { width: 100%; aspect-ratio: 32 / 21; object-fit: contain }
.hardware-art img { padding: 20px }
.hardware-card .hardware-art { max-width: none }   /* the 760 px cap in voltkeys.css is for standalone art, not card media */
.hardware-illustration svg { display: block; width: 100%; height: 100% }
.hardware-art-orbit { fill: none; stroke: var(--deep); stroke-width: 2 }
.hardware-art-tile { fill: var(--steel); stroke: var(--amber); stroke-width: 2 }
.hardware-art-spark, .hardware-art-node { fill: var(--gold) }
.hardware-art figcaption { padding: 10px 16px; color: var(--muted); text-align: center; font-size: .8rem; border-top: 1px solid var(--line-soft) }
.hardware-card-copy { padding: 24px }
.hardware-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--warm); font-size: .85rem; margin-bottom: 14px }
.hardware-meta span + span { color: var(--muted) }
.hardware-card h2 { font-size: 1.4rem; margin-bottom: 20px }
.hardware-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--muted); font-size: .9rem }
.hardware-price strong { color: var(--paper); font-size: 1.8rem; letter-spacing: -.03em }
.hardware-open { display: inline-flex; gap: 12px; align-items: center; color: var(--warm); font-weight: 650 }
.hardware-card-note { margin: 0; border-top: 1px solid var(--line-soft); padding: 14px 24px; color: var(--muted); font-size: .82rem }
.hardware-empty { grid-column: 1 / -1; padding: 40px; text-align: center }
.hardware-empty p { color: var(--muted) }
.hardware-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start }
.hardware-detail-art { overflow: hidden }
.hardware-detail-copy h1 { font-size: clamp(2.2rem, 4.5vw, 4rem) }
.hardware-notice { padding: 14px 18px; border-left: 3px solid var(--amber); background: rgba(245, 166, 35, .06); color: var(--warm) }
.hardware-pricing { margin-block: 28px }
.hardware-pricing h2 { font-size: 1.45rem }
.hardware-pricing .table-scroll:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px }
.hardware-table { width: 100%; border-collapse: collapse; font-size: .95rem }
.hardware-table caption { text-align: left; color: var(--muted); font-size: .85rem; line-height: 1.6; padding-bottom: 16px }
.hardware-table th, .hardware-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.hardware-table thead th { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: normal }
.hardware-table td { color: var(--warm); white-space: nowrap; text-align: right; font-weight: 650 }
.hardware-table thead th:last-child { text-align: right }
.hardware-verification { color: var(--muted); margin-block: 28px 0; max-width: 80ch }
.hardware-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 32px }
.hardware-info { padding: 28px }
.hardware-info h2 { font-size: 1.5rem; margin-bottom: 20px }
.hardware-info p, .hardware-info li { color: var(--muted) }
.hardware-info p:last-child { margin-bottom: 0 }
.hardware-info ul { padding-left: 20px; margin-bottom: 0; line-height: 1.7 }
.hardware-info li + li { margin-top: 10px }
.hardware-specs { margin: 0 }
.hardware-specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line-soft) }
.hardware-specs dt { color: var(--muted) }
.hardware-specs dd { margin: 0 }
.hardware-guide { display: flex; gap: 24px; padding: 32px; border-color: var(--deep) }
.hardware-guide h2 { font-size: 1.7rem }
.hardware-guide p { max-width: 75ch; color: var(--muted); margin-bottom: 0 }
.hardware-guide .hardware-guide-status { color: var(--warm); margin-bottom: 12px }
.hardware-guide .hardware-reference { margin-block: 16px 8px }
.hardware-guide-mark { flex-shrink: 0; color: var(--amber); font-size: 2.6rem }
.hardware-support { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 0 8px; margin-top: 40px; border-top: 1px solid var(--line-soft) }
.hardware-support h2 { font-size: 1.4rem }
.hardware-support p { max-width: 68ch; color: var(--muted); margin-bottom: 0 }
.hardware-support .button { flex-shrink: 0 }
@media (max-width: 1100px) {
  .hardware-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .hardware-detail { gap: 24px }
}
@media (max-width: 700px) {
  .hardware-heading { padding-top: 32px; gap: 16px }
  .hardware-heading .mascot { width: 64px; height: 64px }
  .hardware-grid, .hardware-detail, .hardware-information { grid-template-columns: minmax(0, 1fr) }
  .hardware-results, .hardware-support { flex-direction: column; align-items: stretch }
  .hardware-guide { gap: 16px }
  .hardware-info, .hardware-guide { padding: 22px }
  .hardware-support { padding-top: 28px }
  .hardware-support .button { align-self: flex-start }
  .hardware-specs > div { grid-template-columns: minmax(0, 1fr); gap: 6px }
  .hardware-detail-art .hardware-art { max-width: 100% }
}
@media (prefers-reduced-motion: reduce) { .hardware-card { transition: none } }
html[data-motion="off"] .hardware-card { transition: none }

/* Variant chooser, comparison, grouped specs and warning callout (no JS: real links). */
.hardware-variants { margin: 20px 0 }
.hardware-variants-title { margin: 0 0 10px; color: var(--muted); font-size: .85rem }
/* versions: two cards with a radio dot; the chosen one gets the amber edge, not a solid fill */
.hardware-variants-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px }
.hardware-variants a {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "dot label" "dot price"; align-items: center; column-gap: 12px;
  min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--paper); text-decoration: none;
  background: linear-gradient(155deg, rgba(34, 40, 52, .55), rgba(14, 17, 22, .8)); transition: border-color .2s, box-shadow .2s, background .2s;
}
.hardware-variants .hv-radio { grid-area: dot; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); transition: border-color .2s, box-shadow .2s }
.hardware-variants .hv-label { grid-area: label; font-weight: 750; font-size: 1.05rem; line-height: 1.2 }
.hardware-variants a small { grid-area: price; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums }
.hardware-variants a:hover { border-color: rgba(245, 166, 35, .55) }
.hardware-variants a:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px }
.hardware-variants a.is-selected { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 12px 30px -18px rgba(245, 166, 35, .8); background: linear-gradient(155deg, rgba(245, 166, 35, .14), rgba(14, 17, 22, .85)) }
.hardware-variants a.is-selected .hv-radio { border-color: var(--amber); box-shadow: inset 0 0 0 4px var(--ink, #0d1015), inset 0 0 0 9px var(--amber) }
.hardware-variants a.is-selected small { color: var(--warm) }

/* buy panel: the choice, its price, one button, then what happens next */
.hw-buy { margin-block: 22px 8px; padding: 20px 22px; border-radius: 18px; display: grid; gap: 16px }
.hw-buy-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 18px }
.hw-buy-pick { margin: 0; display: grid; gap: 2px; line-height: 1.35 }
.hw-buy-pick span { color: var(--muted); font-size: .85rem }
.hw-buy-pick strong { font-size: 1.05rem }
.hw-buy-price { margin: 0; line-height: 1 }
.hw-buy-price strong { color: var(--warm); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums }
.hw-buy-price small { color: var(--muted); font-size: .8rem }
.hw-buy-actions { display: grid; gap: 10px }
.hw-buy-actions form { margin: 0 }
.hw-buy-out { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-weight: 650 }
.hw-buy-actions .button { width: 100%; min-height: 54px; font-size: 1.02rem; justify-content: center }
.hw-buy-facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; color: var(--muted); font-size: .92rem; line-height: 1.5 }
.hw-buy-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start }
.hw-buy-facts .ico { width: 20px; height: 20px; color: var(--amber); margin-top: 1px }
.hw-buy-facts .hw-fact-dfw { color: var(--paper) }
.hw-buy-support { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--warm); font-weight: 650; font-size: .92rem }
.hw-buy-support .ico { width: 14px; height: 14px }
@media (max-width: 520px) { .hw-buy { padding: 16px } .hw-buy-price strong { font-size: 1.4rem } }
.hardware-table tr.is-selected th, .hardware-table tr.is-selected td { background: rgba(245, 166, 35, .08) }
.hardware-compare { padding: 28px; margin-block: 32px 0 }
.hardware-compare h2 { font-size: 1.5rem; margin-bottom: 20px }
.hardware-compare-table { width: 100%; border-collapse: collapse; font-size: .95rem }
.hardware-compare-table th, .hardware-compare-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.hardware-compare-table thead th { color: var(--muted); font-weight: 500 }
.hardware-compare-table tbody th { color: var(--muted); font-weight: 500 }
.hardware-compare-table .is-selected { background: rgba(245, 166, 35, .1) }
.hardware-compare-table thead th.is-selected { color: var(--paper); font-weight: 700 }
.hardware-warning { margin-block: 32px 0; padding: 16px 20px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: rgba(245, 166, 35, .08); color: var(--warm) }
.hardware-warning strong { display: block; margin-bottom: 4px; color: var(--amber) }
.hardware-warning p { margin: 0 }
.hardware-sec { margin: 22px 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber) }
.hardware-info h2 + .hardware-sec { margin-top: 0 }
@media (max-width: 640px) {
  .hardware-compare { padding: 22px }
  .hardware-compare .table-scroll { overflow-x: auto }
}
.hardware-compare .hardware-compare-table th, .hardware-compare .hardware-compare-table td { text-align: left; text-transform: none; letter-spacing: normal; font-size: .95rem; font-weight: 400; color: var(--paper); white-space: normal; overflow-wrap: normal; word-break: normal }
.hardware-compare .hardware-compare-table thead th, .hardware-compare .hardware-compare-table tbody th { color: var(--muted); font-weight: 500 }
.hardware-compare .hardware-compare-table thead th.is-selected { color: var(--amber); font-weight: 700 }
.hardware-compare .hardware-compare-table tbody tr:last-child td { font-weight: 700 }
.hardware-compare .hardware-compare-table tbody th { min-width: 8.5rem }
@media (max-width: 640px) { .hardware-compare .hardware-compare-table { min-width: 34rem } }
.hardware-about { margin-block: 18px }
.hardware-about p { margin: 0 0 10px; color: var(--muted); line-height: 1.65 }
.hardware-about strong { color: var(--warm) }
