/* ==========================================================================
   Partner Portal public pages (everything a visitor sees before logging in).

   Same layout, type, cards and footer as the main v7 site, so the portal reads
   as part of SharkScope, but with its own accent: gold in place of the main
   site's green and a deeper navy, so visitors can tell they are in the partner
   area. The logged-in dashboard still uses portal.css.

   Every class is prefixed pp- except the few that portal_ssi.js and
   calculator_ssi.js create or toggle themselves (.error, .invalid, .tag,
   .dropdown-list, .dropdown-item, .lightbox*, .toast, .spinner).
   ========================================================================== */

:root {
  --pp-navy: #0c2640;
  --pp-navy-deep: #081b30;
  --pp-navy-deeper: #071a2d;
  --pp-navy-top: #133554;
  --pp-gold: #f2b632;
  --pp-gold-hover: #e3a41d;
  --pp-gold-light: #f6c453;
  --pp-gold-ink: #7a5500;
  --pp-gold-soft: #fcf1d6;
  --pp-gold-line: #f0dca8;
  --pp-gold-icon: #a8750a;
  --pp-ink: #16283a;
  --pp-ink-2: #33475c;
  --pp-muted: #5c6f80;
  --pp-link: #1a66ad;
  --pp-bg: #f2f5f8;
  --pp-card: #ffffff;
  --pp-line: #dbe3ea;
  --pp-line-2: #e6ebf1;
  --pp-input-line: #c3cedb;
  --pp-tile-a: #e8f2f8;
  --pp-tile-b: #e3eaf3;
  --pp-tile-ink: #1d4f7c;
  --pp-chip-bg: #edf1f5;
  --pp-chip-ink: #41546a;
  --pp-chip-line: #d8dfe7;
  --pp-neg: #c0392f;
  --pp-pos: #1d7a34;
  --pp-shadow-sm: 0 1px 2px rgba(15, 63, 100, .06), 0 1px 6px rgba(15, 63, 100, .05);
  --pp-shadow-md: 0 4px 14px rgba(15, 63, 100, .10), 0 1px 4px rgba(15, 63, 100, .08);
  --pp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pp-mono: Consolas, "SFMono-Regular", Menlo, monospace;
  --pp-hero-bg:
    radial-gradient(900px 420px at 78% -80px, rgba(92, 142, 235, .22), transparent 62%),
    radial-gradient(700px 380px at 10% 118%, rgba(34, 72, 128, .55), transparent 65%),
    linear-gradient(180deg, #0c2640 0%, #081b30 100%);
  --pp-band-bg:
    radial-gradient(560px 260px at 88% 0%, rgba(92, 142, 235, .28), transparent 60%),
    linear-gradient(135deg, #0c2640 0%, #071a2d 100%);

  /* portal_ssi.js writes these into inline styles (status messages, the
     resend-verification link), so they keep meaning something here. */
  --primary-color: #1a66ad;
  --secondary-color: #0c2640;
  --accent-color: #c0392f;
  --border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pp-bg);
  color: var(--pp-ink);
  font: 15px/1.55 var(--pp-font);
  -webkit-font-smoothing: antialiased;
}
body.pp-no-scroll { overflow: hidden; }
main { flex: 1 0 auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: inherit; }
p { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--pp-link); text-decoration: none; }
a:hover { color: var(--pp-navy); text-decoration: underline; }
button, input, select, textarea { font: inherit; }
code { font-family: var(--pp-mono); font-size: .92em; background: var(--pp-chip-bg); border: 1px solid var(--pp-chip-line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--pp-link); outline-offset: 2px; }
/* The default blue ring disappears on the navy surfaces. */
.pp-header :focus-visible, .pp-hero :focus-visible, .pp-page-head :focus-visible,
.pp-band :focus-visible, .pp-navy-card :focus-visible, .pp-auth-aside :focus-visible { outline-color: #9fd0ff; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pp-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1300;
  background: #fff; color: var(--pp-link); padding: 10px 14px; border-radius: 8px;
  box-shadow: var(--pp-shadow-md);
}
.pp-skip:focus { top: 12px; }

.pp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.pp-icon { display: block; flex: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .06s ease;
}
.pp-btn:hover { text-decoration: none; }
.pp-btn:active { transform: translateY(1px); }
.pp-btn:disabled, .pp-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.pp-btn-gold { background: var(--pp-gold); color: var(--pp-navy); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.pp-btn-gold:hover { background: var(--pp-gold-hover); color: var(--pp-navy); }
.pp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.pp-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }
.pp-btn-outline { background: #fff; color: var(--pp-ink-2); border-color: #c9d3dd; }
.pp-btn-outline:hover { background: #f4f7fa; color: var(--pp-ink); }
.pp-btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.pp-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.pp-btn-block { display: flex; width: 100%; }
.pp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--pp-link); }
.pp-link-arrow:hover { color: var(--pp-navy); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.pp-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--pp-navy-top) 0%, var(--pp-navy) 100%);
  box-shadow: 0 2px 8px rgba(6, 20, 36, .3);
  color: #fff;
}
.pp-header-inner { height: 64px; display: flex; align-items: center; gap: 16px; }
.pp-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; min-height: 44px; }
.pp-brand:hover { text-decoration: none; color: #fff; }
.pp-brand img { display: block; width: 148px; height: 26px; }
.pp-brand-divider { width: 1px; height: 22px; background: rgba(255, 255, 255, .28); }
.pp-brand-label { font-size: 15px; font-weight: 700; color: var(--pp-gold-light); white-space: nowrap; }
.pp-nav { margin-left: 12px; min-width: 0; }
.pp-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.pp-nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px;
  color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.pp-nav-link:hover { background: rgba(255, 255, 255, .10); color: #fff; text-decoration: none; }
.pp-nav-link[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.pp-header-spacer { flex: 1; }
.pp-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.pp-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer;
}
.pp-menu-btn:hover { background: rgba(255, 255, 255, .10); }
.pp-menu-btn .pp-icon-close { display: none; }
.pp-menu-btn[aria-expanded="true"] .pp-icon-open { display: none; }
.pp-menu-btn[aria-expanded="true"] .pp-icon-close { display: block; }

/* The drawer only exists below the desktop breakpoint. */
.pp-drawer {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 999;
  overflow-y: auto; background: var(--pp-navy);
  padding: 8px 0 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.pp-drawer-group { padding: 14px 20px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9cfe2; }
.pp-drawer-list { list-style: none; margin: 0; padding: 0; }
.pp-drawer-link {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px;
  color: #fff; font-size: 16px; font-weight: 600;
}
.pp-drawer-link:hover { background: #163a5c; color: #fff; text-decoration: none; }
.pp-drawer-link[aria-current="page"] { background: rgba(255, 255, 255, .08); box-shadow: inset 3px 0 0 var(--pp-gold); }
.pp-drawer-link .pp-icon { color: var(--pp-gold-light); }
.pp-drawer-actions { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pp-footer { margin-top: 80px; background: #fff; border-top: 1px solid #dde3e9; padding: 40px 0 32px; font-size: 13px; line-height: 1.5; }
.pp-footer-inner { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.pp-footer-brand { flex: 1 1 240px; min-width: 220px; }
.pp-footer-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: #22313f; }
.pp-footer-name span { font-weight: 700; color: var(--pp-gold-ink); }
.pp-footer-blurb { margin-top: 8px; max-width: 34ch; color: #5f7183; }
.pp-footer-col { min-width: 128px; }
.pp-footer-h { margin: 0 0 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5f7183; }
.pp-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pp-footer-list a, .pp-footer-base a { color: #46586a; }
.pp-footer-list a:hover, .pp-footer-base a:hover { color: var(--pp-link); }
.pp-lang { position: relative; display: inline-flex; align-items: center; }
.pp-lang .pp-icon { position: absolute; pointer-events: none; color: #5f7183; }
.pp-lang .pp-lang-globe { left: 11px; }
.pp-lang .pp-lang-caret { right: 10px; }
.pp-lang select {
  appearance: none; -webkit-appearance: none;
  height: 36px; padding: 0 30px 0 34px;
  background: #fff; border: 1px solid #c9d3dd; border-radius: 6px;
  font-size: 13px; color: #22313f; cursor: pointer;
}
.pp-footer-base {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid #dde3e9;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #5f7183;
}
.pp-footer-base .pp-grow { flex: 1; }

/* --------------------------------------------------------------------------
   Hero and page heads (navy slabs)
   -------------------------------------------------------------------------- */
.pp-hero, .pp-page-head { background: var(--pp-hero-bg); color: #fff; }
.pp-hero { padding: 72px 0 172px; text-align: center; }
.pp-hero-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; font-weight: 600; color: #fff;
}
.pp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--pp-gold-light); }
.pp-hero-title { margin-top: 26px; font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.pp-hl { display: block; color: var(--pp-gold-light); }
.pp-hero-sub { margin-top: 20px; max-width: 640px; font-size: clamp(16px, 2vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, .85); }
.pp-hero .pp-btn-row { margin-top: 32px; justify-content: center; }

.pp-page-head { padding: 56px 0 64px; }
.pp-page-head.pp-overlap { padding-bottom: 128px; }
.pp-page-head.pp-center { text-align: center; }
.pp-page-head.pp-center .pp-page-sub, .pp-page-head.pp-center .pp-page-sub-sm { margin-left: auto; margin-right: auto; max-width: 560px; }
.pp-page-head-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.pp-page-head-grid.pp-even { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pp-page-head-grid.pp-half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-page-head-grid.pp-media { grid-template-columns: 560px minmax(0, 1fr); }
.pp-page-head.pp-dark { background:
    radial-gradient(900px 440px at 82% -60px, rgba(92, 142, 235, .20), transparent 62%),
    radial-gradient(640px 360px at 6% 120%, rgba(34, 72, 128, .50), transparent 65%),
    linear-gradient(180deg, #081b30 0%, #061526 100%); }
.pp-crumbs { font-size: 13px; color: rgba(255, 255, 255, .72); }
.pp-crumbs a { color: rgba(255, 255, 255, .85); }
.pp-crumbs a:hover { color: #fff; }
.pp-crumbs span[aria-hidden] { margin: 0 8px; }
.pp-page-title { margin-top: 16px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.pp-page-title-sm { margin-top: 14px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.pp-page-sub { margin-top: 18px; max-width: 560px; font-size: clamp(16px, 2vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, .85); }
.pp-page-sub-sm { margin-top: 10px; max-width: 720px; font-size: 17px; color: rgba(255, 255, 255, .85); }
.pp-page-head .pp-btn-row { margin-top: 28px; }
.pp-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.pp-trust li { display: flex; align-items: center; gap: 7px; }
.pp-trust .pp-icon { color: var(--pp-gold-light); }
.pp-chip-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.pp-chip-dark { color: #fff; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 12px; }

/* Glass stat tiles on the navy (Advertising). */
.pp-stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pp-stat-tile { padding: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; }
.pp-stat-num { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.pp-stat-label { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   Sections, cards and small parts
   -------------------------------------------------------------------------- */
.pp-section { margin-top: 76px; }
.pp-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.pp-h2 { font-size: clamp(24px, 3vw, 28px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--pp-ink); }
.pp-sub { margin-top: 6px; font-size: 15px; color: var(--pp-muted); }
.pp-eyebrow { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-tile-ink); }
.pp-navy-card .pp-eyebrow, .pp-band .pp-eyebrow { color: var(--pp-gold-light); }

.pp-card { background: var(--pp-card); border: 1px solid var(--pp-line); border-radius: 14px; box-shadow: var(--pp-shadow-sm); }
.pp-card-pad { padding: 24px; }
/* No display here: the card classes below (program, row, gallery) set their own. */
a.pp-card { color: var(--pp-ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.pp-card:hover { color: var(--pp-ink); text-decoration: none; border-color: var(--pp-link); box-shadow: var(--pp-shadow-md); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  a.pp-card, .pp-btn { transition: none; }
  a.pp-card:hover, .pp-btn:active { transform: none; }
}
.pp-card-title { font-size: 17px; font-weight: 700; color: var(--pp-ink); }
.pp-card-text { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--pp-muted); }

.pp-tile {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pp-tile-a), var(--pp-tile-b)); color: var(--pp-tile-ink);
}
.pp-tile-lg { width: 48px; height: 48px; }
.pp-tile-sm { width: 40px; height: 40px; border-radius: 10px; }
.pp-tile-glass { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); color: var(--pp-gold-light); }

.pp-tag {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; line-height: 1.35;
  background: var(--pp-tile-a); color: var(--pp-tile-ink);
}
.pp-tag-gold { background: var(--pp-gold-soft); color: var(--pp-gold-ink); box-shadow: inset 0 0 0 1px var(--pp-gold-line); }
.pp-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--pp-chip-bg); color: var(--pp-chip-ink); border: 1px solid var(--pp-chip-line); }
.pp-chip-mono { font-family: var(--pp-mono); }

.pp-grid { display: grid; gap: 16px; }
.pp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Program cards that sit over the bottom of the home hero. */
.pp-programs { position: relative; z-index: 2; margin-top: -116px; }
.pp-program { display: flex; flex-direction: column; padding: 24px; box-shadow: var(--pp-shadow-md); }
.pp-program-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pp-program .pp-card-title { margin-top: 18px; font-size: 18px; }
.pp-program .pp-card-text { margin-top: 8px; }
.pp-program-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--pp-link); }

.pp-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding-top: 30px; font-size: 14px; color: var(--pp-muted); text-align: center; }
.pp-proof strong { color: var(--pp-ink); }
.pp-stars { display: inline-flex; gap: 2px; color: #d98d00; }
.pp-dot { color: #b7c3cd; }

/* Row cards: icon on the left (API, AI Connector). */
.pp-row-card { display: flex; gap: 18px; padding: 26px; }
.pp-row-card-body { flex: 1; min-width: 0; }
.pp-row-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pp-row-card .pp-card-title { font-size: 18px; }
.pp-row-card .pp-card-text { margin-top: 8px; }
.pp-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Navy cards and bands. */
.pp-navy-card { background: var(--pp-band-bg); color: #fff; border-radius: 16px; }
.pp-navy-card .pp-card-text, .pp-navy-card p { color: rgba(255, 255, 255, .84); }
.pp-market-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; }
.pp-market-card-body { padding: 28px 28px 0; }
.pp-market-card h3 { margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.pp-market-card p { margin-top: 10px; font-size: 14.5px; }
.pp-market-card .pp-btn-row { margin-top: 20px; gap: 10px; }
.pp-market-shot { position: relative; flex-grow: 1; min-height: 196px; margin: 24px 28px 0; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -4px 24px rgba(0, 0, 0, .28); }
/* The dashboard screenshots still carry the old portal header: crop it off. */
.pp-market-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 -22px; display: block; }

.pp-band { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding: 44px 48px; border-radius: 16px; background: var(--pp-band-bg); color: #fff; }
.pp-band-body { flex: 1 1 420px; }
.pp-band h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.pp-band p { margin-top: 10px; max-width: 620px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.pp-band-cta { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pp-band-note { font-size: 13px; color: rgba(255, 255, 255, .72); }
.pp-band-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.pp-checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.pp-checklist li { display: flex; align-items: flex-start; gap: 10px; }
.pp-checklist .pp-icon { margin-top: 2px; color: var(--pp-gold-light); }

/* Numbered steps. */
.pp-steps { list-style: none; margin: 0; padding: 0; }
.pp-step-top { display: flex; align-items: center; gap: 12px; }
.pp-step-num {
  width: 36px; height: 36px; flex: none; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pp-navy); color: #fff; font-size: 15px; font-weight: 800;
}
.pp-step-num.pp-last { background: var(--pp-gold); color: var(--pp-navy); }
.pp-step-line { flex: 1; border-top: 2px dashed var(--pp-line); }
.pp-steps .pp-card-title { margin-top: 16px; }
.pp-steps-bare .pp-step-num { width: 40px; height: 40px; font-size: 16px; }
.pp-steps-bare .pp-step-line { border-top-color: #c9d3dd; }
.pp-steps-bare .pp-card-title { font-size: 16px; }

/* Icon + text lists. */
.pp-feature { padding: 24px; }
.pp-feature .pp-card-title { margin-top: 16px; }
.pp-mini-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.pp-mini-list li { display: flex; gap: 14px; }
.pp-mini-list h3 { font-size: 15px; font-weight: 700; color: var(--pp-ink); }
.pp-mini-list p { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--pp-muted); }
.pp-split-card { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; padding: 40px; }
.pp-split-card .pp-h2 { margin-top: 10px; }
.pp-split-card .pp-lede { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--pp-muted); }
.pp-split-card .pp-link-arrow { margin-top: 16px; }
.pp-metric-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; align-content: center; }
.pp-metric-list li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; line-height: 1.45; color: var(--pp-ink-2); }

/* Commission ladder (Affiliates hero). */
.pp-ladder { padding: 28px; border-radius: 16px; background: #fff; color: var(--pp-ink); box-shadow: 0 18px 50px rgba(5, 25, 42, .35); }
.pp-ladder-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pp-ladder-head h2 { font-size: 16px; font-weight: 700; color: var(--pp-ink); }
.pp-ladder-rows { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.pp-ladder-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) 64px; align-items: center; gap: 14px; }
.pp-ladder-sales { font-size: 14px; font-weight: 700; color: var(--pp-ink); }
.pp-ladder-per { font-size: 12.5px; color: var(--pp-muted); }
.pp-ladder-track { height: 12px; border-radius: 999px; background: #e3eaf0; overflow: hidden; }
.pp-ladder-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pp-gold-hover), var(--pp-gold-light)); }
.pp-ladder-rate { font-size: 26px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.pp-ladder-rate.pp-top { color: var(--pp-gold-ink); }
.pp-ladder-foot { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--pp-line); display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--pp-muted); }
.pp-ladder-foot .pp-icon { margin-top: 1px; color: var(--pp-tile-ink); }

/* Discount-code sum (Affiliates). */
.pp-equation-card { margin-top: 16px; padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 40px; align-items: center; }
.pp-equation-card h3 { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.pp-equation-card p { margin-top: 8px; font-size: 14.5px; color: var(--pp-muted); }
.pp-equation { display: flex; align-items: center; gap: 12px; }
.pp-eq-tile { flex: 1 1 0; padding: 18px 12px; background: #f4f7fa; border: 1px solid #dde3e9; border-radius: 12px; text-align: center; }
.pp-eq-num { font-size: 30px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-eq-label { margin-top: 6px; font-size: 12.5px; color: var(--pp-muted); }
.pp-eq-tile.pp-result { background: var(--pp-gold-soft); border-color: var(--pp-gold-line); }
.pp-eq-tile.pp-result .pp-eq-num, .pp-eq-tile.pp-result .pp-eq-label { color: var(--pp-gold-ink); }
.pp-eq-op { font-size: 24px; font-weight: 700; color: var(--pp-muted); }

/* FAQ accordions. The Affiliates page uses <details>; the FAQ page keeps
   its .faq-question / .faq-answer markup and script. */
.pp-faq { overflow: hidden; }
.pp-faq-item + .pp-faq-item, .pp-faq .faq-item + .faq-item { border-top: 1px solid #dde3e9; }
.pp-faq-item summary {
  display: flex; align-items: flex-start; gap: 12px; padding: 17px 24px;
  font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--pp-ink);
  cursor: pointer; list-style: none;
}
.pp-faq-item summary::-webkit-details-marker { display: none; }
.pp-faq-item summary:hover { background: #eef5fb; color: var(--pp-link); }
.pp-faq-caret { flex: none; margin-top: 3px; color: var(--pp-muted); transition: transform .16s ease; }
.pp-faq-item[open] > summary .pp-faq-caret { transform: rotate(90deg); color: var(--pp-link); }
.pp-faq-answer { padding: 0 24px 22px 52px; font-size: 14.5px; line-height: 1.6; color: var(--pp-ink-2); }
.pp-faq-answer p + p { margin-top: 10px; }
.pp-rate-table { margin-top: 14px; width: 100%; max-width: 420px; border-collapse: separate; border-spacing: 0; border: 1px solid #dde3e9; border-radius: 10px; overflow: hidden; font-size: 14px; }
.pp-rate-table th { text-align: left; padding: 9px 14px; background: #f4f7fa; border-bottom: 1px solid #dde3e9; font-weight: 700; color: var(--pp-ink-2); }
.pp-rate-table td { padding: 9px 14px; border-bottom: 1px solid var(--pp-line-2); }
.pp-rate-table tr:last-child td { border-bottom: 0; }
.pp-rate-table .pp-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-rate-table .pp-top { color: var(--pp-gold-ink); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--pp-ink); cursor: pointer;
}
.faq-question:hover { background: #eef5fb; color: var(--pp-link); }
.faq-question > span {
  flex: none; width: 24px; height: 24px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pp-chip-bg); color: var(--pp-tile-ink); font-weight: 700;
}
.faq-answer { display: none; padding: 0 22px 18px; font-size: 14.5px; line-height: 1.6; color: var(--pp-ink-2); }
.faq-answer.open { display: block; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer ul, .faq-answer ol { margin: 8px 0 0; padding-left: 20px; }
.faq-answer table { margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.faq-answer th, .faq-answer td { padding: 8px 14px; border: 1px solid #dde3e9; text-align: left; }
.faq-answer th { background: #f4f7fa; }
.pp-faq-page { max-width: 880px; margin: 48px auto 0; }
.pp-faq-group { scroll-margin-top: 84px; }
.pp-faq-group + .pp-faq-group { margin-top: 36px; }
.pp-page-head .pp-topics { margin-top: 24px; }
.pp-page-head .pp-topic { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .24); color: #fff; }
.pp-page-head .pp-topic:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.pp-faq-group-title { margin-bottom: 12px; font-size: 18px; font-weight: 800; color: var(--pp-ink); scroll-margin-top: 84px; }
.pp-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-topic { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #c9d3dd; color: var(--pp-ink-2); font-size: 13.5px; font-weight: 600; }
.pp-topic:hover { background: #f4f7fa; color: var(--pp-ink); text-decoration: none; }

/* Screenshots in a browser frame. */
.pp-browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--pp-line); box-shadow: 0 18px 44px rgba(15, 63, 100, .18); }
.pp-browser-bar { height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #e9eef3; border-bottom: 1px solid var(--pp-line); }
.pp-browser-dots { display: flex; gap: 6px; }
.pp-browser-dots span { width: 10px; height: 10px; border-radius: 999px; background: #c9d3dd; }
.pp-browser-url { flex: 1; min-width: 0; height: 22px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--pp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-browser img { display: block; width: 100%; height: auto; }
/* Dashboard screenshots are 1920x1080 with the old 81px portal header on top:
   show the 1920x999 below it. */
.pp-browser-crop { position: relative; overflow: hidden; aspect-ratio: 1920 / 999; }
.pp-browser-crop img { position: absolute; left: 0; top: -8.1%; width: 100%; height: auto; }
.pp-shot-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pp-figcaption { margin-top: 10px; font-size: 13px; color: var(--pp-muted); }
.pp-dark-shot { border-color: rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .40); }
.pp-dark-shot .pp-browser-bar { height: 32px; }

.pp-gallery-card { display: block; overflow: hidden; padding: 0; text-align: left; font: inherit; color: var(--pp-ink); cursor: zoom-in; width: 100%; }
.pp-gallery-card:hover { border-color: var(--pp-link); box-shadow: var(--pp-shadow-md); }
.pp-gallery-shot { position: relative; aspect-ratio: 16 / 8.3; overflow: hidden; background: #f4f7fa; border-bottom: 1px solid var(--pp-line); }
.pp-gallery-shot img { position: absolute; left: 0; top: -8.1%; width: 100%; height: auto; }
.pp-gallery-body { padding: 18px 20px; }

/* Spec rows (ad formats). */
.pp-spec { margin: 18px 0 0; font-size: 14px; }
.pp-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--pp-line-2); }
.pp-spec div:last-child { border-bottom: 1px solid var(--pp-line-2); }
.pp-spec dt { color: var(--pp-muted); }
.pp-spec dd { margin: 0; font-weight: 600; color: var(--pp-ink); text-align: right; }
.pp-card-head { display: flex; align-items: center; gap: 12px; }
.pp-callout { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: var(--pp-gold-soft); border: 1px solid var(--pp-gold-line); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--pp-gold-ink); }
.pp-callout .pp-icon { margin-top: 1px; }
.pp-info { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #e7f0f8; border: 1px solid #d3e2ef; border-radius: 10px; font-size: 13.5px; line-height: 1.5; color: #24506f; }
.pp-info .pp-icon { margin-top: 1px; }

/* Checklists on white. */
.pp-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--pp-ink-2); }
.pp-ticks li { display: flex; align-items: flex-start; gap: 10px; }
.pp-ticks .pp-icon { margin-top: 2px; color: var(--pp-gold-icon); }

/* --------------------------------------------------------------------------
   Advertising quote
   -------------------------------------------------------------------------- */
.pp-quote { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: hidden; box-shadow: var(--pp-shadow-md); border-radius: 16px; }
.pp-quote-form { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.pp-quote-summary { padding: 32px; display: flex; flex-direction: column; background:
    radial-gradient(420px 220px at 90% -10%, rgba(92, 142, 235, .28), transparent 62%),
    linear-gradient(160deg, #0c2640 0%, #071a2d 100%); color: #fff; }
.pp-quote-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.pp-quote-amount { margin-top: 8px; font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pp-quote-breakdown { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .78); }
.pp-quote-breakdown strong { color: #fff; }
/* calculator_ssi.js paints the discount note inline in plain green. */
.pp-quote-breakdown span { color: var(--pp-gold-light) !important; }
.pp-quote-summary .pp-btn { margin-top: 24px; }
.pp-quote-fine { margin-top: 12px; font-size: 12.5px; text-align: center; color: rgba(255, 255, 255, .7); }
.pp-quote-spacer { flex-grow: 1; min-height: 12px; }

.pp-multiselect {
  position: relative; min-height: 50px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 6px 10px; background: #fff; border: 1px solid var(--pp-input-line); border-radius: 10px;
}
.pp-multiselect:focus-within { border-color: var(--pp-link); box-shadow: 0 0 0 3px rgba(26, 102, 173, .18); }
.pp-multiselect .pp-tags { display: contents; }
.pp-multiselect input { flex: 1; min-width: 160px; height: 36px; border: 0; outline: none; background: transparent; font-size: 14.5px; color: var(--pp-ink); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px 4px 12px; border-radius: 999px;
  background: var(--pp-tile-ink); color: #fff; font-size: 13px; font-weight: 600;
}
.tag-exclude { background: var(--pp-neg); }
.tag-remove {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; cursor: pointer; font-weight: 700; line-height: 1;
}
.tag-remove:hover { background: rgba(255, 255, 255, .2); }
.dropdown-list {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  max-height: 260px; overflow-y: auto; padding: 5px;
  background: #fff; border: 1px solid var(--pp-line); border-radius: 12px; box-shadow: 0 14px 34px rgba(5, 25, 42, .18);
}
.dropdown-item { padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--pp-ink); }
.dropdown-item:hover { background: #eef4f9; }

.pp-seg { display: flex; gap: 10px; }
.pp-seg button {
  flex: 1 1 0; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #fff; border: 1px solid var(--pp-input-line); border-radius: 10px;
  font-size: 14.5px; font-weight: 700; color: var(--pp-ink-2); cursor: pointer;
}
.pp-seg button:hover { border-color: var(--pp-tile-ink); }
.pp-seg-tag { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--pp-chip-bg); color: var(--pp-chip-ink); }
.pp-seg-tag.pp-save { background: var(--pp-gold-soft); color: var(--pp-gold-ink); }
.pp-seg button[aria-pressed="true"] { background: var(--pp-navy); border-color: var(--pp-navy); color: #fff; }
.pp-seg button[aria-pressed="true"] .pp-seg-tag { background: rgba(255, 255, 255, .16); color: #fff; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.pp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.pp-field { min-width: 0; }
.pp-label { display: block; font-size: 14px; font-weight: 600; color: var(--pp-ink); }
.pp-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pp-label-row a { font-size: 13.5px; font-weight: 600; }
.pp-optional { font-weight: 400; color: var(--pp-muted); }
.pp-input, .pp-select, .pp-textarea {
  display: block; width: 100%; margin-top: 6px;
  height: 46px; padding: 0 14px;
  background: #fff; border: 1px solid var(--pp-input-line); border-radius: 10px;
  font-size: 15px; color: var(--pp-ink);
}
.pp-textarea { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.pp-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.pp-select-wrap { position: relative; }
.pp-select-wrap .pp-icon { position: absolute; right: 14px; top: 21px; pointer-events: none; color: var(--pp-muted); }
.pp-input:focus, .pp-select:focus, .pp-textarea:focus { outline: none; border-color: var(--pp-link); box-shadow: 0 0 0 3px rgba(26, 102, 173, .18); }
.pp-input::placeholder, .pp-textarea::placeholder, .pp-multiselect input::placeholder { color: #6b7c8c; }
.pp-hint { margin-top: 6px; font-size: 12.5px; color: var(--pp-muted); }
.error { display: none; margin-top: 6px; font-size: 13px; color: var(--pp-neg); }
.invalid, input.invalid, select.invalid { border-color: var(--pp-neg) !important; }
.pp-divider { margin: 28px 0; border: 0; border-top: 1px solid var(--pp-line-2); }
.pp-check { display: flex; align-items: flex-start; gap: 12px; }
.pp-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #d99a12; }
.pp-check label { font-size: 14.5px; line-height: 1.55; color: var(--pp-ink-2); }
.pp-check + .pp-check { margin-top: 14px; }
.pp-form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pp-form-note { font-size: 13.5px; color: var(--pp-muted); }
.pp-status { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.pp-status.pp-ok { display: block; background: #e6f4ea; color: var(--pp-pos); }
.pp-status.pp-bad { display: block; background: #fbeaea; color: var(--pp-neg); }
.reset-message { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.reset-message.success { background: #e6f4ea; color: var(--pp-pos); }
.reset-message.error-msg { background: #fbeaea; color: var(--pp-neg); }
.pp-response { margin-top: 14px; font-size: 14px; color: var(--pp-neg); }
.pp-captcha { margin-top: 18px; container-type: inline-size; }
/* Google's reCAPTCHA box is a fixed 304x78px, wider than the form on a phone under about 380px: it ran
   past the fields, and at 320px it widened the page. So it is scaled down to the width it has, from its
   top-left corner, and the space it takes shrinks with it (as v7's sign-up box in styles/modal.css).
   CSS cannot divide one length by another yet: tan(atan2(a, b)) is a/b as a plain number, and min()
   keeps the box full size wherever it fits. Without container units the box stays full size. */
.pp-captcha .g-recaptcha {
  --pp-captcha-scale: min(1, tan(atan2(100cqw, 304px)));
  width: 304px; height: calc(78px * var(--pp-captcha-scale));
  transform: scale(var(--pp-captcha-scale)); transform-origin: 0 0;
}
.pp-form-card { padding: 36px 40px; box-shadow: var(--pp-shadow-md); }
.pp-form-card h2 { font-size: 20px; font-weight: 800; }
.pp-form-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.pp-form-card-head span { font-size: 13px; color: var(--pp-muted); }

/* Apply page: form next to a sidebar, pulled up over the page head. */
.pp-apply { position: relative; z-index: 2; margin-top: -96px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.pp-aside-stack { display: flex; flex-direction: column; gap: 16px; }
.pp-aside-card { padding: 28px; }
.pp-aside-card h2 { font-size: 18px; font-weight: 800; color: #fff; }
.pp-aside-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pp-aside-list li { display: flex; align-items: flex-start; gap: 12px; }
.pp-aside-list strong { display: block; font-size: 14.5px; color: #fff; }
.pp-aside-list li > div > span { display: block; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.pp-aside-list a { color: #fff; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.pp-aside-list a:hover { color: var(--pp-gold-light); }
.pp-help-card { padding: 24px; }
.pp-help-card h2 { font-size: 16px; font-weight: 700; }
.pp-help-card p { margin-top: 8px; font-size: 14px; color: var(--pp-muted); }
.pp-help-links { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }

/* Log in: brand panel beside the form. */
.pp-auth { flex: 1 0 auto; display: grid; grid-template-columns: 520px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.pp-auth-aside { display: flex; flex-direction: column; padding: 56px; color: #fff; background:
    radial-gradient(700px 380px at 90% -10%, rgba(92, 142, 235, .26), transparent 62%),
    radial-gradient(600px 360px at 0% 110%, rgba(34, 72, 128, .55), transparent 65%),
    linear-gradient(180deg, #0c2640 0%, #071a2d 100%); }
.pp-auth-aside-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pp-auth-aside h1 { font-size: 36px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.pp-auth-aside p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.pp-auth-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.pp-auth-list li { display: flex; align-items: center; gap: 14px; }
.pp-auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; }
.pp-auth-card { width: 100%; max-width: 440px; padding: 40px; box-shadow: var(--pp-shadow-md); }
.pp-auth-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.pp-auth-card .pp-lede { margin-top: 10px; font-size: 14.5px; color: var(--pp-muted); }
.pp-auth-form { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.pp-auth-or { margin: 24px 0 16px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--pp-muted); }
.pp-auth-or::before, .pp-auth-or::after { content: ""; flex: 1; border-top: 1px solid #dde3e9; }
.pp-auth-below { margin-top: 20px; font-size: 13.5px; color: var(--pp-muted); text-align: center; }
.pp-password { position: relative; }
.pp-password .pp-input { padding-right: 52px; }
.pp-eye {
  position: absolute; right: 2px; top: 8px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 8px; color: var(--pp-muted); cursor: pointer;
}
.pp-eye:hover { background: #eef5fb; color: var(--pp-link); }
.pp-eye .pp-eye-off { display: none; }
.pp-eye[aria-pressed="true"] .pp-eye-on { display: none; }
.pp-eye[aria-pressed="true"] .pp-eye-off { display: block; }
.pp-login-status { display: none; margin-top: 14px; font-size: 14px; line-height: 1.5; text-align: center; }

/* Narrow single-card pages (forgot/change password, contact). */
.pp-narrow { position: relative; z-index: 2; max-width: 520px; margin: -72px auto 0; }
.pp-narrow-wide { max-width: 1168px; }
.pp-card-stack { display: flex; flex-direction: column; gap: 18px; }

/* Status pages (verify, verified, errors). */
.pp-status-page { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.pp-status-card { width: 100%; max-width: 560px; padding: 44px 40px; text-align: center; box-shadow: var(--pp-shadow-md); }
.pp-status-card h1, .pp-status-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.pp-status-card p { margin-top: 12px; font-size: 15.5px; color: var(--pp-ink-2); }
.pp-status-card .pp-muted { color: var(--pp-muted); }
.pp-status-card .pp-btn-row { margin-top: 28px; justify-content: center; }
.pp-status-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.pp-status-icon.pp-good { background: #e6f4ea; color: var(--pp-pos); }
.pp-status-icon.pp-info-icon { background: var(--pp-gold-soft); color: var(--pp-gold-ink); }
.pp-status-icon.pp-bad-icon { background: #fbeaea; color: var(--pp-neg); }

/* Long text (terms, guidelines, cookies). */
.pp-prose { padding: 40px 44px; font-size: 15px; line-height: 1.7; color: var(--pp-ink-2); }
.pp-prose h2 { margin: 32px 0 10px; font-size: 20px; font-weight: 800; color: var(--pp-ink); }
.pp-prose h3 { margin: 22px 0 8px; font-size: 16.5px; font-weight: 700; color: var(--pp-ink); }
.pp-prose > :first-child { margin-top: 0; }
.pp-prose p { margin: 0 0 14px; }
.pp-prose ul, .pp-prose ol { margin: 0 0 16px; padding-left: 22px; }
.pp-prose li { margin-bottom: 8px; }
.pp-prose .pp-revised { margin-top: 28px; font-size: 13.5px; font-style: italic; color: var(--pp-muted); }
.pp-prose h2 { scroll-margin-top: 84px; }
.pp-doc { position: relative; z-index: 2; max-width: 880px; margin: -72px auto 0; }
/* Heads over an 880px column line up with it. */
.pp-wrap.pp-doc-head { max-width: 912px; }
/* The terms add a contents list, which portal_ssi.js fills from the h2s. */
.pp-doc.pp-has-toc { max-width: none; display: grid; grid-template-columns: 250px minmax(0, 880px); justify-content: center; gap: 24px; align-items: start; }
.pp-toc { position: sticky; top: 88px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 18px 12px 18px 18px; }
.pp-toc h2 { padding: 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-muted); }
.pp-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.35; }
.pp-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--pp-ink-2); }
.pp-toc a:hover { background: #eef5fb; color: var(--pp-link); text-decoration: none; }
.pp-toc a[aria-current="true"] { background: var(--pp-gold-soft); color: var(--pp-gold-ink); font-weight: 600; }

/* Pricing table (API). */
.pp-table-wrap { overflow-x: auto; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pp-table thead th { padding: 12px 16px; text-align: left; background: #f4f7fa; border-bottom: 1px solid #dde3e9; font-weight: 700; color: var(--pp-ink-2); white-space: nowrap; }
.pp-table th small { font-weight: 400; color: var(--pp-muted); }
.pp-table td, .pp-table tbody th { padding: 12px 16px; border-bottom: 1px solid var(--pp-line-2); font-variant-numeric: tabular-nums; }
.pp-table tbody th { text-align: left; font-weight: 700; color: var(--pp-ink); white-space: nowrap; }
.pp-table tr:last-child td, .pp-table tr:last-child th { border-bottom: 0; }
.pp-table .pp-num { text-align: right; }
.pp-table tbody tr:hover { background: #f8fafc; }

/* Example request (API). */
.pp-code { margin: 0; min-width: 0; border-radius: 14px; overflow: hidden; background: #061526; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .40); }
.pp-code-bar { min-height: 38px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .10); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.pp-code-bar .pp-browser-dots span { background: rgba(255, 255, 255, .22); }
/* Request lines never break mid-URL; a narrow screen scrolls the box instead. */
.pp-code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 13px/1.8 var(--pp-mono); color: #d7e3ee; white-space: pre; }
.pp-c-method { color: var(--pp-gold-light); font-weight: 700; }
.pp-c-key { color: #8fc2f5; }
.pp-c-var { color: #f3d58a; }

/* Packages (Resellers). */
.pp-package { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pp-package-price { font-size: 30px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pp-package-note { font-size: 14px; color: var(--pp-muted); }

/* Video embed (Market Data walkthrough). */
.pp-video { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.pp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Loading interstitials (QR and link tracking) and the global spinner. */
.spinner { width: 44px; height: 44px; border: 4px solid #e3eaf0; border-top-color: var(--pp-gold); border-radius: 50%; animation: pp-spin 1s linear infinite; }
@keyframes pp-spin { to { transform: rotate(360deg); } }
#loading-container { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(242, 245, 248, .8); }
.pp-loading-page { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.pp-loading-page .container { max-width: 560px; text-align: center; }
.pp-loading-page h1 { font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--pp-ink); }
.pp-loading-page .spinner { margin: 24px auto 0; }

/* Lightbox and toast (created by portal_ssi.js). */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(4, 12, 22, .92); opacity: 0; transition: opacity .3s ease; }
.lightbox.active { opacity: 1; }
.lightbox-content { position: relative; max-width: 95%; max-height: 95%; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 0 30px rgba(0, 0, 0, .5); object-fit: contain; }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; opacity: .85; }
.lightbox-close:hover { opacity: 1; }
.lightbox-caption { margin-top: 14px; color: #e3eaf0; text-align: center; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 3000; min-width: 250px; padding: 14px 18px; border-radius: 10px; background: #22313f; color: #fff; text-align: center; box-shadow: var(--pp-shadow-md); transform: translateX(-50%); visibility: hidden; opacity: 0; transition: opacity .3s, bottom .3s; }
.toast.show { visibility: visible; opacity: 1; bottom: 50px; }
.toast.success { background: var(--pp-pos); }
.toast.error { background: var(--pp-neg); }

/* --------------------------------------------------------------------------
   Cookie choices (built by tracking_ssi.js): v7's consent bar in the portal's
   colours. Pinned to the foot of the screen but never over anything for good:
   the script gives the page room for it at its end. It sits under the header
   and the menu drawer (1000 and 999), so an open menu covers it, not the
   other way round.
   -------------------------------------------------------------------------- */
.pp-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--pp-card); border-top: 1px solid var(--pp-line);
  box-shadow: 0 -4px 14px rgba(15, 63, 100, .10);
}
.pp-consent-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px;
}
.pp-consent-copy { flex: 1 1 420px; min-width: 0; }
.pp-consent-lead { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--pp-ink); }
.pp-consent-text { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--pp-ink-2); }
.pp-consent-options { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pp-consent-option { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--pp-ink); cursor: pointer; }
.pp-consent-option input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #d99a12; }
.pp-consent-option strong { display: block; }
.pp-consent-note { display: block; color: var(--pp-muted); }
/* Accept and Reject: the same size, side by side. */
.pp-consent-actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pp-consent-choose { padding: 8px 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--pp-link); text-decoration: underline; cursor: pointer; }
.pp-consent-choose:hover { color: var(--pp-navy); }
.pp-footer-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: #46586a; cursor: pointer; }
.pp-footer-linkbtn:hover { color: var(--pp-link); }
@media (max-width: 560px) {
  .pp-consent-actions { width: 100%; }
  .pp-consent-actions .pp-btn { flex: 1 1 0; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
  .pp-nav-link { padding: 0 8px; }
}
@media (max-width: 1180px) {
  .pp-nav { display: none; }
  .pp-menu-btn { display: inline-flex; }
  .pp-page-head-grid, .pp-page-head-grid.pp-even, .pp-page-head-grid.pp-half, .pp-page-head-grid.pp-media { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pp-auth { grid-template-columns: minmax(0, 1fr); }
  .pp-auth-aside { padding: 40px 24px; }
  .pp-auth-aside-body { justify-content: flex-start; }
}
@media (min-width: 1181px) {
  .pp-drawer { display: none !important; }
}
@media (max-width: 1000px) {
  .pp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .pp-split-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .pp-quote { grid-template-columns: minmax(0, 1fr); }
  .pp-apply { grid-template-columns: minmax(0, 1fr); }
  .pp-equation-card { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .pp-doc.pp-has-toc { grid-template-columns: minmax(0, 1fr); }
  .pp-toc { display: none !important; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .pp-grid-2, .pp-grid-4, .pp-mini-list, .pp-metric-list, .pp-checklist, .pp-form-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-hero { padding: 40px 0 104px; }
  .pp-hero .pp-btn-row { flex-direction: column; align-self: stretch; }
  .pp-hero .pp-btn-row .pp-btn { width: 100%; }
  .pp-programs { margin-top: -72px; }
  .pp-page-head { padding: 40px 0 48px; }
  .pp-page-head.pp-overlap { padding-bottom: 104px; }
  .pp-section { margin-top: 48px; }
  .pp-band { padding: 28px 22px; }
  .pp-band-cta { align-self: stretch; }
  .pp-band-cta .pp-btn { width: 100%; }
  .pp-row-card { padding: 20px; gap: 14px; }
  .pp-market-card-body { padding: 22px 22px 0; }
  .pp-market-shot { margin: 20px 22px 0; min-height: 160px; }
  .pp-form-card, .pp-auth-card, .pp-status-card { padding: 28px 22px; }
  .pp-prose { padding: 28px 22px; }
  .pp-quote-form, .pp-quote-summary { padding: 24px; }
  .pp-seg { flex-direction: column; }
  .pp-seg button { min-height: 52px; flex-direction: row; gap: 10px; }
  .pp-equation { flex-wrap: wrap; justify-content: center; }
  .pp-eq-tile { flex: 1 1 100%; }
  .pp-eq-op { width: 100%; text-align: center; line-height: 1; }
  .pp-footer { margin-top: 56px; padding: 28px 0 24px; }
  .pp-footer-col { flex: 1 1 40%; }
  .pp-faq-item summary { padding: 15px 18px; }
  .pp-faq-answer { padding: 0 18px 18px 18px; }
  .pp-ladder { padding: 22px; }
  .pp-ladder-row { grid-template-columns: 88px minmax(0, 1fr) 54px; gap: 10px; }
  .pp-ladder-rate { font-size: 22px; }
  .pp-stat-num { font-size: 26px; }
  .pp-apply, .pp-narrow, .pp-doc { margin-top: -80px; }
  .pp-faq-page { margin-top: 32px; }
}
@media (max-width: 560px) {
  .pp-brand img { width: 114px; height: 20px; }
  .pp-brand { gap: 9px; }
  .pp-brand-label { font-size: 14px; }
  .pp-header-actions .pp-hide-phone { display: none; }
  .pp-header-actions { gap: 6px; }
  .pp-header-actions .pp-btn-sm { padding: 0 12px; }
  .pp-header-inner { gap: 8px; padding-right: 8px; }
  .pp-stat-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .pp-brand-divider, .pp-brand-label { display: none; }
}
