*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-ink);
  background-color: var(--color-canvas);
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(106, 46, 10, 0.11), transparent 52%),
    radial-gradient(ellipse 70% 45% at 95% 8%, rgba(200, 64, 64, 0.06), transparent 48%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(106, 46, 10, 0.05), transparent 55%);
  background-attachment: fixed;
}

/* Inner pages — same soft orbs + waves as homepage */
body:not(.page-home-v2) {
  background-image:
    url("../assets/site/page-bg-waves.svg"),
    radial-gradient(circle at 88% 8%, rgba(200, 64, 64, 0.11) 0%, transparent 42%),
    radial-gradient(circle at 6% 38%, rgba(106, 46, 10, 0.085) 0%, transparent 45%),
    radial-gradient(circle at 80% 82%, rgba(106, 46, 10, 0.07) 0%, transparent 40%),
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(106, 46, 10, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 45% at 95% 8%, rgba(200, 64, 64, 0.05), transparent 48%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(106, 46, 10, 0.04), transparent 55%);
  background-size:
    min(120rem, 200vw) auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto;
  background-position: center top, center, center, center, center, center, center;
  background-repeat: no-repeat;
}

body:not(.page-home-v2)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(247, 241, 239, 0.14) 45%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

body:not(.page-home-v2) .site-main,
body:not(.page-home-v2) .site-footer {
  position: relative;
  z-index: 1;
}

/* Representative rates — homepage, reviews hub */
.site-rates-band {
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 252, 248, 0.95) 100%
  );
  border-block: 1px solid rgba(106, 46, 10, 0.12);
}

.site-rates-band__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.site-rates-band__lead,
.site-rates-band__note {
  margin: 0 0 0.65rem;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.55;
  color: var(--color-ink-muted);
}

.site-rates-band__note {
  margin-bottom: 0.85rem;
}

.site-rates-band__more {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(106, 46, 10, 0.35);
}

.site-rates-band__more:hover {
  border-bottom-color: var(--color-primary);
}

/* Text links in main content (unstyled <a> without class) */
.site-main a:where(:not([class])) {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(106, 46, 10, 0.4);
  text-underline-offset: 3px;
}

.site-main a:where(:not([class])):hover,
.site-main a:where(:not([class])):focus-visible {
  text-decoration-color: currentColor;
}

/* Tables — hub + prose pages */
table.simple a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(106, 46, 10, 0.38);
  padding-bottom: 1px;
  white-space: nowrap;
}

table.simple a:hover,
table.simple a:focus-visible {
  border-bottom-color: var(--color-primary);
}

/* Card/block links — no underline on the whole card */
.home-briefings__card a,
.brief-hub-card a,
.brief-hub-more__item a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-decoration-color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  z-index: 100;
  outline: 2px solid var(--color-primary);
}

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(40, 43, 49, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-logo__mark {
  height: 3rem;
  width: auto;
  max-height: 3.25rem;
  max-width: min(12rem, 48vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

.site-logo__text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
}

.site-logo__money {
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--color-ink-muted);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-nav a[aria-current="page"] {
  color: var(--color-ink);
}

.site-nav__app {
  padding: 0.45rem 1rem;
  border-radius: var(--btn-radius);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  text-decoration: none !important;
}

.site-nav__app:hover {
  filter: brightness(1.05);
}

.site-nav__close {
  display: none;
}

.site-nav__close-icon {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.site-nav__close-icon::before,
.site-nav__close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35rem;
  height: 2px;
  border-radius: 1px;
  background: var(--color-primary);
}

.site-nav__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-nav__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ─── Mobile menu (hamburger) ─────────────────────────── */
.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0.5rem;
  border: none;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.site-nav__toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 1.45rem;
  height: 1.15rem;
}

.site-nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--color-primary);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header--nav-open .site-nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header--nav-open .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header--nav-open .site-nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.site-nav-open {
  overflow: hidden;
}

@media (max-width: 47.99rem) {
  .site-header__inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-header--nav-open {
    z-index: 200;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 150;
    margin: 0;
    padding: 5rem 1.35rem 2rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 241, 239, 0.97);
    backdrop-filter: blur(10px);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease, visibility 0.28s ease;
    visibility: hidden;
    pointer-events: none;
  }

  .site-header--nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.55rem;
    border: none;
    border-radius: var(--btn-radius);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
  }

  .site-nav__close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
  }

  .site-nav a:not(.site-nav__app) {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(106, 46, 10, 0.12);
    font-size: 1.05rem;
  }

  .site-nav .site-nav__app {
    margin-top: 1.35rem;
    padding: 0.75rem 1.35rem;
    justify-content: center;
    width: 100%;
    max-width: 16rem;
    align-self: center;
  }
}

@media (min-width: 48rem) {
  .site-nav__toggle {
    display: none !important;
  }

  .site-nav {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.35rem 1.25rem !important;
    background: transparent !important;
    backdrop-filter: none !important;
    overflow: visible !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .site-nav a:not(.site-nav__app) {
    padding: 0 !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
  }

  .site-nav .site-nav__app {
    margin-top: 0 !important;
    width: auto !important;
    max-width: none !important;
    align-self: auto !important;
  }

  .site-nav__close {
    display: none !important;
  }
}

.site-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--color-ink-muted);
  max-width: 36rem;
}

.hero__panel {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
}

.hero__panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero__panel p {
  margin: 0 0 1rem;
  opacity: 0.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--btn-radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn--primary,
.btn-v2-primary,
.install-store-badge,
.about-cta__primary,
.provider-review__visit-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-radius: var(--btn-radius);
}

.btn--primary:hover,
.btn-v2-primary:hover,
.install-store-badge:hover,
.about-cta__primary:hover,
.provider-review__visit-btn:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-primary);
}

.btn--outline,
.btn--quiet,
.btn-v2-quiet,
.about-cta__quiet {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid #6A2E0A;
  border-radius: var(--btn-radius);
}

.btn--outline:hover,
.btn--quiet:hover,
.btn-v2-quiet:hover,
.about-cta__quiet:hover {
  border-color: var(--color-primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface);
  padding: 1.25rem 1.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(40, 43, 49, 0.08);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.98rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(40, 43, 49, 0.1);
  background: var(--color-surface);
}

table.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.simple th,
table.simple td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(40, 43, 49, 0.08);
  vertical-align: top;
}

table.simple th {
  font-weight: 600;
  background: rgba(247, 241, 239, 0.8);
}

table.simple tr:last-child td {
  border-bottom: none;
}

.muted {
  color: var(--color-ink-muted);
}

.small {
  font-size: 0.9rem;
}

.prose {
  max-width: 48rem;
}

.prose h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.prose h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a:where(:not([class])) {
  color: var(--color-primary);
  font-weight: 600;
}

.callout {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 1.25rem 2rem;
  margin-top: 3rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__grid {
  max-width: 72rem;
  margin: 0 auto 2rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  }
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.site-footer__logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.site-footer__logo-icon {
  height: 2.65rem;
  width: auto;
  max-height: 2.85rem;
  max-width: min(10rem, 55vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

.site-footer__logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: inherit;
}

.site-footer__logo-money {
  font-weight: 600;
}

.site-footer__tagline {
  margin: 0 0 0.75rem;
  max-width: 22rem;
  font-size: 0.84rem;
  line-height: 1.48;
  opacity: 0.82;
}

.site-footer__brand > p:last-child {
  margin: 0.35rem 0 0;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.site-footer__list li {
  margin-bottom: 0.35rem;
}

.site-footer__muted {
  opacity: 0.75;
  margin: 0.25rem 0;
}

.site-footer__legal {
  max-width: 72rem;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.55;
  opacity: 0.88;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.site-footer__legal p {
  margin: 0 0 0.9rem;
}

.site-footer__legal p strong {
  color: #fff;
  font-weight: 700;
}

.site-footer__legal a {
  font-weight: 600;
}

.site-footer__copy {
  margin: 0.25rem 0 0;
  opacity: 0.7;
  font-size: 0.78rem;
}

.anchor-target {
  scroll-margin-top: 5rem;
}

/* Lender logos (reviews hub, homepage, write-ups) */
.lender-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: 0.55rem;
  background: var(--color-surface);
  border: 1px solid rgba(40, 43, 49, 0.1);
  flex-shrink: 0;
}

.lender-logo--fallback {
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(106, 46, 10, 0.12);
  border: 1px solid rgba(106, 46, 10, 0.2);
}

.provider-hub-table .lender-logo {
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto;
}

.home-lenders__product {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.home-lenders__product .lender-logo {
  width: 2rem;
  height: 2rem;
}

/* Legacy initials mark — fallback if no logo */
.provider-hub__mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(106, 46, 10, 0.12);
  border: 1px solid rgba(106, 46, 10, 0.2);
}

.provider-hub-table {
  min-width: 44rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage lender snapshot — comparison table */
.home-lenders {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.home-lenders__intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home-lenders__intro h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.home-lenders__intro a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(106, 46, 10, 0.35);
  padding-bottom: 2px;
}

.home-lenders__intro a:hover {
  border-bottom-color: var(--color-primary);
}

.home-lenders__lede {
  margin: 0 0 1.25rem;
  max-width: 50rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-ink-muted);
}

.home-lenders__panel {
  border-radius: 1rem;
  border: 1px solid rgba(40, 43, 49, 0.12);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(40, 43, 49, 0.06);
}

.home-lenders__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.home-lenders__table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.home-lenders__table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(106, 46, 10, 0.06);
  border-bottom: 1px solid rgba(40, 43, 49, 0.1);
}

.home-lenders__table tbody th,
.home-lenders__table tbody td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(40, 43, 49, 0.08);
}

.home-lenders__table tbody tr:last-child th,
.home-lenders__table tbody tr:last-child td {
  border-bottom: none;
}

.home-lenders__table tbody tr:hover {
  background: rgba(106, 46, 10, 0.04);
}

.home-lenders__table tbody th {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: nowrap;
}

.home-lenders__table tbody th a {
  color: var(--color-ink);
  text-decoration: none;
}

.home-lenders__table tbody th a:hover {
  color: var(--color-primary);
}

.home-lenders__table tbody td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
}

.home-lenders__link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}

.home-lenders__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-lenders__notes {
  margin: 0;
  padding: 0.75rem 1rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-ink-muted);
  background: rgba(106, 46, 10, 0.04);
  border-top: 1px solid rgba(40, 43, 49, 0.08);
}

.home-lenders__foot {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

.home-lenders__foot a {
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 40rem) {
  .home-lenders__table thead {
    display: none;
  }

  .home-lenders__table,
  .home-lenders__table tbody,
  .home-lenders__table tr,
  .home-lenders__table th,
  .home-lenders__table td {
    display: block;
    min-width: 0;
  }

  .home-lenders__table tbody tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(40, 43, 49, 0.1);
  }

  .home-lenders__table tbody tr:last-child {
    border-bottom: none;
  }

  .home-lenders__table tbody th {
    padding: 0 0 0.65rem;
    border: none;
  }

  .home-lenders__table tbody td {
    padding: 0.2rem 0;
    border: none;
    font-size: 0.9rem;
  }

  .home-lenders__table tbody td::before {
    content: attr(data-label) ": ";
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .home-lenders__table tbody td:last-child {
    padding-top: 0.65rem;
  }

  .home-lenders__table tbody td:last-child::before {
    content: none;
  }
}

/* Hero compact links (homepage + alt layout) */
.home-quicklinks {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.home-quicklinks a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(106, 46, 10, 0.35);
  padding-bottom: 2px;
}

.home-quicklinks a:hover {
  border-bottom-color: var(--color-primary);
}

.home-quicklinks__sep {
  margin: 0 0.55rem;
  color: rgba(40, 43, 49, 0.35);
  font-weight: 500;
}

/* FAQ accordion (details/summary) */
.home-faq {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.home-faq__inner {
  background: var(--color-surface);
  border: 1px solid rgba(40, 43, 49, 0.1);
  border-radius: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 16px 44px rgba(40, 43, 49, 0.06);
}

.home-faq h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home-faq__sub {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--color-ink-muted);
  max-width: 42rem;
}

.home-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-faq__item {
  border: 1px solid rgba(40, 43, 49, 0.1);
  border-radius: 0.85rem;
  background: rgba(247, 241, 239, 0.45);
  overflow: hidden;
}

.home-faq__item[open] {
  background: var(--color-surface);
  border-color: rgba(106, 46, 10, 0.22);
}

.home-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(106, 46, 10, 0.12);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-faq__item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: rgba(106, 46, 10, 0.2);
}

.home-faq__item summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.home-faq__body {
  margin: 0;
  padding: 0 1.1rem 1.1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-ink-muted);
  border-top: 1px solid rgba(40, 43, 49, 0.06);
}

.home-faq__body p:first-child {
  margin-top: 0.85rem;
}

.home-faq__body p:last-child {
  margin-bottom: 0;
}

/* Homepage “briefings” strip — 3 text cards */
.home-briefings {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.home-briefings__head {
  margin-bottom: 1.25rem;
}

.home-briefings__head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.home-briefings__head p {
  margin: 0;
  color: var(--color-ink-muted);
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.home-briefings__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 52rem) {
  .home-briefings__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-briefings__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 1.05rem;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(40, 43, 49, 0.1);
  box-shadow: 0 12px 36px rgba(40, 43, 49, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-briefings__card:hover {
  border-color: rgba(106, 46, 10, 0.28);
  box-shadow: 0 18px 48px rgba(40, 43, 49, 0.09);
}

.home-briefings__card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-briefings__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--color-canvas);
}

.home-briefings__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-briefings__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(106, 46, 10, 0.85);
  margin-bottom: 0.45rem;
}

.home-briefings__meta time {
  color: rgba(40, 43, 49, 0.55);
  letter-spacing: 0.04em;
}

.home-briefings__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-briefings__card p {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
  line-height: 1.45;
}

.home-briefings__more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.home-briefings__foot {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

.home-briefings__foot a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(106, 46, 10, 0.4);
  text-underline-offset: 3px;
}

.home-briefings__foot a:hover {
  text-decoration-color: currentColor;
}
