/**
 * Partners & Ecosystem Page — /technology/partners/
 * Scoped under .np-pt-* prefix to avoid conflicts with homepage partner styles.
 *
 * Audience: developers, PMs, technical buyers.
 * Aesthetic notes: minimal gradients, mono-font accents, capability-first
 * descriptors over marketing copy. Reads more like a docs index than a
 * campaign landing page.
 */

.np-pt-page {
  background: var(--np-white, #FAF9F7);
  color: var(--np-black, #111827);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.np-pt-hero {
  padding: 140px 24px 56px;
  text-align: center;
}

.np-pt-hero-inner {
  max-width: 880px;
  margin: 0 auto;
}

.np-pt-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(17, 24, 39, 0.55);
  margin-bottom: 20px;
}

.np-pt-title {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--np-black, #111827);
}

.np-pt-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--np-orange, #EA580C);
}

.np-pt-intro {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.65);
  margin: 0 auto;
  max-width: 620px;
}

.np-pt-intro a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(17, 24, 39, 0.25);
  text-underline-offset: 3px;
}

.np-pt-intro a:hover {
  color: var(--np-orange, #EA580C);
  text-decoration-color: currentColor;
}

/* ==========================================================================
   Section shell
   ========================================================================== */

.np-pt-section {
  padding: 80px 24px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

/* Subtle neutral alternation — no color tint, just a flat gray-50.
   Reads as "section break" rather than "design flourish". */
.np-pt-section--alt {
  background: #F4F4F2;
}

.np-pt-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.np-pt-section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
  max-width: 760px;
}

.np-pt-section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(17, 24, 39, 0.5);
}

.np-pt-section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--np-black, #111827);
}

/* ==========================================================================
   Innovation Drivers — top, no card chrome, just badges
   ========================================================================== */

.np-pt-innovation .np-pt-section-header {
  margin-bottom: 32px;
}

.np-pt-innovation-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.np-pt-innovation-logo {
  height: 96px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 200ms ease;
}

.np-pt-innovation-logo--sm {
  height: 72px;
}

.np-pt-innovation-logo:hover {
  filter: grayscale(0);
}

/* ==========================================================================
   Logo grid — partner cards with capability descriptors
   ========================================================================== */

.np-pt-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.np-pt-logo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--np-white, #FFFFFF);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, background 180ms ease;
}

.np-pt-section--alt .np-pt-logo-card {
  background: var(--np-white, #FFFFFF);
}

.np-pt-logo-card:hover {
  border-color: rgba(17, 24, 39, 0.22);
  background: var(--np-white, #FFFFFF);
  text-decoration: none;
}

.np-pt-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0.1);
  transition: filter 180ms ease;
}

.np-pt-logo-card:hover .np-pt-logo-img {
  filter: grayscale(0);
}

.np-pt-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.np-pt-logo-name {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--np-black, #111827);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.np-pt-logo-desc {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(17, 24, 39, 0.55);
  letter-spacing: 0;
}

/* "+ More" placeholder card */
.np-pt-logo-card--more {
  background: transparent;
  border-style: dashed;
  pointer-events: none;
  justify-content: center;
}

.np-pt-logo-card--more .np-pt-logo-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(17, 24, 39, 0.4);
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
  .np-pt-hero {
    padding: 110px 20px 40px;
  }

  .np-pt-section {
    padding: 56px 20px;
  }

  .np-pt-section-header {
    margin-bottom: 28px;
  }

  .np-pt-innovation-grid {
    gap: 32px;
    justify-content: center;
  }

  .np-pt-innovation-logo {
    height: 72px;
  }

  .np-pt-innovation-logo--sm {
    height: 56px;
  }

  .np-pt-logo-grid {
    grid-template-columns: 1fr;
  }
}
