/* ProxyLook v2 — G2/Capterra-inspired marketplace, trustworthy blue, dark mode */
/* Font CSS moved out of @import (was a 4-hop render-blocking chain). It is
   now loaded from <head> as a non-blocking preload + media-print swap.  */

:root {
  --accent: #1e60d6;
  --accent-2: #4f86e8;
  --accent-soft: #e8f0fc;
  --accent-ink: #0d3a8c;

  /* Section / category accent palette — all "second-color" accents on the site
     should pull from this list. Adding a new section? Use one of these tokens.
     Do NOT introduce new hex values inline. */
  --c-blue:    #1e60d6;   /* same as --accent; alias for clarity in palette arrays */
  --c-emerald: #10b981;   /* network, performance, benchmarks */
  --c-amber:   #f59e0b;   /* pricing, suitability, deals, reviews */
  --c-cyan:    #06b6d4;   /* features, protocols, locations */
  --c-purple:  #7c3aed;   /* sdk, enterprise */
  --c-pink:    #ec4899;   /* AI / MCP */
  --c-green:   #047857;   /* compliance, deep-trust */
  --c-rose:    #e11d48;   /* warnings / exclusive */
  --c-slate:   #5d6b80;   /* company, faq, neutral cards */

  --ink: #0c1628;
  --ink-2: #1c2638;
  --ink-3: #3a4658;
  --muted: #5d6b80;
  --muted-2: #8a95a8;
  --line: #e3e7ee;
  --line-2: #eef1f6;
  --bg: #f7f8fb;
  --paper: #ffffff;
  --paper-2: #f1f4f9;

  --good: #047857;
  --good-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;

  --r-xs: 4px;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(12,22,40,.04), 0 1px 2px rgba(12,22,40,.05);
  --shadow: 0 1px 3px rgba(12,22,40,.06), 0 4px 12px rgba(12,22,40,.06);
  --shadow-lg: 0 10px 30px rgba(12,22,40,.12);
  --f: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --hw: 700; /* headline weight tweak */
  --hs: 1;   /* headline size scale */
}

[data-theme="dark"] {
  --ink: #f1f4f9;
  --ink-2: #d8dde6;
  --ink-3: #b3bccc;
  --muted: #8a95a8;
  --muted-2: #6b7488;
  --line: #1f2837;
  --line-2: #182030;
  --bg: #0a0f1a;
  --paper: #0f1623;
  --paper-2: #151d2e;
  --accent-soft: #102347;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.5);
  --good-soft: #052e22;
  --warn-soft: #2a1d05;
  --bad-soft: #2a0808;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
.pl-mono { font-family: var(--f-mono); font-feature-settings: "tnum"; letter-spacing: -.01em; }
.pl-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .pl-container { padding: 0 16px; } }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* TYPE */
.pl-h1 {
  font-size: calc(48px * var(--hs));
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: var(--hw);
  margin: 0 0 16px;
  text-wrap: balance;
}
.pl-h2 {
  font-size: calc(32px * var(--hs));
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: var(--hw);
  margin: 0;
  text-wrap: balance;
}
.pl-h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
.pl-h4 { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; }
.pl-lede {
  font-size: 16px; line-height: 1.55; color: var(--muted);
  max-width: 60ch; margin: 0;
}
.pl-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.pl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* BUTTONS */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  background: transparent; color: var(--ink);
  white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s;
}
.pl-btn-primary { background: var(--accent); color: #fff; }
.pl-btn-primary:hover { background: var(--accent-ink); }
.pl-btn-dark { background: var(--ink); color: var(--paper); }
.pl-btn-dark:hover { background: var(--ink-2); }
.pl-btn-ghost { border-color: var(--line); background: var(--paper); }
.pl-btn-ghost:hover { border-color: var(--ink-3); background: var(--paper-2); }
.pl-btn-ghost.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pl-btn-sm { padding: 6px 10px; font-size: 12px; }
.pl-btn-lg { padding: 12px 20px; font-size: 14px; }
.pl-btn-block { width: 100%; }
.pl-icon-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
}
.pl-icon-btn:hover { background: var(--paper-2); }

.pl-chip {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 5px 10px; font-size: 12px; color: var(--ink-2);
  font-weight: 500; transition: border-color .12s;
}
.pl-chip:hover { border-color: var(--accent); color: var(--accent); }

.pl-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.pl-pill-good { background: var(--good-soft); color: var(--good); }
.pl-pill-warn { background: var(--warn-soft); color: var(--warn); }
.pl-pill-bad { background: var(--bad-soft); color: var(--bad); }

.pl-kbd {
  font-family: var(--f-mono); font-size: 11px;
  padding: 1px 5px; border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 3px;
  background: var(--paper-2); color: var(--muted);
}

.pl-link { color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.pl-link:hover { text-decoration: underline; }

/* LAYOUT */
.pl-disclosure {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px; padding: 8px 24px;
  text-align: center;
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 15%, var(--line));
}
[data-theme="dark"] .pl-disclosure { color: var(--accent-2); }

.pl-nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pl-nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 12px 24px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.pl-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.pl-logo-text { font-weight: 700; }
.pl-logo-accent { color: var(--accent); }
.pl-nav-links { display: flex; gap: 2px; justify-content: center; }
.pl-nav-link {
  padding: 7px 12px; border-radius: var(--r-sm);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.pl-nav-link:hover { background: var(--paper-2); color: var(--ink); }
.pl-nav-link.active { background: var(--accent-soft); color: var(--accent); }
.pl-nav-cta { display: flex; gap: 8px; align-items: center; }
.pl-theme-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
}
.pl-theme-btn:hover { border-color: var(--ink-3); }
@media (max-width: 1180px) { .pl-nav-links { display: none; } .pl-nav-inner { grid-template-columns: auto 1fr; } }

/* Mobile hamburger button — only shown when the inline nav links collapse.
   Sits inside .pl-nav-cta. Above 1180px the hamburger is hidden because the
   inline nav handles everything. */
.pl-nav-burger {
  display: none;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .12s, background .12s;
}
.pl-nav-burger:hover { border-color: var(--ink-3); background: var(--paper-2); }
@media (max-width: 1180px) { .pl-nav-burger { display: inline-flex; } }
@media (max-width: 720px) {
  .pl-nav-cta .pl-cta-compare,
  .pl-nav-cta .pl-cta-wizard { display: none; }
  .pl-nav-inner { padding: 10px 14px; gap: 8px; }
}

/* Mobile drawer — full-height right-side overlay that opens when hamburger tapped */
.pl-nav-drawer {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 22, 40, .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: stretch; justify-content: flex-end;
  animation: pl-fade-in .15s ease-out;
}
.pl-nav-drawer[data-open] { display: flex; }
.pl-nav-drawer > nav,
.pl-nav-drawer-close,
.pl-nav-drawer-cta {
  background: var(--paper);
}
.pl-nav-drawer > nav {
  width: min(320px, 86vw);
  height: 100%; overflow-y: auto;
  padding: 64px 0 16px;
  display: flex; flex-direction: column; gap: 2px;
  animation: pl-slide-in-right .2s ease-out;
  position: relative;
}
.pl-nav-drawer-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid var(--line); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1;
}
.pl-nav-drawer-link {
  display: block; padding: 12px 22px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.pl-nav-drawer-link:hover,
.pl-nav-drawer-link.active {
  background: var(--accent-soft); color: var(--accent);
}
.pl-nav-drawer-cta {
  position: absolute; bottom: 0; left: 0; right: auto;
  width: min(320px, 86vw);
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
@keyframes pl-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes pl-slide-in-right { from { transform: translateX(100%) } to { transform: translateX(0) } }

/* Disclosure bar — wrap on mobile instead of clipping */
.pl-disclosure { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .pl-disclosure { white-space: normal; overflow: visible; text-overflow: clip; padding: 8px 14px; line-height: 1.4; }
}

/* HERO — search-led */
.pl-hero {
  position: relative;
  padding: 56px 0 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pl-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, color-mix(in oklab, var(--accent) 6%, transparent) 0%, transparent 60%);
}
.pl-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.pl-hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.pl-hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: 12px; color: var(--ink-2); font-weight: 500;
}
.pl-hero-trust strong { color: var(--accent); }
.pl-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.pl-hero h1 span { color: var(--accent); }
.pl-hero-lede { font-size: 17px; max-width: 60ch; margin: 0 auto 32px; color: var(--muted); }

.pl-mega-search {
  position: relative;
  display: flex; align-items: center; gap: 0;
  max-width: 720px; margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.pl-mega-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent); }
.pl-mega-search > svg { color: var(--muted); flex-shrink: 0; }
.pl-mega-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 16px; padding: 14px 12px;
  color: var(--ink);
}
.pl-mega-divider { width: 1px; align-self: stretch; background: var(--line); margin: 8px 0; }
.pl-mega-select {
  border: 0; background: transparent; padding: 12px 8px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  outline: 0;
}
.pl-mega-search .pl-btn { padding: 12px 22px; font-size: 14px; }

.pl-hero-suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.pl-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 880px; margin: 56px auto 0;
  padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pl-stat { padding: 20px; text-align: center; border-right: 1px solid var(--line); }
.pl-stat:last-child { border-right: 0; }
.pl-stat-n { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.pl-stat-l { font-size: 11px; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
@media (max-width: 700px) { .pl-hero-stats { grid-template-columns: repeat(2, 1fr); } .pl-stat:nth-child(2) { border-right: 0; } .pl-stat:nth-child(1), .pl-stat:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* SECTION */
.pl-section { padding: 60px 0; }
.pl-section-tight { padding: 40px 0; }
.pl-section-bg { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-section-dark { background: #0a1426; color: #f1f4f9; }
.pl-section-dark { --paper: #0f1a30; --line: #1f2c45; --paper-2: #142340; --ink: #f1f4f9; --ink-2: #d8dde6; --muted: #94a3b8; }
.pl-section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: 32px; flex-wrap: wrap;
}

/* TICKER */
.pl-ticker { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.pl-ticker-inner { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.pl-ticker-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pl-ticker-row {
  display: flex; gap: 36px; align-items: center;
  animation: ticker 70s linear infinite;
  width: max-content;
  /* Soften the edges but keep the FIRST item fully visible — was clipping "Bright Data". */
  mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
  padding-inline-start: 24px;
}
.pl-ticker-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pl-ticker-dot { width: 7px; height: 7px; border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 768px) { .pl-ticker-inner { grid-template-columns: 1fr; } }

/* USE CASES */
.pl-uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1024px) { .pl-uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pl-uc-grid { grid-template-columns: 1fr; } }
.pl-uc-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-align: left;
  transition: border-color .12s, box-shadow .12s;
}
.pl-uc-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pl-uc-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); }
.pl-uc-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.pl-uc-desc { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pl-uc-count { display: flex; align-items: center; gap: 4px; color: var(--muted-2); font-size: 12px; }

/* FILTERS RAIL */
.pl-app {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px;
  margin: 32px 0;
}
@media (max-width: 1024px) { .pl-app { grid-template-columns: 1fr; } .pl-rail { display: none; } }
.pl-rail {
  position: sticky; top: 80px; align-self: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px;
  max-height: calc(100vh - 100px); overflow-y: auto;
}
.pl-rail-h {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 16px 0 8px; padding-top: 12px; border-top: 1px solid var(--line-2);
}
.pl-rail-h:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.pl-rail-row { padding: 4px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.pl-rail-row:hover { color: var(--accent); }
.pl-rail-row input[type="checkbox"] { accent-color: var(--accent); width: 14px; height: 14px; }
.pl-rail-row .pl-mono { margin-left: auto; color: var(--muted-2); font-size: 11px; }
.pl-rail-search {
  display: flex; align-items: center; gap: 6px; padding: 7px 10px;
  background: var(--paper-2); border-radius: var(--r-sm); margin-bottom: 12px;
  border: 1px solid transparent;
}
.pl-rail-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 13px; }
.pl-range-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pl-range { width: 100%; accent-color: var(--accent); }
.pl-rail-clear {
  width: 100%; margin-top: 8px;
  font-size: 12px; padding: 6px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2);
}

/* DIRECTORY HEAD */
.pl-dir-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  margin-bottom: 12px; flex-wrap: wrap;
}
.pl-dir-count { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.pl-dir-count strong { color: var(--ink); }
.pl-dir-tools { display: flex; gap: 8px; align-items: center; }
.pl-view-toggle {
  display: inline-flex; padding: 3px; background: var(--paper-2); border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.pl-view-toggle button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border: 0; background: transparent; border-radius: var(--r-xs);
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.pl-view-toggle button.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.pl-select { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font-size: 13px; color: var(--ink); }

/* TABLE — dense */
.pl-table {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.pl-thead, .pl-trow {
  display: grid;
  grid-template-columns: 36px minmax(220px, 2fr) 100px 80px 110px minmax(160px, 1.4fr) 110px 100px 130px;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.pl-thead {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
.pl-thead button { background: transparent; border: 0; padding: 0; color: var(--muted); font: inherit; text-transform: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.pl-thead button:hover { color: var(--ink); }
.pl-thead button.active { color: var(--accent); }
.pl-trow { padding: 14px; border-bottom: 1px solid var(--line-2); transition: background .1s; }
.pl-trow:last-child { border-bottom: 0; }
.pl-trow:hover { background: var(--paper-2); }
.pl-trow-rank { font-size: 12px; color: var(--muted-2); font-family: var(--f-mono); }
.pl-trow-brand { display: flex; gap: 10px; align-items: center; min-width: 0; }
.pl-trow-name { font-weight: 600; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-trow-tag { font-size: 12px; color: var(--muted); margin-top: 1px; line-height: 1.3; }
.pl-trow-rating { display: flex; flex-direction: column; gap: 2px; }
.pl-trow-rating .pl-mono { color: var(--ink); font-weight: 600; }
.pl-trow-rating-sub { font-size: 11px; color: var(--muted); }
.pl-trust-bar { display: flex; align-items: center; gap: 6px; }
.pl-trust-track { width: 40px; height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.pl-trust-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }
.pl-trust-num { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink); }
.pl-trow-price { font-family: var(--f-mono); font-weight: 600; color: var(--ink); font-size: 14px; }
.pl-trow-price small { font-family: var(--f); font-size: 11px; color: var(--muted); font-weight: 500; }
.pl-trow-types { display: flex; flex-wrap: wrap; gap: 3px; }
.pl-type-tag {
  font-size: 10px; padding: 2px 6px;
  background: var(--paper-2); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-xs);
  font-weight: 600;
}
.pl-trow-pool { font-family: var(--f-mono); color: var(--ink); font-weight: 600; font-size: 13px; }
.pl-trow-pool small { font-family: var(--f); display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.pl-trow-deal { font-size: 11px; color: var(--accent); font-weight: 600; line-height: 1.2; }
.pl-trow-actions { display: flex; gap: 4px; justify-content: flex-end; }

.pl-stars { display: inline-flex; align-items: center; gap: 1px; }
.pl-star { color: var(--line); }
.pl-star.on { color: #f59e0b; }

.pl-verified-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent); color: #fff;
}
.pl-badge-soft {
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: var(--r-xs); letter-spacing: .03em; text-transform: uppercase;
}

@media (max-width: 1100px) {
  .pl-thead { display: none; }
  .pl-trow {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    padding: 16px;
  }
  .pl-trow-rank { display: none; }
  .pl-trow-brand { grid-column: 1 / -1; }
  .pl-trow-actions { grid-column: 1 / -1; }
}

/* CARDS view */
.pl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1024px) { .pl-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pl-cards { grid-template-columns: 1fr; } }

/* DENSE variant — auto-fill responsive 1→2→3→4+ cols based on viewport width.
   Used by /all-providers directory grid. Each card stays readable at min 280px wide.
   On a 1440px laptop this gives 4 columns; on a 27" 4K monitor up to 5. */
.pl-cards-dense {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
@media (max-width: 1024px) { .pl-cards-dense { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } }
@media (max-width: 640px) { .pl-cards-dense { grid-template-columns: 1fr; gap: 12px; } }
.pl-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .12s, box-shadow .12s;
}
.pl-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.pl-card-featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pl-card-ribbon {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: var(--r-xs);
  text-transform: uppercase;
}
.pl-card-head { display: flex; gap: 12px; align-items: center; }
.pl-logo-tile {
  width: 40px; height: 40px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
  font-family: var(--f-mono); letter-spacing: -.02em;
}
.pl-card-name { font-weight: 700; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.pl-card-tag { font-size: 12px; color: var(--muted); }
.pl-card-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pl-card-blurb { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.pl-card-kvs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; font-size: 12px; }
.pl-card-kv-l { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.pl-card-kv-v { font-weight: 600; color: var(--ink); margin-top: 1px; font-family: var(--f-mono); }
.pl-card-types { display: flex; flex-wrap: wrap; gap: 4px; }
.pl-card-deal {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background: var(--accent-soft);
  border: 1px dashed color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: var(--r);
}
.pl-deal-code { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .04em; }
[data-theme="dark"] .pl-deal-code { color: var(--accent-2); }
.pl-deal-off { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pl-card-foot { display: flex; gap: 6px; }
.pl-card-foot .pl-btn { flex: 1; }

/* DEAL CARDS (deal hub) */
.pl-deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1024px) { .pl-deals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pl-deals-grid { grid-template-columns: 1fr; } }

/* PROVIDER DETAIL */
.pl-detail { padding: 32px 0; }
.pl-breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.pl-breadcrumbs a:hover { color: var(--accent); }
.pl-detail-head {
  display: grid; grid-template-columns: 1fr 320px; gap: 32px;
  padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  margin-bottom: 24px;
}
.pl-detail-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.pl-detail-brand .pl-logo-tile { width: 64px; height: 64px; font-size: 20px; }
.pl-detail-brand h1 { font-size: 28px; line-height: 1.1; margin: 0 0 4px; font-weight: 700; }
.pl-detail-brand-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pl-detail-blurb { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 16px 0; max-width: 64ch; }
.pl-detail-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-detail-quick > div { padding: 14px; border-right: 1px solid var(--line); }
.pl-detail-quick > div:last-child { border-right: 0; }
.pl-detail-quick-l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 4px; }
.pl-detail-quick-v { font-size: 18px; font-weight: 700; color: var(--ink); }
.pl-detail-buy {
  background: var(--accent-soft); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid color-mix(in oklab, var(--accent) 18%, transparent);
}
.pl-detail-buy h4 { font-size: 13px; color: var(--accent-ink); }
[data-theme="dark"] .pl-detail-buy h4 { color: var(--accent-2); }
.pl-detail-buy-price { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; }
.pl-detail-buy-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.pl-detail-buy-deal {
  background: var(--paper); padding: 10px 12px; border-radius: var(--r);
  border: 1px dashed var(--accent); display: flex; justify-content: space-between; align-items: center;
}
@media (max-width: 900px) { .pl-detail-head { grid-template-columns: 1fr; } .pl-detail-quick { grid-template-columns: repeat(2, 1fr); } }

.pl-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 900px) { .pl-detail-grid { grid-template-columns: 1fr; } }
.pl-tabs {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.pl-tabs-head { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pl-tab {
  padding: 14px 18px; font-size: 13px; font-weight: 600;
  border: 0; background: transparent;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
}
.pl-tab:hover { color: var(--ink); }
.pl-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.pl-tab-body { padding: 24px; }
.pl-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .pl-proscons { grid-template-columns: 1fr; } }
.pl-pc-h { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pl-pc-h.good { color: var(--good); }
.pl-pc-h.bad { color: var(--bad); }
.pl-pc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; line-height: 1.5; }
.pl-pc-list li { display: flex; gap: 8px; }
.pl-pc-list li svg { flex-shrink: 0; margin-top: 2px; }
.pl-editor-note {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 14px 16px; border-radius: 0 var(--r) var(--r) 0;
  font-size: 13px; line-height: 1.55; margin-top: 16px;
}
.pl-editor-note strong { display: block; color: var(--accent-ink); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
[data-theme="dark"] .pl-editor-note strong { color: var(--accent-2); }

.pl-side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px; }
.pl-side-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }

/* COMPARE PAGE */
.pl-compare-grid {
  display: grid;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.pl-compare-section {
  display: contents;
}
.pl-compare-section-h {
  background: var(--paper-2); padding: 10px 16px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  display: flex; align-items: center; justify-content: space-between;
}
.pl-compare-cell {
  padding: 12px 16px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.pl-compare-cell-l { color: var(--muted); font-weight: 500; background: var(--paper-2); }
.pl-compare-brand-cell {
  background: var(--paper); padding: 16px; border-bottom: 2px solid var(--accent);
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}

/* SEGMENTED */
.pl-segmented { display: inline-flex; padding: 3px; background: var(--paper-2); border-radius: var(--r-sm); gap: 2px; flex-wrap: wrap; border: 1px solid var(--line); }
.pl-segmented button { padding: 5px 10px; border: 0; background: transparent; border-radius: var(--r-xs); font-size: 12px; color: var(--muted); font-weight: 500; }
.pl-segmented button.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

/* WIZARD */
.pl-wizard { max-width: 720px; margin: 0 auto; padding: 40px 0; }
.pl-wizard-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.pl-wizard-progress span { flex: 1; height: 4px; background: var(--line); border-radius: 999px; }
.pl-wizard-progress span.on { background: var(--accent); }
.pl-wizard-q { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.pl-wizard-step { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.pl-wizard-h { font-size: 24px; font-weight: 700; margin: 0 0 24px; line-height: 1.2; }
.pl-wizard-opts { display: grid; gap: 8px; }
.pl-wizard-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); cursor: pointer; text-align: left;
  transition: border-color .12s, background .12s;
  font-size: 14px; font-weight: 500;
}
.pl-wizard-opt:hover { border-color: var(--accent); }
.pl-wizard-opt.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
[data-theme="dark"] .pl-wizard-opt.active { color: var(--ink); }
.pl-wizard-foot { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* GUIDES grid */
.pl-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .pl-guides-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pl-guides-grid { grid-template-columns: 1fr; } }
.pl-guide-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: border-color .12s; }
.pl-guide-card:hover { border-color: var(--accent); }
.pl-guide-art {
  height: 120px; border-radius: var(--r); margin: -18px -18px 16px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.pl-guide-cat { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.pl-guide-title { font-size: 16px; font-weight: 600; margin: 6px 0 12px; line-height: 1.3; color: var(--ink); }
.pl-guide-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; }

/* ABOUT METHODOLOGY */
.pl-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .pl-method-grid { grid-template-columns: 1fr; } }
.pl-method-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.pl-method-num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 700; }
.pl-method-h { font-size: 18px; font-weight: 700; margin: 8px 0 8px; }

/* DATA-VIZ ABSTRACT (decorative) */
.pl-viz {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 18%, var(--paper-2)) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.pl-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* COMPARE BAR */
.pl-cbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--line);
  animation: slideUp .25s ease-out;
}
[data-theme="light"] .pl-cbar { background: #0c1628; color: #fff; }
@keyframes slideUp { from { transform: translateY(100%); } }
.pl-cbar-inner { padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pl-cbar-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pl-cbar-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-cbar-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); padding: 4px 4px 4px 10px;
  border-radius: var(--r); font-size: 12px;
}
.pl-cbar-chip button { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.15); border: 0; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pl-cbar .pl-btn-ghost { border-color: rgba(255,255,255,.2); color: #fff; background: transparent; }
.pl-cbar .pl-btn-primary { background: var(--accent); }

/* MODAL */
.pl-modal-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12,22,40,.6); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 16px 40px; overflow-y: auto;
}
.pl-modal {
  background: var(--paper); border-radius: var(--r-lg);
  max-width: 1100px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.pl-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }

/* CTA */
.pl-cta { padding: 80px 0; background: var(--paper); border-top: 1px solid var(--line); }
.pl-cta-inner {
  background: linear-gradient(135deg, #0c1628, #1a2a4a);
  color: #fff;
  border-radius: var(--r-xl); padding: 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.pl-cta-inner h2 { color: #fff; }
.pl-cta-inner p { color: rgba(255,255,255,.7); }
.pl-cta-art-wrap { position: relative; height: 180px; }
.pl-cta-orb { position: absolute; border-radius: 50%; filter: blur(40px); }
.pl-cta-orb-1 { width: 200px; height: 200px; background: var(--accent); top: -40px; left: 0; opacity: .8; }
.pl-cta-orb-2 { width: 160px; height: 160px; background: var(--accent-2); bottom: -30px; right: 20px; opacity: .6; }
.pl-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pl-cta-trust { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 800px) { .pl-cta-inner { grid-template-columns: 1fr; padding: 28px; } .pl-cta-art-wrap { display: none; } }

/* FOOTER */
.pl-footer { background: #0a1426; color: rgba(255,255,255,.7); padding: 56px 0 24px; }
/* Footer grid — May 2026: was 1.5fr+4 (5 columns) but the HTML has 6 (brand
   + 5 menus) so the About column dropped to a second row. Now 1.5fr+5 (6 cols)
   at desktop, with sensible breakpoints below. */
.pl-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pl-footer-brand p { font-size: 13px; line-height: 1.6; max-width: 36ch; margin-top: 12px; color: rgba(255,255,255,.55); }
.pl-footer-h { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.pl-footer a { display: block; font-size: 13px; padding: 3px 0; color: rgba(255,255,255,.55); }
.pl-footer a:hover { color: #fff; }
.pl-footer-foot { display: flex; justify-content: space-between; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 12px; align-items: center; }
/* Inline anchors inside the bottom legal bar — without this the global
   `.pl-footer a { display: block }` makes "By AFFMaven & AIMojo.io" wrap
   to 4 lines (one per word/link). */
.pl-footer-foot a { display: inline; padding: 0; }
@media (max-width: 1100px) { .pl-footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } .pl-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 700px)  { .pl-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px)  { .pl-footer-grid { grid-template-columns: 1fr; } }

/* density variants */
[data-density="compact"] .pl-trow { padding: 10px 14px; }
[data-density="compact"] .pl-card { padding: 14px; gap: 8px; }
[data-density="comfortable"] .pl-trow { padding: 18px 14px; }
[data-density="comfortable"] .pl-card { padding: 22px; gap: 14px; }

/* hero variants */
.pl-hero[data-variant="ranked"] { padding: 40px 0; }
.pl-hero[data-variant="ranked"] .pl-hero-stats { display: none; }
.pl-hero[data-variant="editorial"] .pl-mega-search { max-width: 480px; }
.pl-hero[data-variant="editorial"] h1 { text-align: left; }
.pl-hero[data-variant="editorial"] .pl-hero-inner { text-align: left; }
.pl-hero[data-variant="editorial"] .pl-hero-suggest { justify-content: flex-start; }
.pl-hero[data-variant="editorial"] .pl-mega-search { margin: 0; }

/* hide imagery toggle */
[data-imagery="off"] .pl-viz { display: none; }
[data-imagery="off"] .pl-guide-art { background: var(--paper-2); }
[data-imagery="off"] .pl-cta-art-wrap { display: none; }

/* layout swaps */
[data-layout="grid"] .pl-table-wrap { display: none; }
[data-layout="table"] .pl-cards-wrap { display: none; }
[data-layout="table"] .pl-rank-wrap { display: none; }
[data-layout="ranked"] .pl-table-wrap { display: none; }
[data-layout="ranked"] .pl-cards-wrap { display: none; }
[data-layout="grid"] .pl-rank-wrap { display: none; }

/* RANKED list */
.pl-ranked-list { display: grid; gap: 12px; }
.pl-ranked-card {
  display: grid; grid-template-columns: 80px 1fr 200px; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .12s;
}
.pl-ranked-card:hover { border-color: var(--accent); }
.pl-ranked-num { font-size: 64px; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.04em; }
.pl-ranked-body h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-ranked-body p { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.pl-ranked-meta { display: flex; gap: 12px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.pl-ranked-meta strong { color: var(--ink); font-family: var(--f-mono); }
.pl-ranked-actions { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 700px) { .pl-ranked-card { grid-template-columns: 1fr; } .pl-ranked-num { font-size: 36px; } }
  /* page-specific additions on top of styles.css */
  .pp-hero {
    background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
    padding: 32px 0 0;
    border-bottom: 1px solid var(--line);
  }
  .pp-bread { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); margin-bottom: 18px; flex-wrap:wrap; }
  .pp-bread a:hover { color: var(--accent); }
  .pp-bread span { color: var(--muted-2); }
  .pp-hero-grid {
    display:grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start;
    padding-bottom: 28px;
  }
  @media (max-width: 960px){ .pp-hero-grid{ grid-template-columns: 1fr; } }
  .pp-brand { display:flex; gap: 18px; align-items: center; }
  .pp-mark { width:72px; height:72px; border-radius: 12px; display:flex; align-items:center; justify-content:center; color:#fff; font-weight: 800; font-size: 26px; flex-shrink:0; box-shadow: var(--shadow); }
  .pp-title { font-size: clamp(28px, 4vw, 40px); font-weight: var(--hw); letter-spacing:-.02em; line-height:1.05; margin: 0; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .pp-tagline { font-size: 15px; color: var(--muted); margin-top: 4px; }
  .pp-meta-row { display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px; font-size: 13px; color: var(--ink-2); align-items:center; }
  .pp-meta-row .pl-pill { font-size: 11px; }
  .pp-stars-inline { display:inline-flex; align-items:center; gap:6px; font-size: 13px; }
  .pp-stars-inline b { font-family: var(--f-mono); color: var(--ink); font-weight: 700; }
  /* Hero blurb — provider's own description. Multiple <p>s flow as readable prose. */
  .pp-blurb {
    font-size: 15.5px; line-height: 1.7; color: var(--ink-2);
    margin: 0 0 14px; max-width: 64ch;
  }
  .pp-blurb:first-of-type { margin-top: 18px; }
  /* Last paragraph (the editorial monitoring note) — same prose flow, lightly muted */
  .pp-blurb.pp-blurb-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
  }
  .pp-blurb.pp-blurb-meta::before {
    content: "—"; color: var(--accent); font-weight: 700; margin-right: 6px;
  }
  .pp-cta-row { display:flex; gap: 10px; flex-wrap: wrap; }

  .pp-buy {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 22px; display: flex; flex-direction: column; gap: 14px;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 90px;
    align-self: start;          /* don't stretch to match left column height */
  }
  .pp-buy-h { font-size:11px; font-weight: 700; letter-spacing:.08em; text-transform: uppercase; color: var(--accent); }
  .pp-buy-price { display:flex; align-items: baseline; gap: 6px; }
  .pp-buy-price b { font-size: 36px; font-weight: 800; letter-spacing:-.02em; }
  .pp-buy-price small { color: var(--muted); font-size: 13px; }
  .pp-buy-deal {
    display:flex; justify-content:space-between; align-items:center; gap:10px;
    padding: 10px 12px; border: 1px dashed var(--accent); border-radius: var(--r);
    background: var(--accent-soft);
  }
  .pp-buy-deal-l { font-size: 11px; color: var(--accent-ink); text-transform: uppercase; letter-spacing:.06em; font-weight: 700; }
  [data-theme="dark"] .pp-buy-deal-l { color: var(--accent-2); }
  .pp-buy-deal-c { font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
  .pp-buy-trust { display:flex; gap: 6px; align-items:center; font-size:12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line-2); }

  /* Compact "quick stats" row — wrapped in .pl-container by the template.
     Was a 6-column grid that looked sparse and over-wide on desktop. Now a single
     rounded card with auto-fitting cells separated by hairlines. */
  .pp-quick-strip {
    display: flex; flex-wrap: wrap;
    margin: 0 0 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .pp-q {
    flex: 1 1 0;
    min-width: 150px;
    padding: 12px 16px;
    border-right: 1px solid var(--line-2);
  }
  .pp-q:last-child { border-right: 0; }
  .pp-q-l { font-size: 10px; text-transform: uppercase; letter-spacing:.08em; font-weight: 700; color: var(--muted); }
  .pp-q-v { font-size: 16px; font-weight: 700; margin-top: 3px; letter-spacing:-.01em; line-height: 1.15; color: var(--ink); }
  .pp-q-v small { font-family: var(--f); font-weight: 500; font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }

  @media (max-width: 900px) {
    .pp-q { flex-basis: calc(33.333%); border-bottom: 1px solid var(--line-2); }
    .pp-q:nth-child(3) { border-right: 0; }
    .pp-q:nth-last-child(-n+3) { border-bottom: 0; }
  }
  @media (max-width: 520px) {
    .pp-q { flex-basis: 50%; }
    .pp-q:nth-child(2n) { border-right: 0; }
    .pp-q:nth-last-child(-n+2) { border-bottom: 0; }
    .pp-q:nth-child(3), .pp-q:nth-child(4) { border-bottom: 1px solid var(--line-2); }
  }

  .pp-tabnav {
    position: sticky; top: 64px; z-index: 30;
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .pp-tabnav-inner { display:flex; gap: 4px; overflow-x: auto; padding: 8px 0; }
  .pp-tabnav a {
    padding: 8px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
    color: var(--muted); white-space: nowrap;
  }
  .pp-tabnav a:hover { color: var(--ink); background: var(--paper-2); }
  .pp-tabnav a.active { color: var(--accent); background: var(--accent-soft); }

  .pp-body { display:grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 40px 0 64px; }
  @media (max-width: 960px){ .pp-body { grid-template-columns: 1fr; } }
  .pp-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; }
  .pp-section h2 { font-size: 22px; font-weight: var(--hw); letter-spacing:-.01em; margin: 0 0 6px; }
  .pp-section .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }

  .pp-pc { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  @media (max-width: 600px){ .pp-pc { grid-template-columns: 1fr; } }
  .pp-pc-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing:.06em; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1.5px solid; display:flex; align-items:center; gap:6px; }
  .pp-pc-h.good { color: var(--good); border-color: var(--good); }
  .pp-pc-h.bad { color: var(--bad); border-color: var(--bad); }
  .pp-pc-list { list-style:none; padding:0; margin:0; display:grid; gap: 10px; font-size: 13.5px; line-height: 1.5; }
  .pp-pc-list li { display:grid; grid-template-columns: 18px 1fr; gap: 10px; align-items:start; }
  .pp-pc-list.good li::before { content: "+"; font-family: var(--f-mono); font-weight: 700; color: var(--good); }
  .pp-pc-list.bad li::before { content: "−"; font-family: var(--f-mono); font-weight: 700; color: var(--bad); }

  .pp-tiers { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 800px){ .pp-tiers { grid-template-columns: 1fr; } }
  .pp-tier {
    border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
    background: var(--paper);
    display:flex; flex-direction:column; gap: 12px;
    position: relative;
  }
  .pp-tier.pop { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .pp-tier-pop { position:absolute; top:-10px; left: 16px; background: var(--accent); color:#fff; font-size: 10px; font-weight: 700; letter-spacing:.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-xs); }
  .pp-tier-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  .pp-tier-price { display:flex; align-items: baseline; gap: 4px; }
  .pp-tier-price b { font-size: 28px; font-weight: 800; letter-spacing:-.02em; }
  .pp-tier-price small { color: var(--muted); font-size: 12px; }
  .pp-tier ul { list-style:none; padding:0; margin:0; display:grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
  .pp-tier ul li { display:grid; grid-template-columns: 14px 1fr; gap: 8px; align-items:start; }
  .pp-tier ul li::before { content: "✓"; color: var(--accent); font-weight: 700; }

  .pp-perf { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  @media (max-width: 800px){ .pp-perf { grid-template-columns: repeat(2, 1fr); } }
  .pp-perf-card { background: var(--paper-2); border-radius: var(--r); padding: 14px; }
  .pp-perf-l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing:.06em; font-weight: 700; margin-bottom: 8px; }
  .pp-perf-v { font-size: 22px; font-weight: 800; letter-spacing:-.02em; line-height:1; font-family: var(--f-mono); }
  .pp-perf-v small { font-family: var(--f); font-weight: 500; font-size: 11px; color: var(--muted); display:block; margin-top:4px; }
  .pp-perf-bar { height: 4px; background: var(--line); border-radius: 999px; overflow:hidden; margin-top: 10px; }
  .pp-perf-bar span { display:block; height:100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

  .pp-types-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  @media (max-width: 700px){ .pp-types-grid { grid-template-columns: 1fr; } }
  .pp-type-card { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--paper-2); }
  .pp-type-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; display:flex; justify-content: space-between; align-items: center; }
  .pp-type-card p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
  .pp-type-card .pl-mono { color: var(--accent); font-size: 12px; font-weight: 600; }

  .pp-feat-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  @media (max-width: 700px){ .pp-feat-grid { grid-template-columns: 1fr; } }
  /* Two-column key/value row: label fixed on the left, value flows on the right.
     Switched from flexbox (which let long values overlap the label) to a grid
     with `minmax(0, 1fr)` on the value column so it shrinks/wraps properly.
     "Network type" / "IP refresh rate" with multi-word values now wrap onto
     a second line under the value column instead of bleeding under the label. */
  .pp-feat-row {
    display: grid;
    grid-template-columns: minmax(110px, max-content) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    background: var(--paper-2);
    border-radius: var(--r);
    font-size: 13px;
    line-height: 1.45;
  }
  .pp-feat-row b {
    color: var(--ink);
    font-weight: 600;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .pp-feat-row > :last-child {
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
  .pp-feat-row .yes { color: var(--good); font-weight: 700; }
  .pp-feat-row .no { color: var(--muted-2); }
  /* If the value is just a yes/no/dash, keep it compact and right-aligned (default).
     If the value is a long string, the grid-template-columns above wraps it cleanly. */
  @media (max-width: 480px) {
    /* On phones, stack label above value so neither truncates */
    .pp-feat-row {
      grid-template-columns: 1fr;
      gap: 4px;
      padding: 12px 14px;
    }
    .pp-feat-row > :last-child { text-align: left; }
  }

  .pp-locations { display:grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  @media (max-width: 800px){ .pp-locations { grid-template-columns: repeat(2, 1fr); } }
  .pp-loc { display:flex; gap:8px; align-items:center; padding: 8px 10px; background: var(--paper-2); border-radius: var(--r-sm); font-size: 12.5px; }
  .pp-loc-flag { width:18px; height:14px; background: var(--line); border-radius:2px; display:inline-flex; align-items:center; justify-content:center; font-size: 10px; color: var(--muted); }
  .pp-loc-pool { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-left:auto; }

  .pp-faq-row { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
  .pp-faq-row:last-child { border-bottom: 0; }
  .pp-faq-q { display:flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 14px; gap: 12px; }
  .pp-faq-q .pp-faq-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); display:inline-flex; align-items:center; justify-content:center; color: var(--accent); font-weight: 700; flex-shrink:0; transition: transform .15s; }
  .pp-faq-row.open .pp-faq-mark { transform: rotate(45deg); }
  .pp-faq-a { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; max-width: 70ch; display:none; }
  .pp-faq-row.open .pp-faq-a { display: block; }

  .pp-rev-grid { display:grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
  @media (max-width: 800px){ .pp-rev-grid { grid-template-columns: 1fr; } }
  .pp-rev-score { text-align: center; padding: 18px; background: var(--paper-2); border-radius: var(--r); }
  .pp-rev-n { font-size: 56px; font-weight: 800; letter-spacing:-.03em; line-height: 1; color: var(--ink); }
  .pp-rev-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin: 6px 0; }
  .pp-rev-tot { font-size: 12px; color: var(--muted); }
  .pp-rev-bars { display:grid; gap: 6px; }
  .pp-rev-bar { display:grid; grid-template-columns: 60px 1fr 40px; gap: 12px; align-items: center; font-size: 12px; }
  .pp-rev-bar-track { height: 6px; background: var(--line); border-radius: 999px; overflow:hidden; }
  .pp-rev-bar-track span { display:block; height:100%; background: var(--accent); }
  .pp-rev-bar .pl-mono { color: var(--muted); text-align: right; }

  .pp-review-card { background: var(--paper-2); border-radius: var(--r); padding: 16px; margin-top: 12px; }
  .pp-review-head { display:flex; gap: 10px; align-items: center; margin-bottom: 8px; }
  .pp-review-av { width:32px; height:32px; border-radius:50%; background: var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
  .pp-review-name { font-size: 13px; font-weight: 600; }
  .pp-review-meta { font-size: 11px; color: var(--muted); }
  .pp-review-text { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }

  .pp-rail { display:flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; }
  .pp-rail-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
  .pp-rail-h { font-size: 11px; text-transform: uppercase; letter-spacing:.08em; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
  .pp-rail-row { display:grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items:center; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 13px; cursor: pointer; }
  .pp-rail-row:first-of-type { border-top: 0; padding-top: 0; }
  .pp-rail-mark { width: 30px; height: 30px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 12px; display:flex; align-items:center; justify-content:center; }
  .pp-rail-name { font-weight: 600; font-size: 13px; }
  .pp-rail-meta { font-size: 11px; color: var(--muted); }
  .pp-rail-trust { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--accent); }

  .pp-editor {
    background: var(--accent-soft); border-left: 3px solid var(--accent);
    padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0;
    font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  }
  .pp-editor b { display:block; font-size: 11px; text-transform: uppercase; letter-spacing:.06em; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px; }
  [data-theme="dark"] .pp-editor b { color: var(--accent-2); }

  /* In-depth review prose styling. Renders 3rd-person editorial paragraphs with
     readable measure, larger lead paragraph, and a distinct "verdict" callout
     for the final conclusion. */
  .pp-review-prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
  .pp-review-prose p { margin: 0 0 18px; }
  .pp-review-prose p:last-child { margin-bottom: 0; }
  .pp-review-prose .pp-review-lead {
    font-size: 16.5px; color: var(--ink); font-weight: 500;
    line-height: 1.7;
  }
  .pp-review-prose strong {
    color: var(--ink); font-weight: 700;
  }
  .pp-review-prose em {
    color: var(--ink-2); font-style: italic;
  }
  .pp-review-prose a {
    color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  /* Verdict callout — visually separates the conclusion paragraph */
  .pp-review-prose .pp-review-verdict {
    margin: 22px 0 6px;
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    padding: 18px 22px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
    position: relative;
  }
  .pp-review-prose .pp-review-verdict::before {
    content: ""; display: block;
    position: absolute; top: 14px; right: 18px;
    width: 28px; height: 28px;
    background: var(--accent); color: #fff;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat; background-position: center; background-size: 16px;
    opacity: .9;
  }
  .pp-review-prose .pp-review-verdict strong:first-child {
    display: inline; color: var(--accent-ink); font-size: 12px;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 800;
    margin-right: 6px;
  }
  [data-theme="dark"] .pp-review-prose .pp-review-verdict strong:first-child { color: var(--accent-2); }
  /* (drop-cap removed per editorial preference — clean uniform paragraph) */

  /* Score breakdown card — radar chart on the left, summary text on the right.
     Stacks on tablet/phone so the radar stays legible. */
  .pp-score-breakdown { transition: border-color .15s; }
  .pp-score-breakdown:hover { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
  @media (max-width: 720px) {
    .pp-score-breakdown { grid-template-columns: 1fr; gap: 14px; padding: 16px; text-align: center; }
    .pp-score-breakdown svg { max-width: 200px; margin: 0 auto; }
  }

  /* Full-width strip below the hero-grid (no longer constrained to left column).
     5 cards, each one a "scorecard" for one buying dimension. */
  .pp-grade-strip { display:grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; margin-bottom: 8px; }
  @media (max-width:700px){ .pp-grade-strip { grid-template-columns: repeat(2, 1fr); } }
  .pp-grade { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, transform .15s; }
  .pp-grade:hover { border-color: var(--accent); transform: translateY(-1px); }
  .pp-grade-l { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
  .pp-grade-v { font-size: 22px; font-weight: 800; letter-spacing:-.02em; margin-top: 4px; line-height: 1; }
  .pp-grade-v.A { color: var(--good); } .pp-grade-v.B { color: var(--accent); } .pp-grade-v.C { color: var(--warn); }

  /* ===========================================================================
     MOBILE FIXES (≤640px) — provider detail page
     ===========================================================================
     Audit (May 2026) found the provider page broken on iPhone-class viewports:
     hero-grid sidebar was 360px, .pp-q forced 150px min-width causing overflow,
     perf grid never dropped below 2 cols, .pp-buy was sticky and too padded,
     section/card padding was identical to desktop. This block fixes all of it. */
  @media (max-width: 640px) {
    /* Hero: tighter padding, hero-grid already 1-col below 960px */
    .pp-hero { padding: 20px 0 0; }
    .pp-hero-grid { gap: 16px; padding-bottom: 16px; }
    .pp-bread { font-size: 11px; margin-bottom: 12px; }
    .pp-brand { gap: 12px; }
    .pp-mark { width: 56px; height: 56px; font-size: 20px; border-radius: 10px; }
    .pp-mark-img { width: 56px; height: 56px; }
    .pp-title { font-size: clamp(22px, 6.5vw, 28px); }
    .pp-tagline { font-size: 13px; }
    .pp-meta-row { gap: 8px; font-size: 12px; }
    .pp-blurb { font-size: 14px; line-height: 1.6; max-width: none; }
    .pp-blurb:first-of-type { margin-top: 12px; }
    .pp-blurb.pp-blurb-meta { font-size: 12.5px; margin-bottom: 16px; }
    .pp-cta-row { gap: 8px; }
    .pp-cta-row .pl-btn { flex: 1 1 auto; min-width: 140px; }

    /* Buy card: drop sticky on mobile (it would push the CTA below the fold and
       compete with the screen-bottom of viewport), reduce padding */
    .pp-buy { position: static; padding: 16px; gap: 10px; }
    .pp-buy-price b { font-size: 28px; }
    .pp-buy-deal { padding: 8px 10px; gap: 8px; }
    .pp-buy-deal-c { font-size: 12px; }

    /* Quick stats strip: 2 cols, no min-width (was 150px which forced overflow) */
    .pp-quick-strip { margin-bottom: 16px; border-radius: var(--r); }
    .pp-q { min-width: 0; flex-basis: 50%; padding: 10px 12px; }
    .pp-q-l { font-size: 9px; }
    .pp-q-v { font-size: 14px; }
    .pp-q-v small { font-size: 10px; }

    /* Tab nav: ensure WCAG 2.1 AA touch target ≥44×44 on mobile.
       Audit 2026-05-26 measured 24px; previous padding 6px×10px made the link
       unreachable for thumb-tap. New min-height enforces the 44px floor. */
    .pp-tabnav { top: 56px; }
    .pp-tabnav-inner { gap: 4px; padding: 6px 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .pp-tabnav a { padding: 11px 14px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; scroll-snap-align: start; }

    /* Body grid: 1 col, no rail sidebar (already dropped at 960px) */
    .pp-body { gap: 16px; padding: 20px 0 40px; grid-template-columns: 1fr; }
    .pp-rail { position: static; max-height: none; overflow: visible; gap: 12px; }

    /* Section cards: tighter padding */
    .pp-section { padding: 18px; margin-bottom: 14px; border-radius: var(--r); }
    .pp-section h2 { font-size: 18px; }
    .pp-section .sub { font-size: 12px; margin-bottom: 14px; }

    /* Performance grid: 1 col below 480px (was stuck at 2 cols) */
    .pp-perf { grid-template-columns: 1fr; gap: 8px; }
    .pp-perf-card { padding: 12px; }
    .pp-perf-l { font-size: 10px; margin-bottom: 6px; }
    .pp-perf-v { font-size: 18px; }

    /* Pricing tiers: 1 col (already at 800px), tighter padding */
    .pp-tier { padding: 16px; }
    .pp-tier-price b { font-size: 24px; }

    /* Type cards, feature rows, locations: 1 col */
    .pp-types-grid { grid-template-columns: 1fr; }
    .pp-feat-grid { grid-template-columns: 1fr; gap: 8px; }
    .pp-feat-row { padding: 8px 12px; font-size: 12.5px; }
    .pp-locations { grid-template-columns: repeat(2, 1fr); gap: 6px; }

    /* Pros/Cons: 1 col */
    .pp-pc { gap: 16px; }

    /* Review block: smaller score badge */
    .pp-rev-score { padding: 14px; }
    .pp-rev-n { font-size: 42px; }

    /* Grade strip: 5-col is too cramped on 375px even at 2 cols → use auto-fill */
    .pp-grade-strip { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
    .pp-grade { padding: 8px 10px; }
    .pp-grade-l { font-size: 9px; }
    .pp-grade-v { font-size: 16px; }

    /* FAQ rows: tighter typography */
    .pp-faq-q { font-size: 13px; gap: 8px; }
    .pp-faq-a { font-size: 12.5px; line-height: 1.55; max-width: none; }

    /* Container padding (.pl-container) — make sure left/right gutters are sane */
    .pl-container { padding: 0 14px; }
  }

  /* Even tighter for ultra-narrow devices (≤375px iPhone SE class) */
  @media (max-width: 380px) {
    .pp-locations { grid-template-columns: 1fr; }
    .pp-quick-strip .pp-q { flex-basis: 100%; border-right: 0; }
    .pp-quick-strip .pp-q:not(:last-child) { border-bottom: 1px solid var(--line-2); }
    .pp-tabnav a { padding: 6px 8px; font-size: 11.5px; }
    .pp-grade-strip { grid-template-columns: repeat(2, 1fr); }
  }

  /* ============================================================
     RICHER PROVIDER PAGE STYLING — color, hierarchy, interactivity
     ============================================================ */

  /* Section headers gain a colored icon chip on the left. Uses --section-color
     custom property set per-section so each section has its own accent. */
  .pp-section { transition: border-color .2s, box-shadow .2s; }
  .pp-section:hover { border-color: color-mix(in oklab, var(--section-color, var(--accent)) 30%, var(--line)); }
  .pp-section h2 { display: flex; align-items: center; gap: 12px; }
  .pp-section h2::before {
    content: ""; flex-shrink: 0;
    width: 4px; height: 26px; border-radius: 999px;
    background: var(--section-color, var(--accent));
  }
  .pp-section[data-icon] > h2 .pp-icon {
    width: 32px; height: 32px; border-radius: var(--r-sm);
    background: color-mix(in oklab, var(--section-color, var(--accent)) 12%, transparent);
    color: var(--section-color, var(--accent));
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
  }

  /* VERDICT — full redesign: split grid with score card, tinted pros/cons, gradient header */
  .pp-verdict {
    display: grid; grid-template-columns: 1fr 240px; gap: 24px;
    margin-bottom: 18px; padding-bottom: 22px;
    border-bottom: 1px solid var(--line-2);
  }
  @media (max-width: 800px) { .pp-verdict { grid-template-columns: 1fr; } }
  .pp-verdict-score {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff; border-radius: var(--r-lg); padding: 18px 16px; text-align: center;
    box-shadow: 0 6px 22px color-mix(in oklab, var(--accent) 30%, transparent);
    display: flex; flex-direction: column; gap: 4px;
  }
  .pp-verdict-score-l { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .85; }
  .pp-verdict-score-n { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-family: var(--f-mono); }
  .pp-verdict-score-n small { font-family: var(--f); font-size: 18px; font-weight: 600; opacity: .8; }
  .pp-verdict-score-grade { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); display: inline-block; align-self: center; margin-top: 4px; backdrop-filter: blur(4px); }
  .pp-verdict-score-meta { font-size: 11px; opacity: .9; margin-top: 6px; line-height: 1.4; }

  /* Pros / Cons with tinted backgrounds (more visible than plain white) */
  .pp-pc { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 600px){ .pp-pc { grid-template-columns: 1fr; } }
  .pp-pc-col {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px 18px;
    transition: border-color .2s, transform .2s;
  }
  .pp-pc-col.good { background: color-mix(in oklab, var(--good-soft) 60%, var(--paper)); border-color: color-mix(in oklab, var(--good) 22%, var(--line)); }
  .pp-pc-col.bad  { background: color-mix(in oklab, var(--bad-soft)  60%, var(--paper)); border-color: color-mix(in oklab, var(--bad)  22%, var(--line)); }
  .pp-pc-col:hover { transform: translateY(-1px); }
  .pp-pc-col.good:hover { border-color: var(--good); }
  .pp-pc-col.bad:hover  { border-color: var(--bad); }
  .pp-pc-col .pp-pc-h { border-bottom: 1.5px solid currentColor; padding-bottom: 8px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .pp-pc-col .pp-pc-h i { font-size: 14px; }

  /* Performance cards — color-tinted backgrounds based on quality tier
     Apply class .high (>=90), .mid (70-89), .low (<70) on the card */
  .pp-perf-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .pp-perf-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .pp-perf-card.high { background: color-mix(in oklab, var(--good-soft) 60%, var(--paper)); border-color: color-mix(in oklab, var(--good) 25%, var(--line)); }
  .pp-perf-card.high .pp-perf-v { color: var(--good); }
  .pp-perf-card.high .pp-perf-bar span { background: linear-gradient(90deg, var(--good), color-mix(in oklab, var(--good) 60%, #fff)); }
  .pp-perf-card.mid  { background: color-mix(in oklab, var(--accent-soft) 50%, var(--paper)); border-color: color-mix(in oklab, var(--accent) 25%, var(--line)); }
  .pp-perf-card.mid  .pp-perf-v { color: var(--accent-ink); }
  .pp-perf-card.low  { background: color-mix(in oklab, var(--warn-soft) 60%, var(--paper)); border-color: color-mix(in oklab, var(--warn) 25%, var(--line)); }
  .pp-perf-card.low  .pp-perf-v { color: var(--warn); }
  .pp-perf-card.low  .pp-perf-bar span { background: linear-gradient(90deg, var(--warn), color-mix(in oklab, var(--warn) 60%, #fff)); }
  [data-theme="dark"] .pp-perf-card.high .pp-perf-v { color: color-mix(in oklab, var(--good) 70%, #fff); }
  [data-theme="dark"] .pp-perf-card.mid  .pp-perf-v { color: var(--accent-2); }
  [data-theme="dark"] .pp-perf-card.low  .pp-perf-v { color: color-mix(in oklab, var(--warn) 70%, #fff); }

  /* Suitability bars — color depends on score, set via .high/.mid/.low on the bar wrapper */
  .pp-score-row { display: grid; grid-template-columns: 200px 1fr 56px; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
  .pp-score-row:last-child { border-bottom: 0; }
  .pp-score-row > span:first-child { color: var(--ink-2); font-weight: 500; }
  .pp-score-row .pp-score-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; position: relative; }
  .pp-score-row .pp-score-bar > span { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }
  .pp-score-row .pp-score-bar.high > span { background: linear-gradient(90deg, var(--good), color-mix(in oklab, var(--good) 50%, var(--accent))); }
  .pp-score-row .pp-score-bar.mid  > span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
  .pp-score-row .pp-score-bar.low  > span { background: linear-gradient(90deg, var(--warn), color-mix(in oklab, var(--warn) 60%, var(--bad))); }
  .pp-score-row .pp-score-num { text-align: right; font-family: var(--f-mono); font-weight: 700; }
  .pp-score-row .pp-score-num.high { color: var(--good); }
  .pp-score-row .pp-score-num.mid  { color: var(--accent); }
  .pp-score-row .pp-score-num.low  { color: var(--warn); }
  @media (max-width: 600px) { .pp-score-row { grid-template-columns: 1fr; gap: 4px; }
    .pp-score-row > span:first-child { font-size: 12px; }
    .pp-score-row .pp-score-num { text-align: left; }
  }

  /* Feature rows — green pill for Yes, muted dash for No.
     `display: inline-block` is critical: without it the grid layout in pp-feat-row
     stretches the span to fill the cell, making the No-dash render as a giant
     empty pill that looks like a broken button. With inline-block, the pill
     sizes to its actual text content (still right-aligned by parent text-align). */
  .pp-feat-row .yes {
    display: inline-block;
    background: var(--good-soft); color: var(--good);
    padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
  }
  .pp-feat-row .no {
    /* No box — just a muted em-dash. The previous "empty pill" treatment looked
       like a broken UI element when the value was just "—". */
    color: var(--muted-2);
    font-weight: 500;
  }

  /* Tab nav — slightly more dimensional with a soft background pill on active */
  .pp-tabnav a.active {
    color: var(--accent); background: var(--accent-soft);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  /* Type cards — a touch of color: small accent left bar */
  .pp-type-card {
    border: 1px solid var(--line);
    background: var(--paper-2);
    position: relative;
    overflow: hidden;
    transition: transform .2s, border-color .2s;
  }
  .pp-type-card::before {
    content: ""; position: absolute; top: 0; left: 0; bottom: 0;
    width: 3px; background: var(--type-color, var(--accent));
  }
  .pp-type-card:hover { transform: translateY(-2px); border-color: var(--type-color, var(--accent)); }
  .pp-type-card[data-type="residential"] { --type-color: #10b981; }
  .pp-type-card[data-type="datacenter"]  { --type-color: #1e60d6; }
  .pp-type-card[data-type="isp"]         { --type-color: #f59e0b; }
  .pp-type-card[data-type="mobile"]      { --type-color: #a855f7; }

  /* Pricing tier hover */
  .pp-tier { transition: transform .2s, border-color .2s, box-shadow .2s; }
  .pp-tier:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .pp-tier:not(.pop):hover { border-color: var(--accent); }

  /* Editor's note — gradient stripe instead of flat fill */
  .pp-editor {
    background: linear-gradient(135deg, var(--accent-soft) 0%, color-mix(in oklab, var(--accent-soft) 60%, var(--paper)) 100%);
    border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
    border-left-width: 3px;
  }

  /* Hero gradient — already had a subtle one; bump it a touch */
  .pp-hero {
    background:
      radial-gradient(ellipse 1200px 320px at 50% 0%, color-mix(in oklab, var(--accent) 7%, transparent) 0%, transparent 70%),
      linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  }

  /* Quick-strip gets subtle row-zebra colors for visual rhythm */
  .pp-q { transition: background .15s; }
  .pp-q:hover { background: var(--paper-2); }

  /* ----- Real provider logos (when DB has logo_url) -------------------- */
  /* Same footprint as the colored initials block, but with white card + contained image. */
  img.pl-logo-tile,
  img.pl-logo-img {
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
    padding: 4px;
  }
  [data-theme="dark"] img.pl-logo-tile,
  [data-theme="dark"] img.pl-logo-img { background: #fff; border-color: var(--line); }

  img.pp-mark.pp-mark-img {
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  img.pp-rail-mark.pp-rail-mark-img {
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
    padding: 3px;
  }

  /* ============================================================
     CODE EXAMPLES — tabbed snippet block on provider pages
     ============================================================ */
  .pl-code-tabs { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .pl-code-tabnav { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--paper); }
  .pl-code-tab {
    appearance: none; border: 0; background: transparent; padding: 12px 16px;
    font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: color .15s, border-color .15s, background .15s;
    font-family: var(--f);
  }
  .pl-code-tab:hover { color: var(--ink); background: var(--paper-2); }
  .pl-code-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
  .pl-code-block { position: relative; background: #0c1628; }
  .pl-code-pane {
    margin: 0; padding: 18px 20px; color: #d8dde6;
    font-family: var(--f-mono); font-size: 13px; line-height: 1.6;
    overflow-x: auto; display: none;
    background: transparent;
  }
  .pl-code-pane.active { display: block; }
  .pl-code-pane code { background: transparent; color: inherit; padding: 0; font-family: inherit; font-size: inherit; }
  .pl-code-copy {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    appearance: none; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #f1f4f9;
    padding: 5px 12px; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer;
    font-family: var(--f);
  }
  .pl-code-copy:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }

/* Favorites heart button — sits on directory cards next to .compare-btn.
   Active state (the user has saved this provider) fills the heart with the
   accent color. Backed by localStorage["pl-favs"] = ["slug","slug"] array. */
.pl-fav-btn:hover { border-color: #e11d48; color: #e11d48; }
.pl-fav-btn[data-active="true"] { border-color: #e11d48; color: #e11d48; }
.pl-fav-btn[data-active="true"] svg { fill: #e11d48; }
.pl-fav-btn[data-active="true"]::after { content: ""; }

/* ==========================================================================
   SITEWIDE MOBILE FIXES (≤640px) — applies to non-provider-detail pages too.
   May 2026 audit found these breaks across home, /all-providers, /vs/,
   /use-case/, /benchmarks, /compare, /wizard.
   ========================================================================== */
@media (max-width: 640px) {
  /* Hero — h1 and lede tighter, less vertical breathing room on phones */
  .pl-hero { padding: 36px 0 24px; }
  .pl-hero h1 { font-size: clamp(28px, 7vw, 36px); line-height: 1.1; }
  .pl-hero-lede { font-size: 14.5px; max-width: none; margin-bottom: 22px; }
  .pl-hero-trust { font-size: 11px; gap: 8px; flex-wrap: wrap; justify-content: center; }

  /* Mega-search — flex children stack; button becomes full-width below input */
  .pl-mega-search {
    flex-direction: column; gap: 8px;
    padding: 12px; max-width: 100%;
    align-items: stretch;
  }
  .pl-mega-search > svg { display: none; }
  .pl-mega-search input { padding: 10px 12px; font-size: 15px; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
  .pl-mega-divider { display: none; }
  .pl-mega-select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--paper-2);
  }
  .pl-mega-search .pl-btn { width: 100%; padding: 12px; }
  .pl-hero-suggest { gap: 6px; margin-top: 14px; }
  .pl-hero-suggest .pl-pill { font-size: 11px; padding: 4px 10px; }

  /* Hero stats — tighter padding + smaller stat number on small phones */
  .pl-hero-stats { margin-top: 36px; }
  .pl-stat { padding: 14px 10px; }
  .pl-stat-n { font-size: 22px; }
  .pl-stat-l { font-size: 10px; }

  /* Sections — less vertical padding to keep content density up */
  .pl-section { padding: 36px 0; }
  .pl-section-tight { padding: 28px 0; }
  .pl-section-head { margin-bottom: 22px; gap: 12px; }
  .pl-section-head h2 { font-size: 22px; }

  /* Use-case grid — already drops at 600px but tighten card padding */
  .pl-uc-card { padding: 12px; gap: 10px; }

  /* /benchmarks table — wrap in horizontal scroll with shadow indicator on mobile.
     The table has min-width:900px that we can't easily collapse, but we can make
     the overflow obvious. */
  .pl-bm-wrap, [data-bm-wrap], #pl-bm-table {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  #pl-bm-table { display: block; max-width: 100%; }
  /* Sort chip row on /benchmarks — make it scroll horizontally instead of wrap badly */
  .pl-bm-sort, [class*="pl-bm-sort"] { white-space: nowrap; }

  /* /compare provider-select grid — single column on phones */
  #comparison-form, [id="comparison-form"] { grid-template-columns: 1fr !important; }

  /* /wizard chat container — shorter on mobile so step buttons aren't pushed below fold */
  #chat-messages { max-height: 320px !important; }

  /* /all-providers price-range inputs were 2-col with cramped labels — stack them */
  #filter-min-price, #filter-max-price { width: 100%; }
}

/* Even-tighter for ultra-narrow phones (iPhone SE class, ≤380px) */
@media (max-width: 380px) {
  .pl-hero-stats { grid-template-columns: 1fr; }
  .pl-hero-stats .pl-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .pl-hero-stats .pl-stat:last-child { border-bottom: 0; }
  .pl-stat-n { font-size: 20px; }
  .pl-mega-search { padding: 10px; }
  #chat-messages { max-height: 260px !important; }
}

/* ---------- May 2026 audit fixes: mobile tap-targets ---------- */
/* WCAG 2.2 SC 2.5.8 requires interactive controls to be ≥24x24 CSS px
   (target ≥44 strongly recommended). Phone-only floor applied here. */
@media (max-width: 700px) {
  .pl-btn,
  .pl-btn-sm,
  .pl-card a,
  .pp-mini-cta,
  .pp-rail-link,
  .pl-nav-link,
  .pl-tab,
  .pl-chip {
    min-height: 44px;
    line-height: 1.25;
  }
  .pl-btn-sm { padding-top: 10px; padding-bottom: 10px; }
}
/* Better contrast for the secondary muted color (audit found 3.3:1 on white;
   WCAG AA needs 4.5:1 for body text). Bump --muted-2 toward better contrast. */
:root { --muted-2: #6b7488; }
html[data-theme="dark"] { --muted-2: #9aa6bb; }

/* ============================================================
   R5 audit (May 2026): homepage redesign sections
   ============================================================ */

/* ---------- Hero v2 ---------- */
.pl-hero-v2 { padding-bottom: 56px; }
.pl-hero-v2-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; z-index: 1; }
.pl-hero-v2-eyebrow { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; color: var(--muted); margin: 0; }
.pl-eyebrow-dot { color: var(--line); }
.pl-hero-v2-h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 22ch; margin: 4px 0 0; color: var(--ink); }
.pl-hero-v2-lede { max-width: 58ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.pl-hero-v2-search { width: 100%; max-width: 640px; margin-top: 4px; }
.pl-hero-v2-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.pl-hero-stats-tight { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--accent-soft); margin-top: 8px; }
.pl-hero-stats-tight .pl-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; padding: 0; }
.pl-hero-stats-tight .pl-stat-n { font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.pl-hero-stats-tight .pl-stat-l { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.pl-hero-v2-pills { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 640px) {
  .pl-hero-stats-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .pl-hero-v2 { padding-bottom: 32px; }
  .pl-hero-v2-inner { gap: 14px; }
  .pl-hero-v2-ctas { flex-direction: column; width: 100%; }
  .pl-hero-v2-ctas .pl-btn { width: 100%; }
}

/* ---------- Trusted networks strip ---------- */
.pl-trusted { padding: 36px 0 44px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-trusted-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
.pl-trusted-sub { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.pl-trusted-cta { font-size: 14px; font-weight: 500; white-space: nowrap; }
/* Trust strip v3 — CSS Grid with 8 equal columns. No flex-wrap, no scroll,
   no edge-fade mask. Each cell is the same width so all 8 brands land in a
   perfectly aligned strip across every viewport. Logos render in full color
   (no aggressive grayscale) so they're recognizable at a glance.
   Audit 2026-05-27 — the flex approach was wrapping to 2 rows + over-greying
   light brand marks into ghost rectangles. Grid fixes both. */
.pl-trusted-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; align-items: center; }
.pl-trusted-grid > li { display: flex; }
.pl-trusted-grid a { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; padding: 8px 12px; border-radius: 8px; transition: background-color .15s, transform .15s; }
.pl-trusted-grid img { max-height: 32px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: saturate(.85); opacity: .9; transition: filter .2s, opacity .2s, transform .2s; }
.pl-trusted-grid a:hover { background: var(--paper-2); }
.pl-trusted-grid a:hover img, .pl-trusted-grid a:focus-visible img { filter: none; opacity: 1; transform: scale(1.05); }
.pl-trusted-grid a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; background: var(--accent-soft); }
/* Legacy `.pl-trusted-strip` retained as alias for any cached HTML still in
   flight — same grid behavior so the old markup doesn't fall back to flex. */
.pl-trusted-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; align-items: center; }
.pl-trusted-strip > li { display: flex; }
.pl-trusted-strip a { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; padding: 8px 12px; border-radius: 8px; }
.pl-trusted-strip img { max-height: 32px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: saturate(.85); opacity: .9; }
@media (min-width: 720px) {
  .pl-trusted-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  /* ≥720px: 4 cols. ≥1024px: 8 cols on one row. All 8 logos line up cleanly. */
  .pl-trusted-grid, .pl-trusted-strip { grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
}
@media (min-width: 1024px) {
  .pl-trusted-grid, .pl-trusted-strip { grid-template-columns: repeat(8, 1fr); gap: 16px; }
  .pl-trusted-grid a, .pl-trusted-strip a { height: 60px; }
  .pl-trusted-grid img, .pl-trusted-strip img { max-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-trusted-strip img, .pl-trusted-strip a { transition: none; }
  .pl-trusted-strip a:hover img { transform: none; }
}

/* ---------- Head-to-head comparison cards ---------- */
.pl-vs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.pl-vs-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.pl-vs-card:hover, .pl-vs-card:focus-visible { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 6px 22px -10px var(--accent-soft); outline: none; }
.pl-vs-logos { display: flex; align-items: center; justify-content: center; gap: 14px; height: 48px; padding: 8px 4px; background: var(--paper-2); border-radius: var(--r-sm); }
.pl-vs-logos img { max-height: 28px; max-width: 38%; width: auto; height: auto; object-fit: contain; }
.pl-vs-sep { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.pl-vs-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.pl-vs-tag { font-size: 13px; line-height: 1.4; color: var(--muted); flex: 1; }
.pl-vs-cta { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.pl-vs-card:hover .pl-vs-cta span { transform: translateX(2px); }
.pl-vs-cta span { display: inline-block; transition: transform .18s ease; }

/* ---------- Best-for award tiles ---------- */
.pl-bestfor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.pl-bestfor-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.pl-bestfor-tile:hover, .pl-bestfor-tile:focus-visible { transform: translateY(-2px); border-color: var(--accent); background: var(--paper-2); box-shadow: 0 6px 22px -10px var(--accent-soft); outline: none; }
.pl-bestfor-icon { font-size: 28px; color: var(--accent); margin-bottom: 4px; line-height: 1; }
.pl-bestfor-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.pl-bestfor-tag { font-size: 13px; line-height: 1.45; color: var(--muted); flex: 1; }
.pl-bestfor-cta { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.pl-bestfor-tile:hover .pl-bestfor-cta span { transform: translateX(2px); }
.pl-bestfor-cta span { display: inline-block; transition: transform .18s ease; }

@media (max-width: 960px) {
  .pl-vs-grid, .pl-bestfor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pl-vs-grid, .pl-bestfor-grid { grid-template-columns: 1fr; }
}

/* ---------- Card hover polish on the main provider grid (#2) ---------- */
.pl-card { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.pl-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 6px 20px -10px var(--accent-soft); }

/* ============================================================
   R5b (May 26, 2026): homepage section alignment + visual rhythm
   Scoped to .pl-home so other pages (admin, providers, deals) unaffected.
   ============================================================ */

/* Center the marketing section heads to match the centered hero. The directory
   filter+table section explicitly opts back into left-align with .pl-section-head-left. */
.pl-home .pl-section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.pl-home .pl-section-head > div { max-width: 64ch; }
.pl-home .pl-section-head .pl-eyebrow { justify-content: center; }
.pl-home .pl-section-head .pl-link { margin-top: 8px; }
.pl-home .pl-section-head .pl-lede { margin-left: auto; margin-right: auto; }

/* Allow specific sections to opt back to left-align (filter+grid layouts). */
.pl-home .pl-section-head-left {
  flex-direction: row;
  align-items: flex-end;
  text-align: left;
}
.pl-home .pl-section-head-left > div { max-width: none; }
.pl-home .pl-section-head-left .pl-eyebrow { justify-content: flex-start; }
.pl-home .pl-section-head-left .pl-lede { margin-left: 0; margin-right: 0; }

/* Slightly bigger H2 + tighter spacing for editorial weight. */
.pl-home .pl-section { padding: 56px 0; }
.pl-home .pl-section-bg + .pl-section,
.pl-home .pl-section + .pl-section { padding-top: 56px; }
.pl-home .pl-section .pl-h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.pl-home .pl-section .pl-lede { font-size: 0.98rem; }
.pl-home .pl-trusted-head { justify-content: center; text-align: center; align-items: center; }
.pl-home .pl-trusted-head > div { max-width: 56ch; }

@media (min-width: 900px) {
  .pl-home .pl-trusted-head { flex-direction: row; justify-content: space-between; text-align: left; align-items: flex-end; }
  .pl-home .pl-trusted-head > div { max-width: none; }
}

/* Hero v2 stat strip — bigger, more breathing room (single row on desktop). */
.pl-home .pl-hero-stats-tight { max-width: 720px; }
.pl-home .pl-hero-v2-inner { gap: 22px; padding-bottom: 12px; }

/* ============================================================
   R5c: provider page v2 hero + sidebar redesign
   ============================================================ */
.pp-hero-v2 { padding: 24px 0 32px; border-bottom: 1px solid var(--line); }
.pp-bread { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.pp-bread a { color: var(--muted); text-decoration: none; }
.pp-bread a:hover { color: var(--accent); }
.pp-bread strong { color: var(--ink); font-weight: 600; }
.pp-hero-v2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.pp-hero-v2-main { min-width: 0; }
.pp-hero-v2-id { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.pp-hero-v2-id .pp-mark { width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px; background: var(--paper); }
.pp-hero-v2-id-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pp-hero-v2-title { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.pp-ribbon { align-self: flex-start; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; letter-spacing: .02em; }
.pp-hero-v2-pitch { margin: 8px 0 14px; font-size: 17px; color: var(--ink); max-width: 60ch; line-height: 1.5; }
.pp-hero-v2-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.pp-stars { color: #f59e0b; letter-spacing: 2px; font-size: 16px; }
.pp-hero-v2-score { font-size: 18px; color: var(--ink); font-weight: 700; }
.pp-hero-v2-score small { font-size: 12px; color: var(--muted); font-weight: 500; }
.pp-hero-v2-divider { width: 1px; height: 14px; background: var(--line); }
.pp-hero-v2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; padding: 16px; background: var(--paper-2, var(--accent-soft)); border: 1px solid var(--line); border-radius: var(--r); }
.pp-hero-v2-stats .pp-q { padding: 0; }
.pp-hero-v2-stats .pp-q-l { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.pp-hero-v2-stats .pp-q-v { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pp-hero-v2-stats .pp-q-v small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.pp-deal-strip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 16px; background: linear-gradient(90deg, var(--accent-soft), transparent); border: 1px solid var(--accent-soft); border-left: 3px solid var(--accent); border-radius: var(--r); text-decoration: none; color: var(--ink); font-size: 14px; transition: transform .15s, box-shadow .15s; }
.pp-deal-strip:hover { transform: translateX(2px); box-shadow: 0 4px 14px -8px var(--accent-soft); }
.pp-deal-strip-tag { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--accent); background: #fff; padding: 4px 8px; border-radius: 4px; flex-shrink: 0; }
.pp-deal-strip-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-deal-strip-msg b { color: var(--accent-ink); font-family: var(--f-mono, monospace); }
.pp-deal-strip-arrow { color: var(--accent); font-weight: 700; }
.pp-hero-v2-cta { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pp-cta-primary { min-width: 220px; }
.pp-hero-v2-trust { font-size: 12px; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pp-trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); }

/* Sidebar v2 */
.pp-rail-v2 { position: sticky; top: 80px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 13px; box-shadow: 0 2px 12px -8px rgba(0,0,0,.08); }
.pp-rail-v2-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pp-rail-v2-price b { font-size: 32px; color: var(--ink); line-height: 1; font-weight: 800; }
.pp-rail-v2-price small { color: var(--muted); font-size: 14px; }
.pp-rail-v2-price .pl-eyebrow { width: 100%; font-size: 11px; }
.pp-rail-v2-deal { padding: 12px; background: var(--accent-soft); border-radius: var(--r-sm); display: flex; flex-direction: column; gap: 8px; }
.pp-rail-v2-deal-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-rail-v2-deal code { font-family: var(--f-mono, monospace); font-weight: 700; color: var(--accent-ink); background: #fff; padding: 6px 10px; border-radius: 4px; letter-spacing: .04em; font-size: 13px; }
.pp-rail-v2-deal p { margin: 0; font-size: 12px; color: var(--ink-2, var(--muted)); }
.pp-rail-v2-deal details { margin-top: 6px; font-size: 12px; border-top: 1px solid rgba(0,0,0,.06); padding-top: 6px; }
.pp-rail-v2-deal summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.pp-rail-v2-specs { margin: 0; padding: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.pp-rail-v2-specs > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.pp-rail-v2-specs > div:last-child { border-bottom: 0; }
.pp-rail-v2-specs dt { color: var(--muted); font-weight: 500; }
.pp-rail-v2-specs dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.pp-rail-v2-fine { margin: 0; font-size: 11px; color: var(--muted-2, var(--muted)); text-align: center; }
.pl-btn-block { display: block; width: 100%; text-align: center; }

/* Tablet+mobile: sidebar drops below hero, hero stats collapse to 2 cols.
   Breakpoint pinned to 960px to match `.pp-body` and avoid a layout "step"
   between 901–960px (audit 2026-05-26). */
@media (max-width: 960px) {
  .pp-hero-v2-grid { grid-template-columns: 1fr; gap: 18px; }
  .pp-rail-v2 { position: static; }
  .pp-hero-v2-stats { grid-template-columns: repeat(2, 1fr); }
  .pp-hero-v2-title { font-size: 26px; }
  .pp-hero-v2-pitch { font-size: 15px; }
  .pp-cta-primary { flex: 1 1 100%; min-width: 0; }
  .pp-hero-v2-cta .pl-btn { flex: 1 1 100%; }
}
