.page-products {
  --prod-glow: rgba(124, 250, 74, 0.14);
  --prod-card: rgba(16, 27, 46, 0.55);
}

/* ---------- hero ---------- */
.page-products .prod-hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 36px);
}

.page-products .prod-hero__grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-products .prod-hero__title {
  margin: 12px 0 18px;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .prod-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.page-products .prod-hero__stats li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--ink);
}

.page-products .prod-stat__num {
  line-height: 1;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--neon);
}

.page-products .prod-stat__num--ember {
  color: var(--ember);
}

.page-products .prod-stat__num--aqua {
  color: var(--aqua);
}

.page-products .prod-stat__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-products .prod-hero__visual {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), calc(100% - 46px) 100%, 0 100%);
}

.page-products .prod-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(1.1) contrast(1.05);
}

.page-products .prod-hero__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--neon);
}

/* ---------- tree ---------- */
.page-products .prod-tree {
  position: relative;
}

.page-products .prod-tree__intro {
  max-width: 34em;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .prod-tree__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-products .prod-tree__list {
  position: relative;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-tree__list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--neon) 10%, var(--neon) 90%, transparent);
  opacity: 0.5;
}

.page-products .prod-node {
  position: relative;
  padding: 18px 14px 18px 34px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .prod-node::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 26px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 1px solid var(--neon);
  transform: rotate(45deg);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .prod-node:hover,
.page-products .prod-node:focus-within {
  background: var(--prod-card);
}

.page-products .prod-node:hover::before,
.page-products .prod-node:focus-within::before {
  background: var(--neon);
  box-shadow: 0 0 12px var(--prod-glow);
}

.page-products .prod-node__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.page-products .prod-node__num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ember);
}

.page-products .prod-node__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .prod-node__chip {
  font-size: 11px;
}

.page-products .prod-node__desc {
  max-width: 42em;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .prod-node__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .prod-node__link:hover {
  border-bottom-color: var(--neon);
  transform: translateX(4px);
}

/* ---------- detail ---------- */
.page-products .prod-detail {
  position: relative;
  border-top: 1px solid var(--line);
}

.page-products .prod-detail__grid {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.page-products .prod-detail__text h2 {
  margin: 8px 0 14px;
}

.page-products .prod-detail__text p {
  max-width: 34em;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--paper);
  opacity: 0.88;
}

.page-products .prod-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 1px;
  background: var(--neon);
}

.page-products .prod-detail__media {
  min-width: 0;
}

.page-products .prod-detail__media .frame {
  width: 100%;
}

.page-products .prod-detail__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.92;
}

.page-products .prod-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  padding: 1px;
  background: var(--line);
}

.page-products .prod-metrics .metric {
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  padding: 13px 14px;
  background: var(--ink);
}

.page-products .prod-metrics .metric__value {
  font-family: var(--font-mono);
  font-size: 21px;
  line-height: 1.1;
  color: var(--neon);
}

.page-products .prod-metrics .metric__value--ember {
  color: var(--ember);
}

.page-products .prod-metrics .metric__value--aqua {
  color: var(--aqua);
}

.page-products .prod-metrics .metric__label {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- season path ---------- */
.page-products .prod-path {
  background: linear-gradient(180deg, rgba(16, 27, 46, 0.72), transparent 68%);
}

.page-products .prod-path__list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-stage {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--prod-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .prod-stage:hover {
  border-color: rgba(124, 250, 74, 0.55);
  transform: translateY(-4px);
}

.page-products .prod-stage__num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ember);
}

.page-products .prod-stage__title {
  margin: 10px 0 12px;
  font-size: 20px;
  color: var(--paper);
}

.page-products .prod-stage p {
  max-width: 32em;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .prod-stage .prod-stage__tools {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
}

/* ---------- device ---------- */
.page-products .prod-device {
  border-top: 1px solid var(--line);
}

.page-products .prod-device__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-products .prod-device__text h2 {
  margin: 8px 0 16px;
}

.page-products .prod-device__text p {
  max-width: 34em;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--paper);
  opacity: 0.88;
}

.page-products .prod-inline-link {
  font-size: 14px;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 250, 74, 0.45);
  padding-bottom: 2px;
}

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

.page-products .prod-device__card {
  padding: 20px;
  background: var(--surface);
}

.page-products .prod-device__card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--paper);
}

.page-products .prod-device__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- cta ---------- */
.page-products .prod-cta {
  border-top: 1px solid var(--line);
}

.page-products .prod-cta__inner {
  display: grid;
  gap: 20px;
}

.page-products .prod-cta__text {
  max-width: 26em;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .prod-trust {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.page-products .prod-trust a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 250, 74, 0.4);
}

/* ---------- reveal ---------- */
.page-products [data-reveal] {
  transform: translateY(14px);
  transition: transform 0.48s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    transform: none;
    transition: none;
  }
  .page-products .prod-node,
  .page-products .prod-stage,
  .page-products .prod-node__link {
    transition: none;
  }
}

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  .page-products .prod-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-products .prod-device__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .page-products .prod-hero__visual {
    transform: translateY(-28px);
  }

  .page-products .prod-node {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 28px;
    padding-right: 24px;
  }
  .page-products .prod-node:nth-child(even) {
    margin-left: 58px;
  }
  .page-products .prod-node__head,
  .page-products .prod-node__desc {
    grid-column: 1;
  }
  .page-products .prod-node__desc {
    margin-top: 6px;
  }
  .page-products .prod-node__link {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .page-products .prod-detail__grid {
    grid-template-columns: 5fr 7fr;
  }
  .page-products .prod-detail--flip .prod-detail__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-products .prod-path__list {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .page-products .prod-path__list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 1px;
    background: linear-gradient(90deg, var(--neon), var(--aqua), transparent);
    opacity: 0.5;
  }

  .page-products .prod-device__grid {
    grid-template-columns: 5fr 7fr;
  }
}
<<<END>>>
