.page-products {
  --p-grid-dot: rgba(57, 255, 136, 0.07);
  --p-deco-line: rgba(29, 58, 99, 0.9);
  --p-cut-card: 16px;
  position: relative;
  color: var(--c-text-high);
  background:
    radial-gradient(circle at 12px 12px, var(--p-grid-dot) 1.5px, transparent 1.5px),
    var(--c-bg-deep);
  background-size: 26px 26px, auto;
  max-width: 100%;
  overflow-x: hidden;
}

.p-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
  max-width: 1320px;
  margin: 0 auto;
}

.p-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-text-mid);
}

.p-breadcrumb a {
  color: var(--c-accent-green);
  text-decoration: none;
}

.p-breadcrumb-sep {
  color: var(--c-line);
}

.p-breadcrumb-current {
  color: var(--c-text-high);
}

.p-topbar-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-accent-orange);
  text-decoration: none;
  white-space: nowrap;
}

.p-hero {
  padding: 40px 20px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.p-hero-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.p-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 820px;
}

.p-hero-lead {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 0 32px;
}

.p-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--p-deco-line);
  padding-top: 24px;
}

.p-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--c-bg-navy);
  border-left: 3px solid var(--c-accent-green);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.p-stat-num {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-text-high);
  letter-spacing: -0.03em;
}

.p-stat-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--c-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.p-section {
  padding: 56px 20px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

.p-section-alt {
  background: var(--c-bg-navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.p-sechead {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.p-sechead h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
}

.p-sec-no {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--c-accent-green);
  margin-left: auto;
  border: 1px solid var(--c-accent-green);
  padding: 6px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.p-overview-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}

.p-overview-copy p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 10px;
}

.p-overview-copy .p-overview-sub {
  color: var(--c-text-high);
}

.p-overview-figure {
  min-width: 0;
}

.p-img-frame {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-line);
  background: var(--c-bg-navy);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.p-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 28px;
}

.p-filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-text-mid);
  background: var(--c-bg-navy);
  border: 1px solid var(--c-line);
  padding: 8px 14px;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.p-filter-btn.is-active {
  color: var(--c-bg-deep);
  background: var(--c-accent-green);
  border-color: var(--c-accent-green);
}

.p-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.p-module-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  background: var(--c-bg-navy);
  border-left: 4px solid var(--c-accent-orange);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  position: relative;
  transition: transform var(--t-fast);
}

.p-module-card:hover {
  transform: translateY(-2px);
}

.p-module-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.p-module-no {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-accent-orange);
  white-space: nowrap;
}

.p-module-icon {
  width: 22px;
  height: 22px;
  color: var(--c-accent-green);
}

.p-module-title h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
}

.p-module-desc {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.p-module-desc p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--c-text-mid);
  margin: 0;
  flex: 1;
}

.p-module-arrow {
  color: var(--c-accent-green);
  font-size: 1.1rem;
  line-height: 1;
}

.p-member-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.p-member-content p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 20px;
}

.p-league-panel {
  border: 1px solid var(--c-line);
  padding: 16px 14px;
  margin-bottom: 20px;
  background: rgba(5, 10, 21, 0.4);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.p-league-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--c-accent-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.p-league-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-league-chip {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--c-text-mid);
  border: 1px solid var(--c-line);
  padding: 5px 12px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.p-league-chip.is-active {
  color: var(--c-bg-deep);
  background: var(--c-accent-green);
  border-color: var(--c-accent-green);
}

.p-rate-demo {
  margin-top: 8px;
  background: var(--c-bg-deep);
  padding: 16px;
  border: 1px solid var(--c-line);
}

.p-rate-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-text-mid);
  margin-bottom: 10px;
}

.p-rate-value {
  color: var(--c-accent-green);
  font-weight: 700;
}

.p-rate-bar {
  height: 8px;
  background: var(--c-line);
  position: relative;
  overflow: hidden;
}

.p-rate-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent-green), var(--c-accent-orange));
}

.p-rate-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--c-text-mid);
  margin-top: 6px;
}

.p-member-img {
  min-width: 0;
}

.p-export-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-export-img {
  min-width: 0;
}

.p-export-copy p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

.p-format-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.p-format-chip {
  font-family: var(--font-body);
  color: var(--c-accent-green);
  border: 1px solid var(--c-accent-green);
  font-size: 0.8rem;
  padding: 6px 14px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.p-format-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--c-text-mid);
  margin: 0;
}

.p-export-tip {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px dashed var(--c-accent-orange);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--c-text-high);
  line-height: 1.6;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.p-tip-icon {
  width: 20px;
  height: 20px;
  background: var(--c-accent-orange);
  color: var(--c-bg-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.p-cases-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.p-cases-img {
  min-width: 0;
}

.p-cases-content p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.p-case-list {
  margin-bottom: 18px;
}

.p-case-item {
  border: 1px solid var(--c-line);
  margin-bottom: 10px;
  background: rgba(5, 10, 21, 0.4);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.p-case-item summary {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-high);
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.p-case-item summary::-webkit-details-marker {
  display: none;
}

.p-case-item summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--c-accent-orange);
  margin-right: 6px;
}

.p-case-item[open] summary::before {
  content: "\2013";
}

.p-case-item p {
  padding: 0 14px 14px;
  font-size: 0.82rem;
  margin: 0;
}

.p-match-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.p-match-copy p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

.p-match-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-match-points li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--c-text-high);
  padding: 12px 14px;
  background: var(--c-bg-navy);
  border-left: 3px solid var(--c-accent-green);
}

.p-match-points span {
  color: var(--c-accent-orange);
  font-weight: 700;
  margin-right: 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.p-match-img {
  min-width: 0;
}

.p-next-steps {
  padding: 56px 20px 80px;
  max-width: 1320px;
  margin: 0 auto;
}

.p-next-card {
  background: var(--c-bg-navy);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: 32px 24px;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.p-next-card h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
}

.p-next-card p {
  font-family: var(--font-body);
  color: var(--c-text-mid);
  font-size: 0.86rem;
  margin: 0;
}

.p-next-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 700px) {
  .p-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .p-module-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .p-module-card {
    flex-direction: row;
    gap: 22px;
  }

  .p-module-title {
    flex: 0 0 30%;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid var(--c-line);
    padding-right: 14px;
    padding-bottom: 8px;
  }
}

@media (min-width: 900px) {
  .p-hero {
    padding: 72px 32px 48px;
  }

  .p-overview-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .p-overview-copy {
    flex: 1;
  }

  .p-overview-figure {
    flex: 1;
  }

  .p-member-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .p-member-content {
    flex: 1.1;
  }

  .p-member-img {
    flex: 1;
  }

  .p-export-layout {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .p-export-img {
    flex: 0 0 36%;
  }

  .p-export-copy {
    flex: 1;
  }

  .p-cases-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }

  .p-cases-img {
    flex: 0 0 42%;
  }

  .p-cases-content {
    flex: 1;
  }

  .p-match-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .p-match-copy {
    flex: 0.9;
  }

  .p-match-img {
    flex: 1.2;
  }

  .p-section {
    padding: 72px 32px;
  }

  .p-next-steps {
    padding: 64px 32px 100px;
  }
}
