/* partner-site.css — public partner pages (/partners): landing, sign-in, create account */
:root { --vi: #44107a; --vi-dark: #2e0a54; --vi-soft: #f3ecfb; --chrome: #d8dce2; --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --ok: #166534; --gold: #f5b301; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
a { color: var(--vi); }
button { font: inherit; }
.ps-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.ps-head { background: var(--vi); color: #fff; }
.ps-head .ps-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.ps-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.ps-logo img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 3px; }
.ps-logo small { display: block; font-weight: 500; font-size: 11.5px; opacity: .85; }
.ps-nav { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.ps-nav span { opacity: .9; }
.ps-hbtn { background: #fff; color: var(--vi); border: 0; border-radius: 6px; padding: 7px 12px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 13.5px; }
.ps-hbtn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }

/* Hero */
.ps-hero { background: linear-gradient(135deg, var(--vi) 0%, var(--vi-dark) 100%); color: #fff; padding: 40px 0 56px; }
.ps-hero .ps-wrap { display: grid; grid-template-columns: 1.2fr .9fr; gap: 32px; align-items: center; }
.ps-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin: 0 0 14px; }
.ps-hero h1 em { font-style: normal; color: var(--gold); }
.ps-hero p { font-size: 17px; margin: 0; max-width: 520px; opacity: .95; }
.ps-pill { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 12px; font-size: 13px; margin-bottom: 14px; }
.ps-card { background: #fff; color: var(--ink); border: 3px solid var(--gold); border-radius: 10px; padding: 20px; box-shadow: 0 14px 40px rgba(15,23,42,.25); }
.ps-card h2 { margin: 0 0 10px; font-size: 20px; }
.ps-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.ps-card li { display: flex; gap: 8px; font-size: 14px; margin: 7px 0; }
.ps-card li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.ps-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--vi); color: #fff; border: 0; border-radius: 6px; padding: 12px 16px; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; }
.ps-cta:hover { background: var(--vi-dark); }
.ps-cta[disabled] { opacity: .6; cursor: progress; }
.ps-cta.alt { background: #fff; color: var(--vi); border: 1.5px solid var(--vi); }
.ps-card hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0 12px; }
.ps-card .ps-small { font-size: 13.5px; }
.ps-link { background: none; border: 0; color: var(--vi); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; font-size: inherit; }

/* Sections */
.ps-sec { padding: 52px 0; }
.ps-sec.alt { background: #f7f5fa; }
.ps-sec h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 22px; }
.ps-sec .ps-lead { margin: -12px 0 24px; color: var(--muted); max-width: 760px; }
.ps-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ps-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ps-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.ps-feat h3 { font-size: 16px; margin: 0 0 8px; }
.ps-check { display: flex; gap: 10px; margin: 0 0 12px; font-size: 14px; color: #1e293b; }
.ps-check::before { content: "✓"; flex: 0 0 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.ps-check b { display: block; }
.ps-btn { display: inline-block; background: var(--vi); color: #fff; border: 0; border-radius: 6px; padding: 10px 16px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 14px; margin-top: 10px; }
.ps-step { display: flex; flex-direction: column; gap: 6px; }
.ps-step .ps-num { width: 40px; height: 40px; border-radius: 50%; background: var(--vi-soft); color: var(--vi); font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ps-step h3 { margin: 6px 0 0; font-size: 16px; }
.ps-step p { margin: 0; color: var(--muted); font-size: 14px; }
.ps-example { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fff; max-width: 460px; margin-top: 18px; }
.ps-example table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ps-example td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.ps-example td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ps-example tr:last-child td { border-bottom: 0; font-weight: 800; }
.ps-reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps-reach div { border-left: 4px solid var(--vi); padding: 4px 0 4px 14px; }
.ps-reach b { display: block; font-size: 17px; margin-bottom: 4px; }
.ps-reach span { color: var(--muted); font-size: 14px; }
.ps-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-quote { border: 2px solid var(--gold); border-radius: 8px; padding: 14px; font-size: 14px; background: #fff; }
.ps-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.ps-faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.ps-faq summary::after { content: "⌄"; font-size: 18px; line-height: 1; }
.ps-faq details[open] summary::after { content: "⌃"; }
.ps-faq details p { margin: 8px 0 0; color: #334155; font-size: 14.5px; max-width: 820px; }
.ps-final { background: var(--vi); color: #fff; padding: 46px 0; }
.ps-final .ps-wrap { display: grid; grid-template-columns: 1.2fr .9fr; gap: 32px; align-items: center; }
.ps-final h2 { font-size: clamp(26px, 4vw, 36px); margin: 0; }
.ps-foot { background: var(--vi-dark); color: #e9e3f3; padding: 34px 0 20px; font-size: 13.5px; }
.ps-foot .ps-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps-foot h4 { margin: 0 0 10px; color: #fff; }
.ps-foot a, .ps-foot .ps-flink { display: block; color: #e9e3f3; margin: 5px 0; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; font-size: 13.5px; }
.ps-foot .ps-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ps-note { background: #fff7e6; border: 1px solid #f5d38a; color: #6b4b00; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin-top: 14px; }

/* Sign-in / create account (the partner sign-in screen) */
.ps-auth { max-width: 470px; margin: 0 auto; padding: 34px 20px 50px; }
.ps-auth h1 { font-size: 26px; margin: 0 0 22px; }
.ps-auth label { display: block; font-weight: 700; margin: 14px 0 6px; }
.ps-auth input[type=email], .ps-auth input[type=password], .ps-auth input[type=text] { width: 100%; border: 1px solid #94a3b8; border-radius: 6px; padding: 11px 12px; font-size: 16px; }
.ps-auth input:focus { outline: 3px solid #c4b5fd; border-color: var(--vi); }
.ps-auth .ps-cta { margin-top: 16px; padding: 14px; font-size: 17px; }
.ps-auth .ps-center { text-align: center; margin: 26px 0; }
.ps-auth hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.ps-auth .ps-muted { color: var(--muted); font-size: 14px; }
.ps-auth .ps-err { color: #b91c1c; font-size: 14px; min-height: 20px; margin-top: 8px; }
.ps-auth .ps-ok { color: var(--ok); font-size: 14px; margin-top: 8px; }
.ps-auth .ps-legal { text-align: center; font-size: 13.5px; color: #334155; margin-top: 22px; }
.ps-auth .ps-who { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.ps-google { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #fff; border: 1px solid #94a3b8; border-radius: 6px; padding: 11px; font-weight: 700; cursor: pointer; margin-top: 10px; }

@media (max-width: 820px) {
  .ps-hero .ps-wrap, .ps-final .ps-wrap, .ps-grid3, .ps-grid4, .ps-grid2, .ps-reach, .ps-quotes, .ps-foot .ps-cols { grid-template-columns: 1fr; }
  .ps-hero { padding: 26px 0 36px; }
  .ps-nav span { display: none; }
}
.ps-final .ps-card h2 { font-size: 20px; margin: 0 0 10px; }

/* Partner Hub (/partners/hub): the Partner Help homepage */
.ph-head { background: #fff; border-bottom: 1px solid var(--line); }
.ph-head .ps-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; flex-wrap: wrap; }
.ph-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vi); font-size: 20px; font-weight: 600; }
.ph-logo img { width: 32px; height: 32px; }
.ph-logo b { font-weight: 800; }
.ph-logo small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 800; margin-top: 2px; }
.ph-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.ph-nav a:not(.ps-hbtn) { color: var(--vi); text-decoration: none; font-weight: 600; }
.ph-nav .ps-hbtn { background: var(--vi); color: #fff; }
.ph-hero { background: linear-gradient(180deg, var(--vi-soft) 0%, #faf8fd 100%); padding: 44px 0 40px; }
.ph-kicker { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--vi); margin-bottom: 8px; }
.ph-hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.06; margin: 0 0 14px; color: var(--vi-dark); }
.ph-hero p { max-width: 620px; color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.ph-search { display: flex; gap: 8px; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 6px; max-width: 620px; box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.ph-search input { flex: 1; min-width: 0; border: 0; font-size: 15px; padding: 8px 10px; outline: none; background: transparent; }
.ph-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ph-select { border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 10px; font-size: 14px; background: #fff; }
.ph-count { color: var(--muted); font-size: 13px; margin: 10px 0 16px; }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.ph-card h3 { margin: 0 0 6px; font-size: 19px; }
.ph-sub { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.ph-q { border-top: 1px solid var(--line); padding: 12px 0; }
.ph-q summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.ph-q p { margin: 8px 0 0; color: #334155; font-size: 14px; }
.ph-none { color: var(--muted); }
.ph-steps { background: var(--vi-soft); border-radius: 14px; padding: 22px; margin: 6px 0 26px; }
.ph-steps h2, .ph-trust h2, .ph-support h2 { margin: 0 0 8px; font-size: 22px; }
.ph-steps p { color: var(--muted); margin: 0 0 14px; }
.ph-stepgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ph-step { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 14px; }
.ph-step em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ph-dot { flex: 0 0 18px; height: 18px; border: 2px solid #94a3b8; border-radius: 4px; }
.ph-step[data-state="done"] .ph-dot { background: var(--ok); border-color: var(--ok); }
.ph-step[data-state="done"] .ph-dot::after { content: "✓"; color: #fff; font-size: 12px; display: flex; justify-content: center; line-height: 14px; }
.ph-step[data-state="done"] em { color: var(--ok); font-weight: 700; }
.ph-step[data-state="waiting"] .ph-dot { border-color: #d97706; }
.ph-step[data-state="waiting"] em { color: #b45309; font-weight: 700; }
.ph-link { margin-left: 12px; font-weight: 700; font-size: 14px; }
.ph-trust { border-left: 4px solid var(--vi); padding: 4px 0 4px 16px; margin: 0 0 26px; }
.ph-trust p { margin: 0; color: #334155; }
.ph-support { background: var(--vi-dark); color: #fff; border-radius: 14px; padding: 26px; display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.ph-support p { margin: 0; max-width: 620px; opacity: .92; }
.ph-support a { color: #fff; }
.ph-support-act { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-support .ps-hbtn { color: var(--vi); }
.ph-support .ps-hbtn.ghost { color: #fff; }
@media (max-width: 820px) {
  .ph-grid, .ph-stepgrid { grid-template-columns: 1fr; }
  .ph-nav { gap: 10px; }
  .ph-search .ps-btn { padding: 10px 12px; }
}
