﻿:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-soft: #eaf8f1;
  --text: #17231f;
  --muted: #68756f;
  --brand: #05b982;
  --brand-dark: #008e60;
  --brand-deep: #006a45;
  --line: #dcebe5;
  --shadow: 0 18px 44px rgba(0, 96, 67, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, p { overflow-wrap: anywhere; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 251, 248, 0.92);
  border-bottom: 1px solid rgba(0, 106, 69, 0.08);
  box-shadow: 0 10px 30px rgba(0, 72, 51, 0.04);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10251e;
  font-weight: 800;
}
.brand-link img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 124, 84, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.brand-link:hover img {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(0, 124, 84, 0.24);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #20322d;
  font-size: 14px;
  font-weight: 650;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-links a[aria-current="page"], .nav-links a:hover {
  background: rgba(5, 185, 130, 0.12);
  color: var(--brand-deep);
  transform: translateY(-1px);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(5, 185, 130, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button:hover {
  background: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(5, 185, 130, 0.32);
}
.button:active {
  transform: translateY(0);
}
.button.secondary {
  background: #ffffff;
  color: var(--brand-deep);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 202, 23, 0.22), transparent 22rem),
    linear-gradient(120deg, #8bf0b5 0%, #c9f7df 34%, #e7fff3 58%, #f4f7f8 100%);
  background-size: 150% 150%;
  animation: heroGradient 16s ease-in-out infinite alternate;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
  min-height: 620px;
  padding: 62px 0 50px;
}
.eyebrow {
  margin: 0 0 14px;
  color: #075b3f;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: #10251e;
  font-size: 54px;
  line-height: 1.06;
}
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-actions,
.hero-facts {
  animation: fadeUp 720ms ease both;
}
.hero-copy h1 { animation-delay: 80ms; }
.hero-copy .lead { animation-delay: 160ms; }
.hero-actions { animation-delay: 240ms; }
.hero-facts { animation-delay: 320ms; }
.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: #31443d;
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 34px;
}
.fact-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(0, 142, 96, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.fact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 142, 96, 0.26);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 106, 69, 0.12);
}
.fact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.15;
}
.fact-card span { color: var(--muted); font-size: 14px; }

.phone-preview {
  width: min(390px, 100%);
  min-height: 560px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #e7fff3 0%, #f7fbfc 48%, #ffffff 100%);
  box-shadow: var(--shadow);
  animation: fadeUp 780ms ease 180ms both;
  transition: box-shadow 240ms ease;
}
.phone-preview:hover {
  box-shadow: 0 24px 58px rgba(0, 96, 67, 0.18);
}
.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #0d241d;
  font-weight: 800;
}
.phone-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
}
.phone-title img { width: 30px; height: 30px; border-radius: 7px; }
.loan-panel {
  padding: 22px;
  border: 1px solid #d8f1e7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(0, 115, 80, 0.12);
}
.loan-panel h2 { margin: 0 0 18px; color: var(--brand-deep); font-size: 22px; }
.amount {
  display: block;
  margin: 4px 0 14px;
  color: #20a83b;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}
.progress {
  height: 9px;
  margin: 20px 0 22px;
  border-radius: 99px;
  background: #d9e7e1;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, #08be77, #84cc16);
  background-size: 180% 100%;
  animation: progressSheen 3.8s ease-in-out infinite;
}
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mini-item {
  padding: 12px;
  border: 1px solid #d8f1e7;
  border-radius: 8px;
  background: #f7fffb;
}
.mini-item span { display: block; color: var(--muted); font-size: 13px; }
.mini-item strong { display: block; margin-top: 4px; font-size: 17px; }
.phone-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 8px;
  background: #13c978;
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(19, 201, 120, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.phone-button:hover {
  transform: translateY(-2px);
  background: #10b86d;
  box-shadow: 0 16px 28px rgba(19, 201, 120, 0.28);
}

.section { padding: 78px 0; }
.section.alt { background: #ffffff; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head {
  animation: fadeUp 650ms ease both;
}
.section-head h2 {
  margin: 0;
  color: #10251e;
  font-size: 34px;
  line-height: 1.18;
}
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.content-grid, .three-grid { display: grid; gap: 18px; }
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .doc-card, .contact-card, .step-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 39, 32, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.info-card:hover, .doc-card:hover, .contact-card:hover, .step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 185, 130, 0.24);
  box-shadow: 0 18px 38px rgba(15, 39, 32, 0.09);
}
.info-card h3, .doc-card h3, .contact-card h3, .step-card h3 {
  margin: 0 0 10px;
  color: #10251e;
  font-size: 20px;
}
.info-card p, .doc-card p, .contact-card p, .step-card p { margin: 0; color: var(--muted); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--brand-deep);
  font-weight: 900;
}
.doc-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.doc-link { color: var(--brand-deep); font-weight: 800; }
.doc-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 4px;
  background: currentColor;
  transition: width 180ms ease;
}
.doc-link:hover::after {
  width: 48px;
}
.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shot-slot {
  margin: 0;
  overflow: hidden;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(5, 185, 130, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 106, 69, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.shot-slot:hover {
  transform: translateY(-4px);
  border-color: #05b982;
  box-shadow: 0 18px 40px rgba(0, 106, 69, 0.14);
}
.shot-slot img {
  display: block;
  width: 100%;
  aspect-ratio: 1290 / 2796;
  border-radius: 6px;
  object-fit: cover;
  background: #eaf8f1;
}
.shot-slot figcaption {
  margin: 10px 2px 2px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.site-footer {
  padding: 44px 0 26px;
  background: #0f2c23;
  color: #dff7ef;
}
.footer-stack { display: grid; gap: 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.35fr) 0.8fr 0.9fr; gap: 44px; align-items: start; }
.footer-grid h2, .footer-grid h3, .footer-grid p, .footer-copy { margin: 0; }
.footer-grid p, .footer-grid a, .footer-copy { color: #b8d4ca; }
.footer-brand p { max-width: 430px; }
.footer-grid a { display: block; margin-top: 8px; }
.footer-disclosures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(184, 212, 202, 0.22);
  border-bottom: 1px solid rgba(184, 212, 202, 0.16);
}
.footer-disclosure {
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(184, 212, 202, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.footer-disclosure span {
  color: #8edcc6;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-disclosure strong { color: #f7fffb; line-height: 1.5; }
.footer-copy { font-size: 14px; }
.page-hero {
  padding: 84px 0 58px;
  background: linear-gradient(180deg, #b8f5d1 0%, #f4f7f8 100%);
}
.page-hero h1 { max-width: 820px; font-size: 46px; }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: #31443d; font-size: 18px; }
.contact-list { display: grid; gap: 12px; }
.contact-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.contact-row:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 185, 130, 0.24);
  box-shadow: 0 10px 24px rgba(15, 39, 32, 0.06);
}
.contact-row span { display: block; color: var(--muted); font-size: 14px; }
.contact-row strong, .contact-row a {
  display: block;
  margin-top: 4px;
  color: #10251e;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-grid, .content-grid, .footer-grid, .footer-disclosures { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 44px; }
  .phone-preview { margin: 0 auto; }
  .three-grid, .screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 0; }
  .nav-links { justify-content: flex-start; }
  .nav-links a { padding: 8px 10px; }
  h1, .page-hero h1 { font-size: 36px; }
  .lead, .page-hero p { font-size: 16px; }
  .hero-facts, .three-grid, .screenshots, .mini-grid { grid-template-columns: 1fr; }
  .amount { font-size: 36px; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 28px; }
}

@keyframes heroGradient {
  0% { background-position: 0% 40%; }
  50% { background-position: 70% 20%; }
  100% { background-position: 100% 62%; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressSheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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