/* OpenAI Partner Network trust banner (pb).
   Colors from the brief: #0F172A text on #F8FAFC with #2563EB accents.
   Computed contrast (WCAG 2): #0F172A on #F8FAFC 17.1:1, #2563EB on #F8FAFC
   4.94:1, white on #2563EB 5.17:1, white on #1D4ED8 6.70:1. No purple: the
   accent hue is 221 degrees, far from the 258 to 330 purple range.
   Single row on desktop, stacked on a phone, no layout shift (no image, no
   late content), motion only when the reader allows it. */

.pb {
  --pb-ink: #0f172a;
  --pb-body: #1e293b;
  --pb-bg: #f8fafc;
  --pb-line: #dbe3ee;
  --pb-accent: #2563eb;
  --pb-accent-2: #1d4ed8;
  --pb-accent-soft: #eaf1fe;
  --pb-white: #ffffff;
  --pb-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pb-bg);
  border-top: 1px solid var(--pb-line);
  border-bottom: 1px solid var(--pb-line);
  color: var(--pb-ink);
}
.pb *, .pb *::before, .pb *::after { box-sizing: border-box; }
.pb__wrap { max-width: 1290px; margin: 0 auto; padding: 16px; }
.pb__inner { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; align-items: center; }
.pb__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-accent-soft); color: var(--pb-accent); font-size: 1.25rem; }
.pb__icon .bi { color: var(--pb-accent); }
.pb__text { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--pb-ink); }
.pb__text strong { color: var(--pb-ink); }
.pb__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.pb__proof, .pb__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 10px; font-family: var(--pb-display); font-size: .9688rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.pb a.pb__proof { color: var(--pb-accent); background: var(--pb-white); border: 2px solid var(--pb-accent); }
.pb a.pb__proof .bi { color: var(--pb-accent); }
.pb a.pb__proof:hover { background: var(--pb-accent-soft); }
.pb a.pb__cta { color: var(--pb-white); background: var(--pb-accent); border: 2px solid var(--pb-accent); }
.pb a.pb__cta .bi { color: var(--pb-white); }
.pb a.pb__cta:hover { background: var(--pb-accent-2); border-color: var(--pb-accent-2); }
.pb a:focus-visible, .pb button:focus-visible { outline: 3px solid var(--pb-accent-2); outline-offset: 3px; box-shadow: 0 0 0 6px var(--pb-white); }
@media (max-width: 559px) {
  .pb__actions a { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .pb__wrap { padding: 14px 32px; }
  .pb__inner { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .pb__actions { grid-column: auto; flex-wrap: nowrap; }
}

/* Proof dialog */
.pb-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--pb-line); border-radius: 18px; background: var(--pb-white); color: var(--pb-ink); box-shadow: 0 24px 64px rgba(15, 23, 42, .28); }
.pb-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.pb-dialog__body { padding: 22px; }
.pb-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.pb-dialog__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--pb-display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--pb-ink); }
.pb-dialog__title .bi { color: var(--pb-accent); }
.pb-dialog__close { flex: 0 0 44px; width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--pb-line); border-radius: 10px; background: var(--pb-white); color: var(--pb-ink); cursor: pointer; font-size: 1rem; }
.pb-dialog__close:hover { background: var(--pb-bg); }
.pb-dialog__facts { display: grid; gap: 8px; margin: 0 0 14px; }
.pb-dialog__facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--pb-bg); border: 1px solid var(--pb-line); }
.pb-dialog__facts dt { font-weight: 700; color: var(--pb-ink); }
.pb-dialog__facts dd { margin: 0; color: var(--pb-body); }
.pb-dialog__scope { margin: 0 0 14px; font-size: .9375rem; line-height: 1.6; color: var(--pb-body); }
.pb-dialog__lead { margin: 0 0 12px; font-weight: 700; color: var(--pb-ink); }
.pb-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.pb-dialog__btn { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 2px solid var(--pb-accent); border-radius: 10px; font-family: var(--pb-display); font-weight: 700; text-decoration: none; color: var(--pb-accent); background: var(--pb-white); }
.pb-dialog__btn .bi { color: inherit; }
.pb-dialog__btn:hover { background: var(--pb-accent-soft); }
.pb-dialog__btn--solid { color: var(--pb-white); background: var(--pb-accent); }
.pb-dialog__btn--solid:hover { background: var(--pb-accent-2); border-color: var(--pb-accent-2); }
.pb-dialog__more { margin: 0; font-size: .875rem; color: var(--pb-body); }
.pb-dialog__more a { color: var(--pb-accent-2); font-weight: 600; }
.pb-dialog a:focus-visible, .pb-dialog button:focus-visible { outline: 3px solid var(--pb-accent-2); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .pb__proof, .pb__cta, .pb-dialog__btn { transition: background-color .2s ease, border-color .2s ease; }
  .pb-dialog[open] { animation: pb-in .18s ease-out; }
  @keyframes pb-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
