:root {
  color-scheme: light;
  --ink: #10233f;
  --muted: #62738a;
  --line: #d9e2ee;
  --paper: #f7f9fc;
  --cloud: #edf3fa;
  --surface: #edf4fb;
  --surface-raised: #ffffff;
  --accent: #0868c9;
  --brand-blue: #009bff;
  --brand-yellow: #ffdb00;
  --brand-navy: #0b1c36;
  --brand-blue-light: #e9f3ff;
  --brand-blue-soft: #a9cfff;
  --blue: #d9e9fa;
  --mint: #e9f3ff;
  --lime: #ffdb00;
  --orange: #ffdb00;
  --violet: #e8eef8;
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --shadow: 0 18px 50px rgba(16, 35, 63, .07);
  --max: 1280px;
}

html { scroll-padding-top: 112px; }
body { background: var(--paper); font-family: "DM Sans", Arial, sans-serif; }
::selection { background: #cce8ff; color: var(--ink); }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4 { font-family: "DM Sans", Arial, sans-serif; font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
h1 { font-size: clamp(54px, 7.2vw, 96px); }
h2 { font-size: clamp(36px, 4.3vw, 60px); }
h3 { line-height: 1.2; letter-spacing: -.035em; }
p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.65; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.6; }
.container, .nav { width: min(calc(100% - 96px), var(--max)); }
.section { padding: 112px 0; }
.section-sm { padding: 64px 0; }
.section-head { gap: 64px; margin-bottom: 52px; }
.section-head > div:first-child { max-width: 700px; }
.section-head p { max-width: 440px; font-size: 16px; }
.section-head .eyebrow { font-size: 10px; margin-bottom: 20px; }
.section-head .button { margin-top: 22px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(247, 249, 252, .94); backdrop-filter: blur(18px); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(247, 249, 252, .98); box-shadow: 0 4px 24px #10233f06; }
.site-header::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }
.nav { height: 88px; }
.brand-logo { width: 183px; height: auto; filter: none; }
.nav-links { gap: clamp(20px, 2.4vw, 34px); font-size: 12px; font-weight: 500; }
.nav-links > a:not(.button) { color: #52647d; transition: color .2s; }
.nav-links > a.active, .nav-links > a:hover { color: var(--ink); }
.nav-links a:not(.button)::after { height: 1px; bottom: -8px; background: var(--accent); }
.button { min-height: 50px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 999px; gap: 26px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; transition: background .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); background: #0756a7; border-color: #0756a7; box-shadow: none; }
.button.light, .button.ghost { background: transparent; color: var(--ink); border-color: #c6d5e6; }
.button.light:hover, .button.ghost:hover { background: #e9f3ff; border-color: #a7c4e5; }
.button .arrow { font-size: 20px; font-weight: 400; transition: transform .25s; }
.button:hover .arrow { transform: translate(2px, -2px); }
.nav-links .button { min-height: 42px; padding: 0 21px; background: var(--accent); border-color: var(--accent); color: white; font-size: 12px; }
.nav-links .button:hover { background: #0756a7; }
.menu-toggle { border: 1px solid #c6d5e6; background: transparent; border-radius: 50%; }
.menu-toggle span { background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.page-hero { padding: 88px 0 24px; text-align: left; background: none; }
.page-hero h1 { max-width: 1040px; margin-bottom: 30px; }
.page-hero .lead { max-width: 660px; margin: 0; }
.page-hero-art { margin-top: 64px; height: 440px; border-radius: 10px; background: var(--surface); }
.page-hero-art img { filter: saturate(.65); }
.page-hero-art::after { background: linear-gradient(180deg, transparent 60%, #10233f1a); }
.feature-row { gap: 80px; padding: 72px 0; }
.feature-row h2 { font-size: clamp(34px, 4vw, 54px); }
.feature-row .tag { margin-bottom: 24px; }
.feature-image { border-radius: 10px; height: 420px; }
.feature-image img { filter: saturate(.65); }
.tag { height: 30px; padding-inline: 13px; border: 1px solid #c6d8ec; background: transparent; color: #436589; font-size: 9px; font-weight: 500; letter-spacing: 1.4px; }
.check-list { gap: 18px; }
.check-item { color: #486079; font-size: 15px; font-weight: 400; }
.check-item i { background: #e8f2fc; border: 1px solid #cddff2; color: #0868c9; font-size: 12px; }
.value-card, .value-card:nth-child(n) { padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: transparent; transition: background .25s, transform .25s; }
.value-card:hover { background: #edf4fc; transform: translateY(-3px); }
.value-card h3 { font-size: 27px; }
.value-card p { font-size: 16px; }
.value-icon, .value-card:nth-child(n) .value-icon { width: 44px; height: 44px; border: 1px solid #c8def4; border-radius: 50%; background: #e9f3ff; color: #0868c9; margin-bottom: 38px; }
.gallery-grid { gap: 16px; }
.gallery-grid figure { border-radius: 8px; }
.gallery-grid img { filter: saturate(.7); }
.image-stack .main-img, .image-stack .mini-img { border-radius: 10px; }
.image-stack .mini-img { border-color: var(--paper); }
.image-stack img { filter: saturate(.7); }
.process-wrap { padding: 64px; background: #0b1c36; color: #f7f9fc; border-radius: 10px; }
.process-wrap .eyebrow { color: #ffdb00; }
.process-wrap p { color: #b6c8df; }
.process-wrap .button.light { color: #f4f8ff; border-color: #526b8d; }
.process-wrap .button.light:hover { background: #1b3557; }
.process-step { border-color: #354d6e; }
.process-step span, .process-step:nth-child(n) span { width: auto; height: auto; display: block; margin-bottom: 38px; border-radius: 0; background: transparent; color: #ffdb00; font-size: 12px; font-weight: 400; }
.process-step h3 { font-size: 24px; }
.quote-card { background: #e9f3ff; border-radius: 10px; }
.quote-card > img { filter: saturate(.65); }
.quote-copy blockquote { font-family: "DM Sans", Arial, sans-serif; font-weight: 500; }
.quote-mark { color: var(--accent); }
.cta { background: #e9f3ff; border-radius: 10px; padding: 64px; }
.cta h2 { font-size: clamp(36px, 4.4vw, 62px); max-width: 760px; }
.cta .button { flex-shrink: 0; }
.insight-card { background: #ffffff; border-color: var(--line); border-radius: 8px; }
.insight-card:hover { box-shadow: 0 12px 28px #10233f08; transform: translateY(-4px); }
.insight-image img { filter: saturate(.65); }
.insight-body { padding: 28px; }
.insight-body h3 { font-size: 25px; }
.insight-body a { color: var(--accent); font-size: 13px; }

.lending-hero { padding-top: 28px; }
.lending-hero-shell { padding: 80px 58px 64px; border-radius: 10px; background: #e9f3ff; text-align: left; }
.lending-hero h1 { max-width: 1000px; }
.lending-hero .lead { margin: 0; max-width: 700px; }
.lending-jump { color: #42617f; font-size: 13px; font-weight: 500; }
.lending-jump span { border-color: #9bb9d9; }
.lending-jump:hover { color: var(--accent); }
.lending-partner-card { background: #ffffff; border-radius: 10px; }
.lending-partner-brand { background: #e9f3ff; }
.lending-logo-panel { border-color: #d3e1f2; border-radius: 6px; background: #fff; }
.lending-partner-label { border: 1px solid #b9cfe8; background: transparent; color: #335d87; font-size: 10px; font-weight: 500; }
.lending-partner-brand p { font-family: "DM Sans", Arial, sans-serif; color: #264c76; font-weight: 500; }
.lending-contact-list dt { color: #657b95; font-size: 11px; font-weight: 500; }
.lending-contact-list a { text-decoration-color: #b6cce5; }
.lending-contact-list a:hover { color: var(--accent); }

.contact-grid { gap: 64px; }
.contact-panel { padding: 44px; border-radius: 10px; background: #0b1c36; color: #f7f9fc; }
.contact-panel .eyebrow { color: #ffdb00; }
.contact-panel p { color: #b6c8df; }
.contact-detail { border-color: #304967; }
.contact-detail i { background: #162f50; color: #d4e7fc; border: 1px solid #35557c; border-radius: 50%; }
.contact-detail a, .contact-detail span { color: #c5d5e9; overflow-wrap: anywhere; }
.contact-detail strong { font-weight: 500; }
.contact-form { gap: 24px; padding: 6px 0; }
.form-field { align-content: start; }
.form-field label { font-size: 12px; font-weight: 500; color: #415d7c; }
.form-field input, .form-field textarea, .form-field select { background: #ffffff; color: var(--ink); border: 1px solid #c9d9eb; border-radius: 6px; font-size: 14px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #6c8099; opacity: 1; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #0868c9; box-shadow: 0 0 0 3px #0868c915; }
.form-field-error { color: #b42318; font-size: 12px; line-height: 1.5; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #b42318; }
.form-field input[aria-invalid="true"]:focus, .form-field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #b4231815; }
.form-message, .delete-account-success { border: 1px solid #bfd8ef; border-radius: 6px; background: #edf6ff; color: #245882; }
.delete-account { background: #edf3fa; border-radius: 10px; padding: 56px; }
.delete-account-form { padding: 30px; border: 1px solid #d9e2ee; border-radius: 8px; background: #ffffff; box-shadow: none; }
.delete-account h2 { font-size: clamp(32px, 3.6vw, 50px); }
.map-card { border: 1px solid var(--line); border-radius: 10px; }
.faq-question { font-family: "DM Sans", Arial, sans-serif; font-size: 20px; font-weight: 500; color: var(--ink); }
.faq-question span:last-child { color: var(--accent); }
.faq-answer p { color: var(--muted); }

.legal-meta { color: #647c97; font-size: 12px; font-weight: 400; }
.legal-doc { padding: 52px 58px; border-color: var(--line); border-radius: 8px; background: #ffffff; }
.legal-policy p, .legal-section p { color: #4e6580; line-height: 1.85; }
.legal-policy h2 { font-size: clamp(24px, 2.5vw, 32px); }
.legal-section h2 span, .legal-section:nth-child(n) h2 span, .legal-steps li::before { color: #34618b; background: #e9f3ff; border-radius: 6px; font-weight: 500; }
.legal-list li, .legal-steps li { border-radius: 6px; }
.legal-list li::before, .legal-list li:nth-child(n)::before { background: #accff1; }
.legal-list strong { font-family: "DM Sans", Arial, sans-serif; font-weight: 500; }
.legal-doc a { color: #0868c9; }
.legal-contact { padding: 28px; background: #0b1c36; border-radius: 6px; }
.legal-contact strong { font-family: "DM Sans", Arial, sans-serif; font-weight: 500; }
.legal-contact span { color: #afc4df; font-weight: 500; }
.legal-contact a { color: #f7f9fc; }

.site-footer { margin-top: 80px; padding: 72px 0 28px; border-radius: 0; background: #0b1c36; color: #f7f9fc; }
.footer-main { gap: 52px; grid-template-columns: 1.3fr .65fr .65fr 1fr; }
.footer-main .brand { padding: 0; border-radius: 0; background: transparent; margin-bottom: 28px; }
.footer-main .brand-logo { width: 200px; filter: brightness(0) invert(1); }
.footer-main p { color: #afc3dc; font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-col h4 { color: #edf5ff; font-size: 12px; font-weight: 500; }
.footer-col a { color: #afc3dc; font-size: 13px; line-height: 1.8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-color: #2b4567; margin-top: 70px; color: #9eb5d0; font-size: 10px; letter-spacing: .5px; }
.footer-bottom a { color: #bdd0e7; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal:not(.visible) { opacity: 0; transform: translateY(20px); }

@media (max-width: 1100px) {
  .container, .nav { width: calc(100% - 64px); }
  .nav { gap: 24px; }
  .nav-links { gap: 21px; }
  .feature-row { gap: 48px; }
  .contact-grid { gap: 36px; }
  .cta { padding: 48px; gap: 32px; }
  .footer-main { gap: 32px; }
}

@media (max-width: 980px) {
  .nav-links { top: 88px; max-height: calc(100dvh - 104px); overflow-y: auto; padding: 24px; gap: 10px; border: 1px solid #cbdcf0; border-radius: 10px; background: #f7f9fc; box-shadow: 0 20px 50px #10233f18; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .nav-links a:not(.button)::after { display: none; }
  .page-hero { padding-top: 68px; }
  .page-hero-art { height: 380px; }
  .section-head { gap: 40px; }
  .section { padding-block: 88px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-wrap { padding: 44px; }
  .value-card, .value-card:nth-child(n) { padding: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --radius-xl: 10px; --radius-lg: 8px; }
  html { scroll-padding-top: 88px; }
  .container, .nav { width: calc(100% - 40px); }
  .nav { height: 76px; }
  .brand-logo { width: 160px; }
  .nav-links { top: 76px; }
  h1 { font-size: clamp(44px, 11vw, 72px); }
  h2 { font-size: clamp(34px, 8.7vw, 46px); }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 42px 0; }
  .section-head { margin-bottom: 36px; }
  .page-hero { padding: 48px 0 16px; }
  .page-hero h1 { margin-bottom: 24px; }
  .page-hero-art { margin-top: 36px; height: 280px; }
  .feature-row { padding: 42px 0; gap: 30px; }
  .feature-image { height: 300px; }
  .feature-row h2 { font-size: 36px; }
  .value-card h3 { font-size: 26px; }
  .process-wrap { padding: 36px 24px; }
  .process-step span { margin-bottom: 24px; }
  .cta { padding: 38px 26px; }
  .cta h2 { font-size: 36px; }
  .lending-hero-shell { padding: 44px 26px; }
  .lending-hero .lead { font-size: 17px; }
  .lending-partner-details { padding: 30px 24px; }
  .contact-panel { padding: 32px 24px; }
  .contact-detail { gap: 13px; }
  .contact-detail i { flex-basis: 42px; width: 42px; height: 42px; }
  .delete-account { padding: 32px 24px; gap: 28px; }
  .delete-account-form { padding: 24px; }
  .faq-question { font-size: 18px; }
  .legal-doc { padding: 32px 24px; }
  .legal-section h2 { font-size: 23px; }
  .legal-contact { padding: 22px; }
  .legal-contact strong { font-size: 16px; }
  .site-footer { margin-top: 48px; padding-top: 52px; }
  .footer-main { gap: 32px 24px; grid-template-columns: 1fr 1fr; }
  .footer-main .brand-logo { width: 183px; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 14px; margin-top: 44px; line-height: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .motion-ready .reveal:not(.visible) { opacity: 1; transform: none; }
}
