.page-products {
  --products-stable-soft: #ffe0d5;
  --products-border-w: 3px;
  --products-shadow: 8px 8px 0 rgba(11, 61, 58, 0.14);
  --products-gap: 24px;
  position: relative;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: clip;
  background:
    radial-gradient(circle at 92% 8%, var(--mist) 0, transparent 34%),
    linear-gradient(180deg, var(--mist) 0, var(--paper) 320px);
}

.page-products__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px 84px;
}

.page-products [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.22;
  margin-top: 0;
}

.page-products h1 {
  font-size: clamp(28px, 5.2vw, 52px);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.page-products h2 {
  font-size: clamp(22px, 3.4vw, 34px);
  margin-bottom: 12px;
}

.page-products h3 {
  font-size: 20px;
}

.page-products figure {
  margin: 24px 0 0;
}

.page-products figcaption {
  font-size: 13px;
  color: #23443e;
  margin-top: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--orange-600);
  line-height: 1.5;
}

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

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--jade-700);
  margin-bottom: 22px;
}

.page-products .breadcrumb a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--orange-600);
  border-color: var(--orange-600);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.page-products .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--jade-700);
  margin-bottom: 8px;
}

.page-products .section-label::before {
  content: "";
  width: 22px;
  height: 6px;
  background: var(--orange-600);
  display: inline-block;
}

.page-products__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-products__lead {
  font-size: 16px;
  color: #23443e;
  max-width: 60ch;
  margin-bottom: 24px;
}

.page-products .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-weight: 700;
  border: var(--products-border-w) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.page-products .btn:hover,
.page-products .btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
  filter: saturate(1.08);
}

.page-products__hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: var(--products-border-w) solid var(--ink);
  background: #fff;
  padding: 12px;
  box-shadow: var(--products-shadow);
}

.page-products .split-tile {
  border: var(--products-border-w) solid var(--ink);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 150px;
  justify-content: flex-end;
}

.page-products .split-tile--mobile {
  background: var(--jade-100);
  color: var(--jade-900);
}

.page-products .split-tile--stable {
  background: var(--products-stable-soft);
  color: var(--orange-600);
}

.page-products .split-tile__num {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  opacity: 0.72;
}

.page-products .split-tile strong {
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.1;
}

.page-products .split-tile small {
  font-size: 14px;
  color: var(--ink);
}

.page-products .products-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 34px 0 44px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: rgba(215, 240, 232, 0.5);
  box-shadow: 4px 4px 0 rgba(11, 61, 58, 0.08);
}

.page-products .products-toc__label {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--jade-900);
  margin-right: 2px;
}

.page-products .products-toc a {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--jade-900);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-products .products-toc a:hover {
  color: var(--orange-600);
  border-color: var(--orange-600);
}

.page-products .products-toc a.is-active {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
}

.page-products .content-section {
  margin-top: 28px;
  padding: 32px 0 40px;
  border-top: 2px dashed rgba(11, 61, 58, 0.22);
}

.page-products .products-section__head {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-products .products-section__head p {
  font-size: 16px;
  color: #23443e;
}

.page-products .split-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.page-products .split-banner__panel {
  position: relative;
  border: var(--products-border-w) solid var(--ink);
  padding: 28px 22px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  box-shadow: var(--products-shadow);
  overflow: hidden;
}

.page-products .split-banner__panel::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.08;
}

.page-products .split-banner__panel--mobile {
  background: linear-gradient(145deg, var(--jade-100) 0%, #f7f5ef 70%);
  color: var(--jade-700);
}

.page-products .split-banner__panel--stable {
  background: linear-gradient(145deg, var(--products-stable-soft) 0%, #f7f5ef 70%);
  color: var(--orange-600);
}

.page-products .split-banner__index {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.page-products .split-banner__panel h3 {
  font-size: 30px;
  margin: 4px 0 0;
}

.page-products .split-banner__panel p {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.page-products .split-banner__link {
  font-weight: 700;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.page-products .split-banner__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.page-products .split-banner__link:hover::after {
  transform: translateX(4px);
}

.page-products .compare-table-wrap {
  border: var(--products-border-w) solid var(--ink);
  background: #fff;
  box-shadow: var(--products-shadow);
  overflow-x: auto;
}

.page-products .compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .compare-table th,
.page-products .compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--mist);
  vertical-align: top;
}

.page-products .compare-table thead th {
  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: 0.06em;
  border-bottom: var(--products-border-w) solid var(--ink);
}

.page-products .compare-table thead th:first-child {
  background: var(--jade-900);
  color: #fff;
}

.page-products .compare-table thead th:nth-child(2) {
  background: var(--jade-700);
  color: #fff;
}

.page-products .compare-table thead th:nth-child(3) {
  background: var(--orange-600);
  color: #fff;
}

.page-products .compare-table tbody th {
  background: var(--jade-100);
  font-family: var(--font-title);
  font-weight: 700;
  width: 130px;
}

.page-products .compare-table tbody td {
  color: var(--ink);
}

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

.page-products .compare-table tbody a {
  font-weight: 700;
}

.page-products .products-mobile__inner,
.page-products .products-stable__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .products-mobile__figure {
  margin: 0;
}

.page-products .products-mobile__figure img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border: var(--products-border-w) solid var(--ink);
  box-shadow: var(--products-shadow);
  aspect-ratio: 1 / 2;
  object-fit: cover;
}

.page-products .products-stable__figure {
  margin: 0;
}

.page-products .products-stable__figure img {
  width: 100%;
  height: auto;
  border: var(--products-border-w) solid var(--ink);
  box-shadow: var(--products-shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.page-products .feature-list li {
  position: relative;
  padding: 10px 12px 10px 18px;
  border: 2px solid var(--mist);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 2px 2px 0 rgba(11, 61, 58, 0.06);
}

.page-products .feature-list--mobile li {
  border-left: 6px solid var(--jade-500);
}

.page-products .feature-list--stable li {
  border-left: 6px solid var(--orange-600);
}

.page-products .qr-pop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 20;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 12px;
  min-width: 140px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: var(--products-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.page-products .btn:hover .qr-pop,
.page-products .btn:focus-visible .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.page-products .qr-pop svg {
  display: block;
  width: 86px;
  height: 86px;
}

.page-products .qr-pop__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .data-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 20px 0 26px;
}

.page-products .data-card {
  border: var(--products-border-w) solid var(--ink);
  background: #fff;
  box-shadow: var(--products-shadow);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products .data-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(11, 61, 58, 0.18);
}

.page-products .data-card--score {
  border-top: 10px solid var(--jade-700);
}

.page-products .data-card--lineup {
  border-top: 10px solid var(--orange-600);
}

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

.page-products .data-card li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .data-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--orange-600);
}

.page-products .products-data__chart img,
.page-products .products-history__table img,
.page-products .products-download__figure img {
  width: 100%;
  height: auto;
  border: var(--products-border-w) solid var(--ink);
  box-shadow: var(--products-shadow);
  object-fit: cover;
}

.page-products .products-data__chart img {
  aspect-ratio: 2 / 1;
}

.page-products .products-history__table img {
  aspect-ratio: 5 / 3;
}

.page-products .products-download__figure img {
  aspect-ratio: 3 / 2;
}

.page-products .history-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.page-products .history-metric {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 4px 4px 0 rgba(11, 61, 58, 0.1);
}

.page-products .history-metric__num {
  font-family: var(--font-title);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--jade-700);
}

.page-products .history-metric__label {
  font-size: 14px;
  color: #23443e;
}

.page-products .products-history__note {
  margin-top: 20px;
  font-size: 15px;
}

.page-products .products-history__note a,
.page-products .products-download__foot a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .download-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .download-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 2px solid var(--mist);
  background: #fff;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .download-steps__num {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
  color: var(--orange-600);
  line-height: 1;
}

.page-products .download-steps__text {
  color: var(--ink);
}

.page-products .download-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.page-products .download-card {
  border: var(--products-border-w) solid var(--ink);
  padding: 20px;
  background: #fff;
  box-shadow: var(--products-shadow);
}

.page-products .download-card--mobile {
  border-left: 10px solid var(--jade-500);
}

.page-products .download-card--stable {
  border-left: 10px solid var(--orange-600);
}

.page-products .download-card h3 {
  margin-bottom: 4px;
}

.page-products .download-card p {
  margin: 0;
  font-size: 14px;
  color: #23443e;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0;
}

.page-products .products-download__foot {
  margin-top: 26px;
  padding: 18px 20px;
  border: 2px solid var(--jade-500);
  background: rgba(215, 240, 232, 0.45);
  display: grid;
  gap: 4px;
}

.page-products .back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--jade-700);
}

@media (min-width: 640px) {
  .page-products .split-banner {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .data-cards {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .download-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .page-products__hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

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

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

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

@media (min-width: 900px) {
  .page-products__inner {
    padding: 44px 32px 100px;
  }

  .page-products .products-toc {
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .page-products .history-metrics {
    grid-template-columns: 1fr;
  }

  .page-products .history-metric {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .page-products .split-banner__panel {
    min-height: 150px;
    padding: 22px 18px;
  }

  .page-products .qr-pop {
    left: 0;
    right: 0;
    transform: translateY(-6px);
    margin: 0 auto;
  }

  .page-products .btn:hover .qr-pop,
  .page-products .btn:focus-visible .qr-pop {
    transform: translateY(0);
  }
}
