.rate-page,
.rate-page *,
.rate-page *::before,
.rate-page *::after { box-sizing: border-box; }

.rate-page { width: min(1160px, calc(100% - 32px)); min-width: 0; margin: 0 auto; padding: 38px 0 80px; }
.rate-page > * { min-width: 0; }
.tool-crumb { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; border-radius: 9px; color: var(--t); font-size: 14px; font-weight: 800; text-decoration: none; }
.tool-crumb:hover { color: #05645d; }
.tool-crumb:focus-visible, .rate-action:focus-visible, .rate-reset:focus-visible, .rate-page select:focus-visible { outline: 3px solid #08786e33; outline-offset: 2px; }

.rate-hero { position: relative; isolation: isolate; min-height: 242px; margin: 18px 0 28px; padding: clamp(30px, 5vw, 48px); overflow: clip; border-radius: 24px; background: linear-gradient(132deg, #102a52, #0b2143); color: #fff; }
.rate-hero::after { position: absolute; z-index: -1; top: 50%; right: clamp(-72px, -2vw, -28px); width: min(31vw, 360px); aspect-ratio: 1; border: 1px solid #ffffff35; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #35b5a66a, transparent 67%); content: ""; transform: translateY(-50%); }
.rate-hero h1 { max-width: 690px; margin: 8px 0 12px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; }
.rate-hero p:not(.tool-eyebrow) { max-width: 680px; margin: 0; color: #d7e3ee; font-size: 1rem; }

.rate-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.rate-card-heading h2 { margin: 5px 0 7px; color: var(--n); font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.2; }
.rate-card-heading p:not(.rate-card-eyebrow) { max-width: 620px; margin: 0; color: var(--m); }
.rate-card-eyebrow { margin: 0; color: var(--t); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.rate-demo { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 30px; margin: 0; border: 1px solid #f3d686; border-radius: 999px; background: #fff8dd; padding: 5px 10px; color: #795400; font-size: 12px; font-weight: 800; white-space: nowrap; }
.rate-comparison-card { padding: clamp(18px, 3vw, 30px); }

.rate-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.rate-page .tool-field { min-width: 0; gap: 7px; }
.rate-page .tool-field select { min-width: 0; height: 46px; overflow: hidden; border-color: #cfdde1; border-radius: 11px; padding: 0 38px 0 12px; color: var(--n); font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.rate-page .tool-field select:focus { border-color: var(--t); outline: 3px solid #08786e33; }
.rate-page .tool-field select:disabled { cursor: not-allowed; background: #f5f7f8; color: #6b7890; }
.rate-filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 18px; }
.rate-filter-note { min-width: 0; margin: 0; color: var(--m); font-size: 12px; }
.rate-reset { flex: 0 0 auto; min-height: 38px; border: 1px solid #b8cfcc; border-radius: 9px; background: #fff; padding: 8px 12px; color: #076d64; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rate-reset:hover { border-color: var(--t); background: #f0faf8; }
.rate-status { min-height: 24px; margin: 0 0 12px; color: var(--m); font-size: 14px; font-weight: 700; }

.rate-table-wrap { width: 100%; min-width: 0; border: 1px solid var(--l); border-radius: 16px; background: #fff; }
.rate-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.rate-table th, .rate-table td { min-width: 0; overflow-wrap: anywhere; padding: 14px 12px; text-align: left; vertical-align: middle; }
.rate-table th { border-bottom: 1px solid var(--l); background: #f7fbfb; color: var(--m); font-size: 11px; font-weight: 900; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase; }
.rate-table td { border-bottom: 1px solid #e9eff1; color: #29435e; font-size: 13px; line-height: 1.45; }
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table th:nth-child(1) { width: 13%; }.rate-table th:nth-child(2) { width: 10%; }.rate-table th:nth-child(3) { width: 9%; }.rate-table th:nth-child(4) { width: 9%; }.rate-table th:nth-child(5) { width: 12%; }.rate-table th:nth-child(6) { width: 8%; }.rate-table th:nth-child(7) { width: 11%; }.rate-table th:nth-child(8) { width: 9%; }.rate-table th:nth-child(9) { width: 19%; }
.rate-table tbody tr:nth-child(even) { background: #fbfdfd; }.rate-table tbody tr:hover { background: #f3faf8; }
.rate-lender { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--n); font-weight: 850; }.rate-lender > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.rate-lender img, .rate-lender [data-lender-logo-slot] { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid var(--l); border-radius: 11px; background: #fff; object-fit: contain; }
.rate-value { color: #076d64 !important; font-weight: 850; }.rate-not-published { display: inline-flex; align-items: center; max-width: 100%; border-radius: 999px; background: #f1f4f6; padding: 4px 8px; color: #6b7890; font-size: 11px; font-weight: 800; line-height: 1.2; }
.rate-table th:last-child, .rate-table td:last-child { overflow: visible; text-align: center; vertical-align: middle; white-space: nowrap; }
.rate-action { display: inline-flex; width: min(100%, 172px); min-width: 148px; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border-radius: 10px; background: var(--t); padding: 8px 14px; color: #fff; font-size: 13px; font-weight: 800; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 12px #08786e20; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }.rate-action:hover, .rate-action:focus-visible { background: #05645d; box-shadow: 0 8px 16px #08786e2c; transform: translateY(-1px); }.rate-action:active { transform: translateY(0); }.rate-action-arrow { font-size: 16px; line-height: 1; transition: transform .2s ease; }.rate-action:hover .rate-action-arrow, .rate-action:focus-visible .rate-action-arrow { transform: translateX(2px); }
.rate-empty { padding: 32px !important; color: var(--m) !important; text-align: center !important; }

@media (max-width: 1099px) {
  .rate-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-table-wrap { border: 0; background: transparent; }
  .rate-table, .rate-table tbody, .rate-table tr, .rate-table td { display: block; width: 100%; }
  .rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .rate-table tbody { display: grid; gap: 14px; }
  .rate-table tbody tr, .rate-table tbody tr:nth-child(even), .rate-table tbody tr:hover { overflow: hidden; border: 1px solid var(--l); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #102a5209; }
  .rate-table td { display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); gap: 16px; border-bottom: 1px solid #e9eff1; padding: 12px 14px; }
  .rate-table td::before { color: var(--m); content: attr(data-label); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
  .rate-table td:first-child { display: block; border-bottom-color: #d9e6e7; padding: 15px 14px; }.rate-table td:first-child::before { display: none; }
  .rate-table td:last-child { display: block; border-bottom: 0; text-align: left; white-space: normal; }.rate-table td:last-child::before { display: none; }
  .rate-table .rate-action { width: 100%; min-width: 0; min-height: 42px; font-size: 13px; }
}

@media (max-width: 640px) {
  .rate-page { width: min(100% - 24px, 1160px); padding: 22px 0 56px; }
  .rate-hero { min-height: 0; margin: 13px 0 20px; padding: 26px 21px; border-radius: 18px; }.rate-hero::after { top: auto; right: -78px; bottom: -104px; width: 230px; transform: none; }
  .rate-comparison-card { border-radius: 18px; }
  .rate-card-heading, .rate-filter-footer { align-items: stretch; flex-direction: column; gap: 12px; }.rate-card-heading { margin-bottom: 20px; }.rate-demo { align-self: flex-start; }
  .rate-filters { grid-template-columns: minmax(0, 1fr); }.rate-reset { width: 100%; }
  .rate-table td { grid-template-columns: minmax(104px, 42%) minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) { .rate-page *, .rate-page *::before, .rate-page *::after { scroll-behavior: auto !important; transition: none !important; } }
