/* OpenSender provider rankings and profiles */
.pv-main { max-width: 1160px; padding-top: 34px; padding-bottom: 76px; }
.pv-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.pv-back:hover { color: var(--brand); }
.pv-eyebrow { color: var(--brand); font-size: 11px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.pv-hero { max-width: 780px; padding: 54px 0 24px; }
.pv-hero h1 { margin: 14px 0 14px; font-size: clamp(42px, 6.4vw, 66px); line-height: .98; letter-spacing: -.055em; }
.pv-lead { margin: 0; max-width: 720px; color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.pv-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 11.5px; }
.pv-meta span + span::before { content: "·"; margin-right: 18px; color: var(--line); }
.pv-tabs {
  position: sticky;
  top: 68px;
  z-index: 30;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px;
  margin: 8px 0 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(18px) saturate(170%);
  scrollbar-width: none;
}
.pv-tabs::-webkit-scrollbar { display: none; }
.pv-tab {
  flex: none;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}
.pv-tab:hover { color: var(--text); background: rgba(38,38,38,.045); }
.pv-tab.on { color: var(--brand); background: var(--brand-soft); }
.pv-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.pv-section h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.035em; }
.pv-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.pv-section-head h2 { margin-bottom: 4px; }
.pv-section-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 680px; }
.pv-text-link { color: var(--brand); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pv-top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-rank-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pv-rank-card:first-child { border-color: rgba(47,179,109,.35); }
.pv-rank-top { display: flex; align-items: center; gap: 10px; }
.pv-rank-num { color: var(--muted); font: 750 11px/1 "JetBrains Mono", monospace; }
.pv-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 5px; }
.pv-logo-fallback { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; background: var(--brand); }
.pv-rank-name { font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.pv-rank-for { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.pv-rank-price { font-size: 28px; font-weight: 780; letter-spacing: -.045em; line-height: 1.05; margin-top: 2px; }
.pv-rank-price span { font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pv-rank-free { color: var(--muted); font-size: 11px; }
.pv-rank-card a { margin-top: auto; color: var(--brand); font-size: 12px; font-weight: 650; }
.pv-table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; background: var(--surface); }
.pv-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.pv-table th, .pv-table td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; white-space: nowrap; }
.pv-table th { color: var(--muted); background: rgba(38,38,38,.025); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.pv-table tr:last-child td { border-bottom: 0; }
.pv-table td.num, .pv-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pv-table td.best { background: rgba(47,179,109,.08); color: #218c54; font-weight: 750; }
.pv-table td small { display: block; color: var(--muted); font-size: 9px; font-weight: 500; margin-top: 2px; }
.pv-provider-cell { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.pv-provider-cell b { font-size: 12.5px; }
.pv-provider-cell a { display: inline-flex; align-items: center; gap: 8px; }
.pv-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; background: rgba(38,38,38,.055); color: var(--muted); font-size: 10px; font-weight: 650; }
.pv-pill.green { background: rgba(47,179,109,.1); color: #218c54; }
.pv-pill.blue { background: var(--brand-soft); color: var(--brand); }
.pv-pill.coral { background: rgba(225,101,64,.12); color: #c84d2c; }
.pv-note { margin: 10px 1px 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.pv-usecases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pv-usecase { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pv-usecase:hover { border-color: var(--brand); }
.pv-usecase b { display: block; font-size: 12.5px; margin-bottom: 5px; }
.pv-usecase span { display: block; color: var(--muted); font-size: 11px; line-height: 1.55; }
.pv-usecase em { display: block; margin-top: 9px; color: var(--brand); font-size: 11px; font-style: normal; font-weight: 650; }
.pv-method p { max-width: 880px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.pv-updated { font-size: 10.5px !important; }

/* Profile */
.pv-profile-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 30px 0 18px; }
.pv-profile-logo { width: 82px; height: 82px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pv-profile-logo img { width: 54px; height: 54px; object-fit: contain; }
.pv-profile-copy h1 { margin: 7px 0 8px; font-size: clamp(38px, 5.4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.pv-profile-copy .pv-lead { font-size: 14.5px; }
.pv-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pv-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 10.5px; font-weight: 650; }
.pv-badge.green { background: rgba(47,179,109,.1); border-color: rgba(47,179,109,.2); color: #218c54; }
.pv-profile-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 4px; }
.pv-stat { padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.pv-stat span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.pv-stat b { display: block; margin-top: 5px; font-size: 18px; letter-spacing: -.03em; }
.pv-anchor-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 26px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pv-anchor-nav a { color: var(--muted); font-size: 11.5px; font-weight: 650; }
.pv-anchor-nav a:hover { color: var(--brand); }
.pv-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-feature { padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.pv-feature span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.pv-feature b { display: block; margin-top: 4px; font-size: 13px; }
.pv-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pv-two-col .pv-section { margin-top: 26px; }
.pv-caveat { color: var(--muted); font-size: 13px; line-height: 1.7; }
.pv-connect-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-connect-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pv-tag { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pv-connect-card h3 { margin: 9px 0 8px; font-size: 14px; }
.pv-connect-card pre { margin: 0; padding: 10px; border-radius: 9px; background: #0b1220; color: #d7e6fb; overflow-x: auto; }
.pv-connect-card code { font: 10.5px/1.6 "JetBrains Mono", monospace; }
.pv-compare-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-compare-links a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 11.5px; font-weight: 650; }
.pv-compare-links a:hover { border-color: var(--brand); color: var(--brand); }
.pv-faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.pv-faq details { border-bottom: 1px solid var(--line); }
.pv-faq details:last-child { border-bottom: 0; }
.pv-faq summary { padding: 13px 15px; cursor: pointer; font-size: 12.5px; font-weight: 650; }
.pv-faq p { margin: 0; padding: 0 15px 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }

@media (max-width: 980px) {
  .pv-top3, .pv-usecases, .pv-feature-grid, .pv-connect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-profile-hero { grid-template-columns: auto minmax(0, 1fr); }
  .pv-profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 680px) {
  .pv-main { padding-top: 22px; }
  .pv-hero { padding-top: 32px; }
  .pv-hero h1 { font-size: 42px; }
  .pv-tabs { top: 60px; margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; }
  .pv-section h2 { font-size: 22px; }
  .pv-top3, .pv-usecases, .pv-feature-grid, .pv-connect-grid, .pv-stats { grid-template-columns: 1fr; }
  .pv-profile-hero { grid-template-columns: 1fr; gap: 14px; }
  .pv-profile-logo { width: 68px; height: 68px; border-radius: 18px; }
  .pv-profile-logo img { width: 44px; height: 44px; }
  .pv-profile-copy h1 { font-size: 42px; }
  .pv-two-col { grid-template-columns: 1fr; }
  .pv-table { min-width: 680px; }
  .pv-meta span + span::before { display: none; }
}

.head-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
