/* Agency Partnerships page (/partners).
   Built on styles.css tokens and components: gc-hero, gc-stats-bar, gc-track-card, gc-step-card, info-card-col, faq-item, form-card. */
.pp-section { padding: var(--section-pad); }
.pp-section-head { max-width: 760px; margin-bottom: 40px; }
.pp-section-head h2 { margin: 8px 0 0; }
.pp-section-head .section-subtitle { margin-top: 14px; }
.pp-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hero */
.pp-hero .gc-hero-copy { max-width: 700px; }
.pp-hero .gc-hero-badges { margin-top: 28px; }

/* Proof bar */
.pp-stats .gc-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-stats .gc-stat-value--word { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.pp-stats .gc-stat-source { margin: 14px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.pp-stats .gc-stat-source a { color: #ffc857; }

/* Partnership jump chips */
.pp-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 36px; padding: 0; list-style: none; }
.pp-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(45,27,78,0.12); color: var(--bg-dark); font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: border-color .2s, background .2s; }
.pp-jump a:hover, .pp-jump a:focus-visible { border-color: var(--accent); background: #fff8ec; }
.pp-jump span { color: #e8940f; font-weight: 900; font-size: 0.8rem; }

/* Partnership cards: 2 x 2 so the longer copy reads comfortably */
.pp-ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pp-way { scroll-margin-top: calc(var(--nav-height) + 24px); border-top: 4px solid var(--accent); }
.pp-way .gc-track-num { margin-bottom: 14px; }
.pp-way-for { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 8px; background: #f4effa; color: #4A2D7A; font-size: 0.86rem; font-weight: 700; line-height: 1.4; }
.pp-way .gc-track-desc { font-size: 1.02rem; color: #3d4257; margin-bottom: 20px; }
.pp-way-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid #eee9f3; }
.pp-way-cols p:not(.gc-track-label) { margin: 0; color: #5c6178; font-size: 0.95rem; line-height: 1.6; }
.pp-way-note { margin: 0 0 20px; padding: 12px 14px 12px 16px; border-left: 3px solid var(--accent); background: #fff8ec; border-radius: 0 10px 10px 0; color: #4a3a1a; font-size: 0.92rem; line-height: 1.55; }
.pp-way-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--bg-dark); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.pp-way-link:hover, .pp-way-link:focus-visible { color: #e8940f; }

/* Steps with connector */
.pp-steps { counter-reset: none; position: relative; margin: 0; padding: 0; list-style: none; }
.pp-steps .gc-step-card { position: relative; height: 100%; }
.pp-steps .gc-step-card h3 { margin-top: 0; }
@media (min-width: 1025px) {
  .pp-steps::before { content: ""; position: absolute; top: 49px; left: 48px; right: 48px; height: 2px; background: repeating-linear-gradient(90deg, rgba(245,166,35,.55) 0 8px, transparent 8px 16px); z-index: 0; }
  .pp-steps .gc-step-card { z-index: 1; }
}

/* Funding */
.pp-funding .section-subtitle { color: rgba(255,255,255,0.82); }
.pp-funding h2 { color: #fff; }
.pp-fund-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pp-fund-card { background: var(--card-purple); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 28px 26px; }
.pp-fund-card h3 { color: #fff; font-size: 1.35rem; margin: 14px 0 10px; }
.pp-fund-card p { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.97rem; line-height: 1.6; }
.pp-fund-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.pp-fund-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pp-fund-status--funded { background: rgba(94,201,140,0.16); color: #7fe0a8; }
.pp-fund-status--approved { background: rgba(245,166,35,0.16); color: #ffc857; }
.pp-fund-status--all { background: rgba(255,255,255,0.12); color: #e6dcf5; }
.pp-fund-note { margin: 32px 0 0; max-width: 820px; color: rgba(255,255,255,0.78); font-size: 0.97rem; line-height: 1.65; }
.pp-fund-note a { color: #ffc857; font-weight: 800; }

/* Why */
.pp-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pp-why-grid .info-card-col { display: flex; gap: 18px; align-items: flex-start; }
.pp-why-grid .info-card-col h3 { margin: 0 0 8px; font-size: 1.15rem; color: #1a1035; }
.pp-why-grid .info-card-col p { margin: 0; color: #5c6178; line-height: 1.6; font-size: 0.97rem; }
.pp-why-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: #fff1e0; color: #e8940f; display: inline-flex; align-items: center; justify-content: center; }
.pp-why-photo { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff1e0; }

/* FAQ (site accordion pattern) */
.pp-faq { max-width: 860px; margin: 0 auto; }
.pp-faq .faq-answer p { margin: 0; color: #5c6178; line-height: 1.65; }

/* Form */
.pp-form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.pp-form-intro h2 { margin: 8px 0 16px; }
.pp-form-intro .section-subtitle { margin-top: 0; }
.pp-form-intro .pp-email { margin-top: 24px; font-weight: 700; color: var(--text-dark); }
.pp-form-intro .pp-email a { color: #e8940f; font-weight: 800; }
.pp-form-card { background: #fff; }
.pp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pp-form-card .form-group select { appearance: auto; background: #fff; }
.pp-form-card .form-group input:focus, .pp-form-card .form-group select:focus, .pp-form-card .form-group textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.pp-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.pp-form-foot p { margin: 0; font-size: 0.88rem; color: #6b7088; }
.pp-form-success { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: #eefaf3; border: 1px solid #bfe8cf; color: #1d5a37; line-height: 1.55; }
.pp-form-success.is-visible { display: block; }
.pp-form-error { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #fdf0ef; border: 1px solid #f1c4c0; color: #8a2a22; line-height: 1.55; }
.pp-form-error.is-visible { display: block; }
.pp-form-card .btn.is-loading { opacity: 0.7; cursor: progress; }
#partner-form { scroll-margin-top: calc(var(--nav-height) + 8px); }

.pp-disclaimer { padding: 28px 0; background: var(--bg-light); border-top: 1px solid #ece6dc; }
.pp-disclaimer p { margin: 0; max-width: 900px; font-size: 0.85rem; color: #6b7088; line-height: 1.6; }

@media (max-width: 1024px) {
  .pp-ways-grid, .pp-why-grid { grid-template-columns: 1fr; }
  .pp-fund-grid { grid-template-columns: 1fr; max-width: 560px; }
  .pp-form-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .pp-section { padding: var(--section-pad-mobile); }
  .pp-stats .gc-stats-grid { grid-template-columns: 1fr; }
  .pp-way-cols, .pp-form-row { grid-template-columns: 1fr; }
  .pp-way-cols { gap: 14px; }
  .pp-why-grid .info-card-col { flex-direction: column; }
}
