.page-products {
  --pr-gap: clamp(28px, 5vw, 72px);
  --pr-grid-line: rgba(18, 48, 79, .14);
  background: var(--tea-lite);
  color: var(--ink);
  overflow-x: clip;
}

.page-products .container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Hero ---------- */

.page-products .pr-hero {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
  padding-top: clamp(22px, 4vw, 44px);
  padding-bottom: clamp(44px, 7vw, 92px);
}

.page-products .pr-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-products .pr-hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--blue);
}

.page-products .pr-lede {
  margin: 0 0 28px;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.9;
}

.page-products .pr-hero-points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line-blue);
  max-width: 30em;
}

.page-products .pr-hero-points li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-blue);
  font-size: 15px;
  line-height: 1.6;
}

.page-products .pr-k {
  flex: none;
  min-width: 46px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.02em;
}

.page-products .pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pr-hero-visual {
  position: relative;
  background: var(--blue);
  border: 1px solid var(--blue-deep);
  overflow: hidden;
}

.page-products .pr-wave-svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pr-wave circle {
  fill: none;
  stroke: rgba(255, 255, 255, .26);
  stroke-width: 1;
  transform-origin: 0 0;
  animation: pr-ripple 7s var(--ease) infinite;
}

.page-products .pr-wave circle:nth-child(2) {
  animation-delay: 2.3s;
}

.page-products .pr-wave circle:nth-child(3) {
  animation-delay: 4.6s;
}

.page-products .pr-wave-core {
  fill: var(--orange);
  transform-box: fill-box;
  transform-origin: center;
  animation: pr-core 2.6s ease-in-out infinite;
}

.page-products .pr-wave-dots circle {
  fill: var(--tea);
  opacity: .8;
}

.page-products .pr-hero-visual-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px clamp(16px, 3vw, 24px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .78);
}

@keyframes pr-ripple {
  0% { transform: scale(.5); opacity: .85; }
  70% { opacity: .1; }
  100% { transform: scale(1.34); opacity: 0; }
}

@keyframes pr-core {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.35); }
}

/* ---------- Console layout ---------- */

.page-products .pr-console {
  display: grid;
  gap: clamp(28px, 4.5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 110px);
}

.page-products .pr-rail {
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
  padding: 14px 0;
}

.page-products .pr-rail-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}

.page-products .pr-rail-list {
  list-style: none;
  margin: 0;
  padding: 0 0 2px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .pr-rail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 14px;
  border: 1px solid var(--line-blue);
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-products .pr-rail-link:hover,
.page-products .pr-rail-link:focus-visible {
  background: var(--orange-lite);
  border-color: var(--orange);
  color: var(--blue-deep);
}

.page-products .pr-rail-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  flex: none;
}

/* ---------- Panels ---------- */

.page-products .pr-panels {
  display: grid;
  gap: clamp(46px, 7vw, 96px);
}

.page-products .pr-panel {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.page-products .pr-panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 26px);
  align-items: start;
  padding-bottom: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line-blue);
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-products .pr-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--orange);
}

.page-products .pr-panel-head h2 {
  margin: 0 0 10px;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 3.4vw, 37px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--blue);
}

.page-products .pr-panel-head p {
  margin: 0;
  padding-left: 18px;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.88;
}

.page-products .pr-panel-tail {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 15.5px;
  line-height: 1.9;
}

.page-products .pr-link {
  color: var(--blue-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-products .pr-link:hover,
.page-products .pr-link:focus-visible {
  color: var(--orange);
  border-color: var(--blue);
}

/* ---------- Paths ---------- */

.page-products .pr-paths {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.page-products .pr-path {
  position: relative;
  padding: clamp(20px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--line-blue);
}

.page-products .pr-path::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--blue);
}

.page-products .pr-path-new::before {
  background: var(--orange);
}

.page-products .pr-path-back::before {
  background: var(--grass);
}

.page-products .pr-path-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--tea);
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
}

.page-products .pr-path h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}

.page-products .pr-steps {
  list-style: none;
  counter-reset: pstep;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pr-steps li {
  counter-increment: pstep;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-blue);
  font-size: 15.5px;
  line-height: 1.78;
}

.page-products .pr-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .pr-steps li::before {
  content: counter(pstep, decimal-leading-zero);
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.page-products .pr-path-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-blue);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- Figures ---------- */

.page-products .pr-fig {
  margin: clamp(24px, 3.6vw, 40px) 0 0;
}

.page-products .pr-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-blue);
}

.page-products .pr-fig-wide img {
  aspect-ratio: 16 / 9;
}

.page-products .pr-fig-tall img {
  aspect-ratio: 3 / 4;
}

.page-products .pr-fig-server {
  margin-top: clamp(16px, 2.4vw, 24px);
}

.page-products .pr-fig-server img {
  aspect-ratio: 3 / 2;
}

.page-products .pr-fig-band {
  margin-top: clamp(26px, 4vw, 42px);
}

.page-products .pr-fig-band img {
  aspect-ratio: 3 / 1;
}

.page-products .pr-fig figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 12px;
  border-left: 2px solid var(--tea);
}

/* ---------- Entry ---------- */

.page-products .pr-entry-grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-products .pr-console-card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--blue);
  border: 1px solid var(--blue-deep);
  color: var(--white);
}

.page-products .pr-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .74);
}

.page-products .pr-status-dot {
  width: 8px;
  height: 8px;
  background: var(--grass);
  animation: pr-pulse 2.4s ease-out infinite;
}

@keyframes pr-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 142, 110, .55); }
  70% { box-shadow: 0 0 0 9px rgba(62, 142, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 142, 110, 0); }
}

.page-products .pr-ver {
  margin: 20px 0 4px;
  font-family: var(--font-mono);
  font-size: clamp(42px, 7vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-products .pr-ver-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}

.page-products .pr-spec {
  margin: 24px 0 0;
  border-top: 1px solid var(--line-white);
}

.page-products .pr-spec > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-white);
  font-size: 14.5px;
  line-height: 1.6;
}

.page-products .pr-spec dt {
  margin: 0;
  color: rgba(255, 255, 255, .62);
}

.page-products .pr-spec dd {
  margin: 0;
  text-align: right;
  color: var(--white);
}

.page-products .pr-entry-notes h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--blue);
  padding-left: 12px;
  border-left: 2px solid var(--tea);
}

.page-products .pr-entry-notes p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.88;
  max-width: 40em;
}

.page-products .pr-entry-notes p:last-child {
  margin-bottom: 0;
}

/* ---------- Screen ---------- */

.page-products .pr-screen-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 36px);
}

.page-products .pr-screen-body > p {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.9;
  max-width: 42em;
}

.page-products .pr-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-blue);
}

.page-products .pr-facts li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-bottom: 1px solid var(--line-blue);
  font-size: 15.5px;
  line-height: 1.82;
}

.page-products .pr-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 10px;
  height: 2px;
  background: var(--orange);
}

.page-products .pr-facts strong {
  color: var(--blue);
  font-weight: 700;
}

.page-products .pr-record-body > p {
  margin: 20px 0 14px;
  font-size: 16px;
  line-height: 1.88;
  max-width: 42em;
}

.page-products .pr-screen-side {
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--blue);
  border: 1px solid var(--blue-deep);
}

.page-products .pr-side-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.page-products .pr-map {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pr-map-bg {
  fill: var(--blue-deep);
}

.page-products .pr-map-node .pr-map-dot {
  fill: var(--orange);
  transition: fill var(--t-fast) var(--ease);
}

.page-products .pr-map-local .pr-map-dot {
  fill: var(--grass);
}

.page-products .pr-map-hit {
  fill: transparent;
  stroke: rgba(255, 122, 47, .55);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: pr-node-pulse 3.4s ease-out infinite;
}

.page-products .pr-map-local .pr-map-hit {
  stroke: rgba(62, 142, 110, .6);
  animation-delay: 1.1s;
}

.page-products .pr-map-node:hover .pr-map-dot,
.page-products .pr-map-node:focus-within .pr-map-dot {
  fill: var(--white);
}

@keyframes pr-node-pulse {
  0% { transform: scale(.5); opacity: .9; }
  75% { opacity: .08; }
  100% { transform: scale(1.5); opacity: 0; }
}

.page-products .pr-side-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .66);
}

/* ---------- Record ---------- */

.page-products .pr-record-grid {
  display: grid;
  gap: clamp(22px, 3.4vw, 34px);
}

/* ---------- Version ---------- */

.page-products .pr-iter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-blue);
  border: 1px solid var(--line-blue);
}

.page-products .pr-iter-item {
  position: relative;
  background: var(--white);
  padding: clamp(20px, 2.6vw, 28px);
}

.page-products .pr-iter-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--tea);
}

.page-products .pr-iter-now {
  background: var(--blue);
}

.page-products .pr-iter-now::after {
  background: var(--orange);
}

.page-products .pr-iter-no {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .pr-iter-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
}

.page-products .pr-iter-now h3 {
  color: var(--white);
}

.page-products .pr-iter-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
}

.page-products .pr-iter-now p {
  color: rgba(255, 255, 255, .82);
}

.page-products .pr-iter-now .pr-iter-no {
  color: var(--orange-lite);
}

/* ---------- Scenes ---------- */

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

.page-products .pr-scene {
  background: var(--white);
  padding: clamp(20px, 2.8vw, 30px);
}

.page-products .pr-scene-no {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--orange);
}

.page-products .pr-scene h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--blue);
}

.page-products .pr-scene p {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
}

/* ---------- Reveal ---------- */

.page-products [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--d, 0ms);
}

.page-products [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .page-products .pr-paths {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 820px) {
  .page-products .pr-entry-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pr-record-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    align-items: start;
  }

  .page-products .pr-iter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  .page-products .pr-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    padding-top: clamp(30px, 4vw, 56px);
  }

  .page-products .pr-screen-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: start;
  }

  .page-products .pr-iter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-products .pr-console {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pr-rail {
    position: sticky;
    top: calc(var(--header-h) + 26px);
    border-bottom: 0;
    padding-bottom: 0;
  }

  .page-products .pr-rail-list {
    flex-direction: column;
    overflow: visible;
    gap: 4px;
  }

  .page-products .pr-rail-link {
    width: 100%;
  }

  .page-products .pr-fig-tall img {
    aspect-ratio: 3 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-wave circle,
  .page-products .pr-wave-core,
  .page-products .pr-status-dot,
  .page-products .pr-map-hit {
    animation: none;
  }

  .page-products [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-products {
  --d: 0.3s;
}
