.page-products {
  --pp-white: #fffdf9;
  --pp-deep: var(--ink-950);
  --pp-mid: var(--ink-800);
  --pp-line: var(--line-300);
  --pp-coral: var(--coral-500);
  --pp-coral-soft: var(--coral-200);
  --pp-green: var(--celadon-500);
  --pp-sand: var(--sand-200);
  background: var(--paper-100);
  color: var(--black-900);
  overflow-x: clip;
}

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

.page-products img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-products .products-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 0 44px;
  color: var(--paper-100);
  background:
    radial-gradient(circle at 84% 18%, rgba(242, 107, 74, 0.2), transparent 26%),
    linear-gradient(135deg, var(--ink-950) 0%, var(--ink-800) 68%, var(--ink-600) 130%);
  border-bottom: var(--edge) solid var(--ink-950);
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -58px;
  width: 180px;
  height: 180px;
  border: 3px solid rgba(255, 179, 138, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .products-hero .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(245, 241, 234, 0.78);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

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

.page-products .products-hero .breadcrumb a:hover {
  color: var(--coral-200);
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-products .hero-copy .eyebrow {
  color: var(--coral-200);
  margin-bottom: 16px;
}

.page-products .hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-products .hero-copy h1 span {
  display: inline-block;
  color: var(--coral-200);
  border-bottom: 6px solid var(--coral-500);
}

.page-products .hero-lead {
  max-width: 44rem;
  margin: 22px 0 0;
  color: #d8e6ec;
  font-size: 1rem;
  line-height: 1.8;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .hero-stats {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 2px solid rgba(201, 214, 223, 0.24);
}

.page-products .hero-stats > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #c9d6df;
  font-size: 13px;
  line-height: 1.5;
}

.page-products .hero-stats__num {
  color: var(--coral-200);
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.page-products .hero-index {
  align-self: stretch;
  padding: 20px 18px;
  background: rgba(245, 241, 234, 0.08);
  border: 3px solid rgba(245, 241, 234, 0.34);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--coral-500);
}

.page-products .hero-index__label {
  margin: 0 0 12px;
  color: var(--coral-200);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-products .hero-index ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .hero-index li {
  border-bottom: 1px dashed rgba(201, 214, 223, 0.32);
}

.page-products .hero-index li:last-child {
  border-bottom: 0;
}

.page-products .hero-index a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 2px;
  color: var(--paper-100);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.page-products .hero-index a span {
  color: var(--coral-200);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.page-products .hero-index a:hover,
.page-products .hero-index a:focus-visible {
  color: var(--coral-200);
  transform: translateX(3px);
}

.page-products .hero-index__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 2px solid rgba(201, 214, 223, 0.22);
  color: #c9d6df;
  font-size: 12.5px;
  line-height: 1.65;
}

.page-products .products-layout {
  display: block;
  padding-top: 30px;
  padding-bottom: 70px;
}

.page-products .filter-rail {
  margin-bottom: 26px;
}

.page-products .filter-card {
  margin-bottom: 14px;
  padding: 16px;
  background: var(--pp-white);
  border: var(--edge) solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(7, 26, 43, 0.9);
}

.page-products .filter-card--muted {
  background: #ece4d8;
}

.page-products .filter-card__head {
  margin: 0 0 10px;
  color: var(--ink-600);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-products .filter-card nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.page-products .filter-card nav a {
  display: block;
  padding: 9px 10px;
  color: var(--black-900);
  border: 2px solid var(--pp-line);
  border-radius: 4px;
  background: var(--paper-100);
  font-size: 13px;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-products .filter-card nav a:hover,
.page-products .filter-card nav a:focus-visible,
.page-products .filter-card nav a.is-active {
  color: #fff;
  background: var(--pp-coral);
  border-color: var(--pp-deep);
}

.page-products .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-products .rail-help {
  display: block;
  padding: 16px;
  color: var(--paper-100);
  background: var(--pp-deep);
  border: 3px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--pp-coral);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
}

.page-products .rail-help span {
  display: block;
  margin-top: 10px;
  color: var(--coral-200);
  font-family: var(--font-body);
  font-size: 12px;
}

.page-products .stage {
  display: grid;
  gap: 46px;
}

.page-products .stage-section {
  scroll-margin-top: 24px;
}

.page-products .stage-head {
  margin-bottom: 20px;
}

.page-products .stage-head h2 {
  max-width: 18ch;
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-products .lede {
  max-width: 64ch;
  margin: 0;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .entry-layout {
  display: grid;
  gap: 22px;
}

.page-products .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 154px;
  padding: 16px 14px 14px;
  background: var(--pp-white);
  border: 2px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(7, 26, 43, 0.92);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-products .entry-card:hover,
.page-products .entry-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 rgba(7, 26, 43, 0.96);
}

.page-products .entry-card__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--pp-coral);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.page-products .entry-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
}

.page-products .entry-card p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.page-products .entry-card .tag {
  margin-top: auto;
}

.page-products .page-fig {
  margin: 0;
  overflow: hidden;
  background: var(--pp-white);
  border: var(--edge) solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.page-products .page-fig img {
  width: 100%;
  object-fit: cover;
}

.page-products .page-fig figcaption {
  padding: 11px 14px;
  color: #475569;
  border-top: 2px solid var(--pp-line);
  font-size: 12.5px;
  line-height: 1.6;
}

.page-products .entry-fig {
  align-self: start;
}

.page-products .welcome-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-products .welcome-card {
  padding: 18px;
  color: var(--paper-100);
  background: var(--pp-mid);
  border: 3px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--pp-coral);
}

.page-products .welcome-card--light {
  color: var(--black-900);
  background: var(--pp-coral-soft);
  box-shadow: 5px 5px 0 var(--pp-deep);
}

.page-products .welcome-card__kicker {
  margin: 0 0 8px;
  color: var(--coral-200);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-products .welcome-card--light .welcome-card__kicker {
  color: var(--ink-800);
}

.page-products .welcome-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.page-products .welcome-card p:not(.welcome-card__kicker) {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-products .welcome-card a {
  color: var(--coral-200);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-products .welcome-card--light a {
  color: var(--ink-800);
}

.page-products .welcome-card a:hover {
  text-decoration: underline;
}

.page-products .version-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-products .table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 2px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(7, 26, 43, 0.8);
}

.page-products table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  background: var(--pp-white);
  font-size: 13px;
  line-height: 1.55;
}

.page-products caption {
  padding: 12px 14px;
  color: var(--ink-600);
  border-bottom: 2px solid var(--pp-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
}

.page-products th {
  padding: 11px 12px;
  color: var(--paper-100);
  background: var(--pp-deep);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
}

.page-products td {
  padding: 12px;
  border-bottom: 1px solid var(--pp-line);
  vertical-align: top;
}

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

.page-products tbody tr:hover td {
  background: rgba(255, 179, 138, 0.2);
}

.page-products .version-code {
  display: inline-block;
  padding: 2px 6px;
  color: var(--ink-950);
  background: #dbe7ee;
  border: 1px solid var(--line-300);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.page-products .inline-note,
.page-products .callout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 16px;
  background: #e8f1ef;
  border-left: 6px solid var(--pp-green);
}

.page-products .inline-note p,
.page-products .callout p {
  margin: 0;
  color: #29443f;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-products .inline-note a,
.page-products .callout a {
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-products .inline-note a:hover,
.page-products .callout a:hover {
  text-decoration: underline;
}

.page-products .callout--celadon {
  background: #e4f0ec;
  border-left-color: var(--pp-green);
}

.page-products .elder-band {
  padding: 22px 16px;
  background: var(--pp-sand);
  border: 3px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.page-products .elder-layout {
  display: grid;
  gap: 20px;
}

.page-products .step-list {
  display: grid;
  gap: 0;
}

.page-products .step {
  border-bottom: 2px solid rgba(17, 24, 39, 0.2);
}

.page-products .step:last-child {
  border-bottom: 0;
}

.page-products .step summary {
  padding: 13px 4px;
  cursor: pointer;
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.page-products .step summary::marker {
  color: var(--pp-coral);
}

.page-products .step p {
  margin: 0 4px 14px;
  color: #3f3a33;
  font-size: 13.5px;
  line-height: 1.75;
}

.page-products .elder-fig {
  align-self: start;
  box-shadow: 5px 5px 0 rgba(7, 26, 43, 0.9);
}

.page-products .elder-link {
  margin: 16px 0 0;
}

.page-products .elder-link a {
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
}

.page-products .download-layout {
  display: grid;
  gap: 20px;
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .check-card {
  padding: 14px;
  background: var(--pp-white);
  border: 2px solid var(--pp-deep);
  border-left: 6px solid var(--pp-coral);
  border-radius: 4px;
}

.page-products .check-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.page-products .check-card p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.page-products .check-details {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--pp-white);
  border: 2px solid var(--pp-deep);
  border-radius: var(--radius);
}

.page-products .check-details summary {
  cursor: pointer;
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 700;
}

.page-products .check-details ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.8;
}

.page-products .download-note {
  margin: 14px 0 0;
  color: var(--ink-600);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
}

.page-products .inline-link {
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
}

.page-products .time-grid {
  display: grid;
  gap: 12px;
}

.page-products .time-card {
  padding: 16px;
  background: var(--pp-white);
  border: 2px solid var(--pp-deep);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(7, 26, 43, 0.8);
}

.page-products .time-card--coral {
  background: #fff0e9;
  border-color: var(--pp-coral);
  box-shadow: 4px 4px 0 var(--pp-coral);
}

.page-products .time-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 7px;
  color: var(--paper-100);
  background: var(--pp-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.page-products .time-card strong {
  display: block;
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.page-products .time-card p {
  margin: 9px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.page-products .appointment-panel {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.page-products .prep-block,
.page-products .contact-panel {
  padding: 18px;
  border: 3px solid var(--pp-deep);
  border-radius: var(--radius);
}

.page-products .prep-block {
  background: var(--pp-white);
  box-shadow: 4px 4px 0 rgba(7, 26, 43, 0.85);
}

.page-products .contact-panel {
  color: var(--paper-100);
  background: var(--pp-deep);
  box-shadow: 5px 5px 0 var(--pp-coral);
}

.page-products .prep-block h3,
.page-products .contact-panel h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.page-products .prep-list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.8;
}

.page-products .contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 10px;
  color: var(--paper-100);
  font-size: 13.5px;
  line-height: 1.6;
  word-break: break-word;
}

.page-products .contact-line span {
  color: var(--coral-200);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.page-products .contact-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 214, 223, 0.25);
  color: #c9d6df;
  font-size: 12px;
  line-height: 1.65;
}

.page-products .next-reads {
  display: grid;
  gap: 10px;
  padding-top: 26px;
  border-top: 3px solid var(--pp-deep);
}

.page-products .next-reads a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  color: var(--black-900);
  background: var(--pp-white);
  border: 2px solid var(--pp-line);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.page-products .next-reads a span {
  color: var(--coral-500);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-products .next-reads a:hover,
.page-products .next-reads a:focus-visible {
  border-color: var(--pp-deep);
  transform: translateY(-2px);
}

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

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

  .page-products .hero-stats > div {
    display: block;
  }

  .page-products .hero-stats__num {
    display: block;
    margin-bottom: 6px;
  }

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

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

@media (min-width: 760px) {
  .page-products .products-hero {
    padding-top: 28px;
    padding-bottom: 56px;
  }

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

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

  .page-products .appointment-panel {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .elder-band {
    padding: 28px 24px;
  }

  .page-products .elder-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: start;
    gap: 42px;
  }

  .page-products .entry-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-products .entry-fig {
    position: sticky;
    top: 24px;
  }

  .page-products .download-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: start;
  }

  .page-products .stage {
    gap: 56px;
  }
}

@media (min-width: 1024px) {
  .page-products .products-layout {
    display: grid;
    grid-template-columns: 218px minmax(0, 1fr);
    gap: 38px;
    padding-top: 40px;
    padding-bottom: 88px;
  }

  .page-products .filter-rail {
    position: sticky;
    top: 22px;
    align-self: start;
    margin-bottom: 0;
  }

  .page-products .filter-card nav {
    display: block;
  }

  .page-products .filter-card nav a {
    margin-bottom: 6px;
  }

  .page-products .filter-card nav a:last-child {
    margin-bottom: 0;
  }

  .page-products .stage-head h2 {
    max-width: 20ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
