.page-products {
  --pp-gap: clamp(18px, 3vw, 34px);
  --pp-pad: clamp(20px, 3.4vw, 48px);
  padding-top: clamp(92px, 13vw, 128px);
  padding-bottom: clamp(48px, 8vw, 110px);
  background:
    radial-gradient(1100px 620px at 88% -4%, rgba(45, 226, 230, 0.10), transparent 62%),
    radial-gradient(820px 520px at -6% 22%, rgba(255, 122, 26, 0.09), transparent 58%);
}

.page-products__crumb {
  padding-bottom: clamp(10px, 2vw, 22px);
}

.page-products .pp-block {
  padding-block: clamp(42px, 7vw, 92px);
}

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--paper);
  font-size: clamp(28px, 5vw, 48px);
  margin: 6px 0 14px;
}

.page-products h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 12px;
}

.page-products p {
  color: var(--mist);
  line-height: 1.78;
  margin: 0 0 14px;
}

.page-products .section-head {
  max-width: 62ch;
  margin-bottom: var(--pp-gap);
}

.page-products .section-head p {
  font-size: clamp(15px, 1.6vw, 17px);
}

.page-products a {
  color: var(--cyan);
}

/* ---------- hero ---------- */
.page-products .tool-hero {
  position: relative;
}

.page-products .tool-hero__frame {
  position: relative;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  background:
    linear-gradient(158deg, rgba(11, 29, 49, 0.86) 0%, rgba(6, 16, 29, 0.62) 54%, rgba(12, 124, 134, 0.14) 100%);
  padding: var(--pp-pad);
  overflow: hidden;
}

.page-products .tool-hero__frame::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 72px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--line-cyan) 0 2px, transparent 2px 9px);
  pointer-events: none;
}

.page-products .tool-hero__frame::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  pointer-events: none;
}

.page-products .tool-hero__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: end;
}

.page-products .tool-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 10px 0 16px;
  text-wrap: balance;
}

.page-products .tool-hero__lede {
  font-size: clamp(15px, 1.7vw, 17.5px);
  max-width: 56ch;
  color: var(--mist);
}

.page-products .tool-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
}

.page-products .tool-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-left: 2px solid var(--teal);
  background: rgba(21, 59, 94, 0.26);
}

.page-products .fact-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--flame);
  line-height: 1;
}

.page-products .fact-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

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

.page-products .tool-hero__media {
  margin: 0;
  border: 1px solid var(--line-soft);
  align-self: stretch;
}

/* ---------- device table ---------- */
.page-products .device-grid {
  display: grid;
  gap: 10px;
}

.page-products .device-row {
  display: grid;
  gap: 6px 22px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--tactic);
  background: rgba(21, 59, 94, 0.20);
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-products .device-row:hover {
  background: rgba(21, 59, 94, 0.42);
  border-left-color: var(--orange);
  transform: translateX(3px);
}

.page-products .device-row > span {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.7;
}

.page-products .device-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--paper) !important;
  font-weight: 500;
}

.page-products .device-dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--mist);
}

.page-products .device-dot--orange { background: var(--orange); }
.page-products .device-dot--cyan { background: var(--cyan); }
.page-products .device-dot--mist { background: var(--mist); }

.page-products .device-row--head {
  display: none;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding-block: 0 10px;
}

.page-products .device-row--head:hover {
  background: none;
  transform: none;
  border-left-color: transparent;
}

.page-products .device-row--head span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
  opacity: 0.85;
}

/* ---------- tablet ---------- */
.page-products .tablet {
  background: linear-gradient(180deg, transparent, rgba(12, 124, 134, 0.09) 45%, transparent);
}

.page-products .tablet__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: start;
}

.page-products .tablet__copy p {
  max-width: 58ch;
}

.page-products .field-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
}

.page-products .field-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border: 1px solid var(--line-cyan);
  color: var(--cyan);
  background: rgba(12, 124, 134, 0.14);
}

.page-products .cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .cap-list li {
  position: relative;
  padding-left: 20px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.72;
}

.page-products .cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: skewX(-14deg);
}

.page-products .cap-list strong {
  color: var(--paper);
  font-weight: 600;
}

.page-products .tablet__media {
  margin: 0;
  border: 1px solid var(--line-soft);
}

/* ---------- desk ---------- */
.page-products .desk {
  background: linear-gradient(105deg, rgba(6, 16, 29, 0) 0%, rgba(21, 59, 94, 0.30) 52%, rgba(6, 16, 29, 0) 100%);
}

.page-products .desk__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .desk__copy p {
  max-width: 58ch;
}

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

.page-products .desk__media {
  margin: 0;
  border: 1px solid var(--line-cyan);
}

/* ---------- follow ---------- */
.page-products .follow__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .follow__media {
  margin: 0;
  border: 1px solid var(--line-soft);
}

.page-products .step-list {
  list-style: none;
  counter-reset: pp-step;
  margin: 20px 0 18px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .step-list li {
  counter-increment: pp-step;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--mist);
  font-size: 15px;
  line-height: 1.7;
}

.page-products .step-list li::before {
  content: "0" counter(pp-step);
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1;
  color: var(--flame);
}

.page-products .follow__note {
  font-size: 14px;
  border-left: 2px solid var(--teal);
  padding-left: 14px;
}

/* ---------- versions ---------- */
.page-products .ver-grid {
  display: grid;
  gap: 16px;
}

.page-products .ver-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(21, 59, 94, 0.24);
  padding: clamp(18px, 2.6vw, 30px);
}

.page-products .ver-card--tablet {
  border-top: 2px solid var(--cyan);
}

.page-products .ver-card--desk {
  border-top: 2px solid var(--orange);
}

.page-products .ver-ver {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
  margin: 0 0 8px;
}

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

.page-products .ver-list li {
  position: relative;
  padding-left: 18px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.65;
}

.page-products .ver-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
}

.page-products .get-way {
  margin-top: 18px;
  display: grid;
  gap: var(--pp-gap);
  border: 1px solid var(--line-soft);
  background: rgba(11, 29, 49, 0.62);
  padding: clamp(16px, 2.4vw, 26px);
}

.page-products .get-way__media {
  margin: 0;
  border: 1px solid var(--line-soft);
}

.page-products .get-way__copy p {
  max-width: 56ch;
  font-size: 15px;
}

/* ---------- faq ---------- */
.page-products .faq__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: start;
}

.page-products .faq__side p {
  max-width: 42ch;
  font-size: 15px;
}

.page-products .faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}

.page-products .faq-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-products .faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--paper);
}

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

.page-products .faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
  flex: none;
}

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

.page-products .faq-item p {
  font-size: 14.5px;
  margin: 10px 0 4px;
  max-width: 62ch;
}

/* ---------- next step ---------- */
.page-products .next-step__panel {
  position: relative;
  display: grid;
  gap: var(--pp-gap);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  background:
    linear-gradient(120deg, rgba(255, 122, 26, 0.10), rgba(6, 16, 29, 0) 52%),
    rgba(11, 29, 49, 0.72);
  padding: clamp(20px, 3.2vw, 40px);
}

.page-products .next-step__copy p {
  max-width: 54ch;
  font-size: 15px;
}

.page-products .next-step__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .next-step__links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid var(--line-soft);
  background: rgba(21, 59, 94, 0.22);
  text-decoration: none;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-products .next-step__links a:hover,
.page-products .next-step__links a:focus-visible {
  transform: translateX(3px);
  border-color: var(--line-cyan);
  background: rgba(21, 59, 94, 0.48);
}

.page-products .link-k {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.page-products .link-d {
  font-size: 13px;
  color: var(--mist);
}

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

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

@media (min-width: 820px) {
  .page-products .device-row--head {
    display: grid;
  }

  .page-products .device-row {
    grid-template-columns: 1.05fr 1.6fr 1.25fr;
    align-items: center;
  }

  .page-products .tablet__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 56px);
  }

  .page-products .desk__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 4vw, 56px);
  }

  .page-products .desk__media {
    order: 2;
  }

  .page-products .follow__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(24px, 4vw, 56px);
  }

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

  .page-products .get-way {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(20px, 2.8vw, 32px);
  }

  .page-products .faq__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(24px, 4vw, 64px);
  }

  .page-products .faq__side {
    position: sticky;
    top: clamp(96px, 12vw, 120px);
  }

  .page-products .next-step__panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
  }
}

@media (min-width: 1080px) {
  .page-products .tool-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 64px);
  }
}

@media (max-width: 480px) {
  .page-products .step-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .page-products .step-list li::before {
    font-size: 20px;
  }

  .page-products .device-row {
    padding: 15px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .device-row,
  .page-products .next-step__links a {
    transition: none;
  }

  .page-products .device-row:hover,
  .page-products .next-step__links a:hover {
    transform: none;
  }
}
