.page-products {
  background: var(--space-950);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.page-products .prod-crumb {
  padding-top: clamp(14px, 2.5vw, 24px);
}

.page-products .prod-crumb .breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .prod-crumb .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-products .prod-crumb .breadcrumb li + li::before {
  content: "/";
  color: var(--line-600);
}

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

.page-products .prod-crumb .breadcrumb a:hover {
  color: var(--teal-300);
}

/* ---------- hero ---------- */
.page-products .prod-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 32px) clamp(40px, 6vw, 72px);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: min(720px, 90vw);
  height: 520px;
  background: radial-gradient(closest-side, rgba(57, 245, 200, 0.16), transparent 72%);
  pointer-events: none;
}

.page-products .prod-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.page-products .prod-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 6.4vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 10px 0 16px;
  max-width: 18ch;
}

.page-products .prod-hero__lead {
  color: var(--text-secondary);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 0 24px;
}

.page-products .prod-version {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.page-products .prod-version__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 2px solid var(--teal-400);
  padding-left: 10px;
}

.page-products .prod-version__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 5.6rem);
  line-height: 0.85;
  color: var(--teal-400);
  text-shadow: 0 0 46px rgba(57, 245, 200, 0.3);
}

.page-products .prod-meta {
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 24px;
}

.page-products .prod-meta > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 18px;
  padding: 12px 16px;
  background: var(--space-900);
}

.page-products .prod-meta dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.page-products .prod-meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
}

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

.page-products .prod-hero__actions .btn {
  flex: 1 1 200px;
  text-align: center;
}

.page-products .prod-hero__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46ch;
}

.page-products .prod-hero__aside {
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-800), var(--space-900));
  box-shadow: var(--shadow);
  padding: 14px;
}

.page-products .prod-hero__shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-600);
}

.page-products .prod-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.page-products .prod-hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(57, 245, 200, 0.07) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.page-products .prod-hero__chips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.page-products .prod-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-products .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.page-products .dot--ok { background: var(--teal-400); box-shadow: 0 0 0 3px rgba(57, 245, 200, 0.16); }
.page-products .dot--teal { background: var(--teal-300); box-shadow: 0 0 0 3px rgba(124, 255, 217, 0.14); }
.page-products .dot--orange { background: var(--orange-500); box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.16); }
.page-products .dot--warm { background: var(--orange-400); box-shadow: 0 0 0 3px rgba(255, 176, 103, 0.16); }
.page-products .dot--off { background: var(--line-600); box-shadow: 0 0 0 3px rgba(42, 59, 82, 0.5); }

/* ---------- download panel ---------- */
.page-products .prod-dl {
  padding-block: clamp(30px, 5vw, 56px);
}

.page-products .prod-dl__inner {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  border-top: 1px solid var(--line-600);
  border-bottom: 1px solid var(--line-600);
  padding-block: clamp(26px, 4vw, 44px);
}

.page-products .prod-dl__lead h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.14;
  margin: 8px 0 12px;
}

.page-products .prod-dl__lead p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  max-width: 48ch;
}

.page-products .prod-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .prod-specs li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 13px 16px;
  background: var(--space-900);
}

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

.page-products .prod-specs__v {
  font-size: 14px;
  color: var(--text-primary);
  text-align: right;
}

/* ---------- section head ---------- */
.page-products .prod-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-products .prod-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 2.85rem);
  line-height: 1.1;
  margin: 8px 0 12px;
  max-width: 20ch;
}

.page-products .prod-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  max-width: 60ch;
}

/* ---------- adapt list ---------- */
.page-products .prod-adapt {
  padding-block: clamp(38px, 6vw, 76px);
}

.page-products .prod-adapt__figure {
  margin: 0 0 18px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--overlay);
}

.page-products .prod-adapt__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-products .prod-adapt__cap {
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line-600);
}

.page-products .prod-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.page-products .prod-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-products .prod-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .prod-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--space-900);
  border-bottom: 1px solid var(--line-600);
}

.page-products .prod-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 11px 16px;
  background: var(--panel-800);
  border-bottom: 1px solid var(--line-600);
  white-space: nowrap;
}

.page-products .prod-table tbody th,
.page-products .prod-table tbody td {
  text-align: left;
  font-weight: 400;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(42, 59, 82, 0.6);
  color: var(--text-secondary);
  white-space: nowrap;
}

.page-products .prod-table tbody th {
  color: var(--text-primary);
  font-weight: 600;
}

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

.page-products .prod-table tbody tr:hover {
  background: rgba(14, 32, 56, 0.55);
}

.page-products .state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.page-products .state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.page-products .state--ok {
  color: var(--teal-300);
  border: 1px solid rgba(57, 245, 200, 0.35);
  background: rgba(57, 245, 200, 0.08);
}
.page-products .state--ok::before { background: var(--teal-400); }

.page-products .state--warm {
  color: var(--orange-400);
  border: 1px solid rgba(255, 138, 61, 0.35);
  background: rgba(255, 138, 61, 0.08);
}
.page-products .state--warm::before { background: var(--orange-500); }

.page-products .state--off {
  color: var(--text-muted);
  border: 1px solid var(--line-600);
  background: rgba(42, 59, 82, 0.28);
}
.page-products .state--off::before { background: var(--line-600); }

.page-products .prod-adapt__foot {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

/* ---------- install steps ---------- */
.page-products .prod-install {
  padding-block: clamp(38px, 6vw, 76px);
}

.page-products .prod-steps {
  list-style: none;
  margin: 0 0 clamp(26px, 4vw, 40px);
  padding: 0;
}

.page-products .prod-steps__item {
  position: relative;
  padding: 22px 0 22px 34px;
  border-left: 1px solid var(--line-600);
}

.page-products .prod-steps__item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(57, 245, 200, 0.14);
}

.page-products .prod-steps__num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--teal-400);
  margin-bottom: 8px;
}

.page-products .prod-steps__item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 8px;
}

.page-products .prod-steps__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 46ch;
}

.page-products .prod-install__figure {
  margin: 0;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--space-900);
}

.page-products .prod-install__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 10 / 7;
}

.page-products .prod-install__figure figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line-600);
}

/* ---------- version log ---------- */
.page-products .prod-logbox {
  padding-block: clamp(38px, 6vw, 76px);
}

.page-products .prod-head--split {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-products .prod-logbox__figure {
  margin: 0;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-products .prod-logs {
  display: grid;
  gap: 10px;
}

.page-products .prod-log {
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--space-900);
  transition: border-color 0.2s var(--ease);
}

.page-products .prod-log[open] {
  border-color: rgba(57, 245, 200, 0.35);
}

.page-products .prod-log summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-primary);
}

.page-products .prod-log summary::-webkit-details-marker { display: none; }

.page-products .prod-log summary:hover .prod-log__name {
  color: var(--teal-300);
}

.page-products .prod-log__ver {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-400);
  letter-spacing: 0.04em;
}

.page-products .prod-log__name {
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.page-products .prod-log__chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s var(--ease);
  flex: none;
}

.page-products .prod-log[open] .prod-log__chev {
  transform: rotate(-135deg) translateY(-2px);
}

.page-products .prod-log__body {
  padding: 0 16px 16px 16px;
  border-top: 1px solid rgba(42, 59, 82, 0.6);
}

.page-products .prod-log__body p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* ---------- post download ---------- */
.page-products .prod-post {
  padding-block: clamp(38px, 6vw, 76px);
}

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

.page-products .prod-post__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 2.85rem);
  line-height: 1.1;
  margin: 8px 0 12px;
  max-width: 18ch;
}

.page-products .prod-post__text > p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  max-width: 54ch;
}

.page-products .prod-post__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border-top: 1px solid var(--line-600);
  border-bottom: 1px solid var(--line-600);
}

.page-products .prod-post__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  background: var(--space-950);
}

.page-products .prod-post__k {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange-500);
  padding-top: 3px;
}

.page-products .prod-post__list h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.page-products .prod-post__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.page-products .prod-post__list li:hover .prod-post__k {
  color: var(--orange-400);
}

.page-products .prod-post__figure {
  margin: 0;
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--overlay);
  box-shadow: var(--shadow);
}

.page-products .prod-post__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ---------- troubleshooting ---------- */
.page-products .prod-fix {
  padding-block: clamp(38px, 6vw, 76px) clamp(48px, 7vw, 88px);
}

.page-products .prod-fix__grid {
  display: grid;
  gap: 1px;
  background: var(--line-600);
  border: 1px solid var(--line-600);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .prod-fix__item {
  background: var(--space-900);
  padding: 20px 18px;
  transition: background 0.2s var(--ease);
}

.page-products .prod-fix__item:hover {
  background: var(--panel-800);
}

.page-products .prod-fix__item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

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

.page-products .prod-fix__more {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 66ch;
}

.page-products .prod-fix__more a {
  color: var(--teal-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 255, 217, 0.35);
}

.page-products .prod-fix__more a:hover {
  color: var(--teal-400);
  border-bottom-color: var(--teal-400);
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .page-products .prod-dl__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 900px) {
  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.72fr);
    align-items: end;
  }

  .page-products .prod-hero__actions .btn {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .page-products .prod-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 32px);
  }

  .page-products .prod-steps__item {
    padding: 42px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-600);
  }

  .page-products .prod-steps__item::before {
    left: 0;
    top: -4.5px;
  }

  .page-products .prod-head--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-products .prod-post__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.68fr);
    align-items: center;
  }

  .page-products .prod-post__figure {
    justify-self: end;
    max-width: 420px;
  }

  .page-products .prod-hero__aside {
    max-width: 420px;
    justify-self: end;
  }
}

@media (min-width: 1180px) {
  .page-products .prod-fix__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-log,
  .page-products .prod-log__name,
  .page-products .prod-log__chev,
  .page-products .prod-fix__item {
    transition: none;
  }
}
