@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --forest: #153c31;
  --forest-dark: #0f2c24;
  --lime: #d6ed86;
  --paper: #f8f9f5;
  --ink: #17382f;
  --muted: #5e6d65;
  --line: #d9dfd7;
  --wash: #eaf0e3;
  --danger: #a72c2c;
  --container: 1224px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 Manrope,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
:where(button, a, input, summary, [tabindex]):focus-visible {
  outline: 3px solid #5b720e;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 4vw, 52px);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
}
h3 {
  font-size: 22px;
}
p + p {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 16px;
  transform: translateY(-160%);
  padding: 12px;
  background: var(--lime);
}
.skip:focus {
  transform: none;
}
.small {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.07em;
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  background: var(--forest);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition: background 160ms;
}
.button:hover {
  background: var(--forest-dark);
}
.button-primary {
  background: var(--lime);
  color: var(--forest);
}
.button-primary:hover {
  background: #c7e571;
}
.button-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.button-outline:hover {
  background: var(--wash);
}
.button-small {
  min-height: 46px;
  padding: 12px 20px;
}
.full-width {
  width: 100%;
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 40px);
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 29px;
  }
}

/* Navigation */
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
  text-decoration: none;
}
.brand svg {
  width: 29px;
  height: 34px;
}
.brand-period {
  margin-left: -9px;
  color: #748938;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding-block: 12px;
}
.desktop-nav a:hover {
  text-decoration: underline;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 10px;
  background: transparent;
  flex-shrink: 0;
}
.menu-button span {
  display: block;
  height: 2px;
  background: var(--forest);
  margin: 6px 0;
}
.mobile-nav {
  padding: 12px 20px 24px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
  text-decoration: none;
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 16px;
  }
  .header-inner {
    gap: 20px;
  }
  .header-secondary {
    display: none;
  }
}
@media (max-width: 850px) {
  .desktop-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-button {
    display: block;
  }
}
@media (max-width: 650px) {
  .header-inner {
    min-height: 76px;
    gap: 12px;
  }
  .brand {
    font-size: 27px;
    gap: 7px;
  }
  .brand svg {
    width: 23px;
    height: 29px;
  }
  .brand-period {
    margin-left: -6px;
  }
  .header-cta {
    font-size: 11px;
    padding-inline: 13px;
    min-height: 44px;
  }
}
@media (max-width: 359px) {
  .header-inner {
    gap: 7px;
  }
  .brand {
    font-size: 24px;
  }
  .brand svg {
    width: 19px;
  }
  .header-cta {
    padding-inline: 8px;
    font-size: 10px;
  }
}

/* Main loan calculator */
.hero {
  padding: 70px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: start;
  gap: 85px;
}
.hero-copy {
  padding-top: 14px;
}
.hero h1 {
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 30px 0;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero-description {
  max-width: 435px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}
.hero-facts {
  display: flex;
  gap: 38px;
  margin: 30px 0 17px;
}
.hero-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.hero-facts dd {
  font-size: 25px;
  font-weight: 650;
  margin: 5px 0 0;
}
.hero-footnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
  max-width: 310px;
}
.calculator {
  background: white;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 35px #243c2509;
}
.calculator h2 {
  font-size: 25px;
  margin-bottom: 27px;
}
.amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.amount-row label {
  font-size: 14px;
}
.amount-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 650;
}
.amount-field input {
  width: 119px;
  min-width: 0;
  padding: 3px 9px;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: right;
  font-weight: 650;
}
.amount-field input[aria-invalid] {
  border-color: var(--danger);
}
.input-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 10px;
}
.calculator input[type="range"] {
  width: 100%;
  margin: 24px 0 11px;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 24px;
}
.calculator input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    var(--forest) var(--progress, 61.54%),
    #e3e7df var(--progress, 61.54%)
  );
}
.calculator input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  margin-top: -10px;
  border-radius: 50%;
  border: 6px solid var(--lime);
  background: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}
.calculator input[type="range"]::-moz-range-track {
  height: 5px;
  background: #e3e7df;
}
.calculator input[type="range"]::-moz-range-progress {
  height: 5px;
  background: var(--forest);
}
.calculator input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 6px solid var(--lime);
  background: var(--forest);
}
.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.term-fieldset {
  padding: 0;
  margin: 25px 0 20px;
  border: 0;
  min-width: 0;
}
.term-fieldset legend {
  padding: 0;
  font-size: 14px;
  margin-bottom: 12px;
}
.term-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.term-options label {
  position: relative;
}
.term-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.term-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.term-options input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.term-options input:focus-visible + span {
  outline: 3px solid #5b720e;
  outline-offset: 3px;
}
.payment-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--wash);
  padding: 18px 20px;
  border-radius: 8px;
}
.payment-result > div > span {
  font-size: 12px;
}
.payment-result p {
  margin-top: 4px;
  white-space: nowrap;
}
.payment-result strong {
  font-size: 39px;
  letter-spacing: -0.04em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.payment-unit,
.payment-count {
  font-size: 12px;
  color: var(--muted);
}
.payment-count {
  white-space: nowrap;
}
.cost-breakdown {
  margin: 20px 0;
  font-size: 13px;
}
.cost-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0;
  align-items: baseline;
}
.cost-breakdown dt {
  color: var(--muted);
}
.cost-breakdown dt a {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.cost-breakdown dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cost-breakdown .total-row {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 14px;
  font-size: 15px;
}
.cost-breakdown .total-row dt {
  color: var(--ink);
  font-weight: 650;
}
.calc-plan {
  margin-top: 10px;
}
.calc-note {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
}
@media (max-width: 1100px) {
  .hero-grid {
    gap: 38px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .calculator {
    padding: 26px 24px;
  }
}
@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: 1fr 1.12fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-facts {
    gap: 22px;
  }
  .hero-facts dt {
    font-size: 11px;
  }
  .calculator {
    padding: 24px 20px;
  }
  .amount-field {
    font-size: 23px;
  }
  .amount-field input {
    width: 100px;
  }
  .term-options span {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .hero {
    padding: 35px 0 45px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(42px, 11.5vw, 60px);
    margin: 21px 0;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-facts {
    margin: 22px 0 10px;
    gap: 35px;
  }
  .hero-footnote {
    margin-top: 8px;
    max-width: none;
    font-size: 12px;
  }
  .calculator {
    padding: 24px 20px;
  }
  .calculator h2 {
    font-size: 24px;
  }
}
@media (max-width: 359px) {
  .calculator {
    padding: 22px 15px;
  }
  .amount-row label {
    font-size: 12px;
  }
  .amount-field {
    font-size: 22px;
  }
  .amount-field input {
    width: 91px;
  }
  .payment-result {
    padding: 16px 13px;
  }
  .payment-result strong {
    font-size: 34px;
  }
}

/* Product comparison: numerical rows instead of repeated promotional panels */
.comparison-section {
  padding: 65px 0;
  border-block: 1px solid var(--line);
  background: var(--wash);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading > p {
  max-width: 400px;
  color: var(--muted);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.comparison-table caption {
  text-align: left;
  font-size: 13px;
  padding-bottom: 20px;
}
.comparison-table th,
.comparison-table td {
  padding: 19px 15px;
  text-align: left;
  border-bottom: 1px solid #cad5c2;
}
.comparison-table th:first-child {
  padding-left: 0;
}
.comparison-table thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.comparison-table tbody th {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.comparison-table small {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  color: var(--muted);
}
.comparison-table td:last-child {
  padding-right: 0;
  text-align: right;
  font-size: 13px;
}
.comparison-table a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
}
.comparison-section .small {
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .comparison-table th,
  .comparison-table td {
    padding: 16px 8px;
  }
  .comparison-table {
    font-size: 13px;
  }
  .comparison-table tbody th {
    font-size: 20px;
  }
}
@media (max-width: 850px) {
  .section-heading {
    align-items: start;
    gap: 30px;
  }
  .section-heading > p {
    max-width: 320px;
    font-size: 14px;
  }
  .comparison-table {
    font-size: 12px;
  }
  .comparison-table td:last-child {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .comparison-section {
    padding: 42px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 23px;
  }
  .section-heading > p {
    margin-top: 15px;
    max-width: none;
    font-size: 15px;
  }
  .comparison-table,
  .comparison-table tbody {
    display: block;
  }
  .comparison-table caption {
    display: block;
    font-size: 12px;
  }
  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .comparison-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    padding: 22px 0;
    border-top: 1px solid #cad5c2;
  }
  .comparison-table tbody th {
    grid-column: 1 / -1;
    font-size: 24px;
  }
  .comparison-table th,
  .comparison-table td {
    display: block;
    padding: 0;
    border: 0;
    white-space: normal;
    font-size: 15px;
  }
  .comparison-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .comparison-table td:last-child {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 13px;
  }
  .comparison-table small {
    font-size: 11px;
  }
}

/* Requirements and service information */
.requirements-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 70px;
}
.requirements-section p {
  color: var(--muted);
  margin: 20px 0 12px;
  max-width: 430px;
}
.requirements-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.requirements-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.requirements-list li:first-child {
  border-top: 1px solid var(--line);
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-block: 20px 65px;
}
.faq-section > div > .text-link {
  margin-top: 18px;
}
.faq-item {
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary span {
  transform: rotate(45deg);
}
.faq-item > div {
  padding: 0 25px 24px 0;
  font-size: 14px;
  color: var(--muted);
}
.faq-item > div > a {
  display: inline-block;
  margin-top: 15px;
  color: var(--forest);
}
.help-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 38px 45px;
  background: var(--forest);
  color: white;
  border-radius: 12px;
  margin-bottom: 70px;
}
.help-band h2 {
  font-size: 29px;
  max-width: 360px;
}
.help-band p {
  font-size: 14px;
  color: #d3dfd3;
  margin-bottom: 18px;
}
@media (max-width: 850px) {
  .requirements-section {
    gap: 40px;
  }
  .faq-section {
    gap: 40px;
  }
  .help-band {
    gap: 35px;
    padding: 32px;
  }
}
@media (max-width: 650px) {
  .requirements-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 42px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 10px 42px;
  }
  .faq-item summary {
    font-size: 14px;
  }
  .help-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
    margin-bottom: 45px;
  }
  .help-band h2 {
    font-size: 26px;
  }
}

/* Information pages */
.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-heading {
  padding: 37px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  max-width: 920px;
}
.page-heading > p {
  margin-top: 17px;
  max-width: 760px;
  font-size: 17px;
  color: var(--muted);
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 95px;
  align-items: start;
  padding: 45px 0 70px;
}
.prose {
  min-width: 0;
}
.prose > section {
  margin-bottom: 35px;
}
.prose h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.prose h3 {
  font-size: 20px;
  margin-block: 24px 12px;
}
.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.85;
}
.prose p {
  color: #465b4e;
}
.prose a {
  overflow-wrap: anywhere;
}
.prose ul {
  padding-left: 23px;
}
.prose li {
  padding-left: 5px;
  margin-bottom: 10px;
}
.prose .button {
  margin-top: 20px;
}
.review-date {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 40px;
}
.article-aside {
  padding: 25px;
  background: var(--wash);
  border-radius: 10px;
}
.article-aside h2 {
  font-size: 23px;
  margin-bottom: 15px;
}
.article-aside p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-aside .small {
  display: block;
  margin-top: 13px;
  font-size: 12px;
}
.article-aside > a:not(.button),
.document-nav a {
  display: block;
  font-size: 13px;
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.article-aside .aside-apply {
  margin-top: 18px;
}
.article-aside hr {
  border: 0;
  border-top: 1px solid #cbd5c4;
  margin: 22px 0 12px;
}
.article-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 56%;
  border-radius: 10px;
  margin-bottom: 35px;
}
.legal-data > div {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.legal-data dt {
  font-weight: 650;
  margin-bottom: 5px;
  font-size: 14px;
}
.legal-data dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.example-box {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 40px;
}
.example-box h2 {
  font-size: 25px;
  margin-bottom: 20px;
}
.example-box dl > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  font-size: 14px;
}
.example-box dt {
  color: var(--muted);
}
.example-box dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.example-box .example-total {
  border-top: 1px solid var(--line);
  margin-top: 13px;
  padding-top: 17px;
  font-size: 17px;
}
.example-box .small {
  margin: 18px 0;
  font-size: 13px;
}
.simulator-page {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 90px;
  align-items: start;
  padding-block: 60px 80px;
}
.simulator-page h1 {
  margin-bottom: 23px;
}
.simulator-page > div > p {
  color: var(--muted);
  max-width: 440px;
}
.simulator-tip {
  border-left: 2px solid #a8b898;
  padding-left: 22px;
  margin: 35px 0;
}
.simulator-tip h2 {
  font-size: 21px;
  margin-bottom: 10px;
}
.simulator-tip p {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .article-grid {
    gap: 45px;
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .simulator-page {
    gap: 45px;
  }
}
@media (max-width: 850px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 30px;
  }
  .article-aside {
    padding: 21px;
  }
  .simulator-page {
    gap: 30px;
  }
  .simulator-page h1 {
    font-size: 38px;
  }
}
@media (max-width: 650px) {
  .page-heading {
    padding: 25px 0 28px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading > p {
    font-size: 15px;
  }
  .breadcrumb {
    margin-bottom: 22px;
    font-size: 11px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px 45px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .prose p,
  .prose li {
    font-size: 15px;
  }
  .prose .review-date {
    font-size: 12px;
  }
  .article-photo {
    height: 300px;
  }
  .example-box {
    padding: 23px 18px;
  }
  .example-box h2 {
    font-size: 23px;
  }
  .example-box dl > div {
    gap: 15px;
    font-size: 12px;
  }
  .example-box .example-total {
    font-size: 15px;
  }
  .simulator-page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 30px 45px;
  }
  .simulator-page h1 {
    font-size: 36px;
  }
  .simulator-tip {
    margin: 22px 0;
  }
}

/* Loan examples and explanatory content */
.loan-navigation {
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}
.loan-navigation h2 { max-width: 750px; font-size: 30px; }
.loan-navigation > p { max-width: 740px; margin-block: 18px; color: var(--muted); }
.loan-navigation nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.loan-navigation nav a { padding-block: 10px; font-size: 14px; }
.simulator-guide { max-width: 900px; padding-block: 0 65px; }
.loan-steps { padding-left: 25px; }
.loan-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 22px; }
.loan-examples { min-width: 640px; }
.loan-examples th, .loan-examples td { padding-inline: 10px; font-size: 13px; }
.loan-examples tbody th { font-size: 18px; }
.amortization-table { width: 100%; min-width: 490px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.amortization-table caption { text-align: left; padding-bottom: 16px; font-size: 13px; }
.amortization-table th, .amortization-table td { padding: 12px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.amortization-table th:first-child { text-align: left; }
.amortization-table tfoot { font-weight: 700; }
.loan-glossary > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.loan-glossary dt { font-weight: 700; margin-bottom: 4px; }
.loan-glossary dd { margin: 0; color: var(--muted); }
@media (max-width: 650px) {
  .loan-navigation { padding-block: 30px; }
  .loan-navigation h2 { font-size: 25px; }
  .loan-navigation nav { display: grid; gap: 4px; }
  .loan-examples { min-width: 0; }
  .loan-examples th, .loan-examples td { padding: 0; font-size: 15px; }
  .simulator-guide { padding-bottom: 40px; }
}

/* Live term comparison and current navigation */
.compare-link { display: block; margin-top: 14px; font-size: 14px; text-align: center; }
.simulator-comparison { padding-bottom: 55px; }
.simulator-comparison h2 { margin-bottom: 16px; }
.simulator-comparison > p { max-width: 800px; margin-bottom: 18px; }
.term-comparison { width: 100%; border-collapse: collapse; margin-block: 20px; font-variant-numeric: tabular-nums; }
.term-comparison caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.term-comparison th, .term-comparison td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.term-comparison thead { background: var(--wash); font-size: 14px; }
.term-comparison tbody th { font-weight: 600; }
.term-comparison a { display: inline-block; padding-block: 4px; }
.term-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.selected-term { background: var(--wash); }
.selected-term th { box-shadow: inset 3px 0 var(--forest); }
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; font-weight: 750; }
.help-search-controls { display: flex; align-items: stretch; gap: 12px; }
.help-search-controls input { min-width: 0; flex: 1; }
.help-search-controls button { flex-shrink: 0; font-size: 14px; }
@media (max-width: 650px) {
  .simulator-comparison { padding-bottom: 35px; }
  .term-comparison th, .term-comparison td { padding: 12px 7px; font-size: 14px; }
  .term-comparison thead th, .term-detail { font-size: 12px; }
  .help-search-controls { flex-wrap: wrap; }
  .help-search-controls input { flex-basis: 100%; }
}
/* Educational guides */
.guide-home, .guide-index, .guide-next { padding-block: 40px 60px; }
.guide-home { border-top: 1px solid var(--line); }
.guide-list { list-style: none; margin: 28px 0; padding: 0; }
.guide-list li { padding-block: 24px; border-top: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-list :is(h2, h3) { font-size: 24px; margin: 0 0 10px; }
.guide-list p, .guide-index > p { max-width: 800px; color: var(--muted); }
.guide-index > h2 { font-size: 28px; margin-top: 40px; }
.guide-resource-list { padding-left: 22px; margin-block: 22px 30px; }
.guide-resource-list li { margin-bottom: 12px; }
.prose .guide-answer { font-size: 18px; color: var(--ink); }
.prose .guide-meta { font-size: 13px; color: var(--muted); margin-top: 20px; }
.guide-toc { padding: 22px; background: var(--wash); margin-block: 28px; border-left: 3px solid var(--forest); }
.guide-toc ul { margin: 12px 0 0; padding-left: 20px; }
.guide-toc li { margin-bottom: 8px; }
.guide-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.guide-table thead { background: var(--wash); }
.guide-table caption { text-align: left; margin-bottom: 12px; font-weight: 600; }
.guide-table tbody th { font-weight: 600; }
.guide-next h2 { font-size: 28px; margin-bottom: 16px; }
@media (max-width: 650px) {
  .guide-home, .guide-index, .guide-next { padding-block: 30px 40px; }
  .guide-list :is(h2, h3) { font-size: 21px; }
  .guide-toc { padding: 18px; }
  .prose .guide-answer { font-size: 17px; }
}

/* Help and contact */
.help-page,
.contact-page {
  padding-block: 35px 65px;
}
.help-search {
  max-width: 750px;
  margin-bottom: 25px;
}
.help-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 650;
}
.help-search input {
  width: 100%;
  padding: 15px;
  border: 1px solid #bbc7b8;
  border-radius: 7px;
  color: var(--ink);
  background: white;
}
#help-count {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.help-results {
  max-width: 880px;
  margin-bottom: 40px;
}
#help-empty {
  padding: 30px 0;
}
#help-empty h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}
.contact-grid > section {
  padding: 28px;
  background: var(--wash);
  border-radius: 10px;
  min-width: 0;
}
.contact-grid h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.contact-grid a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.contact-grid p {
  font-size: 13px;
  margin-top: 17px;
  color: var(--muted);
}
.prose .contact-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.prose .contact-grid p {
  font-size: 13px;
}
.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 15px;
}
.address-grid h2 {
  font-size: 23px;
  margin-bottom: 15px;
}
.address-grid p {
  color: var(--muted);
  font-size: 15px;
}
.address-grid a {
  overflow-wrap: anywhere;
}
.not-found,
.redirect-page {
  padding-block: 65px 90px;
}
.not-found h1 {
  margin: 20px 0;
}
.not-found > div {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.redirect-page p {
  margin-top: 25px;
}
@media (max-width: 650px) {
  .contact-grid,
  .address-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-grid > section {
    padding: 25px;
  }
  .contact-grid a {
    font-size: 17px;
  }
  .not-found > div {
    flex-direction: column;
  }
}

/* Payment plan */
body.dialog-open {
  overflow: hidden;
}
dialog {
  width: min(820px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 32px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 90px #10281a40;
}
dialog::backdrop {
  background: #12372cb3;
}
.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-header h2 {
  font-size: 30px;
  padding-top: 6px;
}
.icon-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
#plan-summary {
  color: var(--muted);
  font-size: 15px;
}
.plan-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 23px;
  background: var(--wash);
  margin: 22px 0 18px;
  border-radius: 9px;
}
.plan-totals span {
  display: block;
  font-size: 12px;
}
.plan-totals strong {
  display: block;
  font-size: 25px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.schedule-scroll {
  overflow-x: auto;
  margin: 25px 0;
}
.schedule-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 590px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.schedule-scroll caption {
  text-align: left;
  font-size: 13px;
  margin-bottom: 15px;
}
.schedule-scroll th,
.schedule-scroll td {
  text-align: right;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.schedule-scroll th {
  font-size: 12px;
  font-weight: 650;
}
.schedule-scroll td:first-child,
.schedule-scroll th:first-child {
  text-align: left;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.info-note {
  font-size: 13px;
  margin-top: 25px;
}
.version-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
@media (max-width: 650px) {
  dialog {
    padding: 23px 20px;
  }
  .dialog-header h2 {
    font-size: 25px;
  }
  .plan-totals {
    gap: 12px;
    padding: 17px;
  }
  .plan-totals strong {
    font-size: 21px;
  }
}
@media (max-width: 450px) {
  .plan-totals {
    grid-template-columns: 1fr;
  }
  .plan-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
  }
  .plan-totals strong {
    margin-top: 0;
  }
  .dialog-actions {
    flex-direction: column;
  }
}

/* Footer */
.site-footer {
  padding: 55px 0 28px;
  background: var(--forest);
  color: #edf1e8;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 40px;
}
.footer-intro p {
  font-size: 15px;
  line-height: 1.6;
  margin: 22px 0;
}
.footer-top h2 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer-top a:not(.brand) {
  display: block;
  font-size: 12px;
  color: #d3dece;
  padding: 7px 0;
  text-decoration: none;
}
.footer-top a:hover {
  text-decoration: underline;
}
.footer-top .brand-period {
  color: var(--lime);
}
.footer-disclosure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  margin-top: 38px;
  border-top: 1px solid #456255;
  padding: 25px 0;
}
.footer-disclosure p {
  font-size: 12px;
  color: #c3d0c2;
  margin: 0;
  line-height: 1.8;
}
.footer-disclosure strong {
  color: #edf1e8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #456255;
  padding-top: 23px;
  color: #c3d0c2;
  font-size: 11px;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 850px) {
  .footer-top {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-disclosure {
    gap: 35px;
  }
}
@media (max-width: 650px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-intro {
    grid-column: 1 / -1;
  }
  .footer-top h2 {
    margin-bottom: 12px;
  }
  .footer-top a:not(.brand) {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .footer-disclosure {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom nav {
    gap: 10px 20px;
    margin-top: 12px;
  }
  .footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .button,
  .calculator,
  .term-options span,
  .article-aside {
    border: 1px solid ButtonText;
  }
  .term-options input:checked + span {
    outline: 2px solid Highlight;
  }
}
@media print {
  body.dialog-open > :not(dialog) {
    display: none !important;
  }
  dialog[open] {
    display: block;
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .dialog-actions,
  .icon-button,
  .info-note {
    display: none !important;
  }
  .schedule-scroll {
    overflow: visible;
  }
  .schedule-scroll table {
    min-width: 0;
    width: 100%;
  }
  .schedule-scroll tr {
    break-inside: avoid;
  }
  .plan-totals {
    background: #eee;
    print-color-adjust: exact;
  }
}
