:root {
  --navy: #273771;
  --navy-deep: #1a2550;
  --blue: #54a6e1;
  --blue-dark: #3d8fc9;
  --lime: #7eca35;
  --lime-ink: #1a2550;
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --ok: #15803d;
  --err: #b91c1c;
  --shadow: 0 18px 50px rgba(39, 55, 113, 0.12);
  --radius: 18px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  display: block;
  width: 148px;
  height: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 20px;
  flex-direction: column;
  gap: 4px;
}

.site-nav.is-open,
.nav-toggle[aria-expanded="true"] + .site-nav {
  display: flex;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 10px;
}

.site-nav a:hover {
  background: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}

.btn-primary:hover {
  background: #72be2c;
  color: var(--lime-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  padding: 36px 0 56px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: rgba(84, 166, 225, 0.22);
  top: -40px;
  right: -60px;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(126, 202, 53, 0.18);
  bottom: 20px;
  left: -80px;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
}

.tagline {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.lede,
.section p {
  color: var(--muted);
}

.lede {
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 14px;
}

.hero-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 36rem;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(320px, 100%);
  background: var(--navy-deep);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 96px;
  height: 8px;
  margin: 4px auto 10px;
  background: #0f1733;
  border-radius: 999px;
}

.phone-screen {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 40%);
  border-radius: 26px;
  padding: 22px 20px 24px;
  min-height: 420px;
}

.phone-brand {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.phone-kicker {
  margin: 16px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
}

.phone-amount {
  margin: 4px 0 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
}

.phone-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.phone-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-facts div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.phone-facts dt {
  font-size: 0.72rem;
  color: var(--muted);
}

.phone-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
  color: var(--navy);
}

.phone-status {
  margin: 18px 0 0;
  display: inline-block;
  background: rgba(126, 202, 53, 0.2);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.section {
  padding: 64px 0;
}

.section-tint {
  background: #eef5fb;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.loan-card,
.panel,
.access-form,
.feature-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(39, 55, 113, 0.05);
}

.loan-card {
  padding: 28px;
}

.loan-card-head {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.loan-fee {
  margin: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.loan-fee strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--lime);
}

.loan-fee span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.check-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 4px rgba(26, 37, 80, 0.12);
}

.fine {
  font-size: 0.88rem;
  color: var(--muted);
}

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

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.steps p {
  margin: 0;
}

.elig-grid,
.about-grid,
.access-grid {
  display: grid;
  gap: 28px;
}

.panel {
  padding: 24px;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.panel li + li {
  margin-top: 8px;
}

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

.feature-grid li {
  padding: 20px;
}

.feature-grid p {
  margin: 0;
}

.contact-aside a {
  font-weight: 700;
  font-size: 1.05rem;
}

.section-access {
  background: linear-gradient(180deg, #ffffff 0%, #eaf4cf 100%);
}

.access-form {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--ok);
}

.form-status.is-err {
  color: var(--err);
}

.site-footer {
  background: var(--navy-deep);
  color: #d7def0;
  padding: 40px 0;
}

.site-footer a {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-logo {
  width: 150px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}

.site-footer .fine {
  color: #a9b4d0;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  .hero-grid,
  .elig-grid,
  .about-grid,
  .access-grid,
  .footer-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .loan-card-head {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .check-list.two-col {
    columns: 2;
    column-gap: 28px;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 56px 0 80px;
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
