.page-products {
  --pp-hairline: rgba(36, 28, 23, 0.14);
  --pp-hairline-strong: rgba(31, 111, 118, 0.28);
  --pp-glass: rgba(255, 253, 247, 0.72);
  position: relative;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

.page-products h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.25rem, 7.2vw, 3.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.page-products h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4.4vw, 2.55rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.page-products h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
}

.page-products p {
  margin-top: 0;
}

.page-products .lede {
  max-width: 36em;
  margin-bottom: 0;
}

.page-products .pp-section-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.page-products .pp-section-head .eyebrow {
  margin-bottom: 0.65rem;
}

.page-products .pp-section-head p:not(.eyebrow) {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.page-products .pp-hero {
  position: relative;
  padding: clamp(24px, 5vw, 54px) 0 clamp(42px, 7vw, 78px);
  background:
    radial-gradient(90% 70% at 88% 4%, rgba(224, 122, 79, 0.24), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 54%, var(--mist) 100%);
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 51%, rgba(169, 210, 211, 0.22) 51.2% 52%, transparent 52.2%);
}

.page-products .pp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

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

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 26px 0 22px;
}

.page-products .pp-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--pp-hairline);
  list-style: none;
}

.page-products .pp-hero__quick li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.page-products .pp-hero__quick li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.page-products .pp-hero__visual {
  min-width: 0;
}

.page-products .pp-track {
  position: relative;
  min-height: 340px;
  padding: clamp(16px, 3vw, 26px);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.84), rgba(169, 210, 211, 0.42)),
    var(--paper);
  border: 1px solid var(--pp-hairline-strong);
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
  box-shadow: var(--shadow-soft);
}

.page-products .pp-track__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-track__lane {
  fill: none;
  stroke: url("#pp-track-glow");
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
}

.page-products .pp-track__lane--soft {
  opacity: 0.5;
  stroke-width: 1.5;
  stroke-dasharray: 3 10;
}

.page-products .pp-track__node {
  fill: var(--paper);
  stroke: var(--lake);
  stroke-width: 3;
}

.page-products .pp-track__node--active {
  fill: var(--clay);
  stroke: var(--clay-deep);
}

.page-products .pp-track__bird {
  fill: none;
  stroke: var(--clay-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.page-products .pp-glass {
  position: relative;
  width: min(280px, 84%);
  margin: -26px 8px 0 auto;
  padding: 14px 16px;
  background: var(--pp-glass);
  border-left: 3px solid var(--clay);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.page-products .pp-glass__label {
  margin: 0 0 8px;
  color: var(--lake);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.page-products .pp-glass__list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pp-glass__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.page-products .pp-glass__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--clay);
}

.page-products .pp-glass__dot--lake {
  background: var(--lake);
}

.page-products .pp-glass__dot--muted {
  background: var(--muted);
}

.page-products .pp-track__caption {
  max-width: 28ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.page-products .pp-lines {
  padding-top: clamp(42px, 7vw, 76px);
}

.page-products .pp-line-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pp-hairline);
  list-style: none;
}

.page-products .pp-line {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--pp-hairline);
  transition: background-color 160ms var(--ease), padding-left 160ms var(--ease);
}

.page-products .pp-line:hover,
.page-products .pp-line:focus-within {
  padding-left: 10px;
  background: rgba(169, 210, 211, 0.18);
}

.page-products .pp-line__index {
  color: var(--clay);
  font-size: 0.8rem;
  padding-top: 4px;
}

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

.page-products .pp-line__desc,
.page-products .pp-line__fit {
  margin: 0;
  line-height: 1.72;
}

.page-products .pp-line__fit {
  padding-left: 12px;
  border-left: 2px solid var(--lake-mist);
  color: var(--muted);
  font-size: 0.94rem;
}

.page-products .pp-line__fit strong {
  color: var(--ink);
}

.page-products .pp-matrix {
  padding-top: clamp(42px, 7vw, 76px);
  background: var(--paper);
}

.page-products .pp-matrix__grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.page-products .pp-matrix__main {
  min-width: 0;
}

.page-products .pp-table-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.page-products .pp-matrix-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.page-products .pp-matrix-table th,
.page-products .pp-matrix-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--pp-hairline);
  vertical-align: top;
}

.page-products .pp-matrix-table thead th {
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lake);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.page-products .pp-matrix-table tbody th {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.page-products .pp-matrix-table tbody td {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-products .pp-matrix-table tbody tr {
  transition: background-color 150ms var(--ease);
}

.page-products .pp-matrix-table tbody tr:hover,
.page-products .pp-matrix-table tbody tr:focus-within {
  background: rgba(169, 210, 211, 0.35);
}

.page-products .pp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.2;
  white-space: nowrap;
}

.page-products .pp-badge--std {
  background: var(--lake);
  color: var(--paper);
}

.page-products .pp-badge--cfg {
  background: rgba(224, 122, 79, 0.2);
  color: var(--clay-deep);
}

.page-products .pp-badge--addon {
  background: var(--mist);
  color: var(--lake);
}

.page-products .pp-matrix__figure,
.page-products .pp-data__visual,
.page-products .pp-access__visual,
.page-products .pp-scenes__figure,
.page-products .pp-chain__figure {
  margin: 0;
}

.page-products .pp-matrix__figure .figure__media {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}

.page-products .pp-matrix__figure .figure__caption,
.page-products .pp-data__visual .figure__caption,
.page-products .pp-access__visual .figure__caption,
.page-products .pp-scenes__figure .figure__caption,
.page-products .pp-chain__figure .figure__caption {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.page-products .pp-chain {
  position: relative;
  background: var(--mist);
}

.page-products .pp-chain__diagram {
  padding: clamp(16px, 3vw, 30px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--pp-hairline-strong);
  box-shadow: var(--shadow-soft);
}

.page-products .pp-chain__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-chain__lane {
  fill: none;
  stroke: var(--clay-lift);
  stroke-width: 2;
  stroke-dasharray: 6 9;
  stroke-linecap: round;
}

.page-products .pp-chain__node {
  fill: var(--paper);
  stroke: var(--lake);
  stroke-width: 3;
}

.page-products .pp-chain__node--active {
  fill: var(--clay);
  stroke: var(--clay-deep);
}

.page-products .pp-chain__node--end {
  fill: var(--lake-mist);
  stroke: var(--lake);
}

.page-products .pp-chain__label {
  fill: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.page-products .pp-chain__sub {
  fill: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
}

.page-products .pp-chain__facts {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.page-products .pp-chain__facts > div {
  padding-left: 12px;
  border-left: 3px solid var(--clay);
}

.page-products .pp-chain__facts .mono {
  display: block;
  color: var(--clay-deep);
  font-size: 1.02rem;
}

.page-products .pp-chain__facts p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-products .pp-chain__note {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-products .pp-data {
  padding-top: clamp(46px, 7vw, 80px);
}

.page-products .pp-data__grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.page-products .pp-data__visual .figure__media {
  clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
}

.page-products .pp-data__content {
  min-width: 0;
}

.page-products .pp-deliverables {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pp-hairline);
  list-style: none;
}

.page-products .pp-deliverable {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pp-hairline);
}

.page-products .pp-deliverable__num {
  color: var(--clay);
  font-size: 1.05rem;
  line-height: 1.5;
}

.page-products .pp-deliverable h3 {
  margin-bottom: 6px;
}

.page-products .pp-deliverable p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-products .pp-deliverable__owner {
  margin-top: 8px !important;
  color: var(--lake) !important;
  font-family: var(--font-mono);
  font-size: 0.7rem !important;
  letter-spacing: 0.03em;
}

.page-products .pp-stories {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.page-products .pp-stories__panel {
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
  border-left: 6px solid var(--clay);
  box-shadow: var(--shadow-soft);
}

.page-products .pp-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--pp-hairline);
  border-bottom: 1px solid var(--pp-hairline);
}

.page-products .pp-story-metrics .stat {
  min-width: 0;
  padding-left: 12px;
  border-left: 2px solid var(--lake-mist);
}

.page-products .pp-story-metrics .stat__num {
  display: block;
  color: var(--clay-deep);
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.1;
}

.page-products .pp-story-metrics .stat__label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.page-products .pp-stories__subhead {
  margin-bottom: 14px;
}

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

.page-products .pp-story-columns li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--lake);
}

.page-products .pp-story-columns .mono {
  color: var(--clay);
  font-size: 0.78rem;
}

.page-products .pp-story-columns strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.page-products .pp-story-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-products .pp-stories__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 24px;
}

.page-products .pp-access {
  padding-top: clamp(46px, 7vw, 80px);
}

.page-products .pp-access__grid {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
  align-items: start;
}

.page-products .pp-access__steps {
  min-width: 0;
}

.page-products .pp-step {
  padding: 18px 0;
  border-top: 1px solid var(--pp-hairline);
  transition: background-color 160ms var(--ease), padding-left 160ms var(--ease);
}

.page-products .pp-step:last-child {
  border-bottom: 1px solid var(--pp-hairline);
}

.page-products .pp-step:hover,
.page-products .pp-step:focus-within,
.page-products .pp-step:focus {
  padding-left: 10px;
  background: rgba(169, 210, 211, 0.18);
  outline: none;
}

.page-products .pp-step__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.page-products .pp-step__num {
  color: var(--clay);
  font-size: 0.9rem;
}

.page-products .pp-step__top h3 {
  flex: 1 1 160px;
  min-width: 0;
}

.page-products .pp-step__time {
  margin: 6px 0 8px;
  color: var(--lake);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.page-products .pp-step > p:not(.pp-step__time) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.page-products .pp-step__materials {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--lake-mist);
}

.page-products .pp-step__materials-title {
  margin: 0 0 5px;
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.page-products .pp-step__materials ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.page-products .pp-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.2;
  white-space: nowrap;
}

.page-products .pp-status--pending {
  background: var(--mist);
  color: var(--muted);
}

.page-products .pp-status--building {
  background: var(--lake-mist);
  color: var(--lake);
}

.page-products .pp-status--syncing {
  background: rgba(224, 122, 79, 0.2);
  color: var(--clay-deep);
}

.page-products .pp-status--live {
  background: var(--lake);
  color: var(--paper);
}

.page-products .pp-access__visual .figure__media {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.page-products .pp-scenes {
  padding-top: clamp(46px, 7vw, 80px);
}

.page-products .pp-scenes__figure {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-products .pp-scene-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.page-products .pp-scene-table th,
.page-products .pp-scene-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--pp-hairline);
  vertical-align: top;
}

.page-products .pp-scene-table thead th {
  border-bottom: 2px solid var(--lake);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.page-products .pp-scene-table tbody th {
  width: 16%;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-products .pp-scene-table tbody td {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-products .pp-scene-table tbody tr {
  transition: background-color 150ms var(--ease);
}

.page-products .pp-scene-table tbody tr:hover {
  background: rgba(169, 210, 211, 0.32);
}

.page-products .pp-scenes__note {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .pp-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.page-products .pp-cta::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -40%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 206, 63, 0.18), transparent 66%);
  pointer-events: none;
}

.page-products .pp-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  align-items: end;
}

.page-products .pp-cta .eyebrow {
  color: var(--feather);
}

.page-products .pp-cta h2 {
  color: var(--cream);
  max-width: 18ch;
}

.page-products .pp-cta__text {
  max-width: 54ch;
  margin: 14px 0 0;
  color: rgba(251, 246, 236, 0.76);
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-products .pp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.page-products .pp-cta .btn--ghost {
  border-color: rgba(251, 246, 236, 0.46);
  color: var(--cream);
}

.page-products .pp-cta .link-ghost {
  color: var(--feather);
}

@media (min-width: 720px) {
  .page-products .pp-line {
    grid-template-columns: 48px minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
  }

  .page-products .pp-line__index {
    padding-top: 3px;
  }

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

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

@media (min-width: 900px) {
  .page-products .pp-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .page-products .pp-track {
    min-height: 460px;
    padding: 24px 26px;
  }

  .page-products .pp-glass {
    position: absolute;
    right: 16px;
    bottom: 52px;
    width: min(272px, 72%);
    margin: 0;
  }

  .page-products .pp-track__caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 17ch;
    margin: 0;
  }

  .page-products .pp-matrix__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.78fr);
  }

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

  .page-products .pp-data__grid {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.45fr);
  }

  .page-products .pp-access__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  }

  .page-products .pp-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
  }

  .page-products .pp-cta__actions {
    justify-content: flex-end;
    max-width: 300px;
  }
}

@media (hover: hover) and (min-width: 900px) {
  .page-products .pp-step__materials {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    border-left-color: transparent;
    transition:
      max-height 180ms var(--ease),
      opacity 160ms var(--ease),
      margin-top 160ms var(--ease),
      padding-top 160ms var(--ease),
      padding-bottom 160ms var(--ease),
      border-color 160ms var(--ease);
  }

  .page-products .pp-step:hover .pp-step__materials,
  .page-products .pp-step:focus .pp-step__materials,
  .page-products .pp-step:focus-within .pp-step__materials {
    max-height: 220px;
    margin-top: 14px;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 1;
    border-left-color: var(--lake-mist);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-line,
  .page-products .pp-step,
  .page-products .pp-step__materials {
    transition: none;
  }
}
