/* ============================================================
   Partner Network + Monitoring Companies pages
   Shares the .hc-landing design tokens (dark navy / cyan).
   Class prefix: pn-
   ============================================================ */

.pn-page {
  min-height: 100vh;
  background: var(--hc-bg);
  color: var(--hc-text);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.pn-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Hero */
.pn-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(19,21,46,0.97) 0%, rgba(26,58,92,0.9) 45%, rgba(43,183,200,0.45) 100%);
  padding: 88px 24px 72px;
  text-align: center;
}

.pn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  pointer-events: none;
}

.pn-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.pn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8e8e0;
  background: rgba(43,183,200,0.12);
  border: 1px solid rgba(43,183,200,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.pn-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pn-hero h1 .pn-accent { color: #a8e8e0; }

.pn-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 32px;
}

.pn-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.pn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.pn-btn-primary {
  background: linear-gradient(135deg, #2bb7c8, #28b0a0);
  color: #07232b;
  box-shadow: 0 6px 24px rgba(43,183,200,0.35);
}

.pn-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(43,183,200,0.45); }

.pn-btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(43,183,200,0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}

.pn-btn-ghost:hover { background: rgba(43,183,200,0.16); border-color: rgba(43,183,200,0.6); }

/* Sections */
.pn-section { padding: 64px 0 8px; }

.pn-section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.pn-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2bb7c8;
  margin-bottom: 12px;
}

.pn-section-head h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  color: var(--hc-text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.pn-section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--hc-text-secondary);
  margin: 0;
}

/* Methodology-neutrality statement */
.pn-neutrality {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(43,183,200,0.1), rgba(40,176,160,0.06));
  border: 1px solid var(--hc-border-strong);
  border-radius: 18px;
  padding: 40px 44px;
  text-align: center;
}

.pn-neutrality h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--hc-text-heading);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.pn-neutrality p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hc-text);
  margin: 0 auto;
  max-width: 720px;
}

/* Entities distinction */
.pn-entities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pn-entity {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pn-entity:hover { border-color: var(--hc-border-strong); transform: translateY(-3px); }

.pn-entity-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--hc-text-heading);
  margin: 0 0 6px;
}

.pn-entity-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2bb7c8;
  margin-bottom: 12px;
}

.pn-entity p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hc-text-secondary);
  margin: 0;
}

/* Partner categories grid */
.pn-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pn-cat {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pn-cat:hover {
  border-color: var(--hc-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
}

.pn-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(43,183,200,0.12);
  border: 1px solid rgba(43,183,200,0.25);
  margin-bottom: 16px;
}

.pn-cat h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--hc-text-heading);
  margin: 0 0 6px;
}

.pn-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #28b0a0;
  background: rgba(40,176,160,0.12);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.pn-cat p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-text-secondary);
  margin: 0;
}

/* Verified Water Stack */
.pn-stack {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.pn-stack-layer {
  position: relative;
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-left: 4px solid #2bb7c8;
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pn-stack-layer.pn-stack-highlight {
  border-left-color: #daa520;
  background: linear-gradient(135deg, rgba(218,165,32,0.08), var(--hc-bg-card));
}

.pn-stack-num {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #2bb7c8;
  flex-shrink: 0;
  width: 28px;
}

.pn-stack-body { flex: 1; }

.pn-stack-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--hc-text-heading);
  margin: 0 0 2px;
}

.pn-stack-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--hc-text-secondary);
  margin: 0;
}

.pn-stack-arrow {
  text-align: center;
  color: var(--hc-text-muted);
  font-size: 16px;
  line-height: 0.6;
}

.pn-founding-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #daa520;
  background: rgba(218,165,32,0.14);
  border: 1px solid rgba(218,165,32,0.3);
  padding: 2px 9px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Pathway flow */
.pn-pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: pn-step;
}

.pn-step {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  padding: 18px 16px;
  position: relative;
}

.pn-step-num {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: rgba(43,183,200,0.4);
  line-height: 1;
  margin-bottom: 8px;
}

.pn-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--hc-text-heading);
  margin: 0 0 4px;
}

.pn-step-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-text-secondary);
  margin: 0;
}

/* Two-column data lists (monitoring page) */
.pn-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pn-list-card {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  padding: 30px 28px;
}

.pn-list-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--hc-text-heading);
  margin: 0 0 18px;
}

.pn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--hc-text);
  border-bottom: 1px solid var(--hc-border);
}

.pn-list li:last-child { border-bottom: none; }

.pn-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bb7c8;
  box-shadow: 0 0 8px rgba(43,183,200,0.6);
}

/* Become a Partner form */
.pn-form-section {
  margin-top: 24px;
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border-strong);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pn-form-section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  color: var(--hc-text-heading);
  text-align: center;
  margin: 0 0 8px;
}

.pn-form-section .pn-form-sub {
  text-align: center;
  font-size: 16px;
  color: var(--hc-text-secondary);
  margin: 0 auto 28px;
  max-width: 540px;
  line-height: 1.55;
}

.pn-form { display: flex; flex-direction: column; gap: 16px; }

.pn-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pn-field { display: flex; flex-direction: column; gap: 6px; }

.pn-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hc-text-secondary);
  letter-spacing: 0.02em;
}

.pn-field input,
.pn-field select,
.pn-field textarea {
  background: var(--hc-input-bg);
  border: 1px solid var(--hc-input-border);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--hc-input-text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pn-field input:focus,
.pn-field select:focus,
.pn-field textarea:focus {
  outline: none;
  border-color: #2bb7c8;
  box-shadow: 0 0 0 3px rgba(43,183,200,0.15);
}

.pn-field textarea { resize: vertical; min-height: 96px; }

.pn-form-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  border: none;
  font-size: 16px;
}

.pn-form-feedback {
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}

.pn-form-feedback.success {
  background: rgba(40,176,160,0.14);
  border: 1px solid rgba(40,176,160,0.4);
  color: #28b0a0;
}

.pn-form-feedback.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
}

/* CTA banner */
.pn-cta-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(19,21,46,0.95), rgba(26,58,92,0.85));
  border: 1px solid var(--hc-border-strong);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}

.pn-cta-banner h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.pn-cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 26px;
  line-height: 1.55;
}

/* Footer */
.pn-footer {
  border-top: 1px solid var(--hc-border);
  margin-top: 64px;
  padding: 32px 24px;
  text-align: center;
}

.pn-footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pn-footer-links a {
  color: var(--hc-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.pn-footer-links a:hover { color: #2bb7c8; }

.pn-footer-copy {
  font-size: 13px;
  color: var(--hc-text-muted);
}

/* Homepage "open partner ecosystem" section */
.hc-ecosystem-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 8px;
}

.hc-ecosystem-neutrality {
  background: linear-gradient(135deg, rgba(43,183,200,0.1), rgba(40,176,160,0.05));
  border: 1px solid var(--hc-border-strong);
  border-radius: 18px;
  padding: 36px 40px;
  text-align: center;
  margin-bottom: 32px;
}

.hc-ecosystem-neutrality h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--hc-text-heading);
  margin: 0 0 12px;
}

.hc-ecosystem-neutrality p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hc-text);
  max-width: 740px;
  margin: 0 auto;
}

.hc-ecosystem-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 900px) {
  .pn-entities, .pn-cats { grid-template-columns: 1fr 1fr; }
  .pn-pathway { grid-template-columns: repeat(2, 1fr); }
  .pn-cols { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .pn-entities, .pn-cats, .pn-pathway { grid-template-columns: 1fr; }
  .pn-form-row { grid-template-columns: 1fr; }
  .pn-hero { padding: 64px 20px 52px; }
  .pn-form-section, .pn-neutrality, .pn-cta-banner { padding: 30px 22px; }
}
