.page-products {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.page-products p {
  margin: 0;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

/* ---------- hero ---------- */
.page-products .prod-hero {
  position: relative;
  padding-top: clamp(16px, 3vw, 30px);
  padding-bottom: clamp(38px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.page-products .prod-hero-grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 26px);
  margin-top: clamp(16px, 2.6vw, 28px);
  align-items: start;
}

.page-products .prod-hero-copy h1 {
  font-size: clamp(32px, 7vw, 74px);
  color: var(--paper);
  margin-top: 14px;
  max-width: 15ch;
}

.page-products .prod-lead {
  margin-top: 18px;
  max-width: 48ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--mist);
}

.page-products .prod-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .prod-hero-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--field);
  position: relative;
}

.page-products .prod-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.page-products .prod-hero-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.page-products .prod-hero-meter {
  border: 1px solid var(--line);
  background: var(--char);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.page-products .prod-hero-meter::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 2px;
  background: var(--orange);
}

.page-products .meter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lime);
}

.page-products .meter-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  color: var(--paper);
  margin: 8px 0 14px;
}

.page-products .meter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .meter-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist);
}

.page-products .meter-list b {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ice);
  white-space: nowrap;
}

/* ---------- shared section head ---------- */
.page-products .scale-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-products .scale-head h2 {
  font-size: clamp(24px, 3.4vw, 42px);
  color: var(--paper);
  max-width: 20ch;
}

.page-products .scale-head p:not(.coord-tag) {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- version scale ---------- */
.page-products .prod-scale {
  padding: clamp(38px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line);
}

.page-products .scale-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.page-products .scale-track::-webkit-scrollbar {
  height: 4px;
}

.page-products .scale-track::-webkit-scrollbar-thumb {
  background: var(--grid);
}

.page-products .scale-item {
  flex: 0 0 80%;
  scroll-snap-align: start;
  position: relative;
  min-width: 0;
  padding: 20px 18px 22px;
  background: var(--field);
  border: 1px solid var(--line);
  border-top: 2px solid var(--grid);
}

.page-products .scale-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 18px;
  width: 30px;
  height: 2px;
  background: var(--lime);
}

.page-products .scale-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--ice);
  margin-bottom: 10px;
}

.page-products .scale-name {
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--paper);
  margin-bottom: 12px;
}

.page-products .scale-item ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-products .scale-item li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--mist);
}

.page-products .scale-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 1px;
  background: var(--grid);
}

.page-products .scale-fit {
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lime-soft);
}

/* ---------- perks ---------- */
.page-products .prod-perks {
  padding: clamp(42px, 6vw, 84px) 0;
  background: var(--ink-deep);
}

.page-products .perks-grid {
  display: grid;
  gap: 14px;
}

.page-products .perk-card {
  position: relative;
  min-width: 0;
  padding: 22px 20px 24px;
  background: var(--char);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-products .perk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(220, 234, 228, 0.1), transparent 58%);
}

.page-products .perk-card.is-top {
  border-color: rgba(200, 255, 77, 0.55);
  box-shadow: 0 0 0 1px rgba(200, 255, 77, 0.16), 0 18px 42px rgba(0, 0, 0, 0.4);
}

.page-products .perk-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-products .perk-card.is-top .perk-tag {
  color: var(--lime);
}

.page-products .perk-name {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--paper);
}

.page-products .perk-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .perk-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-products .perk-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
}

.page-products .perk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ice);
  transform: rotate(45deg);
}

.page-products .perk-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

.page-products .perks-figure {
  margin: clamp(20px, 3vw, 30px) 0 0;
  border: 1px solid var(--line);
  background: var(--field);
}

.page-products .perks-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.page-products .perks-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* ---------- workbench ---------- */
.page-products .prod-wb {
  padding: clamp(42px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-products .wb {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  background: var(--char);
}

.page-products .wb-input,
.page-products .doss-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .wb-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.page-products .wb-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 15px;
  border: 1px solid var(--line);
  color: var(--mist);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.page-products .wb-tab:hover {
  color: var(--paper);
  border-color: var(--grid);
}

.page-products .wb-hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products #wb-schedule:checked ~ .wb-side .wb-tab[for="wb-schedule"],
.page-products #wb-table:checked ~ .wb-side .wb-tab[for="wb-table"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.page-products .wb-panel {
  display: none;
  padding: clamp(16px, 2.4vw, 26px);
}

.page-products #wb-schedule:checked ~ .wb-body .wb-sched,
.page-products #wb-table:checked ~ .wb-body .wb-rank {
  display: block;
}

.page-products .sched-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.page-products .sched-row:last-child {
  border-bottom: 0;
}

.page-products .sched-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--lime);
  min-width: 92px;
}

.page-products .sched-round {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  color: var(--paper);
}

.page-products .sched-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ice);
  border: 1px solid rgba(111, 231, 216, 0.3);
  padding: 2px 8px;
}

.page-products .wb-scroll {
  overflow-x: auto;
}

.page-products .wb-rank table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .wb-rank th {
  text-align: left;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mist);
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
}

.page-products .wb-rank td {
  padding: 10px;
  color: var(--paper);
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}

.page-products .wb-rank tbody tr:first-child td {
  color: var(--lime);
}

.page-products .wb-note {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 107, 53, 0.07);
}

.page-products .wb-note p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .wb-note strong {
  color: var(--paper);
  font-weight: 600;
}

.page-products .wb-figure {
  margin: clamp(20px, 3vw, 30px) 0 0;
  border: 1px solid var(--line);
  background: var(--field);
}

.page-products .wb-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .wb-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* ---------- dossier ---------- */
.page-products .prod-dossier {
  padding: clamp(42px, 6vw, 84px) 0;
  background: var(--field);
}

.page-products .doss-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-products .doss-copy h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  color: var(--paper);
  margin-top: 12px;
  max-width: 20ch;
}

.page-products .doss-copy > p {
  margin-top: 14px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .doss {
  position: relative;
  margin-top: 22px;
}

.page-products .doss-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .doss-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 15px;
  border: 1px solid var(--line);
  color: var(--mist);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.page-products .doss-tab:hover {
  color: var(--paper);
  border-color: var(--grid);
}

.page-products #pd-base:checked ~ .doss-switch .doss-tab[for="pd-base"],
.page-products #pd-adv:checked ~ .doss-switch .doss-tab[for="pd-adv"],
.page-products #pd-heat:checked ~ .doss-switch .doss-tab[for="pd-heat"] {
  color: var(--ink);
  background: var(--ice);
  border-color: var(--ice);
}

.page-products .doss-panel {
  display: none;
  margin-top: 16px;
  padding: 18px;
  background: var(--char);
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
}

.page-products #pd-base:checked ~ .doss-panels .doss-base,
.page-products #pd-adv:checked ~ .doss-panels .doss-adv,
.page-products #pd-heat:checked ~ .doss-panels .doss-heat {
  display: grid;
  gap: 14px;
}

.page-products .doss-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .dbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  align-items: center;
}

.page-products .dbar-label {
  font-size: 13px;
  color: var(--paper);
}

.page-products .dbar-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--lime);
}

.page-products .dbar-track {
  grid-column: 1 / -1;
  position: relative;
  height: 4px;
  background: rgba(31, 74, 61, 0.75);
}

.page-products .dbar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--ice), var(--lime));
}

.page-products .doss-refresh {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .doss-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-products .doss-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-products .doss-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* ---------- screen ---------- */
.page-products .prod-screen {
  padding: clamp(42px, 6vw, 84px) 0;
}

.page-products .screen-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-products .screen-copy h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  color: var(--paper);
  margin-top: 12px;
  max-width: 18ch;
}

.page-products .screen-copy > p {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .screen-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .screen-list li {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .screen-list span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.page-products .screen-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--field);
}

.page-products .screen-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-products .screen-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

/* ---------- scene quadrant ---------- */
.page-products .prod-scene {
  padding: clamp(42px, 6vw, 84px) 0;
  background: var(--ink-deep);
}

.page-products .scene-quad {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .scene-cell {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  background: var(--ink-deep);
}

.page-products .scene-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--ice);
}

.page-products .scene-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.page-products .scene-title {
  margin: 10px 0 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--paper);
}

.page-products .scene-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .scene-pick {
  margin-top: 14px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 10px;
}

/* ---------- access ---------- */
.page-products .prod-access {
  padding: clamp(42px, 6vw, 84px) 0 clamp(56px, 8vw, 104px);
  background: var(--field);
}

.page-products .access-grid {
  display: grid;
  gap: 16px;
}

.page-products .access-card {
  padding: clamp(20px, 3vw, 30px);
  background: var(--char);
  border: 1px solid var(--line);
  min-width: 0;
}

.page-products .access-title {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--paper);
  margin-bottom: 12px;
}

.page-products .access-card > p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-products .access-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  word-break: break-word;
}

.page-products .access-line span {
  min-width: 76px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
  padding-top: 3px;
}

.page-products .access-callout {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 107, 53, 0.08);
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--paper);
}

.page-products .access-more {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .access-more a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .access-more a:hover {
  color: var(--lime);
}

.page-products a:focus-visible,
.page-products label:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .page-products .scale-track {
    overflow: visible;
  }

  .page-products .scale-item {
    flex: 1 1 0;
  }

  .page-products .scene-quad {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .page-products .perks-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .page-products .perk-card:nth-child(2) {
    margin-top: 26px;
  }

  .page-products .perk-card:nth-child(3) {
    margin-top: 52px;
  }

  .page-products .access-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .page-products .doss-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

@media (min-width: 900px) {
  .page-products .wb {
    grid-template-columns: 210px 1fr;
    align-items: stretch;
  }

  .page-products .wb-side {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .page-products .wb-tab {
    text-align: left;
  }

  .page-products .wb-hint {
    margin-left: 0;
    margin-top: 6px;
    font-size: 10.5px;
    line-height: 1.5;
  }

  .page-products .screen-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .page-products .prod-hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .page-products .prod-hero-copy {
    grid-column: 1 / span 6;
    grid-row: 1;
  }

  .page-products .prod-hero-figure {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .page-products .prod-hero-meter {
    grid-column: 1 / span 6;
    grid-row: 2;
  }

  .page-products .prod-hero-copy h1 {
    max-width: 13ch;
  }
}
