:root {
  --ink: #13202a;
  --muted: #627186;
  --soft: #edf4fb;
  --line: #d7e2ee;
  --paper: #ffffff;
  --page: #f5f8fc;
  --navy: #062f63;
  --teal: #155c9a;
  --teal-dark: #0a3f76;
  --gold: #f0b23f;
  --blue: #1e6fb9;
  --shadow: 0 18px 48px rgba(6, 47, 99, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  padding: 0 clamp(30px, 3.2vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  line-height: 1;
}

.site-header .brand {
  display: inline-flex;
  flex: 0 0 320px;
  align-items: center;
  gap: 12px;
  height: 96px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.site-header .brand-logo {
  display: block;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  max-width: 74px;
  max-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: center 38%;
}

.site-header .nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 96px;
  min-width: 0;
}

.site-header .nav a,
.site-header .nav-drop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.nav a:hover,
.nav-drop-button:hover,
.nav-dropdown.open .nav-drop-button,
.nav-dropdown:hover .nav-drop-button {
  background: var(--soft);
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-drop-button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown.open .nav-drop-menu,
.nav-dropdown:hover .nav-drop-menu {
  display: grid;
}

.nav-drop-menu a {
  display: block;
  min-height: 40px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  min-width: 72px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .site-header {
    gap: 14px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header .brand {
    flex-basis: 240px;
    font-size: 16px;
  }

  .site-header .nav {
    gap: 4px;
  }

  .site-header .nav a,
  .site-header .nav-drop-button {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 14px;
  }
}

.hero,
.quick-panel,
.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 24px;
}

.hero-copy {
  padding: 22px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: 17px;
}

.hero-actions,
.trust-strip,
.quick-controls,
.bank-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  border: 1px solid var(--teal);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}

.button.primary:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.trust-strip {
  margin-top: 18px;
}

.trust-strip span,
.bank-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-gif {
  display: block;
  width: 100%;
  max-height: 380px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.floating-card {
  position: absolute;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(22, 50, 79, 0.14);
}

.floating-card.top {
  top: 24px;
  left: 24px;
}

.floating-card.bottom {
  right: 24px;
  bottom: 24px;
}

.floating-card span,
.quick-result span,
.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.floating-card strong,
.quick-result strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 24px;
}

.quick-panel {
  display: grid;
  grid-template-columns: 0.62fr 1.62fr 0.68fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  max-width: 340px;
  margin-bottom: 10px;
  font-size: clamp(24px, 2.7vw, 36px);
}

.quick-help {
  max-width: 290px;
  margin-bottom: 0;
  font-size: 14px;
}

.quick-controls {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(190px, 0.9fr) minmax(190px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.quick-control {
  display: grid;
  gap: 13px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 12px 28px rgba(6, 47, 99, 0.06);
}

.quick-control label {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.quick-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid #bfd1e0;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 10px 24px rgba(6, 47, 99, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quick-input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 111, 185, 0.14);
}

.input-addon {
  display: inline-flex;
  min-width: max-content;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  background: #eef5fb;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.quick-input input {
  flex: 1;
  width: 100%;
  min-width: 90px;
  min-height: 52px;
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
}

#quickAmountInput {
  min-width: 130px;
}

.quick-input input::-webkit-outer-spin-button,
.quick-input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quick-input input[type="number"] {
  appearance: textfield;
}

.quick-input input:focus {
  outline: 0;
}

.range-field {
  display: grid;
  gap: 8px;
}

.range-field div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 9px;
  border: 1px solid #c6d4df;
  border-radius: 999px;
  padding: 0;
  background: linear-gradient(90deg, var(--blue), #dfe7ee);
  accent-color: var(--teal);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 12px rgba(6, 47, 99, 0.28);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 12px rgba(6, 47, 99, 0.28);
  cursor: pointer;
}

.quick-result {
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, var(--navy), #0e4380);
  color: #fff;
  box-shadow: 0 14px 34px rgba(6, 47, 99, 0.2);
}

.quick-result small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-transform: uppercase;
}

.quick-result strong,
.calc-output strong,
.calc-output .meter span {
  color: #fff;
}

.quick-result span {
  color: rgba(255, 255, 255, 0.72);
}

.quick-result strong {
  font-size: 32px;
}

.quick-result a {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: 50px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head.visual-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 47, 99, 0.08);
}

.visual-head img {
  display: block;
  width: 100%;
  max-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbff;
}

.loan-grid,
.timeline,
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.loan-card,
.timeline article,
.doc-grid label,
.calc-shell,
.contact,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(22, 50, 79, 0.07);
}

.loan-card {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96)),
    #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.loan-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(30, 111, 185, 0.08);
}

.loan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 122, 0.35);
  box-shadow: var(--shadow);
}

.loan-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(6, 47, 99, 0.1);
}

.loan-card h3,
.loan-card p {
  position: relative;
  z-index: 1;
}

.loan-card h3 {
  font-size: 21px;
}

.calculator-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 10px;
  padding: 34px 0 18px;
}

.calculator-page-hero > div,
.calculator-page-hero > img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calculator-page-hero > div {
  min-height: 330px;
  padding: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 94% 10%, rgba(240, 178, 63, 0.14), transparent 27%),
    linear-gradient(135deg, rgba(30, 111, 185, 0.08), rgba(240, 178, 63, 0.08)),
    #fff;
}

.calculator-page-hero h1 {
  max-width: 700px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.06;
}

.calculator-page-hero p:not(.eyebrow) {
  max-width: 760px;
}

.calculator-page-hero > img {
  display: block;
  width: 100%;
  height: 330px;
  padding: 14px;
  object-fit: contain;
  background: #f7fbff;
}

.calculator-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.calculator-menu-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 34px rgba(6, 47, 99, 0.08);
}

.calculator-menu-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(240, 178, 63, 0.14);
}

.calculator-menu-grid img {
  position: relative;
  z-index: 1;
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(6, 47, 99, 0.1);
}

.calculator-menu-grid span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.calculator-menu-grid h2,
.calculator-menu-grid p {
  position: relative;
  z-index: 1;
}

.calculator-menu-grid h2 {
  font-size: 22px;
}

.calculator-page-studio {
  padding-top: 24px;
}

.calc-shell {
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(6, 47, 99, 0.35), rgba(30, 111, 185, 0.2), rgba(240, 178, 63, 0.35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(6, 47, 99, 0.13);
}

.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  background: linear-gradient(180deg, #f9fbff, #eef5fb);
}

.tab {
  flex: 1 0 150px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(6, 47, 99, 0.06);
}

.tab:last-child {
  border-right: 1px solid transparent;
}

.tab.active {
  border-color: rgba(30, 111, 185, 0.2);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  box-shadow: 0 12px 26px rgba(6, 47, 99, 0.18);
}

.calc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  background: linear-gradient(90deg, #fff, #f8fbff);
}

.calc-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
  padding: 28px;
}

.calc-form.active {
  display: grid;
}

.inline-breakdown-graphic {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(30, 111, 185, 0.08), rgba(240, 178, 63, 0.08)),
    #f8fbff;
  box-shadow: 0 12px 30px rgba(6, 47, 99, 0.07);
}

.inline-breakdown-graphic img {
  display: block;
  width: 100%;
  height: 132px;
  border-radius: 8px;
  object-fit: cover;
}

.inline-breakdown-graphic span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.inline-breakdown-graphic strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.inline-breakdown-graphic p {
  margin: 8px 0 0;
  max-width: 440px;
  font-size: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(6, 47, 99, 0.04);
}

input:focus,
select:focus {
  outline: 3px solid rgba(21, 92, 154, 0.16);
  border-color: var(--teal);
}

.calc-output {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  border-left: 1px solid var(--line);
  padding: 26px;
  background:
    radial-gradient(circle at 85% 8%, rgba(240, 178, 63, 0.25), transparent 26%),
    linear-gradient(145deg, #062f63, #09294f);
  color: #fff;
}

.output-badge {
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.result-hero img {
  display: block;
  width: 132px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.result-hero span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.result-hero strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.meter {
  position: absolute;
  right: 22px;
  top: 22px;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  pointer-events: none;
  opacity: 0.76;
}

.meter svg {
  position: absolute;
  width: 94px;
  height: 94px;
  transform: rotate(-90deg);
}

.meter circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 9;
}

#meterArc {
  stroke: var(--gold);
  stroke-dasharray: 301.59;
  stroke-dashoffset: 120;
  stroke-linecap: round;
}

.meter span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-grid div {
  min-width: 0;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.result-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.insight {
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.13);
  color: #e9f4f4;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.payment-breakdown {
  padding-top: 18px;
}

.breakdown-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(6, 47, 99, 0.12);
}

.breakdown-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(6, 47, 99, 0.05), rgba(30, 111, 185, 0.08)),
    #fff;
}

.breakdown-visual {
  min-width: 0;
}

.breakdown-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.breakdown-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: transparent;
}

.breakdown-summary div {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #f8fbff;
}

.breakdown-summary div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.breakdown-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breakdown-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.breakdown-table-wrap {
  overflow-x: auto;
  padding: 0 20px 20px;
}

.breakdown-table {
  width: 100%;
  min-width: 860px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-collapse: collapse;
}

.breakdown-table th,
.breakdown-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.breakdown-table th {
  background: linear-gradient(180deg, #f8fbff, #eef5fb);
  color: #061a2e;
  font-size: 14px;
  font-weight: 900;
}

.breakdown-table td {
  color: #102033;
  font-size: 15px;
}

.breakdown-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.breakdown-table tbody tr:hover {
  background: #edf6ff;
}

.breakdown-table td:first-child {
  color: var(--navy);
  font-weight: 900;
}

.breakdown-table tr:last-child td {
  border-bottom: 0;
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bank-row {
  justify-content: flex-end;
}

.timeline article {
  padding: 22px;
}

.timeline article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.doc-grid label {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--ink);
}

.doc-grid input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--teal);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form .button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

details {
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer p {
  margin: 0;
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.footer .brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: center 38%;
}

.loan-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 380px;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.loan-page-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(6, 47, 99, 0.04), rgba(30, 111, 185, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.loan-page-copy h1 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
}

.loan-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.loan-benefits span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.loan-page-visual {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 12%, rgba(240, 178, 63, 0.18), transparent 34%),
    linear-gradient(145deg, var(--navy), #0d4a86);
  color: #fff;
  box-shadow: var(--shadow);
}

.loan-page-visual img {
  width: 108px;
  height: 108px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.loan-page-visual span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  text-transform: uppercase;
}

.loan-page-visual strong {
  display: block;
  max-width: 330px;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.home-page-hero .loan-page-copy {
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 178, 63, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(30, 111, 185, 0.08), rgba(240, 178, 63, 0.11)),
    #fff;
}

.home-page-hero .loan-benefits span {
  border-color: #b9d1e8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.96));
  box-shadow: 0 10px 22px rgba(6, 47, 99, 0.06);
}

.home-page-hero .loan-page-visual {
  background:
    radial-gradient(circle at 78% 16%, rgba(240, 178, 63, 0.25), transparent 36%),
    linear-gradient(145deg, #063463, #1e6fb9);
}

.personal-page-hero .loan-page-copy {
  background:
    linear-gradient(135deg, rgba(30, 111, 185, 0.06), rgba(240, 178, 63, 0.1)),
    #fff;
}

.personal-page-hero {
  align-items: center;
}

.personal-page-hero .loan-page-copy {
  padding: 24px 26px;
}

.personal-page-hero .loan-page-copy h1 {
  max-width: 760px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.06;
}

.personal-page-hero .loan-page-copy p {
  margin-bottom: 16px;
}

.personal-page-hero .loan-page-visual {
  background:
    radial-gradient(circle at 80% 12%, rgba(240, 178, 63, 0.24), transparent 36%),
    linear-gradient(145deg, #07386f, #1e6fb9);
  min-height: 270px;
}

.personal-page-hero .loan-page-visual img {
  width: 96px;
  height: 96px;
}

.personal-page-hero .loan-page-visual strong {
  font-size: 22px;
}

.business-page-hero .loan-page-copy {
  background:
    linear-gradient(135deg, rgba(240, 178, 63, 0.11), rgba(30, 111, 185, 0.06)),
    #fff;
}

.business-page-hero .loan-page-visual {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(145deg, #09294f, #174f8b);
}

.lap-page-hero .loan-page-copy {
  background:
    linear-gradient(135deg, rgba(240, 178, 63, 0.13), rgba(30, 111, 185, 0.08)),
    #fff;
}

.lap-page-hero .loan-page-copy h1 {
  max-width: 780px;
  font-size: clamp(32px, 3.5vw, 46px);
}

.lap-page-hero .loan-page-visual {
  min-height: 270px;
  background:
    radial-gradient(circle at 22% 20%, rgba(240, 178, 63, 0.25), transparent 34%),
    linear-gradient(145deg, #063463, #1c6daf);
}

.lap-page-hero .loan-page-visual img {
  width: 96px;
  height: 96px;
}

.lap-page-hero .loan-page-visual strong {
  font-size: 22px;
}

.transfer-page-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
}

.transfer-page-hero .loan-page-copy {
  background:
    radial-gradient(circle at 94% 10%, rgba(240, 178, 63, 0.18), transparent 27%),
    linear-gradient(135deg, rgba(30, 111, 185, 0.09), rgba(240, 178, 63, 0.1)),
    #fff;
}

.transfer-page-hero .loan-page-copy h1 {
  font-size: clamp(32px, 3.4vw, 46px);
}

.transfer-hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbff;
  box-shadow: var(--shadow);
}

.transfer-hero-visual img {
  display: block;
  width: 100%;
  height: 330px;
  border-radius: 8px;
  object-fit: contain;
}

.transfer-apply .apply-intro img {
  min-height: 250px;
  max-height: 330px;
}

.transfer-calculator-link {
  display: inline-flex;
  margin-top: 14px;
  border: 1px solid rgba(30, 111, 185, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--soft);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.transfer-calculator-link:hover {
  border-color: var(--blue);
  background: #e5f1fc;
}

.personal-transfer-page .loan-page-copy {
  background:
    radial-gradient(circle at 94% 10%, rgba(240, 178, 63, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(240, 178, 63, 0.1), rgba(30, 111, 185, 0.08)),
    #fff;
}

.personal-transfer-page .transfer-hero-visual {
  background:
    linear-gradient(135deg, rgba(240, 178, 63, 0.08), rgba(30, 111, 185, 0.06)),
    #f7fbff;
}

.loan-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.loan-info-grid article,
.apply-section,
.home-loan-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(6, 47, 99, 0.07);
}

.loan-info-grid article {
  padding: 24px;
}

.loan-info-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.loan-info-grid h2 {
  font-size: 24px;
}

.apply-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  padding: 24px;
}

.apply-intro img {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbff;
}

.home-loan-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: none;
}

.home-loan-form label {
  gap: 9px;
  color: #24415f;
  font-size: 14px;
  font-weight: 600;
}

.home-loan-form input,
.home-loan-form select,
.home-loan-form textarea {
  min-height: 54px;
  border: 1px solid #d4e2ee;
  border-radius: 8px;
  background: #fff;
  color: #102033;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(6, 47, 99, 0.04);
}

.home-loan-form input::placeholder,
.home-loan-form textarea::placeholder {
  color: #8a99a8;
  font-weight: 500;
}

.home-loan-form input:focus,
.home-loan-form select:focus,
.home-loan-form textarea:focus {
  outline: 3px solid rgba(30, 111, 185, 0.12);
  border-color: #7aaedc;
  box-shadow: 0 10px 26px rgba(30, 111, 185, 0.08);
}

.home-loan-form .wide {
  grid-column: 1 / -1;
}

.form-heading {
  border: 1px solid #dbe8f3;
  border-radius: 8px;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(30, 111, 185, 0.08), rgba(240, 178, 63, 0.08)),
    #fff;
}

.form-heading span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-heading strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
}

.home-loan-form textarea {
  min-height: 110px;
  padding: 12px;
  font: inherit;
  resize: vertical;
}

.home-loan-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.home-loan-form .consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.captcha-box {
  display: grid;
  min-height: 58px;
  align-items: center;
  justify-items: center;
  border: 1px dashed #9bbbd8;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, #eef6ff, #eef6ff 8px, #f8fbff 8px, #f8fbff 16px);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-loan-types {
  padding-top: 36px;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.partner-hero > div,
.partner-hero img,
.partner-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-page-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(480px, 1.24fr);
  gap: 24px;
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 50px;
}

.contact-page-copy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background:
    radial-gradient(circle at 92% 10%, rgba(240, 178, 63, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(30, 111, 185, 0.09), rgba(240, 178, 63, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.contact-page-copy h1 {
  max-width: 430px;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.07;
}

.contact-page-copy > p:not(.eyebrow) {
  margin-bottom: 20px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.contact-points span {
  border: 1px solid #d4e2ee;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.contact-page-copy img {
  display: block;
  width: 100%;
  height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbff;
}

.contact-basic-form {
  padding: 26px;
}

.nav-current {
  background: var(--soft) !important;
  color: var(--navy) !important;
}

.partner-hero > div {
  padding: 30px;
}

.partner-hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.partner-hero img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: contain;
  background: #f7fbff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.partner-grid article {
  padding: 22px;
}

.partner-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.partner-grid h2 {
  font-size: 23px;
}

.partner-overview {
  margin-bottom: 24px;
}

.partner-flow {
  padding-top: 30px;
}

.bank-partner-page {
  padding-top: 34px;
}

.bank-page-head {
  max-width: none;
  text-align: center;
  padding-top: 8px;
  margin-bottom: 28px;
  display: grid;
  justify-items: center;
}

.bank-page-head h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 56px);
  text-align: center;
  width: 100%;
}

.bank-page-head p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.bank-brand-wall {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bank-brand-card {
  position: relative;
  display: grid;
  min-height: 170px;
  align-content: space-between;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(247,251,255,0.96)),
    #fff;
  box-shadow: 0 12px 30px rgba(6, 47, 99, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bank-brand-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(30, 111, 185, 0.08);
}

.bank-brand-card.wide {
  grid-column: span 3;
}

.bank-brand-card.tall {
  grid-row: span 2;
  min-height: 356px;
}

.bank-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 111, 185, 0.32);
  box-shadow: var(--shadow);
}

.bank-brand-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 96px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.bank-brand-card.tall img {
  height: 190px;
  object-position: center;
}

.bank-brand-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: end;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.bank-tree {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(30, 111, 185, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow);
}

.tree-canopy {
  position: relative;
  min-height: 430px;
}

.tree-canopy::before,
.tree-canopy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 72%;
  height: 70%;
  border-top: 3px solid rgba(30, 111, 185, 0.22);
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.tree-canopy::after {
  width: 46%;
  height: 48%;
  border-color: rgba(240, 178, 63, 0.32);
}

.bank-leaf {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cddfed;
  border-radius: 999px 999px 999px 12px;
  padding: 0 16px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(6, 47, 99, 0.09);
  transform: rotate(var(--tilt, 0deg));
}

.bank-leaf::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 2px;
  height: 34px;
  background: linear-gradient(rgba(30, 111, 185, 0.32), transparent);
  transform: translateX(-50%);
}

.leaf-1 { left: 7%; top: 50px; --tilt: -5deg; }
.leaf-2 { left: 31%; top: 22px; --tilt: 2deg; }
.leaf-3 { right: 28%; top: 48px; --tilt: -2deg; }
.leaf-4 { right: 7%; top: 96px; --tilt: 5deg; }
.leaf-5 { left: 13%; top: 162px; --tilt: 3deg; }
.leaf-6 { left: 39%; top: 128px; --tilt: -4deg; }
.leaf-7 { right: 19%; top: 184px; --tilt: 4deg; }
.leaf-8 { left: 4%; top: 292px; --tilt: -2deg; }
.leaf-9 { left: 30%; top: 268px; --tilt: 4deg; }
.leaf-10 { right: 34%; top: 296px; --tilt: -5deg; }
.leaf-11 { right: 6%; top: 272px; --tilt: 3deg; }
.leaf-12 { left: 45%; top: 356px; --tilt: -1deg; }

.tree-trunk {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(360px, 100%);
  min-height: 116px;
  place-items: center;
  margin: -12px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 44px rgba(6, 47, 99, 0.18);
}

.tree-trunk::before,
.tree-trunk::after {
  content: "";
  position: absolute;
  top: -92px;
  width: 3px;
  height: 92px;
  background: linear-gradient(transparent, rgba(6, 47, 99, 0.45));
}

.tree-trunk::before {
  left: 38%;
  transform: rotate(-18deg);
}

.tree-trunk::after {
  right: 38%;
  transform: rotate(18deg);
}

.tree-trunk strong {
  font-size: 28px;
  line-height: 1.1;
}

.tree-trunk span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.tree-roots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.tree-roots span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bank-network-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 28px 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(30, 111, 185, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow);
}

.bank-network-map::before {
  content: "";
  position: absolute;
  inset: 330px 9% 112px;
  border: 2px dashed rgba(30, 111, 185, 0.18);
  border-radius: 999px;
}

.network-gif {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
}

.network-gif img {
  display: block;
  width: 100%;
  max-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbff;
}

.bank-node,
.network-hub,
.network-points {
  position: relative;
  z-index: 1;
}

.bank-node {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid #cddfed;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 28px rgba(6, 47, 99, 0.08);
}

.network-hub {
  display: grid;
  grid-column: 2 / 4;
  min-height: 132px;
  place-items: center;
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 44px rgba(6, 47, 99, 0.2);
}

.network-hub strong {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.network-hub span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.network-points {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.network-points span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .quick-panel,
  .calc-workspace,
  .band,
  .contact,
  .breakdown-hero,
  .section-head.visual-head,
  .loan-page-hero,
  .transfer-page-hero,
  .apply-section,
  .partner-hero,
  .calculator-page-hero,
  .contact-page-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-gif {
    max-height: 340px;
  }

  .calc-output {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .calc-workspace {
    grid-template-columns: 1fr;
  }

  .loan-grid,
  .timeline,
  .doc-grid,
  .loan-info-grid,
  .partner-grid,
  .bank-brand-wall,
  .calculator-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bank-brand-card,
  .bank-brand-card.wide,
  .bank-brand-card.tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 190px;
  }

  .bank-tree {
    min-height: auto;
  }

  .tree-canopy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
  }

  .tree-canopy::before,
  .tree-canopy::after,
  .bank-leaf::before,
  .tree-trunk::before,
  .tree-trunk::after {
    display: none;
  }

  .bank-leaf {
    position: static;
    min-height: 48px;
    border-radius: 8px;
    transform: none;
  }

  .tree-trunk {
    margin-top: 18px;
  }

  .bank-network-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-hub,
  .network-points {
    grid-column: 1 / -1;
  }

  .network-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bank-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 96px;
    min-height: 96px;
  }

  .site-header .brand {
    flex: 1 1 auto;
    gap: 9px;
    font-size: 14px;
  }

  .site-header .brand-logo {
    width: 58px;
    height: 58px;
    max-width: 58px;
    max-height: 58px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 96px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-dropdown,
  .nav-drop-button {
    width: 100%;
  }

  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-drop-button {
    text-align: left;
  }

  .nav-drop-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
    background: #f8fbff;
  }

  .nav-dropdown:hover .nav-drop-menu {
    display: none;
  }

  .nav-dropdown.open .nav-drop-menu {
    display: grid;
  }

  .hero-copy {
    padding: 10px 0 0;
  }

  .quick-controls {
    grid-template-columns: 1fr;
  }

  .hero-gif {
    max-height: 260px;
  }

  .floating-card {
    position: static;
    display: inline-block;
    margin-top: 10px;
    margin-right: 8px;
  }

  .tabs {
    grid-template-columns: 1fr 1fr;
  }

  .calc-form,
  .lead-form,
  .loan-grid,
  .timeline,
  .doc-grid,
  .loan-info-grid,
  .home-loan-form,
  .partner-grid,
  .bank-brand-wall,
  .calculator-menu-grid {
    grid-template-columns: 1fr;
  }

  .calculator-page-hero h1 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .calculator-page-hero > img {
    min-height: 220px;
  }

  .contact-page-hero {
    padding-top: 24px;
  }

  .tree-canopy {
    grid-template-columns: 1fr;
  }

  .bank-network-map,
  .network-points {
    grid-template-columns: 1fr;
  }

  .result-hero {
    grid-template-columns: 1fr;
  }

  .inline-breakdown-graphic {
    grid-template-columns: 1fr;
  }

  .result-hero img {
    width: 100%;
    height: 130px;
  }

  .meter {
    right: 18px;
    top: 18px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
