:root {
  --blue-950: #071a46;
  --blue-900: #082b78;
  --blue-800: #123a92;
  --blue-100: #edf4ff;
  --green-700: #10834d;
  --green-600: #15945a;
  --green-100: #eaf8f1;
  --ink: #172033;
  --muted: #62708a;
  --line: #dbe4f0;
  --surface: #ffffff;
  --soft: #f6f9fd;
  --shadow: 0 24px 70px rgba(7, 26, 70, 0.12);
  --radius: 24px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 1.12;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  color: #d8e7ff;
  font-size: 0.88rem;
  background: var(--blue-950);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 240, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a:not(.btn) {
  padding: 10px 14px;
  color: #44516a;
  font-size: 0.96rem;
  font-weight: 750;
  border-radius: 999px;
}

.nav__links a:not(.btn):hover,
.nav__links a[aria-current="page"] {
  color: var(--blue-900);
  background: var(--blue-100);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav__toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 850;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  box-shadow: 0 14px 28px rgba(8, 43, 120, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 43, 120, 0.28);
}

.btn--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.94rem;
}

.btn--ghost {
  color: var(--blue-900);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn--light {
  color: var(--blue-900);
  background: #ffffff;
  box-shadow: none;
}

.btn--outline-light {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at top left, rgba(21, 148, 90, 0.18), transparent 35%),
    radial-gradient(circle at 82% 22%, rgba(18, 58, 146, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(21, 148, 90, 0.08);
  border-radius: 50%;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.62fr);
  gap: 48px;
  align-items: center;
}

.hero__lead {
  max-width: 690px;
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 770px;
}

.hero__proof div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.hero__proof strong,
.hero__proof span {
  display: block;
}

.hero__proof strong {
  color: var(--blue-950);
  font-size: 1rem;
}

.hero__proof span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-card__logo {
  width: 100%;
  padding: 28px 28px 0;
}

.hero-card__body {
  padding: 28px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green-100);
  border-radius: 999px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8cf0bd;
}

.section {
  padding: 86px 0;
}

.section--blue {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 43, 120, 0.96), rgba(7, 26, 70, 0.98)),
    radial-gradient(circle at top right, rgba(21, 148, 90, 0.4), transparent 36%);
}

.section--blue h2,
.section--blue h3,
.section--blue p {
  color: #ffffff;
}

.section--blue p {
  opacity: 0.82;
}

.section--muted {
  background: var(--soft);
}

.section__intro {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

.section__intro--left {
  margin-inline: 0;
  text-align: left;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 22px;
}

.service-card,
.loan-card,
.info-panel,
.contact-card,
.values-grid article,
.support-grid article,
.document-card,
.process-steps article {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(7, 26, 70, 0.06);
}

.service-card span,
.values-grid span,
.process-steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green-700);
  font-weight: 950;
}

.service-card--featured {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(8, 43, 120, 0.55), rgba(21, 148, 90, 0.55)) border-box;
  border-color: transparent;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.split--center {
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list div {
  padding: 22px 22px 22px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--green-600);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #ffffff;
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.86);
}

.check-list--light li::before {
  box-shadow: inset 0 0 0 5px var(--blue-900);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline__item {
  position: relative;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline__item span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #ffffff;
  font-weight: 900;
  place-items: center;
  background: var(--blue-900);
  border-radius: 50%;
}

.cta {
  padding: 76px 0;
  color: #ffffff;
  background: var(--blue-950);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2,
.cta p {
  color: #ffffff;
}

.cta p {
  opacity: 0.82;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.page-hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(21, 148, 90, 0.14), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
}

.page-hero__narrow {
  max-width: 820px;
}

.page-hero__image {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.rich-text p {
  font-size: 1.06rem;
}

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

.info-panel--blue {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
}

.info-panel--blue h2,
.info-panel--blue li {
  color: #ffffff;
}

.info-panel--blue li {
  opacity: 0.9;
}

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

.loan-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.loan-card h3 {
  margin-top: 26px;
}

.support-grid {
  display: grid;
  gap: 16px;
}

.document-card {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.faq {
  max-width: 860px;
}

details {
  padding: 22px 26px;
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

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

details p {
  margin: 14px 0 0;
}

.process-steps {
  display: grid;
  gap: 18px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 120px minmax(180px, 260px) 1fr;
  gap: 24px;
  align-items: start;
}

.process-steps p {
  margin-bottom: 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-950);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-900);
  box-shadow: 0 0 0 4px rgba(8, 43, 120, 0.1);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
}

.contact-card {
  position: sticky;
  top: 126px;
}

.contact-card--large {
  position: static;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line strong {
  color: var(--blue-950);
}

.contact-line span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.legal-content {
  max-width: 840px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a,
.text-link {
  color: var(--blue-900);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  padding: 60px 0 28px;
  color: #dbe7ff;
  background: #07142f;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 1.2fr;
  gap: 34px;
}

.footer h3 {
  color: #ffffff;
  font-size: 1rem;
}

.footer a,
.footer p,
.footer span {
  color: #c8d6ef;
}

.footer a {
  display: block;
  margin-top: 9px;
}

.footer__logo {
  width: 78px;
  margin-bottom: 16px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__inner span {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 124px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    text-align: center;
  }

  .hero__grid,
  .page-hero__grid,
  .split,
  .form-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .card-grid--four,
  .timeline,
  .values-grid,
  .loan-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    position: static;
  }

  .process-steps article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav__links {
    top: 114px;
  }

  .hero,
  .section,
  .page-hero,
  .cta {
    padding: 58px 0;
  }

  .hero__proof,
  .product-grid,
  .card-grid,
  .card-grid--four,
  .timeline,
  .values-grid,
  .loan-grid,
  .loan-grid--three,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta__inner,
  .footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__bottom {
    text-align: left;
  }
}
