.page-products {
  background: var(--paper);
  color: var(--ink);
}

.page-products .pp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.page-products .pp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(1.15) contrast(1.05);
}

.page-products .pp-hero-top {
  padding-top: clamp(12px, 3vw, 22px);
}

.page-products .pp-hero-inner {
  display: grid;
  gap: 26px;
  padding: clamp(18px, 4vw, 34px) 0 clamp(36px, 6vw, 72px);
}

.page-products .pp-hero-index {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
}

.page-products .pp-index-label {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
}

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

.page-products .pp-index-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}

.page-products .pp-hero-title {
  margin: 10px 0 16px;
  max-width: 17ch;
  font-size: clamp(30px, 7.2vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-products .pp-hero-lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.8;
  color: rgba(43, 26, 18, 0.82);
}

.page-products .pp-price-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 4vw, 34px);
}

.page-products .pp-tag {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 18px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-top-width: 6px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-products .pp-tag::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}

.page-products .pp-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.page-products .pp-tag--red {
  border-top-color: var(--red);
}

.page-products .pp-tag--gold {
  border-top-color: var(--gold);
}

.page-products .pp-tag-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.page-products .pp-tag-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.page-products .pp-num {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-products .pp-unit {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: rgba(43, 26, 18, 0.66);
}

.page-products .pp-tag-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(43, 26, 18, 0.74);
}

.page-products .pp-tag .copy-btn {
  align-self: flex-start;
}

.page-products .pp-section {
  padding: clamp(40px, 7vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.page-products .pp-section-head {
  display: grid;
  gap: 12px;
  max-width: 70ch;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.page-products .pp-h2 {
  margin: 0;
  font-size: clamp(23px, 4.4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-products .pp-h3 {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .pp-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(43, 26, 18, 0.78);
}

.page-products .pp-compare-top {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.page-products .pp-fig {
  position: relative;
  margin: 0;
}

.page-products .pp-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
}

.page-products .pp-fig figcaption {
  margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(43, 26, 18, 0.6);
}

.page-products .pp-fig--tape::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 76px;
  height: 20px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(217, 154, 61, 0.5);
  border: 1px solid rgba(43, 26, 18, 0.12);
}

.page-products .pp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.page-products .pp-table-wrap {
  overflow-x: auto;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .pp-table-cap {
  caption-side: top;
  padding: 13px 16px;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(43, 26, 18, 0.66);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-products .pp-table th,
.page-products .pp-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-table thead th {
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-products .pp-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 158px;
  background: var(--cream);
  border-right: 1px solid var(--line);
  font-weight: 700;
  white-space: nowrap;
}

.page-products .pp-table tbody tr:nth-child(even) td {
  background: rgba(231, 220, 201, 0.35);
}

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

.page-products .pp-vercell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-products .pp-tier {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.page-products .pp-tier:last-child {
  margin-bottom: 0;
}

.page-products .pp-tier-body > * + * {
  margin-top: 12px;
}

.page-products .pp-tier-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(43, 26, 18, 0.82);
}

.page-products .pp-kv {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pp-kv li {
  padding: 5px 11px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}

.page-products .pp-apple {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 76px) 0;
  background: var(--pepper);
  color: var(--cream);
  border-top: 1px solid var(--pepper-deep);
  border-bottom: 1px solid var(--pepper-deep);
}

.page-products .pp-apple::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 8px, transparent 8px 18px);
}

.page-products .pp-apple-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.page-products .pp-apple .pp-h2,
.page-products .pp-apple .pp-h3 {
  color: var(--cream);
}

.page-products .pp-apple .pp-lead {
  color: rgba(255, 249, 239, 0.86);
}

.page-products .pp-apple-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 12px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cream);
  background: rgba(255, 249, 239, 0.16);
  border: 1px solid rgba(255, 249, 239, 0.5);
  border-radius: var(--radius-pill);
}

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

.page-products .pp-apple-list li {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.75;
  background: rgba(26, 16, 12, 0.18);
  border: 1px solid rgba(255, 249, 239, 0.3);
  border-radius: var(--radius-s);
}

.page-products .pp-apple-list li::before {
  content: "—";
  color: rgba(255, 249, 239, 0.7);
}

.page-products .pp-apple .pp-fig img {
  border-color: rgba(255, 249, 239, 0.6);
}

.page-products .pp-apple .pp-fig figcaption {
  color: rgba(255, 249, 239, 0.75);
}

.page-products .pp-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ppstep;
}

.page-products .pp-step {
  position: relative;
  padding: 56px 20px 20px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-1);
}

.page-products .pp-step::before {
  counter-increment: ppstep;
  content: "0" counter(ppstep);
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: var(--ff-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--orange);
}

.page-products .pp-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.page-products .pp-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(43, 26, 18, 0.78);
}

.page-products .pp-cta {
  padding: clamp(36px, 6vw, 68px) 0;
  background: var(--ink-deep);
  color: var(--cream);
}

.page-products .pp-cta-inner {
  display: grid;
  gap: 20px;
}

.page-products .pp-cta h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-products .pp-cta p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 249, 239, 0.8);
}

.page-products .pp-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pp-cta .btn-ghost,
.page-products .pp-cta .btn-quiet {
  color: var(--cream);
  border-color: rgba(255, 249, 239, 0.5);
}

.page-products .pp-cta .btn-ghost:hover,
.page-products .pp-cta .btn-quiet:hover {
  border-color: var(--orange);
  color: var(--cream);
}

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

@media (min-width: 820px) {
  .page-products .pp-tier {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .page-products .pp-tier--flip .pp-fig {
    order: 2;
  }

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

  .page-products .pp-cta-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 900px) {
  .page-products .pp-compare-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 36px;
  }

  .page-products .pp-apple-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .page-products .pp-hero-inner {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }

  .page-products .pp-hero-index {
    position: sticky;
    top: 96px;
  }

  .page-products .pp-index-list {
    flex-direction: column;
    gap: 12px;
  }

  .page-products .pp-price-grid {
    gap: 18px;
    max-width: 760px;
  }

  .page-products .pp-tag:nth-child(even) {
    margin-top: 22px;
  }

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

  .page-products .pp-table {
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-tag,
  .page-products .pp-tag:hover {
    transform: none;
    transition: box-shadow 180ms ease;
  }
}
