:root {
  --navy-950: #06172f;
  --navy-900: #082247;
  --navy-800: #0d3367;
  --blue-600: #1167d8;
  --blue-400: #39a4ff;
  --gold-500: #d6a64f;
  --gold-300: #f0cf82;
  --logo-gold: #e0bc82;
  --logo-green: #145832;
  --ink: #102033;
  --muted: #617084;
  --line: rgba(8, 34, 71, 0.14);
  --paper: #f6f9fc;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(6, 23, 47, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  overflow-x: hidden;
  overflow-y: visible;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 16px;
  color: var(--white);
  background: rgba(6, 23, 47, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  transition: background 220ms ease, transform 220ms ease;
}

.site-header.is-elevated {
  background: rgba(6, 23, 47, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
}

.brand-logo {
  width: min(260px, 32vw);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 14px 34px rgba(214, 166, 79, 0.28);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 720px) minmax(320px, 460px) minmax(24px, 1fr);
  align-items: end;
  gap: 36px;
  padding-bottom: clamp(52px, 9vh, 98px);
  color: var(--white);
  background: var(--navy-950);
}

.hero-image,
.hero-overlay,
.capital-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 18%, rgba(57, 164, 255, 0.24), transparent 31%),
    linear-gradient(90deg, rgba(6, 23, 47, 0.95) 0%, rgba(6, 23, 47, 0.76) 43%, rgba(6, 23, 47, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 23, 47, 0.94) 0%, rgba(6, 23, 47, 0) 38%);
}

.capital-canvas {
  opacity: 0.76;
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding-top: 150px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.94;
  font-weight: 800;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.deal-panel {
  position: relative;
  z-index: 2;
  grid-column: 3;
  width: 100%;
  margin-bottom: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.deal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.deal-panel-head span,
.metric-grid span,
.floating-card span,
.stat-row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deal-panel-head strong {
  color: var(--gold-300);
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric-grid div {
  min-height: 94px;
  padding: 16px;
  background: rgba(6, 23, 47, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

.pulse-line {
  position: relative;
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.pulse-line span {
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--blue-400), var(--gold-300), transparent);
  animation: scan 2.2s linear infinite;
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker span {
  padding: 18px 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.section h2,
.cta-section h2 {
  color: var(--navy-950);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  font-weight: 800;
}

.section p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.split,
.insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.insight {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.visual-stack {
  position: relative;
}

.visual-stack img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(290px, calc(100% - 44px));
  padding: 18px;
  color: var(--white);
  background: rgba(6, 23, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.floating-card.accent {
  left: 22px;
  right: auto;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.content-column > p:not(.section-kicker) {
  margin: 22px 0 0;
}

.solution-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(6, 23, 47, 0.07);
}

.solution-list article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-950);
  background: rgba(214, 166, 79, 0.2);
  border-radius: 7px;
  font-weight: 800;
}

.solution-list h3,
.process-rail h3,
.market-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 20px;
}

.solution-list p,
.process-rail p,
.market-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.process {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.process h2 {
  color: var(--white);
  max-width: 850px;
}

.process-head {
  width: min(1180px, 100%);
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin-top: 38px;
}

.rail-line {
  position: absolute;
  top: 35px;
  left: 4%;
  width: 92%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--blue-400), var(--gold-300));
  transform-origin: left;
  animation: railGrow 3.2s ease-in-out infinite;
}

.process-rail article {
  position: relative;
  min-height: 210px;
  padding: 86px 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.process-rail article > span {
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-300);
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(240, 207, 130, 0.12);
}

.process-rail h3 {
  color: var(--white);
}

.process-rail p {
  color: rgba(255, 255, 255, 0.68);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat-row div {
  padding: 18px;
  background: var(--navy-950);
  border-radius: var(--radius);
}

.stat-row strong {
  display: block;
  color: var(--gold-300);
  font-size: 32px;
}

.stat-row span {
  display: block;
  margin-top: 6px;
}

.section-heading {
  max-width: 760px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.market-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(6, 23, 47, 0.07);
}

.market-card > span {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 42px;
  background:
    linear-gradient(135deg, rgba(57, 164, 255, 0.9), rgba(214, 166, 79, 0.9)),
    var(--blue-600);
  clip-path: polygon(50% 0, 100% 30%, 100% 72%, 50% 100%, 0 72%, 0 30%);
}

.market-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(17, 103, 216, 0.18);
  border-radius: 50%;
}

.cta-section {
  position: relative;
  margin: 0;
  padding: clamp(76px, 10vw, 126px) max(18px, calc((100% - 1180px) / 2));
  overflow: hidden;
  background: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 34, 71, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 34, 71, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.cta-motion span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(214, 166, 79, 0.15);
  animation: floatPoint 7s ease-in-out infinite;
}

.cta-motion span:nth-child(1) {
  top: 20%;
  right: 16%;
}

.cta-motion span:nth-child(2) {
  top: 52%;
  right: 30%;
  animation-delay: -2s;
}

.cta-motion span:nth-child(3) {
  bottom: 16%;
  right: 10%;
  animation-delay: -4s;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.deal-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 30px;
  padding: 14px;
  background: var(--navy-950);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deal-form label {
  display: grid;
  gap: 8px;
}

.deal-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deal-form input,
.deal-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  font: inherit;
}

.deal-form select {
  appearance: none;
}

.deal-form input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero .hero-centered > .reveal,
.loan-detail-hero .loan-detail-copy {
  --hero-slide-x: -54px;
  --hero-slide-y: 0;
  opacity: 0;
  transform: translate3d(var(--hero-slide-x), var(--hero-slide-y), 0);
  transition: opacity 1640ms ease, transform 1640ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.home-hero .hero-centered > .reveal:nth-child(even),
.loan-detail-hero .loan-detail-copy:nth-child(even) {
  --hero-slide-x: 54px;
}

.home-hero .hero-centered > .reveal:nth-child(1) {
  transition-delay: 90ms;
}

.home-hero .hero-centered > .reveal:nth-child(2) {
  transition-delay: 230ms;
}

.home-hero .hero-centered > .reveal:nth-child(3) {
  transition-delay: 370ms;
}

.loan-detail-hero .loan-detail-copy {
  transition-delay: 120ms;
}

.loan-detail-copy > * {
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 1520ms ease, transform 1520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loan-detail-copy > *:nth-child(even) {
  transform: translateX(34px);
}

.loan-detail-copy > *:nth-child(1) {
  transition-delay: 260ms;
}

.loan-detail-copy > *:nth-child(2) {
  transition-delay: 380ms;
}

.loan-detail-copy > *:nth-child(3) {
  transition-delay: 500ms;
}

.loan-detail-copy.is-visible > * {
  opacity: 1;
  transform: translateX(0);
}

.home-hero .hero-centered > .reveal.is-visible,
.loan-detail-hero .loan-detail-copy.is-visible {
  --hero-slide-x: 0px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-hero.is-pointer-active .hero-centered > h1.reveal.is-visible {
  transition: transform 160ms ease-out;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(1.4%, -1%, 0);
  }
}

@keyframes scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(240%);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes railGrow {
  0%,
  100% {
    transform: scaleX(0.25);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes floatPoint {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-28px, -18px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  body.menu-open .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: grid;
    width: 100%;
    padding: 18px;
    background: rgba(6, 23, 47, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
  }

  .hero {
    height: auto;
    min-height: 920px;
    max-height: none;
    grid-template-columns: 18px 1fr 18px;
    align-items: start;
    padding-top: 142px;
  }

  .hero-content,
  .deal-panel {
    grid-column: 2;
  }

  .deal-panel {
    margin-top: 22px;
  }

  .intro-grid,
  .split,
  .insight,
  .market-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .rail-line {
    display: none;
  }

  .process-rail article {
    min-height: 0;
  }

  .deal-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(210px, 56vw);
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy span {
    font-size: 10px;
  }

  .hero {
    min-height: 0;
    padding-top: 118px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 16px;
  }

  .deal-panel {
    margin-top: 12px;
    padding: 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metric-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .visual-stack img {
    aspect-ratio: 1 / 0.86;
  }
}

/* Brand header colors requested: gold menu, green CTA. */
.site-header,
.site-header.is-elevated {
  color: var(--navy-950);
  background: rgba(224, 188, 130, 0.96);
  border-color: rgba(6, 23, 47, 0.14);
  box-shadow: 0 18px 50px rgba(6, 23, 47, 0.16);
}

.site-nav {
  color: rgba(6, 23, 47, 0.82);
}

.site-nav a:hover {
  color: var(--logo-green);
}

.header-cta {
  color: var(--white);
  background: var(--logo-green);
  box-shadow: 0 14px 34px rgba(20, 88, 50, 0.28);
}

.header-cta:hover {
  background: #0f4426;
}

.nav-toggle {
  background: rgba(20, 88, 50, 0.12);
  border-color: rgba(20, 88, 50, 0.25);
}

.nav-toggle span {
  background: var(--navy-950);
}

body.menu-open .site-nav {
  background: rgba(224, 188, 130, 0.98);
  border-color: rgba(6, 23, 47, 0.14);
}

/* Live-site copy flow, modernized with the blue/gold visual system. */
.site-nav {
  gap: 18px;
  font-size: 12px;
}

.home-hero {
  grid-template-columns: minmax(18px, 1fr) minmax(0, 980px) minmax(18px, 1fr);
  align-items: center;
  min-height: 760px;
  padding: 150px 0 92px;
  text-align: center;
  --glow-x: 50%;
  --glow-y: 42%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --title-lift: 0px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.74;
  background:
    radial-gradient(
      circle at var(--glow-x) var(--glow-y),
      rgba(57, 164, 255, 0.34) 0%,
      rgba(57, 164, 255, 0.22) 15%,
      rgba(240, 207, 130, 0.14) 28%,
      transparent 48%
    );
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
}

.home-hero:not(.is-pointer-active)::before {
  opacity: 0.42;
}

.hero-centered {
  grid-column: 2;
  margin: 0 auto;
  padding-top: 0;
  perspective: 1100px;
}

.hero-centered h1 {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.05;
  text-transform: lowercase;
}

.hero-centered h1 span {
  position: relative;
  display: inline-block;
  color: var(--gold-300);
}

.hero-centered h1 span::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -8px;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.hero-centered .hero-lede {
  margin-inline: auto;
  font-weight: 700;
}

.hero-centered .hero-actions {
  justify-content: center;
}

.fund-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -48px auto 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fund-strip article {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: transform 260ms ease, background 260ms ease;
}

.fund-strip article:last-child {
  border-right: 0;
}

.fund-strip article:hover {
  transform: translateY(14px);
  background: rgba(240, 207, 130, 0.12);
}

.fund-strip strong {
  color: var(--navy-950);
  font-size: 64px;
  line-height: 1;
}

.fund-strip span {
  color: var(--gold-500);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.loans {
  padding-top: clamp(80px, 9vw, 128px);
}

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

.loan-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(6, 23, 47, 0.08);
  cursor: pointer;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.loan-card::before,
.loan-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.loan-card::before {
  inset: 170px 0 0;
  z-index: 1;
  height: auto;
  background: var(--logo-green);
  border-top: 1px solid rgba(224, 188, 130, 0.28);
  transform: translateY(0);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loan-card::after {
  right: -68px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(17, 103, 216, 0.16);
  border-radius: 50%;
}

.loan-card:hover,
.loan-card:focus-within,
.loan-card.is-uncovered {
  border-color: rgba(224, 188, 130, 0.46);
  box-shadow: 0 22px 54px rgba(6, 23, 47, 0.16);
  transform: translateY(-4px);
}

.loan-card:hover::before,
.loan-card:focus-within::before,
.loan-card.is-uncovered::before {
  transform: translateY(100%);
}

.loan-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: var(--radius);
  font-weight: 800;
}

.loan-card h2 {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
  color: var(--navy-950);
  font-size: 25px;
  line-height: 1.1;
  white-space: nowrap;
}

.loan-more {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 260ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loan-more::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--logo-gold);
}

.loan-card:hover .loan-more,
.loan-card:focus-within .loan-more,
.loan-card.is-uncovered .loan-more {
  opacity: 0;
  transform: translateY(42px);
}

.loan-card p {
  position: relative;
  z-index: 0;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(18px);
  transition: max-height 520ms ease, opacity 360ms ease, transform 420ms ease;
}

.loan-card:hover p,
.loan-card:focus-within p,
.loan-card.is-uncovered p {
  z-index: 2;
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

.loan-actions {
  position: relative;
  z-index: 0;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 360ms ease 120ms, transform 420ms ease 120ms;
}

.loan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: background 180ms ease, color 180ms ease;
}

.loan-card a.learn-more {
  color: var(--navy-950);
  background: var(--logo-gold);
}

.loan-card a:hover {
  color: var(--navy-950);
  background: var(--gold-300);
}

.loan-card:hover .loan-actions,
.loan-card:focus-within .loan-actions,
.loan-card.is-uncovered .loan-actions {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.brand-about {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(82px, 10vw, 132px) max(18px, calc((100% - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(132deg, rgba(11, 43, 85, 0.98) 0%, rgba(8, 34, 70, 0.98) 48%, rgba(4, 22, 48, 1) 100%);
}

.brand-about::before,
.brand-about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.brand-about::before {
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(224, 188, 130, 0.12) 22.3% 23%, transparent 23.4% 100%),
    linear-gradient(68deg, transparent 0 64%, rgba(255, 255, 255, 0.08) 64.2% 64.8%, transparent 65% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 118px);
  opacity: 0.62;
}

.brand-about::after {
  width: min(560px, 58vw);
  height: min(560px, 58vw);
  left: -160px;
  top: -130px;
  border: 1px solid rgba(224, 188, 130, 0.18);
  border-radius: 42% 58% 54% 46%;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.025),
    0 0 0 116px rgba(224, 188, 130, 0.035);
  transform: rotate(-17deg);
}

.brand-about > * {
  position: relative;
  z-index: 1;
}

.about-copy {
  color: var(--muted);
}

.about-copy p:not(.section-kicker) {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.72;
}

.about-copy .section-kicker {
  font-size: 16px;
}

.brand-about .about-copy {
  color: rgba(255, 255, 255, 0.82);
}

.brand-about .about-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.02;
  text-transform: none;
}

.brand-about .about-copy .section-kicker {
  color: var(--logo-gold);
  font-size: 17px;
  letter-spacing: 0.12em;
}

.about-divider {
  display: block;
  width: min(300px, 66%);
  height: 5px;
  margin: 22px 0 30px;
  background: linear-gradient(90deg, var(--logo-gold), rgba(224, 188, 130, 0.08));
}

.brand-about .about-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.78;
}

.brand-about .about-copy p.signature {
  margin-top: 18px;
  color: var(--logo-gold);
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.08;
  white-space: nowrap;
}

.brand-about .about-visual {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.brand-about .about-visual img {
  height: calc(100% - 24px);
  min-height: 720px;
  aspect-ratio: auto;
  border-radius: 8px;
  border: 1px solid rgba(224, 188, 130, 0.24);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.brand-about .floating-card {
  background: rgba(4, 22, 48, 0.82);
  border-color: rgba(224, 188, 130, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand-about .floating-card span {
  color: var(--logo-gold);
}

.signature,
.phone {
  color: var(--navy-950);
}

.rates-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  padding: clamp(82px, 10vw, 128px) max(18px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 88% 12%, rgba(57, 164, 255, 0.18), transparent 28%),
    var(--paper);
}

.rates-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.03;
}

.rates-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.rate-list {
  display: grid;
  gap: 22px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rate-row {
  display: grid;
  gap: 10px;
}

.rate-row div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy-950);
  font-weight: 800;
}

.rate-row strong {
  color: var(--gold-500);
}

.rate-track {
  display: block;
  height: 14px;
  overflow: hidden;
  background: rgba(214, 166, 79, 0.28);
  border-radius: 999px;
}

.rate-track span {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--logo-green), var(--logo-gold));
  border-radius: inherit;
  animation: rateFill 1.2s ease both;
}

.contact-section {
  display: block;
  padding: clamp(82px, 10vw, 128px) max(18px, calc((100% - 1180px) / 2));
  background: var(--navy-950);
}

.contact-heading {
  max-width: 980px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.contact-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 650;
  line-height: 1.04;
}

.legal-page .site-header {
  position: sticky;
  top: 18px;
  left: auto;
  margin: 18px auto 0;
  transform: none;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 12vw, 150px) max(18px, calc((100% - 1180px) / 2)) clamp(64px, 8vw, 96px);
  color: var(--white);
  background: linear-gradient(132deg, rgba(11, 43, 85, 0.98), rgba(8, 34, 70, 0.98) 48%, rgba(4, 22, 48, 1));
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(224, 188, 130, 0.14) 24.2% 24.8%, transparent 25% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 118px);
  opacity: 0.7;
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 650;
  line-height: 1.02;
}

.legal-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.legal-content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 18px;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-card h2,
.legal-card h3 {
  margin: 34px 0 12px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-weight: 650;
  letter-spacing: 0;
}

.legal-card h2:first-child,
.legal-card h3:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.legal-card p {
  margin: 0 0 18px;
}

.legal-card ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue-600);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loan-page .site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.loan-detail-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 12vw, 160px) max(18px, calc((100% - 1180px) / 2)) clamp(70px, 8vw, 104px);
  color: var(--white);
  background: var(--navy-950);
}

.loan-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.loan-detail-hero::before,
.loan-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loan-detail-hero::before {
  background:
    radial-gradient(circle at 22% 36%, rgba(57, 164, 255, 0.22), transparent 31%),
    linear-gradient(90deg, rgba(6, 23, 47, 0.95) 0%, rgba(6, 23, 47, 0.76) 43%, rgba(6, 23, 47, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 23, 47, 0.94) 0%, rgba(6, 23, 47, 0) 38%);
}

.loan-detail-hero::after {
  background:
    linear-gradient(115deg, transparent 0 25%, rgba(240, 207, 130, 0.18) 25.2% 25.8%, transparent 26% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 118px);
  opacity: 0.68;
}

.loan-detail-copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(6, 23, 47, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.loan-detail-copy .section-kicker {
  color: var(--logo-gold);
}

.loan-detail-copy h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 650;
  line-height: 1.02;
}

.loan-detail-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.65;
}

.loan-detail-content {
  padding: clamp(72px, 9vw, 118px) max(18px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 207, 130, 0.2), transparent 24%),
    var(--white);
}

.loan-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.loan-article {
  display: grid;
  gap: 28px;
}

.loan-info-panel,
.loan-aside-card,
.loan-related-card {
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(6, 23, 47, 0.08);
}

.loan-info-panel h2,
.loan-aside-card h2,
.loan-related-card h2 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 650;
  line-height: 1.08;
}

.loan-info-panel h3 {
  margin: 26px 0 10px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 650;
}

.loan-info-panel p,
.loan-info-panel li,
.loan-aside-card p,
.loan-aside-card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.loan-info-panel p {
  margin: 0 0 18px;
}

.loan-info-panel ul,
.loan-aside-card ul {
  margin: 0;
  padding-left: 22px;
}

.loan-aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  width: 340px;
  max-width: 100%;
  min-width: 0;
}

.loan-aside-card {
  background: var(--navy-950);
}

.loan-aside-card h2,
.loan-aside-card p,
.loan-aside-card li {
  color: var(--white);
}

.loan-aside-card li + li {
  margin-top: 8px;
}

.loan-aside-card .button {
  margin-top: 22px;
}

.loan-related-card {
  background: linear-gradient(135deg, var(--gold-300), var(--logo-gold));
  border-color: rgba(6, 23, 47, 0.12);
}

.loan-related-card h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.6vw, 34px);
}

.loan-related-card nav {
  display: grid;
  gap: 10px;
}

.loan-related-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(6, 23, 47, 0.12);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.loan-related-card a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.loan-related-card a:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(6, 23, 47, 0.24);
  transform: translateX(3px);
}

.loan-source-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loan-source-note a {
  color: var(--logo-green);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-media img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card {
  width: 100%;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.callback-form,
.form-pair {
  display: grid;
  gap: 16px;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.field-control {
  position: relative;
  display: block;
}

.field-icon {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 1;
  width: 22px;
  height: 22px;
  color: var(--logo-gold);
  pointer-events: none;
}

.field-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-control-textarea .field-icon {
  top: 20px;
}

.callback-form input,
.callback-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 16px 0 52px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-bottom: 1px solid rgba(240, 207, 130, 0.42);
  border-radius: 0;
  font: inherit;
}

.callback-form input[type="time"]::-webkit-calendar-picker-indicator {
  display: none;
  opacity: 0;
}

.callback-form input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
}

.callback-form textarea {
  min-height: 138px;
  padding-top: 18px;
  resize: vertical;
}

.callback-form input::placeholder,
.callback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.callback-form button {
  justify-self: start;
  text-transform: none;
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(240, 207, 130, 0.62);
}

.button.secondary:hover {
  color: var(--navy-950);
  background: var(--logo-gold);
}

.form-status {
  min-height: 28px;
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.form-status.is-success {
  color: #58d68d;
}

.form-status.is-warning {
  color: var(--logo-gold);
}

.form-status.is-error {
  color: #ff6b6b;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 46px 18px 20px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy span {
  color: var(--navy-950);
}

.site-footer h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.05;
}

.footer-logo {
  width: min(360px, 74vw);
}

.footer-legal {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--logo-green);
  font-size: 15px;
  line-height: 1.7;
}

.footer-legal a {
  color: var(--logo-green);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes rateFill {
  from {
    width: 0;
  }
}

@media (max-width: 980px) {
  .fund-strip,
  .loan-grid,
  .about-section,
  .rates-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .fund-strip {
    margin-top: 0;
  }

  .brand-about {
    align-items: start;
  }

  .brand-about .about-visual {
    min-height: 0;
  }

  .brand-about .about-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 0.82 / 1;
  }

  .loan-detail-layout {
    grid-template-columns: 1fr;
  }

  .loan-aside {
    position: static;
  }

  .home-hero {
    min-height: 700px;
    padding-top: 140px;
  }
}

@media (max-width: 620px) {
  .home-hero {
    min-height: 690px;
    padding-top: 130px;
  }

  .hero-centered h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .fund-strip article {
    min-height: 132px;
  }

  .fund-strip strong {
    font-size: 48px;
  }

  .loan-card {
    min-height: 0;
    padding: 26px;
  }

  .loan-detail-hero {
    min-height: 600px;
  }

  .loan-detail-copy h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .form-pair {
    grid-template-columns: 1fr;
  }
}

/* Performance safety: avoid continuous animations that can bog down browsers. */
.hero-image,
.pulse-line span,
.ticker-track,
.rail-line,
.cta-motion span {
  animation: none !important;
}

.hero-image {
  transform: scale(1.04);
}

.rate-track span {
  animation-duration: 500ms;
}

.hero-centered h1 {
  transform: translate3d(var(--hero-slide-x, 0px), var(--hero-slide-y, 0px), 0) translateY(var(--title-lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: opacity 1640ms ease, transform 1640ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Typography refinement requested after live-copy pass. */
:root {
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-heading: "Aptos Display", "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-copy strong,
.brand-mark,
.fund-strip strong,
.fund-strip span,
.section-kicker,
.site-nav,
.header-cta,
.button,
.loan-card a,
.rate-row,
.site-footer h2 {
  font-family: var(--font-heading);
}

.hero h1,
.hero-centered h1,
.section h2,
.loan-card h2,
.rates-copy h2,
.site-footer h2,
.floating-card strong {
  font-weight: 650;
  letter-spacing: 0;
}

.hero-centered h1 {
  text-transform: none;
  font-size: clamp(50px, 5.8vw, 86px);
  line-height: 1.08;
  transform: translate3d(var(--hero-slide-x, 0px), var(--hero-slide-y, 0px), 0) translateY(var(--title-lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: opacity 1640ms ease, transform 1640ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.home-hero .hero-centered > h1.reveal,
.home-hero .hero-centered > h1.reveal.is-visible {
  transform: translate3d(var(--hero-slide-x, 0px), var(--hero-slide-y, 0px), 0) translateY(var(--title-lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.site-nav {
  gap: 22px;
  font-size: 16px;
  font-weight: 700;
}

.header-cta,
.button {
  font-size: 15px;
}

.hero-lede {
  font-size: clamp(20px, 1.8vw, 25px);
}

.section p,
.about-copy p:not(.section-kicker),
.rates-copy p:not(.section-kicker),
.loan-card p {
  font-size: 18px;
  line-height: 1.75;
}

.loan-card h2 {
  font-size: 25px;
}

.loan-icon {
  color: var(--navy-950);
}

.loan-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loan-icon svg path[d$=".01"] {
  stroke-width: 4;
}

.section-kicker {
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-nav {
    font-size: 18px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .hero-centered h1 {
    font-size: clamp(38px, 11.4vw, 50px);
  }

  .section p,
  .about-copy p:not(.section-kicker),
  .rates-copy p:not(.section-kicker),
  .loan-card p {
    font-size: 17px;
  }
}
