.page-products {
  --dl-cut: 14px;
  --dl-hair: rgba(199, 208, 206, 0.16);
  --dl-hair-strong: rgba(199, 208, 206, 0.32);
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-products .dl-crumb {
  padding-top: clamp(14px, 3vw, 26px);
  padding-bottom: clamp(6px, 2vw, 14px);
}

.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .breadcrumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-products .breadcrumbs [aria-current="page"] {
  color: var(--silver);
}

/* ---------- hero ---------- */

.page-products .dl-hero {
  padding: clamp(10px, 2.5vw, 24px) 0 clamp(30px, 5.5vw, 68px);
}

.page-products .dl-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .dl-hero__copy {
  min-width: 0;
}

.page-products .dl-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .dl-hero__title span {
  color: var(--cyan);
}

.page-products .dl-hero__lede {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--silver);
}

.page-products .dl-hero__lede--dim {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mist);
}

.page-products .dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-products .dl-hero__actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
}

/* ---------- figures ---------- */

.page-products .dl-fig {
  margin: 0;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--dl-hair);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, var(--dl-cut) 100%, 0 calc(100% - var(--dl-cut)));
  overflow: hidden;
}

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

.page-products .dl-fig--phone {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.page-products .dl-fig--phone img {
  aspect-ratio: 3 / 4;
}

.page-products .dl-fig--wide {
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .dl-fig--wide img {
  aspect-ratio: 3 / 2;
}

.page-products .dl-fig--meter {
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .dl-fig--meter img {
  aspect-ratio: 10 / 7;
}

/* ---------- .page-products grid ---------- */

.page-products .dl-body {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(40px, 7vw, 90px);
}

/* ---------- version rail ---------- */

.page-products .dl-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: var(--ink-deep);
  border: 1px solid var(--dl-hair);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, 0 100%);
}

.page-products .dl-rail__title {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .dl-rail__item {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  background: rgba(18, 54, 46, 0.55);
  border-left: 2px solid var(--edge);
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-products .dl-rail__item:hover {
  border-left-color: var(--cyan);
  background: var(--panel);
}

.page-products .dl-rail__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-products .dl-rail__v {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.1;
  color: var(--white);
}

/* ---------- sections ---------- */

.page-products .dl-main {
  display: grid;
  gap: clamp(28px, 4.5vw, 54px);
  min-width: 0;
}

.page-products .dl-sec {
  min-width: 0;
}

.page-products .dl-sec + .dl-sec {
  padding-top: clamp(28px, 4.5vw, 54px);
  border-top: 1px solid var(--dl-hair);
}

.page-products .dl-head__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .dl-head__lede {
  max-width: 54ch;
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- device cards ---------- */

.page-products .dl-devices {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .device {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: linear-gradient(150deg, var(--panel), var(--ink-deep));
  border: 1px solid var(--dl-hair);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, var(--dl-cut) 100%, 0 calc(100% - var(--dl-cut)));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products .device:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .device__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .device__name {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .device__ver {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

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

.page-products .device__list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--silver);
}

.page-products .device__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

.page-products .device__go {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
}

/* ---------- split prose ---------- */

.page-products .dl-split {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(16px, 3vw, 26px);
}

.page-products .dl-prose {
  min-width: 0;
}

.page-products .dl-prose p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-products .dl-prose p:last-child {
  margin-bottom: 0;
}

.page-products .dl-prose__h {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .dl-inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 245, 208, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-products .dl-inline-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.page-products .dl-note {
  padding: 16px 18px;
  background: rgba(18, 54, 46, 0.75);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-products .dl-note__k {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-products .dl-note__t {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-products .dl-note__link {
  font-size: 13.5px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 245, 208, 0.45);
}

.page-products .dl-note__link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- switch track ---------- */

.page-products .track {
  list-style: none;
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: none;
}

.page-products .track__step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 18px 16px;
  background: var(--ink-deep);
  border-left: 2px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, 0 100%);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-products .track__step:hover {
  border-left-color: var(--cyan);
  background: var(--panel);
}

.page-products .track__no {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.1;
  color: var(--cyan);
}

.page-products .track__body h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.01em;
  color: var(--white);
}

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

/* ---------- hubs ---------- */

.page-products .dl-hubs {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .hub {
  padding: 18px;
  background: var(--panel);
  border-top: 2px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, 0 100%);
  transition: border-top-color 0.2s ease, background 0.2s ease;
}

.page-products .hub:hover {
  border-top-color: var(--cyan);
  background: var(--panel-2);
}

.page-products .hub__tag {
  display: inline-block;
  margin: 0 0 10px;
}

.page-products .hub__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--white);
}

.page-products .hub__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- requirements ---------- */

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

.page-products .dl-req li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--silver);
}

.page-products .dl-req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.page-products .dl-req .num {
  font-family: var(--font-mono);
  color: var(--white);
}

.page-products .dl-errs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-products .err {
  background: rgba(18, 54, 46, 0.6);
  border: 1px solid var(--dl-hair);
  transition: border-color 0.2s ease;
}

.page-products .err[open] {
  border-color: var(--amber);
}

.page-products .err summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 12px 42px 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

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

.page-products .err summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--cyan);
}

.page-products .err[open] summary::after {
  content: "−";
  color: var(--amber);
}

.page-products .err summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .err p {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- checklist ---------- */

.page-products .check {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 26px);
}

.page-products .check__item {
  padding: 16px 18px 18px;
  background: rgba(11, 31, 26, 0.7);
  border-top: 2px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--dl-cut)), calc(100% - var(--dl-cut)) 100%, 0 100%);
}

.page-products .check__item:nth-child(2) {
  border-top-color: var(--amber);
}

.page-products .check__item:nth-child(3) {
  border-top-color: var(--orange);
}

.page-products .check__no {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--white);
}

.page-products .check__t {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

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

/* ---------- cta ---------- */

.page-products .dl-cta {
  min-width: 0;
}

.page-products .dl-cta__panel {
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(61, 245, 208, 0.16), transparent 60%),
    linear-gradient(140deg, var(--panel-2), var(--ink-deep));
  border: 1px solid var(--dl-hair-strong);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-products .dl-cta__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .dl-cta__text {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--silver);
}

.page-products .dl-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-products .dl-cta__links .btn {
  flex: 1 1 auto;
  min-width: 132px;
  text-align: center;
}

/* ---------- responsive ---------- */

@media (min-width: 620px) {
  .page-products .dl-devices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 760px) {
  .page-products .dl-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: start;
  }

  .page-products .dl-split--flip {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }

  .page-products .dl-split--flip .dl-fig {
    order: 0;
  }

  .page-products .dl-prose p {
    font-size: 15px;
  }

  .page-products .check {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-products .dl-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }

  .page-products .dl-fig--phone {
    margin-left: auto;
    margin-right: 0;
  }

  .page-products .dl-devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .dl-hero__actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 1040px) {
  .page-products .dl-body {
    grid-template-columns: 208px minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4vw, 52px);
  }

  .page-products .dl-rail {
    grid-template-columns: 1fr;
    position: sticky;
    top: 96px;
  }

  .page-products .track__step {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 16px 22px 18px;
  }

  .page-products .track__no {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .device,
  .page-products .track__step,
  .page-products .hub,
  .page-products .dl-rail__item {
    transition: none;
  }

  .page-products .device:hover {
    transform: none;
  }
}
