.page-products{
  --pp-gap: clamp(16px, 2.2vw, 24px);
  --pp-space: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(880px 420px at 82% -180px, rgba(56,242,208,.10), transparent 62%),
    radial-gradient(680px 360px at 4% 6%, rgba(255,138,61,.07), transparent 60%),
    var(--night);
  color: var(--snow);
  font-family: var(--font-body);
  padding: clamp(20px,4vw,36px) 0 var(--pp-space);
}

.page-products .pp-sec{
  padding-top: var(--pp-space);
}

.page-products .pp-sec__head{
  max-width: 62ch;
  margin-bottom: clamp(20px,3vw,32px);
}

.page-products .pp-sec__head .lede{
  margin-top: 12px;
}

.page-products h1{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  text-wrap: balance;
}

.page-products h2{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-products h3{
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--snow);
}

.page-products .pp-p{
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
  max-width: 36em;
  margin: 14px 0 0;
}

/* ---------- hero ---------- */
.page-products .pp-hero{
  display: grid;
  gap: clamp(24px,3vw,40px);
  padding-bottom: var(--pp-space);
  border-bottom: 1px solid var(--hair);
}

.page-products .pp-hero .lede{
  margin-top: 16px;
}

.page-products .pp-hero__figs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  margin: 0;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .pp-hero__figs > div{
  background: var(--plateau);
  padding: 16px 18px;
}

.page-products .pp-hero__figs dt{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-products .pp-hero__figs dd{
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1;
  color: var(--cyan);
}

/* ---------- download rail ---------- */
.page-products .dl-cards{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 78%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.page-products .dl-card{
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 22px;
  background: var(--plateau);
}

.page-products .dl-card .index-note{
  margin: 0 0 8px;
  color: var(--cyan);
  letter-spacing: .16em;
}

.page-products .dl-card__name{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-products .dl-card__ver{
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  line-height: 1;
  color: var(--orange);
  margin: 6px 0 14px;
}

.page-products .dl-card__req{
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mist);
}

.page-products .dl-card__req li::before{
  content: "—";
  color: var(--glacier);
  margin-right: 8px;
}

/* ---------- figures ---------- */
.page-products .pp-band{
  margin: clamp(24px,3vw,36px) 0 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--plateau);
}

.page-products .pp-band img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-products .pp-band figcaption{
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
}

.page-products .pp-figure{
  margin: 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--plateau);
}

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

.page-products .pp-figure--slim{
  max-width: 720px;
  margin-bottom: clamp(18px,2.4vw,26px);
}

/* ---------- split ---------- */
.page-products .pp-split{
  display: grid;
  gap: clamp(24px,3vw,40px);
}

.page-products .pp-split__text .btn{
  margin-top: 22px;
}

.page-products .pp-split__text .index-note{
  display: block;
  margin-top: 18px;
}

.page-products .pp-split__aside{
  display: grid;
  gap: 16px;
  align-content: start;
}

/* ---------- calendar views ---------- */
.page-products .cal-views{
  display: grid;
  gap: 10px;
}

.page-products .cal-view{
  display: grid;
  grid-template-columns: 84px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(28,58,87,.55), rgba(18,38,60,.72));
}

.page-products .cal-view svg{
  width: 84px;
  height: 56px;
  display: block;
}

.page-products .cal-view p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .cal-view--cyan{ color: var(--cyan); }
.page-products .cal-view--orange{ color: var(--orange); }
.page-products .cal-view--yellow{ color: var(--yellow); }

.page-products .cal-view h3{
  color: var(--snow);
  font-size: 15px;
}

/* ---------- table ---------- */
.page-products .pp-tablewrap{
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--plateau);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .pp-table caption{
  caption-side: bottom;
  text-align: left;
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
  color: var(--mist);
}

.page-products .pp-table th,
.page-products .pp-table td{
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  vertical-align: middle;
}

.page-products .pp-table thead th{
  background: var(--glacier);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--snow);
  white-space: nowrap;
}

.page-products .pp-table tbody th{
  font-weight: 600;
  color: var(--snow);
  min-width: 190px;
}

.page-products .pp-table tbody tr:nth-child(even){
  background: rgba(28,58,87,.34);
}

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

.page-products .mk{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-products .mk--yes{
  color: var(--green);
  border: 1px solid rgba(79,191,139,.45);
}

.page-products .mk--no{
  color: var(--mist);
  border: 1px solid var(--hair-strong);
}

/* ---------- version log ---------- */
.page-products .ver-list{
  margin-top: clamp(20px,3vw,30px);
}

.page-products .ver-item{
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--plateau);
  margin-bottom: 10px;
  overflow: hidden;
}

.page-products .ver-item summary{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-products .ver-item summary::-webkit-details-marker{
  display: none;
}

.page-products .ver-item summary::after{
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
  line-height: 1;
}

.page-products .ver-item[open] summary::after{
  content: "−";
}

.page-products .ver-item__no{
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  color: var(--cyan);
  min-width: 46px;
}

.page-products .ver-item__title{
  font-size: 15px;
  font-weight: 600;
  color: var(--snow);
}

.page-products .ver-item__hint{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-products .ver-item__body{
  margin: 0;
  padding: 0 16px 18px 76px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .ver-item__body li::marker{
  color: var(--glacier);
}

/* ---------- steps ---------- */
.page-products .steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-products .step{
  position: relative;
  padding-left: 58px;
}

.page-products .step::before{
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: -22px;
  width: 1px;
  background: var(--hair);
}

.page-products .step:last-child::before{
  display: none;
}

.page-products .step__num{
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: var(--plateau);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--cyan);
}

.page-products .step p{
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mist);
  max-width: 30em;
}

/* ---------- closing cta ---------- */
.page-products .pp-cta{
  margin-top: var(--pp-space);
  padding: clamp(24px,4vw,40px);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(56,242,208,.10), transparent 58%),
    var(--plateau);
  display: grid;
  gap: 24px;
}

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

/* ---------- responsive ---------- */
@media (min-width: 700px){
  .page-products .pp-hero__figs{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .page-products .steps{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
  }
  .page-products .step{
    padding-left: 0;
    padding-top: 56px;
  }
  .page-products .step::before{
    left: 44px;
    right: -16px;
    top: 19px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .page-products .pp-table{
    min-width: 0;
  }
}

@media (min-width: 900px){
  .page-products .dl-cards{
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0,1fr));
    overflow: visible;
    padding-bottom: 0;
  }
  .page-products .dl-card:nth-child(2),
  .page-products .dl-card:nth-child(4){
    margin-top: 18px;
  }
  .page-products .pp-cta{
    grid-template-columns: minmax(0,1.4fr) minmax(0,.9fr);
    align-items: center;
  }
}

@media (min-width: 960px){
  .page-products .pp-hero{
    grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
    align-items: end;
  }
  .page-products .pp-split{
    grid-template-columns: minmax(0,1fr) minmax(0,1.06fr);
    align-items: start;
  }
  .page-products .pp-split--rev{
    grid-template-columns: minmax(0,.92fr) minmax(0,1fr);
  }
  .page-products .pp-split__aside{
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-products *{
    transition: none !important;
    animation: none !important;
  }
}
</main>
