/* The public partner sign-up pages (2026-11-23).

   The partner pages' visual system (partner.css) on a page with no rail: a
   flat page, one white surface, one border color, one radius, one orange
   primary button with a white label. Colors are the client portal's own
   tokens (client-theme.css), so light and dark follow the visitor's device. */
.ps-page {
  margin: 0; min-height: 100vh; background: var(--client-page); color: var(--client-ink);
  font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
  --ps-primary: #f26a0f; --ps-radius: 12px;
}
.ps-wrap { max-width: 1040px; margin: 0 auto; padding: 32px 24px 48px; box-sizing: border-box; }
.ps-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.ps-logo img { display: block; height: 40px; width: auto; }
.ps-logo .ps-logo-dark { display: none; }
:root[data-theme="dark"] .ps-logo .ps-logo-light { display: none; }
:root[data-theme="dark"] .ps-logo .ps-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ps-logo .ps-logo-light { display: none; }
  :root:not([data-theme="light"]) .ps-logo .ps-logo-dark { display: block; }
}
.ps-top a.ps-signin { color: var(--client-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.ps-top a.ps-signin:hover { text-decoration: underline; }

.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; }
.ps-pitch h1 { font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 16px; }
.ps-pitch p.ps-lede { font-size: 18px; color: var(--client-soft); margin: 0 0 32px; max-width: 30em; }
.ps-proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ps-proof li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 17px; font-weight: 700; }
.ps-proof li span { display: block; font-weight: 400; font-size: 15px; color: var(--client-soft); }
.ps-proof svg { width: 24px; height: 24px; margin-top: 1px; color: var(--good); }

.ps-card {
  background: var(--client-card); border: 1px solid var(--client-line);
  border-radius: var(--ps-radius); padding: 32px; box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(16, 32, 43, .06);
}
.ps-card.ps-narrow { max-width: 480px; margin: 0 auto; }
.ps-card.ps-doc { max-width: 720px; margin: 0 auto; }
.ps-card h1, .ps-card h2.ps-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.ps-card p { color: var(--client-soft); margin: 0 0 16px; }
.ps-card p strong { color: var(--client-ink); }
.ps-card label { display: block; font-size: 14px; font-weight: 700; margin: 16px 0 6px; }
.ps-card input[type="text"], .ps-card input[type="email"], .ps-card input[type="password"] {
  width: 100%; box-sizing: border-box; padding: 12px; font: inherit;
  background: var(--client-card); color: var(--client-ink);
  border: 1px solid var(--client-line); border-radius: 8px;
}
.ps-card input:focus-visible, .ps-card button:focus-visible, .ps-page a:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
.ps-card .ps-hint { font-size: 13px; color: var(--client-soft); margin: 6px 0 0; }
.ps-card label.ps-check {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  font-weight: 400; font-size: 15px; margin: 20px 0 0; cursor: pointer;
}
.ps-card label.ps-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ps-primary); }
.ps-card label.ps-show { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; margin: 10px 0 0; cursor: pointer; }
.ps-card label.ps-show input { width: 16px; height: 16px; margin: 0; }
.ps-card button.ps-primary, .ps-card a.ps-primary {
  display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
  margin-top: 24px; padding: 14px 16px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--ps-primary); color: #fff; font: inherit; font-weight: 700; text-decoration: none;
}
.ps-card button.ps-primary:hover, .ps-card a.ps-primary:hover { background: #d95c0a; }
.ps-card button.ps-quiet {
  display: block; width: 100%; box-sizing: border-box; margin-top: 16px; padding: 12px 16px;
  background: transparent; color: var(--client-ink); font: inherit; font-weight: 700; cursor: pointer;
  border: 1px solid var(--client-line); border-radius: 8px;
}
.ps-card p.ps-links, .ps-links { margin: 20px 0 0; font-size: 14px; color: var(--client-soft); text-align: center; }
.ps-page a { color: var(--accent-deep); }
.ps-flash { padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; font-size: 15px; background: var(--bad-soft); color: var(--client-ink); border: 1px solid var(--client-line); }
.ps-flash.ok, .ps-flash.info { background: var(--client-info-soft); }
/* The field a person never sees. Off the page, not display:none, so a bot
   that skips hidden fields still fills it. */
.ps-extra { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ps-doc h2 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; color: var(--client-ink); }
.ps-doc p { color: var(--client-ink); margin: 0 0 12px; }
.ps-doc .ps-version { font-size: 13px; color: var(--client-soft); margin-top: 32px; }

@media (max-width: 860px) {
  .ps-grid { grid-template-columns: 1fr; gap: 32px; }
  .ps-top { margin-bottom: 24px; }
  .ps-pitch h1 { font-size: 28px; margin-top: 0; }
  .ps-pitch p.ps-lede { font-size: 16px; margin-bottom: 24px; }
}
@media (max-width: 520px) {
  .ps-wrap { padding: 20px 16px 40px; }
  .ps-card { padding: 24px 20px; }
  .ps-logo img { height: 32px; }
}
