/* Partner Platform page (all languages) + partner-outreach privacy notices.
   Extends css/public-surfaces.css (platform page) and css/tos.css (privacy notices); same palette.
   Generated pages: tools/build_partner_platform.py */

/* ---------- language switcher ---------- */
.pp-langs {
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
  font-size: .9rem; margin: 0 0 18px; color: #2d3e55;
}
.pp-langs-label { font-weight: 700; color: #1d4f8c; }
.pp-langs a { color: #1d4f8c; text-decoration: none; border-bottom: 1px solid rgba(29, 79, 140, .25); }
.pp-langs a:hover, .pp-langs a:focus-visible { border-bottom-color: #1d4f8c; }
.pp-langs [aria-current="page"] { font-weight: 700; color: #0f1f33; }

/* ---------- three surfaces ---------- */
.pp-surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pp-surface {
  background: #fff; border: 1px solid #dbe5f1; border-radius: 16px; padding: 20px 20px 14px;
  box-shadow: 0 10px 28px rgba(15, 31, 51, .06);
}
.pp-surface-tag {
  display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px;
  background: #eaf1fb; color: #1d4f8c; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
}
.pp-surface h3 { margin: 0 0 6px; color: #0f1f33; font-size: 1.12rem; }
.pp-surface p { margin: 0 0 10px; color: #2d3e55; line-height: 1.6; }
.pp-surface ul { margin: 0; padding-inline-start: 18px; color: #2d3e55; line-height: 1.6; }
.pp-surface li { margin: 0 0 4px; }

/* ---------- roadmap + privacy lists ---------- */
.pp-coming, .pp-privacy-links { margin: 6px 0 0; padding-inline-start: 20px; color: #2d3e55; line-height: 1.7; max-width: 860px; }
.pp-privacy-links a { color: #1d4f8c; font-weight: 600; }

/* ---------- draft banner on the privacy notices ---------- */
.pp-draft {
  margin: 14px 0 0; padding: 10px 14px; border-radius: 10px;
  background: #fff6e0; border: 1px solid #f0d58a; color: #5b4300; font-weight: 600;
}

/* ---------- right-to-left (ar, he): only <main> flips; the shared header/footer stay LTR ---------- */
.pp-page[dir="rtl"] { text-align: right; }
.pp-page[dir="rtl"] .pg-steps li { padding: 14px 46px 14px 0; }
.pp-page[dir="rtl"] .pg-steps li::before { left: auto; right: 0; }
.pp-page[dir="rtl"] .pg-hero-lead, .pp-page[dir="rtl"] .pg-lead { margin-inline-start: 0; }
.pp-page[dir="rtl"] .pg-note { border-left: 1px solid #dbe4f0; border-right: 4px solid #1d4f8c; }

@media (max-width: 980px) {
  .pp-surfaces { grid-template-columns: 1fr; }
}

/* ---------- privacy notices: css/tos.css colours the hero for a dark page, but the page ground is light, so the
   H1 and date render white-on-white (also true of the existing /privacy, /partner-app-privacy, /tos). Scoped fix. */
.pp-privacy-page .privacy-eyebrow { color: #1d4f8c; }
.pp-privacy-page .privacy-hero h1 { color: #0f1f33; }
.pp-privacy-page .privacy-updated { color: #2d3e55; }
