.page-products {
  background: var(--surface-0);
  color: var(--text);
  overflow-x: clip;
}

.page-products .pf-section {
  padding: clamp(44px, 7vw, 96px) 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .pf-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-products .pf-head__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .pf-head__kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

.page-products .pf-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 14px;
  text-wrap: balance;
}

.page-products .pf-head__sub {
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.68;
  margin: 0;
}

.page-products .pf-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 clamp(20px, 3vw, 28px);
  max-width: 60ch;
}

.page-products .pf-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--status);
}

/* ---------- hero ---------- */
.page-products .pf-hero {
  position: relative;
  padding: clamp(18px, 3vw, 32px) 0 clamp(40px, 6vw, 76px);
  background:
    radial-gradient(110% 88% at 88% -10%, rgba(77, 255, 210, 0.15), transparent 62%),
    radial-gradient(90% 70% at -5% 105%, rgba(140, 123, 255, 0.13), transparent 64%),
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-products .pf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(36, 84, 71, 0.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 84, 71, 0.32) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 10%, #000 0%, transparent 76%);
  mask-image: radial-gradient(120% 100% at 70% 10%, #000 0%, transparent 76%);
}

.page-products .pf-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .breadcrumb {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-products .pf-hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-products .pf-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.page-products .pf-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  text-wrap: balance;
}

.page-products .pf-hero__lede {
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 clamp(22px, 3vw, 30px);
}

.page-products .pf-hero__actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pf-hero__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--sh-card);
  transform: translateZ(0);
}

.page-products .pf-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pf-hero__figure figcaption {
  display: block;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  background: var(--surface-1);
}

.page-products .pf-meters {
  list-style: none;
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pf-meters__item {
  background: var(--surface-1);
  padding: 14px 16px;
  min-width: 0;
}

.page-products .pf-meters__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--accent);
  line-height: 1.1;
}

.page-products .pf-meters__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- archive tabs ---------- */
.page-products .pf-switch {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.page-products .pf-switch__rail {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-products .pf-switch__btn {
  flex: 0 0 auto;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-1);
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--r);
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .pf-switch__btn:hover {
  color: var(--text-strong);
  border-color: var(--line);
  border-left-color: var(--accent-alt);
}

.page-products .pf-switch__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-products .pf-switch__btn[aria-selected="true"] {
  color: var(--ice-mint);
  background: var(--surface-2);
  border-color: var(--accent);
  border-left-color: var(--accent);
  box-shadow: var(--sh-accent);
}

.page-products .pf-switch__idx {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.page-products .pf-switch__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: normal;
}

.page-products .pf-switch__txt strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .pf-switch__txt em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

.page-products .pf-switch__btn--compact {
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.page-products .pf-switch__panel {
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--sh-card);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r);
}

.page-products .pf-switch__panel--plain {
  box-shadow: var(--sh-accent);
  background: var(--surface-1);
}

.page-products .pf-switch__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin: 0 0 12px;
}

.page-products .pf-switch__panel p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}

.page-products .pf-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pf-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-products .pf-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- split ---------- */
.page-products .pf-split {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-products .pf-split__text {
  min-width: 0;
}

.page-products .pf-split__media {
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.page-products .pf-split__media > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
  background: var(--surface-2);
  object-fit: cover;
}

.page-products .pf-split__media > figcaption {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.page-products .pf-figure-under {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .pf-figure-under img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--surface-2);
  object-fit: cover;
}

.page-products .pf-figure-under figcaption {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.page-products .pf-split__text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 4.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin: 0 0 14px;
  text-wrap: balance;
}

/* ---------- steps ---------- */
.page-products .pf-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pf-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text);
}

.page-products .pf-steps__n {
  display: block;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  color: var(--pitch-black);
  background: var(--accent);
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ---------- chips / counts ---------- */
.page-products .pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.page-products .pf-count {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  background: rgba(16, 60, 47, 0.45);
}

/* ---------- fields ---------- */
.page-products .pf-fields {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pf-fields li {
  background: var(--surface-2);
  padding: 9px 12px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text);
}

.page-products .pf-fields--inline {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.page-products .pf-fields--inline li {
  text-align: center;
  background: var(--surface-2);
  color: var(--accent);
}

.page-products .pf-fields__note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- timeline ---------- */
.page-products .pf-timeline {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 48px);
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.page-products .pf-timeline__item {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 20px;
  display: grid;
  gap: 8px;
  border-top: 3px solid var(--accent);
}

.page-products .pf-timeline__time {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.page-products .pf-timeline__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--status);
  display: block;
}

.page-products .pf-timeline__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  margin: 0;
}

.page-products .pf-timeline__item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.page-products .pf-split--chain {
  align-items: center;
}

/* ---------- device preview ---------- */
.page-products .pf-device {
  display: flex;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(36, 84, 71, 0.28) 0 8px,
      transparent 8px 16px
    ),
    var(--surface-0);
  margin-bottom: 12px;
}

.page-products .pf-device img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--surface-2);
  object-fit: cover;
}

.page-products .pf-device--narrow {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- audience ---------- */
.page-products .pf-audience {
  list-style: none;
  margin: 0 0 clamp(30px, 4vw, 52px);
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pf-audience__item {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-products .pf-audience__item--violet { border-left-color: var(--accent-alt); }
.page-products .pf-audience__item--orange { border-left-color: var(--status); }
.page-products .pf-audience__item--mint { border-left-color: var(--ice-mint); }

.page-products .pf-audience__item h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  margin: 0;
}

.page-products .pf-audience__item p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-muted);
  margin: 0;
}

.page-products .pf-audience__item a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  justify-self: start;
}

.page-products .pf-audience__item a:hover {
  border-bottom-color: var(--accent);
}

/* ---------- cta ---------- */
.page-products .pf-cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 72%);
  box-shadow: var(--sh-accent);
  padding: clamp(22px, 3.4vw, 44px);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  border-radius: var(--r);
}

.page-products .pf-cta__text h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-strong);
  margin: 0 0 12px;
}

.page-products .pf-cta__text p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
  margin: 0;
  max-width: 58ch;
}

.page-products .pf-cta__actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

/* ---------- breakpoints ---------- */
@media (min-width: 700px) {
  .page-products .pf-meters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 880px) {
  .page-products .pf-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: end;
    gap: clamp(32px, 4vw, 64px);
  }

  .page-products .pf-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 60px);
  }

  .page-products .pf-split--flip .pf-split__text {
    order: 2;
  }

  .page-products .pf-split--flip .pf-split__media {
    order: 1;
  }

  .page-products .pf-switch {
    grid-template-columns: minmax(0, 292px) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pf-switch__rail {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
    position: sticky;
    top: calc(var(--rail-h) + 12px);
  }

  .page-products .pf-switch__btn {
    white-space: normal;
  }

  .page-products .pf-switch--slim {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .pf-switch--slim .pf-switch__rail {
    flex-direction: row;
    position: static;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .page-products .pf-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: clamp(30px, 4vw, 52px);
  }

  .page-products .pf-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 46px;
    height: 1px;
    background: var(--line);
    z-index: 0;
  }

  .page-products .pf-timeline__item {
    z-index: 1;
  }

  .page-products .pf-timeline__item:nth-child(2) {
    transform: translateY(20px);
  }

  .page-products .pf-timeline__item:nth-child(3) {
    transform: translateY(40px);
  }

  .page-products .pf-split--chain {
    margin-top: 34px;
  }

  .page-products .pf-cta {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-products .pf-audience {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pf-switch__btn,
  .page-products .pf-audience__item a {
    transition: none;
  }

  .page-products .pf-timeline__item:nth-child(2),
  .page-products .pf-timeline__item:nth-child(3) {
    transform: none;
  }
}
