:root {
  --ink: #172033;
  --paper: #F7F5F0;
  --surface: #FFFFFF;
  --rule: #DAD5CB;
  --muted: #566074;
  --copper: #B4501F;
  --cobalt: #1B4FD1;
  --amber: #FFF3D6;
  --amberline: #D9A83A;
  --slate: #E8ECF3;
  --slateline: #8C97AD;
  --confirm: #F2F0EA;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-tag: 5px;
  --hover-tan: #F6F1EA;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
img, svg { max-width: 100%; }
a { color: var(--cobalt); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }
.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}
.prose { max-width: 760px; }
.site-header {
  background: var(--surface);
  border-bottom: 0;
  position: static;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}
.monogram {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 5px;
  line-height: 1;
}
.nav-toggle { display: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a[aria-current="page"] { text-decoration: underline; }
.disc {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  padding: 0;
  margin: 16px 0 0;
  max-width: 760px;
}
.disc a { color: var(--muted); text-decoration: underline; font-weight: 400; }
.hero { padding: 48px 0 28px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}
h1, h2, h3, h4 { font-family: Fraunces, serif; font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: 46px; margin: 12px 0 14px; max-width: 820px; }
h2 { font-size: 32px; }
h3 { font-size: 23px; }
.sub { font-size: 19px; line-height: 1.5; color: #2c3548; max-width: 760px; }
.bp {
  margin-top: 14px;
  font-size: 16px;
  border-left: 3px solid var(--ink);
  padding-left: 12px;
  max-width: 760px;
}
.meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-actions { margin-top: 16px; font-size: 16px; }
.jump-label { font-weight: 600; margin: 22px 0 10px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip.soon {
  border-style: dashed;
  color: var(--muted);
  border-color: #9aa1b0;
}
.section { padding: 44px 0 10px; }
.section h2, .category h2 { scroll-margin-top: 16px; }
.lede { margin: 12px 0 16px; max-width: 760px; }
.standing { font-size: 15px; color: var(--muted); margin: 8px 0 16px; }
.reviewed { display: inline-block; margin-left: 8px; }
.note, .body-note { font-size: 16px; line-height: 1.5; max-width: 760px; margin: 12px 0; }
.morby-note, .honesty {
  font-size: 16px;
  line-height: 1.5;
  max-width: 760px;
  margin: 12px 0 20px;
}
.glance, .cmp {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 18px;
}
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.glance table { font-size: 15px; }
.cmp table { font-size: 14.5px; }
caption { text-align: left; font-weight: 600; padding: 12px 14px 0; }
.glance th, .cmp th, .rubric th {
  text-align: left;
  font-weight: 600;
  padding: 10px 14px;
}
.glance thead th { background: var(--ink); color: #fff; }
.cmp th, .rubric th { background: var(--slate); }
td { padding: 11px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.glance td:first-child, .cmp td:nth-child(2) { font-weight: 700; }
.primer { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 20px 0; }
@media (min-width: 720px) {
  .primer { grid-template-columns: 1fr 1fr; }
}
.primer-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 20px;
}
.primer-card h3 { font-size: 20px; margin-bottom: 8px; }
.lc {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 44px 1fr 240px;
  gap: 18px;
}
.rank {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 20px;
}
.rank-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 13px auto 0;
  border-radius: 50%;
  background: var(--ink);
}
.lc h3 { display: inline; margin-right: 8px; }
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-tag);
  margin: 2px 8px 2px 0;
  color: var(--ink);
}
.t-own { background: var(--amber); border: 1.5px solid var(--amberline); }
.t-part { background: var(--slate); border: 1.5px solid var(--slateline); }
.best { font-size: 15px; margin: 8px 0; color: #2c3548; }
.best b { color: var(--ink); }
.lc .blurb { font-size: 15.5px; line-height: 1.55; margin: 0; }
.lc ul, .choose ul { margin: 10px 0 0 18px; padding: 0; }
.lc li, .choose li { font-size: 14.5px; line-height: 1.55; }
.conf {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.conf b, .conf strong { font-weight: 400; }
.rel-line {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  background: none;
  border: 0;
  padding: 0;
}
.src { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.btn, button.btn, a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}
.btn > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.btn-outline {
  background: transparent;
  color: var(--copper);
  border: 1.5px solid var(--copper);
}
.btn[aria-disabled="true"], button.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sidenote { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choose { border-top: 1px solid var(--rule); margin: 24px 0 8px; padding-top: 16px; max-width: 760px; }
.choose h3 { font-size: 20px; margin-bottom: 8px; }
.echo-card {
  background: var(--surface);
  border: 1.5px dashed var(--rule);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  max-width: 760px;
}
.mid, .rank-summary, .apply-block, .placeholder-page {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 28px 0;
  max-width: 760px;
}
.apply-block { border-color: var(--copper); }
.faq { margin: 28px 0 40px; max-width: 760px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq .answer { margin: 10px 0 4px; }
.sponsored {
  background: var(--slate);
  border: 1.5px dashed var(--slateline);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 28px 0;
}
.paid { font-size: 14px; font-weight: 700; }
.miles {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  border: 0;
  background: none;
  padding: 0;
  margin: 16px 0 24px;
  max-width: 760px;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  margin-top: 24px;
}
.footer-statement, .footer-bp { font-size: 16px; line-height: 1.5; max-width: 760px; margin: 0 0 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0; }
.footer-links a { color: var(--cobalt); }
.small-print { font-size: 14px; color: var(--muted); }
.banner {
  background: var(--amber);
  border: 1.5px solid var(--amberline);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
form { max-width: 760px; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
.checks label { font-weight: 400; display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; }
.checks input { width: auto; min-height: 0; margin-top: 4px; }
.consent { margin: 16px 0; }
.rubric { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin: 16px 0 24px; }
.rubric table { font-size: 15px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1023px) {
  .lc { grid-template-columns: 44px 1fr; }
  .side { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  .header-inner { padding: 12px 0; }
  .nav-toggle { display: block; }
  .nav-toggle summary {
    list-style: none;
    cursor: pointer;
    font-size: 22px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 12px;
  }
  .nav-toggle[open] .site-nav { display: flex; }
  .nav-toggle { width: auto; }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { margin-left: auto; }
  .nav-toggle[open] { flex-basis: 100%; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .hero { padding: 24px 0 18px; }
  .sub { font-size: 17px; }
  .chips { flex-direction: column; }
  .chip { width: 100%; text-align: center; }
  .glance table, .glance thead, .glance tbody, .glance th, .glance td, .glance tr, .glance caption {
    display: block;
    width: 100%;
  }
  .glance caption { padding: 12px 14px 8px; }
  .glance thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .glance tr { border-top: 1px solid var(--rule); padding: 12px 14px; background: var(--surface); }
  .glance th[scope="row"] { background: transparent; color: var(--ink); padding: 4px 0; font-weight: 700; }
  .glance td { border: 0; padding: 4px 0; }
  .glance td:first-child { font-weight: 400; }
  .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; }
  .lc { grid-template-columns: 1fr; padding: 16px; }
  .lc-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .btn { width: 100%; }
  .disc { padding: 12px 0; }
}
@media (min-width: 720px) {
  .nav-toggle summary { display: none; }
  .nav-toggle { display: contents; }
}
@media print {
  .skip, .nav-toggle summary, .hero-actions, .chips, .btn, form { }
  .disc, .rel-line, .footer-statement, .footer-bp, .miles, .morby-note { display: block !important; }
  body { background: #fff; }
}

.legal { max-width: 760px; padding-bottom: 48px; }
.legal h2 { margin: 28px 0 10px; font-size: 24px; }
.legal p, .legal li { font-size: 16px; line-height: 1.5; }
.legal ul { margin: 0 0 16px 20px; }
.identity { margin: 0; }
.identity div { margin: 0 0 10px; }
.identity dt { font-weight: 600; }
.identity dd { margin: 0; }

.subhead-pref { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.editorial-disc {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 8px 0 16px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}
.editorial-disc p { margin: 0; }
.pos {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  min-width: 1.5rem;
  line-height: 1;
  padding-top: 6px;
}
.t-aff {
  background: #fff;
  border: 1.5px solid var(--ink);
}
.rubric-score { margin: 6px 0 10px; font-size: 15px; font-weight: 600; }

.lc-top h3 a { color: inherit; text-decoration: underline; font-weight: inherit; }
.lc-top h3 a:hover { color: var(--ink); }

.affiliated-note {
  display: block;
  visibility: visible;
  opacity: 1;
  margin: 4px 0 10px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
}

@media (max-width: 719px) {
  .affiliated-note { display: block; visibility: visible; font-size: 14px; }
}

.also-offers { margin: 8px 0 12px; font-size: 15px; line-height: 1.45; }
.rank-bottom { margin: 32px 0 0; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--muted); background: none; border: 0; max-width: 760px; }

.how-line, .owner-list-notice { margin: 8px 0 14px; font-size: 15px; line-height: 1.5; max-width: 760px; }
.glance-lenders { list-style: none; margin: 0; padding: 0; }
.glance-lenders li { margin: 0 0 8px; padding: 0; }
.glance-lenders .affiliated-note { margin: 2px 0 0; }

:root { --navy: #14213D; --footer-muted: #C5C9D4; }
.site-chrome-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.wordmark { padding: 0; }
.wordmark img {
  display: block;
  height: 36px;
  width: auto;
}
.fund-tabs { background: var(--surface); }
.fund-tabs-inner {
  display: flex;
  gap: 4px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fund-tabs-inner::-webkit-scrollbar { display: none; }
.fund-tabs a {
  flex: 0 0 auto;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.fund-tabs a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--copper);
}
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(20, 33, 61, 0.28);
}
.back-to-top[hidden] { display: none !important; }
.primer { display: flex; flex-direction: column; gap: 0; }
details.primer-card, details.define-card {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
  padding: 0;
}
details.primer-card summary,
details.define-card summary {
  cursor: pointer;
  list-style: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
details.primer-card summary::-webkit-details-marker,
details.define-card summary::-webkit-details-marker { display: none; }
details.primer-card summary::after,
details.define-card summary::after {
  content: "+";
  font-weight: 500;
  color: var(--muted);
}
details.primer-card[open] summary::after,
details.define-card[open] summary::after { content: "\2212"; }
details.primer-card p,
details.define-card p { margin: 0 0 14px; max-width: 760px; }
@media (hover: hover) and (min-width: 720px) {
  .has-tip { position: relative; }
  .has-tip:hover::before {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    z-index: 30;
    max-width: min(420px, 80vw);
    padding: 8px 10px;
    background: var(--navy);
    color: #F7F5F0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(20, 33, 61, 0.2);
    pointer-events: none;
    white-space: normal;
  }
}
.site-footer {
  background: var(--navy);
  color: var(--footer-muted);
  border-top: 0;
  padding: 32px 0 48px;
  margin-top: 48px;
}
.footer-logo { display: inline-block; margin: 0 0 16px; }
.footer-logo img { display: block; height: 36px; width: auto; }
.site-footer .footer-bp,
.site-footer .small-print,
.site-footer .disc,
.site-footer .disc a {
  color: var(--footer-muted);
}
.site-footer .footer-links a { color: #F7F5F0; }
.next-list { margin: 28px 0 12px; font-size: 17px; }
.next-list a { font-weight: 600; }
.list-hero { padding: 28px 0 8px; }
.list-hero h1 { margin-bottom: 16px; }
.lc {
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.04), 0 8px 24px rgba(20, 33, 61, 0.04);
  transition: background 0.2s ease;
}
@media (max-width: 719px) {
  .wordmark img { height: 30px; }
  .footer-logo img { height: 30px; }
  .fund-tabs a { padding: 0 10px; font-size: 14px; }
  h1 { font-size: 28px; }
  .hero { padding: 20px 0 16px; }
  .back-to-top { right: 12px; bottom: 12px; }
}

/* Hub glance: Option 2 cards from 768px up; Option 1 tabs below 768px. */
.glance {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin: 8px 0 32px;
}
.glance h2 {
  margin: 0 0 18px;
  font-family: Fraunces, serif;
  letter-spacing: -0.02em;
}
.glance-tabs { display: none; }
.glance-panels { display: flex; flex-direction: column; gap: 14px; }
.glance-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 16px 40px rgba(20, 33, 61, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.glance-band {
  position: relative;
  padding: 22px 22px 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(180, 80, 31, 0.55), transparent 36%),
    linear-gradient(165deg, var(--navy) 0%, #1C2C52 58%, #0F1A30 100%);
  color: #FAF8F4;
}
.glance-band h3 {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.glance-band h3 a { color: inherit; text-decoration: none; }
.glance-band h3 a:hover { color: #fff; }
.glance-band p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(250, 248, 244, 0.72);
}
.glance-lenders { list-style: none; margin: 0; padding: 8px 8px 4px; }
.glance-lenders li { margin: 0; padding: 0; }
.glance-row {
  display: grid;
  grid-template-columns: 1.85rem 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
a.glance-row:hover, a.glance-row:focus-visible { background: #F6F1EA; }
.glance-row.plain:hover { background: transparent; }
.glance-num { display: none; }
.glance-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: #EEE8DE;
  color: var(--navy);
}
/* Paul, Nov 25 10:31 PM: #1 dark red, #2 blue, white text. #3 to #5 unchanged. */
.glance-lenders li[data-rank="1"] .glance-badge {
  background: #8B1E1E;
  color: #fff;
}
.glance-lenders li[data-rank="2"] .glance-badge {
  background: #1F5FAE;
  color: #fff;
}
.glance-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.glance-line {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.glance-row .affiliated-note { margin: 2px 0 0; font-size: 14px; }
.glance-arrow { display: none; }
.glance-more {
  margin: auto 20px 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}
.glance-more a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.glance-more a:hover { color: var(--copper); }
.glance-more-long { display: none; }

/* Mobile: Option 1 tabs, Option 2 colors. Stacked panels if JS is off. */
@media (max-width: 767px) {
  .glance-hybrid.is-enhanced .glance-tabs {
    display: flex;
    position: relative;
    margin: 0 0 12px;
    padding: 6px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 88% 18%, rgba(180, 80, 31, 0.55), transparent 42%),
      linear-gradient(165deg, var(--navy) 0%, #1C2C52 58%, #0F1A30 100%);
    box-shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 16px 40px rgba(20, 33, 61, 0.07);
  }
  .glance-hybrid.is-enhanced .glance-tabs button {
    flex: 1;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(250, 248, 244, 0.72);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding: 11px 4px;
    border-radius: 11px;
    cursor: pointer;
    white-space: nowrap;
  }
  .glance-hybrid.is-enhanced .glance-tabs button[aria-selected="true"] {
    background: rgba(250, 248, 244, 0.14);
    color: #FAF8F4;
    box-shadow: inset 0 -2px 0 var(--copper);
  }
  .glance-hybrid.is-enhanced .glance-tabs button:focus-visible {
    outline: 3px solid #F3E3D8;
    outline-offset: 2px;
  }
  .glance-hybrid.is-enhanced .glance-card { display: none; }
  .glance-hybrid.is-enhanced .glance-card.is-active { display: flex; }
  .glance-hybrid.is-enhanced .glance-band { display: none; }
  .glance-hybrid.is-enhanced .glance-badge { display: none; }
  .glance-hybrid.is-enhanced .glance-num {
    display: block;
    font-family: Fraunces, serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--navy);
  }
  .glance-hybrid.is-enhanced .glance-lenders li[data-rank="1"] .glance-num,
  .glance-hybrid.is-enhanced .glance-lenders li[data-rank="2"] .glance-num {
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 22px;
  }
  .glance-hybrid.is-enhanced .glance-lenders li[data-rank="1"] .glance-num { background: #8B1E1E; }
  .glance-hybrid.is-enhanced .glance-lenders li[data-rank="2"] .glance-num { background: #1F5FAE; }
  .glance-hybrid.is-enhanced .glance-row {
    grid-template-columns: 3.25rem 1fr 1.5rem;
    align-items: center;
    padding: 14px 12px;
    border-radius: 0;
  }
  .glance-hybrid.is-enhanced .glance-lenders li + li .glance-row {
    box-shadow: inset 0 1px 0 var(--rule);
  }
  .glance-hybrid.is-enhanced .glance-name { font-size: 15.5px; }
  .glance-hybrid.is-enhanced .glance-line { font-size: 13.5px; }
  .glance-hybrid.is-enhanced .glance-arrow {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--navy);
    opacity: 0.35;
    justify-self: end;
  }
  .glance-hybrid.is-enhanced .glance-row.plain .glance-arrow { visibility: hidden; }
  a.glance-row:hover .glance-arrow,
  a.glance-row:focus-visible .glance-arrow { opacity: 1; }
  .glance-hybrid.is-enhanced .glance-more-short { display: none; }
  .glance-hybrid.is-enhanced .glance-more-long { display: inline; }
  .glance-hybrid.is-enhanced .glance-more {
    margin: 4px 16px 16px;
    text-align: right;
  }
}

/* Desktop and tablet: Option 2 three-column bento cards. */
@media (min-width: 768px) {
  .glance-tabs { display: none !important; }
  .glance-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  .glance-card { display: flex; }
  .glance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(20, 33, 61, 0.06), 0 20px 48px rgba(20, 33, 61, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
}

/* List pages: tight header so the comparison table starts near the top */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; }
.list-hero { padding: 16px 0 4px; }
.list-hero h1 { margin: 0; }
.category .lede { margin: 0 0 8px; max-width: 760px; }
.category .how-line { margin: 0 0 8px; }
.category .standing { margin: 0 0 16px; }

@media (max-width: 719px) {
  .cmp { margin: 0 0 16px; }
  .cmp table, .cmp thead, .cmp tbody, .cmp th, .cmp td, .cmp tr, .cmp caption {
    display: block;
    width: 100%;
  }
  .cmp caption {
    padding: 10px 12px 6px;
    font-size: 13px;
    line-height: 1.35;
    hyphens: none;
    white-space: normal;
  }
  .cmp thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .cmp tr {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: 10px;
    row-gap: 2px;
    padding: 10px 12px;
    border-top: 1px solid var(--rule);
    background: var(--surface);
    align-items: start;
  }
  .cmp td { border: 0; padding: 0; white-space: normal; font-size: 14px; line-height: 1.35; }
  .cmp td[data-label="Rank"] { grid-column: 1; grid-row: 1 / span 8; padding-top: 1px; }
  .cmp td[data-label="Lender"] { grid-column: 2; font-weight: 700; }
  .cmp td:not([data-label="Rank"]):not([data-label="Lender"]) { grid-column: 2; color: var(--ink); }
  .cmp td:not([data-label="Rank"]):not([data-label="Lender"])::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--muted);
  }
}

/* #1 starts with the same tan used on glance-row hover. On hover-capable
   pointers, #1 yields when another item in that same list is hovered or
   focused. Touch and mobile keep #1 tan by default. */
.glance-lenders li[data-rank="1"] a.glance-row {
  background: var(--hover-tan);
}
.lc[data-rank="1"] {
  background: var(--hover-tan);
}
.cmp tbody tr[data-rank="1"] {
  background: var(--hover-tan);
}
@media (hover: hover) {
  .glance-lenders:hover li[data-rank="1"] a.glance-row:not(:hover):not(:focus-visible),
  .glance-lenders:focus-within li[data-rank="1"] a.glance-row:not(:hover):not(:focus-visible) {
    background: transparent;
  }
  .category:has(.lc:hover) .lc[data-rank="1"]:not(:hover),
  .category:has(.lc:focus-within) .lc[data-rank="1"]:not(:focus-within) {
    background: var(--surface);
  }
  .lc:hover,
  .lc:focus-within {
    background: var(--hover-tan);
  }
  .cmp tbody:hover tr[data-rank="1"]:not(:hover),
  .cmp tbody:focus-within tr[data-rank="1"]:not(:focus-within) {
    background: transparent;
  }
  .cmp tbody tr:hover,
  .cmp tbody tr:focus-within {
    background: var(--hover-tan);
  }
}

/* Category comparison: glance-card look, published terms, rank badges. */
.cmp-wrap { margin: 0 0 22px; }
.cmp {
  background: var(--surface);
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 16px 40px rgba(20, 33, 61, 0.07);
}
.cmp-band {
  position: relative;
  padding: 20px 22px 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(180, 80, 31, 0.55), transparent 36%),
    linear-gradient(165deg, var(--navy) 0%, #1C2C52 58%, #0F1A30 100%);
  color: #FAF8F4;
}
.cmp-band h2 {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: inherit;
}
.cmp-band p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(250, 248, 244, 0.72);
}
.cmp table { font-size: 14px; border-collapse: collapse; }
.cmp thead th {
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 12px 14px;
  border: 0;
  vertical-align: bottom;
}
.cmp tbody td {
  padding: 14px;
  border-top: 1px solid var(--rule);
  vertical-align: top;
  background: transparent;
}
.cmp tbody tr { transition: background 0.2s ease; }
.cmp-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cmp td .affiliated-note {
  margin: 2px 0 0;
  font-size: 13px;
}
.cmp-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: #EEE8DE;
  color: var(--navy);
}
.cmp tbody tr[data-rank="1"] .cmp-badge {
  background: #8B1E1E;
  color: #fff;
}
.cmp tbody tr[data-rank="2"] .cmp-badge {
  background: #1F5FAE;
  color: #fff;
}

@media (max-width: 719px) {
  .cmp-band { padding: 18px 16px 16px; }
  .cmp-band h2 { font-size: 22px; }
  .cmp tbody tr {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    column-gap: 10px;
    row-gap: 4px;
    padding: 14px 16px;
    border-top: 1px solid var(--rule);
    align-items: start;
  }
  .cmp tbody tr[data-rank="1"] { background: var(--hover-tan); }
  .cmp td { border: 0; padding: 0; white-space: normal; font-size: 14px; line-height: 1.4; }
  .cmp td[data-label="Rank"] { grid-column: 1; grid-row: 1 / span 8; padding-top: 1px; }
  .cmp td[data-label="Lender"] { grid-column: 2; }
  .cmp td:not([data-label="Rank"]):not([data-label="Lender"]) { grid-column: 2; color: var(--ink); }
  .cmp td:not([data-label="Rank"]):not([data-label="Lender"])::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--muted);
  }
}
