.page-products {
  --products-glow: rgba(61, 242, 210, 0.16);
  --products-orange-glow: rgba(255, 106, 43, 0.18);
  background:
    radial-gradient(circle at 84% -6%, rgba(61, 242, 210, 0.12), transparent 30rem),
    radial-gradient(circle at 4% 18%, rgba(255, 106, 43, 0.1), transparent 26rem),
    var(--ink-900);
  color: var(--white);
  overflow-x: clip;
  padding-bottom: clamp(40px, 8vw, 96px);
}

.page-products .breadcrumb {
  margin: 16px 0 18px;
}

.page-products .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: var(--cyan);
}

.page-products h1 {
  margin: 10px 0 18px;
  max-width: 13ch;
  font-size: clamp(34px, 8vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.page-products h2 {
  margin: 6px 0 12px;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.page-products h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.page-products p a,
.page-products li a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-products .lede {
  max-width: 44ch;
  color: var(--mist);
  line-height: 1.75;
}

.page-products .section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.product-hero {
  padding-top: 8px;
}

.product-hero__inner {
  display: grid;
  gap: 24px;
}

.product-hero__copy {
  padding-top: 4px;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.5;
}

.hero-facts .mono {
  min-width: 3ch;
  color: var(--cyan);
  font-size: 12px;
}

.device-board {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(12, 23, 48, 0.96), rgba(27, 20, 64, 0.84));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.device-board::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 30%;
  height: 60%;
  background: radial-gradient(circle, var(--products-glow), transparent 70%);
  pointer-events: none;
}

.device-board__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
}

.device-board__head h2 {
  margin: 4px 0 0;
  font-size: clamp(20px, 3vw, 28px);
}

.device-cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.device-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(5, 11, 24, 0.52);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.device-card[open] {
  border-color: rgba(61, 242, 210, 0.72);
  background: rgba(5, 11, 24, 0.82);
}

.device-card summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.device-card summary::-webkit-details-marker {
  display: none;
}

.device-icon {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--cyan);
}

.device-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.device-card__name {
  color: var(--white);
  font-weight: 700;
}

.device-card__meta {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
}

.device-card__body {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}

.device-card__body p {
  margin: 0 0 8px;
}

.device-card__body p:last-child {
  margin-bottom: 0;
}

.record-section,
.live-section,
.version-section,
.environment-section,
.install-section,
.closing-section {
  margin-top: clamp(48px, 9vw, 110px);
}

.record-layout {
  display: grid;
  gap: 20px;
}

.record-track {
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 23, 48, 0.56);
}

.record-track > .mono {
  color: var(--cyan);
}

.track-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  margin: 14px 0;
  padding: 6px 0 6px 16px;
  border-left: 2px solid rgba(61, 242, 210, 0.8);
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 11px);
}

.track-scale span {
  width: max-content;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--ink-700);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.track-scale span:first-child {
  color: var(--cyan);
}

.record-main {
  min-width: 0;
}

.record-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.record-toolbar > .mono {
  margin-right: 4px;
  color: var(--mist);
  font-size: 12px;
}

.record-toolbar .chip {
  font-size: 12px;
}

.record-figure {
  margin: 0 0 16px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-700);
}

.page-products .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.media-frame--tall img {
  aspect-ratio: 3 / 4;
}

.page-products .media-frame__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  border: 1px solid rgba(61, 242, 210, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(5, 11, 24, 0.72);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(5, 11, 24, 0.48);
}

.page-products .data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .data-table caption {
  padding: 12px 14px;
  color: var(--mist);
  text-align: left;
}

.page-products .data-table th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.page-products .data-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(42, 58, 92, 0.64);
  color: var(--white);
  vertical-align: middle;
}

.page-products .data-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .data-table tbody tr:hover,
.page-products .data-table tbody tr:focus-within {
  background: rgba(61, 242, 210, 0.08);
}

.record-note {
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}

.live-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.live-copy p {
  color: var(--mist);
  line-height: 1.75;
}

.live-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.live-note {
  margin-bottom: 18px;
  font-size: 14px;
}

.live-visual {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.version-section {
  padding: clamp(28px, 5vw, 52px) 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(105deg, rgba(27, 20, 64, 0.92), rgba(5, 11, 24, 0.5) 64%, rgba(61, 242, 210, 0.08));
}

.version-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.version-pill {
  flex: 0 0 230px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-700);
}

.version-pill summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.version-pill summary::-webkit-details-marker {
  display: none;
}

.version-pill summary .mono {
  color: var(--cyan);
}

.version-pill[open] {
  border-color: var(--cyan);
}

.version-pill--current {
  border-color: var(--orange);
  background: linear-gradient(150deg, rgba(255, 106, 43, 0.22), var(--ink-700));
}

.version-pill--current summary .mono {
  color: var(--orange);
}

.version-pill__body {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}

.version-pill__body p {
  margin: 0;
}

.version-figure {
  margin: 22px 0 0;
}

.environment-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.env-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(5, 11, 24, 0.45);
}

.env-table-wrap .data-table {
  min-width: 520px;
}

.env-notes {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.env-notes li {
  padding-left: 12px;
  border-left: 2px solid var(--cyan);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.env-figure {
  margin: 0;
}

.step-flow {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.step-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(12, 23, 48, 0.8);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.step-link .mono {
  color: var(--cyan);
}

.step-link:hover,
.step-link:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 106, 43, 0.12);
}

.step-panels {
  display: grid;
  gap: 12px;
}

.step-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 23, 48, 0.5);
  scroll-margin-top: var(--header-offset);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.step-panel:target {
  border-color: var(--orange);
  background: linear-gradient(150deg, rgba(255, 106, 43, 0.16), rgba(12, 23, 48, 0.8));
  box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.24);
}

.step-number {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 28px;
  line-height: 1;
}

.step-panel p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.install-figure {
  margin: 22px 0 0;
}

.install-note {
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.closing-band {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 18%, var(--products-orange-glow), transparent 20rem),
    linear-gradient(110deg, var(--indigo), rgba(12, 23, 48, 0.84));
}

.closing-band h2 {
  margin-bottom: 8px;
}

.closing-band p {
  max-width: 44ch;
  margin: 0;
  color: var(--mist);
  line-height: 1.7;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 680px) {
  .device-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-flow,
  .step-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-hero__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
  }

  .record-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px;
  }

  .live-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
    gap: 36px;
  }

  .environment-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
  }

  .closing-band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .closing-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .product-hero {
    padding-top: 18px;
  }

  .record-track {
    position: sticky;
    top: calc(var(--header-offset) + 18px);
  }
}
<<<END>>>
