.page-products {
  --pd-line-soft: rgba(30, 74, 60, 0.55);
  --pd-gap: clamp(18px, 3vw, 32px);
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

.page-products *,
.page-products *::before,
.page-products *::after {
  box-sizing: border-box;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--paper);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-products p {
  margin: 0;
}

.page-products ul,
.page-products ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products a {
  color: inherit;
}

/* ---------- hero ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(20px, 3.5vw, 34px) 0 clamp(38px, 5vw, 62px);
  background-color: var(--ink);
  background-image:
    radial-gradient(110% 80% at 92% -10%, rgba(55, 245, 193, 0.14), transparent 62%),
    radial-gradient(80% 60% at -10% 110%, rgba(255, 107, 74, 0.1), transparent 60%),
    repeating-linear-gradient(to right, var(--pd-line-soft) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(to bottom, var(--pd-line-soft) 0 1px, transparent 1px 84px);
  border-bottom: 1px solid var(--line);
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--cyan);
}

.page-products .pd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.page-products .pd-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-products .pd-hero h1 {
  margin-top: 14px;
  max-width: 15em;
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-products .pd-lead {
  margin-top: clamp(14px, 2vw, 20px);
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--silver);
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .pd-panels__label {
  margin-top: clamp(30px, 5vw, 52px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- three panels ---------- */
.page-products .pd-panels {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.page-products .pd-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease);
}

.page-products .pd-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--line);
}

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

.page-products .pd-panel--h5 {
  border-color: rgba(55, 245, 193, 0.55);
  background-image: linear-gradient(175deg, rgba(14, 143, 118, 0.24), transparent 58%);
}

.page-products .pd-panel--h5::before {
  width: 100%;
  background: var(--cyan);
}

.page-products .pd-panel__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--coral);
}

.page-products .pd-panel--h5 .pd-panel__tag {
  color: var(--cyan);
}

.page-products .pd-panel__title {
  font-size: 20px;
  font-weight: 800;
}

.page-products .pd-panel__desc {
  font-size: 15px;
  color: var(--silver);
}

.page-products .pd-panel__list {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.page-products .pd-panel__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--silver);
}

.page-products .pd-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--teal);
}

.page-products .pd-panel--h5 .pd-panel__list li::before {
  background: var(--cyan);
}

.page-products .pd-panel .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- sections ---------- */
.page-products .pd-section {
  padding: clamp(40px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.page-products .pd-section--alt {
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 88%);
}

.page-products .pd-head {
  display: grid;
  gap: 10px;
  max-width: 62ch;
  margin-bottom: clamp(22px, 3.5vw, 36px);
}

.page-products .pd-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .pd-head h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.page-products .pd-head p {
  font-size: 15px;
  color: var(--silver);
}

.page-products .pd-note {
  margin-top: clamp(16px, 2.4vw, 22px);
  padding-left: 14px;
  border-left: 2px solid var(--teal);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- split layout ---------- */
.page-products .pd-split {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

/* ---------- figures ---------- */
.page-products .pd-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}

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

.page-products .pd-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .pd-figure--wide {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .pd-figure--phone {
  max-width: 340px;
  margin-inline: auto;
}

/* ---------- table ---------- */
.page-products .pd-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.page-products .pd-compare-table th,
.page-products .pd-compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.6;
}

.page-products .pd-compare-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--cyan);
  background: rgba(18, 51, 42, 0.92);
}

.page-products .pd-compare-table tbody th {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--paper);
}

.page-products .pd-compare-table tbody tr:nth-child(2) td {
  color: var(--mint);
}

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

/* ---------- numbered steps ---------- */
.page-products .pd-steps {
  display: grid;
}

.page-products .pd-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
}

.page-products .pd-step::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 54px;
  bottom: -4px;
  width: 1px;
  background: var(--line);
}

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

.page-products .pd-step__num {
  padding-top: 3px;
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-step h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.page-products .pd-step p {
  font-size: 15px;
  color: var(--silver);
}

/* ---------- specs ---------- */
.page-products .pd-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.page-products .pd-spec {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.page-products .pd-spec__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .pd-spec__value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--paper);
}

.page-products .pd-spec__value--num {
  font-family: var(--font-num);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-specs:nth-of-type(1) .pd-spec:last-child .pd-spec__value {
  color: var(--coral);
}

/* ---------- details ---------- */
.page-products .pd-details {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(18, 51, 42, 0.55);
}

.page-products .pd-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--mint);
  list-style: none;
}

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

.page-products .pd-details summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
}

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

.page-products .pd-details ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.page-products .pd-details li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--silver);
}

.page-products .pd-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--coral);
}

/* ---------- timeline ---------- */
.page-products .pd-timeline {
  display: grid;
  margin-top: clamp(6px, 1.5vw, 14px);
  border-top: 1px solid var(--line);
}

.page-products .pd-tl {
  position: relative;
  padding: 22px 0 22px 22px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-tl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-products .pd-tl__year {
  display: block;
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-tl h3 {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.page-products .pd-tl p {
  font-size: 14.5px;
  color: var(--silver);
}

/* ---------- scenes ---------- */
.page-products .pd-scenes {
  display: grid;
  gap: 14px;
}

.page-products .pd-scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-color: var(--panel);
  background-image: linear-gradient(165deg, rgba(14, 143, 118, 0.16), transparent 62%);
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease);
}

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

.page-products .pd-scene__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--coral);
}

.page-products .pd-scene h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.page-products .pd-scene__path {
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mint);
}

.page-products .pd-scene p:last-child {
  font-size: 14.5px;
  color: var(--silver);
}

/* ---------- closing cta ---------- */
.page-products .pd-cta {
  display: grid;
  gap: 18px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-color: var(--ink-2);
  background-image: linear-gradient(140deg, rgba(55, 245, 193, 0.1), rgba(255, 107, 74, 0.07));
}

.page-products .pd-cta p {
  max-width: 56ch;
  font-size: 15.5px;
  color: var(--silver);
}

.page-products .pd-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .page-products .pd-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-products .pd-panels {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--pd-gap);
  }

  .page-products .pd-panel--h5 {
    transform: translateY(-24px);
  }

  .page-products .pd-panel--h5:hover {
    transform: translateY(-26px);
  }

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

@media (min-width: 860px) {
  .page-products .pd-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-products .pd-split--flip {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .page-products .pd-figure--phone {
    margin-inline: 0;
  }
}

@media (min-width: 840px) {
  .page-products .pd-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .page-products .pd-tl {
    padding: 28px 22px 8px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .page-products .pd-tl:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .page-products .pd-tl::before {
    top: -6px;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-panel,
  .page-products .pd-scene {
    transition: none;
  }

  .page-products .pd-panel:hover,
  .page-products .pd-panel--h5,
  .page-products .pd-panel--h5:hover,
  .page-products .pd-scene:hover {
    transform: none;
  }
}
