/* PRISMA product page */

.px-wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.px-wrap--wide { width: min(1360px, 100%); }

.px-fig {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.px-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.px-head h2 { max-width: 22ch; }
.px-head .lede { max-width: 60ch; }

/* ── Hero ── */

.hero.px-hero {
  background: linear-gradient(to bottom, var(--void-media) 0, var(--void-media) calc(100% - 220px), var(--paper) calc(100% - 220px));
  padding-top: calc(var(--nav-gap) + var(--nav-h) + clamp(56px, 8vw, 120px));
  padding-bottom: 0;
}

.px-hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(56px, 7vw, 104px);
}

.px-kicker { color: #8f83ff; margin-bottom: 24px; }

.px-hero h1 {
  font-size: clamp(32px, 3.9vw, 58px);
  line-height: 1.06;
  max-width: 15em;
  text-wrap: balance;
}

.px-hero .lede {
  max-width: 44ch;
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
}

.px-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 3vw, 40px);
}

.px-link-quiet {
  font-size: 15px;
  color: var(--fog);
  text-decoration: none;
  transition: color var(--duration-micro) var(--ease-out);
}

.px-link-quiet span { display: inline-block; margin-left: 4px; transition: transform var(--duration-micro) var(--ease-out); }
.px-link-quiet:hover { color: var(--paper); }
.px-link-quiet:hover span { transform: translateY(2px); }
.px-link-quiet:focus-visible { outline: 2px solid #8f83ff; outline-offset: 4px; border-radius: 3px; }

/* Product mock. Sized by its own width, not the viewport. */

.px-term {
  --m-text: #e6e7eb;
  --m-muted: #8b909d;
  --m-faint: #5f6472;
  --m-line: rgba(255, 255, 255, 0.07);
  --m-fill: rgba(255, 255, 255, 0.035);
  --m-raise: rgba(255, 255, 255, 0.07);

  container: term / inline-size;
  position: relative;
  margin: 0;
  background: #0e0c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 100px -40px rgba(10, 8, 24, 0.6), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  color: var(--m-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  overflow: hidden;
}

.px-term p,
.px-term span,
.px-term em,
.px-term b,
.px-term button { font-family: inherit; letter-spacing: inherit; line-height: inherit; }

.px-term em { font-style: normal; }
.px-term b { font-weight: 500; }

.px-id {
  font-family: var(--font-mono) !important;
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.px-term-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--m-line);
  font-size: 12.5px;
}

.px-brand {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em !important;
  color: var(--m-text);
}

.px-crumbs {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--m-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.px-crumbs i { font-style: normal; color: var(--m-faint); padding: 0 6px; }
.px-crumbs b { color: var(--m-text); }

.px-search {
  flex: 0 1 360px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--m-line);
  border-radius: 8px;
  background: var(--m-fill);
  color: var(--m-faint);
  white-space: nowrap;
  overflow: hidden;
}

.px-search-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.px-search svg,
.px-rail svg,
.px-guide svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.px-search kbd {
  margin-left: auto;
  flex: none;
  font-family: var(--font-sans);
  font-size: 12px;
  padding: 0 6px;
  border-radius: 5px;
  border: 1px solid var(--m-line);
  color: var(--m-muted);
}

.px-bar-actions { flex: none; display: flex; gap: 8px; }

.px-ghost,
.px-solid {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 8px;
  white-space: nowrap;
}

.px-ghost { border: 1px solid rgba(255, 255, 255, 0.11); color: var(--m-text); }
.px-solid { background: var(--blue); color: #fff; }

.px-term-body {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) clamp(296px, 26%, 348px);
  grid-template-areas: "rail view side";
  height: clamp(580px, 44vw, 700px);
}

.px-rail {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-right: 1px solid var(--m-line);
}

.px-rail span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--m-faint);
}

.px-rail svg { width: 16px; height: 16px; }
.px-rail .is-on { background: var(--m-raise); color: var(--m-text); }

.px-app-view {
  grid-area: view;
  position: relative;
  min-width: 0;
  background: #0a0818;
  overflow: hidden;
}

.px-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.px-shot--layer { opacity: 0; transition: opacity 1100ms var(--ease-out); }
.px-shot--layer.is-on { opacity: 1; }

.px-toolbar {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 32px);
  padding: 4px;
  background: rgba(14, 12, 22, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  white-space: nowrap;
}

.px-toolbar button,
.px-tool-static {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--m-muted);
}

.px-toolbar button { cursor: pointer; transition: background var(--duration-micro) var(--ease-out), color var(--duration-micro) var(--ease-out); }
.px-toolbar button:hover { color: var(--m-text); }
.px-toolbar button[aria-pressed="true"] { background: var(--m-raise); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.px-toolbar button:focus-visible { outline: 2px solid #8f83ff; outline-offset: 2px; }
.px-tool-static { font-weight: 400; color: var(--m-faint); }
.px-tool-sep { flex: none; width: 1px; height: 16px; background: var(--m-line); margin: 0 4px; }

.px-minimap {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 150px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
}

.px-minimap img { display: block; width: 100%; height: auto; }

.px-minimap i {
  position: absolute;
  left: 26%;
  top: 18%;
  width: 60%;
  height: 62%;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
}

.px-scale {
  position: absolute;
  right: 20px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fff;
}

.px-scale i { width: 48px; height: 4px; border: 1px solid #fff; border-top: 0; }

/* Side panel */

.px-side {
  grid-area: side;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--m-line);
  overflow: hidden;
}

.px-side-block {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px 22px;
  border-bottom: 1px solid var(--m-line);
}

.px-side-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.px-side-row > div { min-width: 0; }
.px-side-title { font-size: 13px; font-weight: 500; color: var(--m-text); }
.px-side-title .px-id { font-size: 13px; }
.px-side-sub { font-size: 12.5px; color: var(--m-muted); margin-top: 2px; }

.px-side-k {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--m-text);
}

.px-side-k em { font-weight: 400; color: var(--m-muted); }

.px-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--m-fill);
  border: 1px solid var(--m-line);
  font-size: 12.5px;
  color: var(--m-muted);
}

.px-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 12px;
  padding: 1px 9px 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--m-muted);
  white-space: nowrap;
}

.px-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--m-faint); }
.px-term:not(.is-analyzed) .px-pill::before { animation: px-pulse 1.2s ease-in-out infinite; }
.px-term.is-analyzed .px-pill { color: var(--m-text); }
.px-term.is-analyzed .px-pill::before { background: var(--m-text); }

@keyframes px-pulse {
  50% { opacity: 0.25; }
}

/* HER2-low analysis */

.px-progress {
  height: 1px;
  background: var(--m-line);
  overflow: hidden;
  transition: opacity var(--duration-move) var(--ease-out);
}

.px-progress i {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.px-term.is-analyzed .px-progress i { background: rgba(255, 255, 255, 0.16); transform: none; }

.px-ai-rows { display: grid; }

.px-bar-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--m-muted);
  margin-top: 8px;
}

.px-bar-row:first-child { margin-top: 0; }
.px-bar-row b { font-weight: 400; color: var(--m-text); }

.px-meter {
  height: 2px;
  margin-top: 6px;
  background: var(--m-line);
  border-radius: 2px;
  overflow: hidden;
}

.px-meter i { display: block; width: 0; height: 100%; background: rgba(255, 255, 255, 0.72); border-radius: 2px; }
.px-meter--low i { background: rgba(255, 255, 255, 0.34); }

.px-ai-foot { font-size: 12px; color: var(--m-muted); }
.px-ai-foot .px-id { font-size: 12px; color: var(--m-text); }

/* Synoptic report */

.px-syn { list-style: none; margin: 0; padding: 0; display: grid; }

.px-syn li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--m-line);
  font-size: 12.5px;
}

.px-syn li:first-child { border-top: 0; padding-top: 0; }
.px-syn span { min-width: 0; color: var(--m-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-syn em { color: var(--m-text); white-space: nowrap; }

.px-syn .px-syn-ai,
.px-syn .px-syn-wait {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.px-syn .px-syn-ai::before,
.px-syn .px-syn-wait::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--m-text);
}

.px-syn .px-syn-wait { color: var(--m-muted); }
.px-syn .px-syn-wait::before { background: transparent; box-shadow: inset 0 0 0 1px var(--m-muted); }

.px-syn-empty { width: 72px; height: 18px; border-radius: 5px; border: 1px dashed rgba(255, 255, 255, 0.14); }

/* Agent */

.px-agent { border-bottom: 0; flex: 1; align-content: start; }

.px-msg {
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--m-fill);
  border: 1px solid var(--m-line);
  font-size: 12.5px;
  color: var(--m-muted);
}

.px-msg .px-id { color: var(--m-text); }
.px-msg--me { justify-self: end; background: var(--m-raise); border-color: transparent; color: var(--m-text); }

.px-ask {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--m-line);
  color: var(--m-faint);
  font-size: 12.5px;
}

.px-term-cap { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }

@container term (max-width: 1099px) {
  .px-term-body { grid-template-columns: 52px minmax(0, 1fr) 288px; }
  .px-minimap { display: none; }
  .px-side-block { padding: 18px 20px; }
}

@container term (max-width: 959px) {
  .px-tool-static, .px-tool-sep { display: none; }
  .px-search { flex-basis: 240px; }
}

@container term (max-width: 859px) {
  .px-term-body {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas: "rail view" "side side";
    height: auto;
  }
  .px-app-view { aspect-ratio: 16 / 10; }
  .px-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; border-top: 1px solid var(--m-line); }
  .px-side-block { border-bottom: 0; }
  .px-side-block + .px-side-block { border-left: 1px solid var(--m-line); }
  .px-agent { display: none; }
}

@container term (max-width: 699px) {
  .px-search { display: none; }
  .px-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-side-block:nth-child(3) { display: none; }
}

@container term (max-width: 559px) {
  .px-term-bar { gap: 14px; height: 50px; padding: 0 14px; }
  .px-crumb-path, .px-ghost { display: none; }
  .px-term-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "view" "side"; }
  .px-rail, .px-scale { display: none; }
  .px-app-view { aspect-ratio: 1 / 1; }
  .px-shot { object-position: 72% 50%; }
  .px-toolbar { bottom: 12px; }
  .px-side { grid-template-columns: minmax(0, 1fr); }
  .px-side-block { padding: 16px; }
  .px-side-block + .px-side-block { border-left: 0; border-top: 1px solid var(--m-line); }
}

@media (prefers-reduced-motion: reduce) {
  .px-shot--layer, .px-progress { transition: none; }
  .px-term:not(.is-analyzed) .px-pill::before { animation: none; }
}

/* ── Cards (paths + workspace) ── */

.px-work { padding-top: clamp(80px, 9vw, 128px); }

main > .section { padding-bottom: clamp(72px, 8vw, 128px); }

.px-trio {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.px-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 30px;
  background: var(--paper-card);
  border: 1px solid rgba(17, 13, 23, 0.06);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-move) var(--ease-out), background var(--duration-move) var(--ease-out);
  outline: none;
}

.px-card:hover,
.px-card:focus-visible { border-color: rgba(17, 13, 23, 0.16); background: #e7e4dc; }
.px-card:focus-visible { box-shadow: 0 0 0 2px var(--blue); }

.px-plate {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 200 / 140;
  margin: 18px auto 32px;
  image-rendering: pixelated;
}

.px-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.px-ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.px-card > p:not(.px-fig) { font-size: 15px; line-height: 1.5; color: var(--ink-muted); max-width: 36ch; }

.px-card-meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px !important;
  color: var(--ink) !important;
}

.px-card-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.px-card-link span { display: inline-block; transition: transform var(--duration-micro) var(--ease-out); }
.px-card-link:hover span { transform: translateX(3px); }
.px-card-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.px-tip {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 2px solid var(--blue);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 78ch;
}

.px-tip b { color: var(--ink); font-weight: 500; }

.px-grid4 {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.px-grid4 li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.px-grid4 .px-ico { margin-bottom: 8px; }

.px-grid4 h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 500; color: var(--ink); }

.px-grid4 p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

/* ── AI library ── */

.px-matrix-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: stretch;
}

.px-matrix-scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.px-matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.px-matrix th,
.px-matrix td {
  padding: 0;
  height: 52px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.px-matrix tr:last-child th,
.px-matrix tr:last-child td { border-bottom: 0; }

.px-matrix thead th {
  height: 56px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.3;
}

.px-matrix th[scope="row"],
.px-matrix thead th:first-child {
  text-align: left;
  padding-left: 20px;
  position: sticky;
  left: 0;
  background: var(--paper);
}

.px-matrix th[scope="row"] { font-weight: 500; color: var(--ink); white-space: nowrap; }
.px-matrix tbody tr { transition: background var(--duration-micro) var(--ease-out); }
.px-matrix tbody tr:hover { background: rgba(48, 27, 235, 0.03); }

.px-matrix td button {
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0;
  position: relative;
}

.px-matrix td button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform var(--duration-micro) var(--ease-out), background var(--duration-micro) var(--ease-out);
}

.px-matrix td button:hover::before { transform: scale(1.35); background: var(--blue); }
.px-matrix td button.is-on::before { background: var(--blue); transform: scale(1.35); box-shadow: 0 0 0 5px rgba(48, 27, 235, 0.14); }
.px-matrix td button:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: 8px; }

.px-no::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  background: var(--line);
  vertical-align: middle;
}

.px-tipbox {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--paper-card);
  border: 1px solid rgba(17, 13, 23, 0.06);
  color: var(--ink);
}

.px-tip-k { font-size: 13px; font-weight: 500; color: var(--blue); }

.px-tip-note { font-size: 17px; line-height: 1.45; color: var(--ink); }

.px-stains {
  list-style: none;
  padding: 18px 0 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
  border-top: 1px solid var(--line);
}

.px-stains .px-fig { font-family: var(--font-sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 4px; }
.px-stains li > p:not(.px-fig) { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }

.px-note { margin-top: 16px; font-size: 13px; color: var(--ink-muted); max-width: 80ch; }

/* ── Network band ── */

.px-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px);
  background: var(--paper-card);
  border: 1px solid rgba(17, 13, 23, 0.06);
  border-radius: var(--radius-lg);
}

.px-band .kicker { margin-bottom: 14px; }
.px-band h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; max-width: 26ch; margin-bottom: 12px; }
.px-band-copy > p:last-child { font-size: 16px; line-height: 1.55; color: var(--ink-muted); max-width: 64ch; }
.px-band-links { display: grid; gap: 12px; justify-items: start; }
.px-band-links .px-card-link { padding-top: 0; white-space: nowrap; }

/* ── FAQ ── */

.px-faq-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 48px; align-items: start; }

.px-faq-list details { border-top: 1px solid var(--line); }
.px-faq-list details:last-child { border-bottom: 1px solid var(--line); }

.px-faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.px-faq-list summary::-webkit-details-marker { display: none; }

.px-faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-muted);
  transition: transform var(--duration-micro) var(--ease-out);
}

.px-faq-list details[open] summary::after { transform: rotate(45deg); }
.px-faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.px-faq-list details p { padding: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-muted); max-width: 62ch; }

/* ── Responsive ── */

@media (max-width: 1000px) {
  .px-matrix-wrap { grid-template-columns: minmax(0, 1fr); }
  .px-grid4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .px-trio, .px-stains, .px-band { grid-template-columns: 1fr; }
  .px-plate { max-width: 300px; }
  .px-faq-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .hero.px-hero { background: linear-gradient(to bottom, var(--void-media) 0, var(--void-media) calc(100% - 140px), var(--paper) calc(100% - 140px)); }
  .px-grid4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .px-shot, .px-card, .px-matrix td button::before, .px-card-link span { transition: none; }
}
