.page-products {
  --pp-shadow: 5px 5px 0 var(--black);
  --pp-border: 2px solid var(--black);
  --pp-soft: 1px solid var(--line);
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3,
.page-products p,
.page-products ul,
.page-products ol {
  margin: 0;
}

.page-products ul,
.page-products ol {
  padding: 0;
  list-style: none;
}

.page-products a {
  color: inherit;
}

.page-products .section {
  padding-block: 52px;
}

.page-products .section-band {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .section-head {
  max-width: 720px;
}

.page-products .section-head .lede {
  margin-top: 14px;
}

.page-products .eyebrow {
  margin-bottom: 12px;
}

.page-products .body-copy {
  color: var(--paper);
  opacity: 0.92;
}

.page-products .image-frame {
  overflow: hidden;
  border-radius: 10px;
  border: var(--pp-soft);
  background: var(--ink-700);
}

.page-products .image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

/* ---------- Hero ---------- */
.product-hero {
  position: relative;
  padding-top: 28px;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 78%;
  height: 130%;
  background: linear-gradient(165deg, var(--ink-700), transparent 72%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
  pointer-events: none;
}

.product-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.product-hero__copy .display-title {
  color: var(--paper);
}

.product-hero__copy .lede {
  margin-top: 18px;
  max-width: 34em;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.product-hero__meta {
  margin-top: 26px;
}

.product-hero__meta .tag {
  white-space: nowrap;
}

/* device mock */
.product-hero__device {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 100%;
  max-width: 320px;
  border: 3px solid var(--cyan-500);
  border-radius: 26px;
  background: var(--ink-800);
  padding: 18px 16px 24px;
  box-shadow: 10px 10px 0 var(--black);
}

.device-frame__capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 16px;
}

.device-frame__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.device-frame__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(38, 240, 192, 0.18);
}

.device-frame__card {
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 16px;
  margin-bottom: 14px;
}

.device-frame__kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange-500);
  margin-bottom: 8px;
}

.device-frame__title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 12px;
}

.device-frame__rows {
  display: grid;
  gap: 8px;
}

.device-frame__rows span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-700);
}

.device-frame__rows span:nth-child(2) {
  width: 76%;
}

.device-frame__rows span:nth-child(3) {
  width: 54%;
}

.device-frame__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.device-frame__split-col {
  display: grid;
  gap: 7px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.device-frame__split-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.device-frame__bar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--ink-700);
}

.device-frame__bar--short {
  width: 62%;
}

.device-frame__bar--accent {
  background: var(--orange-500);
}

/* ---------- Path ---------- */
.path-visual {
  margin-top: 32px;
  aspect-ratio: 3 / 2;
}

.path-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 34px;
  counter-reset: path;
}

.path-step {
  background: var(--ink-800);
  border: var(--pp-border);
  border-radius: 6px;
  box-shadow: var(--pp-shadow);
  padding: 18px 18px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.path-step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black);
}

.path-step__num {
  display: inline-block;
  background: var(--cyan-500);
  color: var(--ink-950);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.path-step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 8px;
}

.path-step__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- Team page wireframe ---------- */
.team-wireframe {
  margin-top: 30px;
  background: var(--ink-800);
  border: var(--pp-border);
  border-radius: 6px;
  box-shadow: var(--pp-shadow);
  overflow: hidden;
}

.team-wireframe__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.team-wireframe__tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
}

.team-wireframe__body {
  display: grid;
  grid-template-columns: 1fr;
}

.team-wireframe__col {
  padding: 20px 18px 22px;
  border-bottom: 1px solid var(--line);
}

.team-wireframe__col:last-child {
  border-bottom: 0;
}

.team-wireframe__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  margin-bottom: 16px;
}

.wire-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wire-row:last-child {
  margin-bottom: 0;
}

.wire-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-500);
}

.wire-line {
  height: 8px;
  flex: 1 1 auto;
  border-radius: 999px;
  background: var(--ink-700);
}

.wire-line--short {
  flex: 0 0 58%;
}

.wire-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wire-bars span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-200));
}

.wire-bars span:nth-child(1) {
  width: 82%;
}

.wire-bars span:nth-child(2) {
  width: 58%;
}

.wire-bars span:nth-child(3) {
  width: 70%;
}

.wire-bars span:nth-child(4) {
  width: 44%;
}

/* ---------- Home / away ---------- */
.ha-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 32px;
}

.ha-layout__media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ha-layout__media .image-frame {
  aspect-ratio: 4 / 3;
}

.ha-layout__panel {
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px 22px;
}

.ha-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.ha-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ha-tab.is-active {
  background: var(--orange-500);
  color: var(--ink-950);
}

.ha-tab:focus-visible {
  outline: 2px solid var(--cyan-300);
  outline-offset: 2px;
}

.ha-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.ha-stat {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 10px 10px;
}

.ha-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.1;
  color: var(--cyan-500);
}

.ha-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.ha-bar__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ha-bar__row:last-child {
  margin-bottom: 0;
}

.ha-bar__label {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  min-width: 48px;
}

.ha-bar__track {
  flex: 1 1 auto;
  height: 10px;
  border-radius: 999px;
  background: var(--ink-700);
  overflow: hidden;
}

.ha-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.ha-bar__fill--orange {
  background: var(--orange-500);
}

.ha-bar__fill--cyan {
  background: var(--cyan-500);
}

.ha-bar__fill[data-level="high"] {
  width: 78%;
}

.ha-bar__fill[data-level="mid"] {
  width: 52%;
}

.ha-bar__fill[data-level="low"] {
  width: 30%;
}

.ha-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ha-form__item {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--line);
}

.ha-form__item--w {
  background: var(--cyan-500);
  color: var(--ink-950);
  border-color: transparent;
}

.ha-form__item--d {
  background: var(--ink-700);
  color: var(--paper);
}

.ha-form__item--l {
  background: transparent;
  color: var(--mist);
}

.ha-panel[hidden] {
  display: none;
}

/* ---------- Report ---------- */
.report-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink-800);
  border: var(--pp-border);
  border-radius: 6px;
  box-shadow: var(--pp-shadow);
  overflow: hidden;
}

.report-card__media {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
}

.report-card__copy {
  padding: 24px 20px 28px;
}

.report-card__copy .section-title {
  margin-bottom: 14px;
}

.report-card__copy .tag-row {
  margin: 18px 0 22px;
}

/* ---------- Index ---------- */
.index-filter {
  margin-top: 30px;
}

.index-filter .tag-row {
  gap: 8px;
}

.index-filter .tag {
  appearance: none;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-mono);
  background: transparent;
  color: var(--mist);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.index-filter .tag.is-active {
  background: var(--cyan-500);
  color: var(--ink-950);
  border-color: transparent;
}

.index-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.index-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}

.index-item__type {
  flex: 0 0 auto;
  background: var(--ink-700);
  color: var(--cyan-300);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.index-item__text {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
}

.index-item__meta {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--orange-500);
  letter-spacing: 0.04em;
}

.index-item.is-filtered-out {
  display: none;
}

/* ---------- Mobile ---------- */
.mobile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.mobile-layout__copy .section-title {
  margin-bottom: 16px;
}

.mobile-points {
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}

.mobile-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
}

.mobile-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan-500);
}

.mobile-layout__device {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
}

/* ---------- Scenarios ---------- */
.scenario-rail {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  padding: 6px 2px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.scenario-rail:focus-visible {
  outline: 2px solid var(--cyan-300);
  outline-offset: 4px;
}

.scenario-card {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--ink-900);
  border: var(--pp-border);
  border-radius: 6px;
  box-shadow: var(--pp-shadow);
  padding: 22px 20px 24px;
}

.scenario-card__num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange-500);
  border: 1px solid rgba(255, 138, 61, 0.4);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.scenario-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 10px;
}

.scenario-card__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- Start ---------- */
.start-block {
  position: relative;
  background: var(--ink-800);
  border: 3px solid var(--cyan-500);
  box-shadow: 8px 8px 0 var(--black);
  padding: 34px 22px 36px;
}

.start-block .display-title {
  margin-bottom: 16px;
}

.start-block .lede {
  max-width: 40em;
}

.start-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.start-block__more {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.start-block__more a {
  font-size: 14px;
  color: var(--cyan-300);
  text-decoration: none;
  border-bottom: 1px dashed rgba(141, 255, 229, 0.5);
  padding-bottom: 1px;
  width: fit-content;
}

.start-block__more a:hover,
.start-block__more a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .page-products .section {
    padding-block: 68px;
  }

  .path-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ha-layout__media {
    grid-template-columns: 1fr 1fr;
  }

  .index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-card {
    flex-basis: 58%;
  }

  .report-card__copy {
    padding: 28px 26px 30px;
  }

  .start-block {
    padding: 44px 32px 46px;
  }
}

@media (min-width: 880px) {
  .product-hero {
    padding-top: 44px;
  }

  .product-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 52px;
  }

  .product-hero__device {
    justify-content: flex-end;
  }

  .path-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .team-wireframe__body {
    grid-template-columns: 1fr 1fr;
  }

  .team-wireframe__col {
    border-bottom: 0;
  }

  .team-wireframe__col + .team-wireframe__col {
    border-left: 1px solid var(--line);
  }

  .ha-layout {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
    gap: 24px;
  }

  .ha-layout__media {
    grid-template-columns: 1fr;
  }

  .ha-layout__media .image-frame {
    aspect-ratio: 4 / 3;
  }

  .report-card {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }

  .report-card__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
  }

  .mobile-layout {
    grid-template-columns: 7fr 5fr;
    gap: 44px;
  }

  .mobile-layout__device {
    margin: 0;
    justify-self: end;
  }

  .scenario-card {
    flex-basis: 34%;
  }

  .start-block__more {
    grid-auto-flow: column;
    justify-content: start;
    gap: 28px;
  }
}

@media (min-width: 1180px) {
  .page-products .section {
    padding-block: 84px;
  }

  .scenario-card {
    flex-basis: 31%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-step {
    transition: none;
  }

  .path-step:hover {
    transform: none;
    box-shadow: var(--pp-shadow);
  }

  .ha-tab {
    transition: none;
  }
}
<<<END>>>
