:root {
      --blue: #7c3aed;
      --blue-dark: #6d28d9;
      --ink: #101828;
      --navy: #2e1065;
      --muted: #667085;
      --line: #e5e7ef;
      --paper: #ffffff;
      --soft: #f6f8fc;
      --mint: #19c6a1;
      --green-soft: #dbf8e5;
      --yellow: #ffd746;
      --coral: #ff715b;
      --shadow: 0 20px 48px rgba(16, 24, 40, 0.12);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.5;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

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

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.94);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(14px);
    }
    .nav {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      width: 180px;
      min-width: 180px;
    }
    .brand img { width: 100%; height: auto; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      color: #344054;
      font-size: 0.9rem;
      font-weight: 800;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .lang-toggle {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 44px;
      padding: 0 13px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: var(--navy);
      font: inherit;
      font-size: 0.84rem;
      font-weight: 800;
      cursor: pointer;
    }
    .lang-toggle:hover { border-color: rgba(124, 58, 237, 0.32); }
    .lang-flag {
      width: 24px;
      height: 18px;
      object-fit: contain;
      flex: 0 0 auto;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 20px;
      border: 2px solid transparent;
      border-radius: 12px;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      color: #fff;
      background: var(--blue);
    }
    .btn-primary:hover { background: var(--blue-dark); }

    .hero {
      color: #fff;
      background: var(--blue);
      padding: 42px 0 60px;
      overflow: hidden;
    }
    .loan-intro {
      max-width: 840px;
      margin: 0 auto 28px;
      text-align: center;
    }
    h1 {
      max-width: 680px;
      margin: 0 auto 12px;
      font-size: clamp(1.65rem, 3.2vw, 2.45rem);
      line-height: 1.12;
      font-weight: 800;
      letter-spacing: 0;
    }
    .hero-copy {
      max-width: 650px;
      margin: 0 auto;
      color: rgba(255, 255, 255, 0.84);
      font-size: 1.08rem;
      font-weight: 650;
    }
    .apply-lane {
      width: min(860px, 100%);
      margin: 0 auto;
    }
    .form-shell {
      width: 100%;
      border: 2px solid #111827;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 8px 0 rgba(17, 24, 39, 0.18), var(--shadow);
      overflow: hidden;
    }
    .form-shell-head {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--line);
      color: var(--navy);
    }
    .form-shell-head strong {
      display: block;
      font-size: 1rem;
      line-height: 1.2;
    }
    .form-shell-head span {
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 700;
    }
    .form-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      align-self: start;
      padding: 5px 9px;
      border-radius: 999px;
      background: var(--green-soft);
      color: #16834f;
      font-size: 0.7rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .form-tag-lottie {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      overflow: hidden;
    }
    .form-tag-lottie svg {
      width: 100% !important;
      height: 100% !important;
    }
    #lead-scout-form {
      min-height: 420px;
      background: #fff;
    }

    .proof-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 34px;
    }
    .proof-card {
      display: flex;
      flex-direction: column;
      min-height: 220px;
      border: 1px solid rgba(255, 255, 255, 0.36);
      border-radius: 8px;
      background: #ffffff;
      padding: 22px 22px 14px;
      box-shadow: 0 16px 40px rgba(7, 27, 77, 0.14);
      animation: riseIn 0.7s ease both;
    }
    .proof-card:nth-child(2) { animation-delay: 0.12s; }
    .proof-card:nth-child(3) { animation-delay: 0.24s; }
    .proof-card p {
      color: #2f3647;
      font-size: 1rem;
      font-weight: 800;
      line-height: 1.45;
      margin-bottom: 16px;
    }
    .proof-card strong {
      display: block;
      color: var(--navy);
      font-size: 0.84rem;
    }
    .proof-card span {
      color: #596579;
      font-size: 0.7rem;
      font-weight: 800;
    }
    .review-stars {
      color: #00b67a;
      font-size: 1.08rem;
      letter-spacing: 1px;
      line-height: 1;
      margin: auto 0 10px;
    }
    .review-byline {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 12px;
    }
    .review-footer {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin: 0 -22px;
      padding: 12px 22px 0;
      border-top: 1px solid #eef1f6;
      color: #596579;
      font-size: 0.68rem;
      font-weight: 800;
    }
    .review-footer b {
      color: var(--blue);
      font-weight: 900;
    }

    .section { padding: 78px 0; }
    .section-soft { background: var(--soft); }
    .section-head {
      max-width: 760px;
      margin: 0 auto 34px;
      text-align: center;
    }
    .section-kicker {
      color: var(--mint);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    h2 {
      color: var(--navy);
      font-size: clamp(1.8rem, 3vw, 2.55rem);
      line-height: 1.08;
      font-weight: 800;
    }
    .section-sub {
      max-width: 600px;
      margin: 14px auto 0;
      color: var(--muted);
      font-size: 1rem;
      font-weight: 650;
    }

    .steps {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .steps::before {
      content: "";
      position: absolute;
      top: 46px;
      left: 16%;
      right: 16%;
      height: 3px;
      background: var(--blue);
      opacity: 0.24;
    }
    .step {
      position: relative;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      padding: 24px;
      box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
      animation: floatStep 5s ease-in-out infinite;
    }
    .step:nth-child(2) { animation-delay: 0.4s; }
    .step:nth-child(3) { animation-delay: 0.8s; }
    .step-number {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      margin-bottom: 18px;
      border: 2px solid #111827;
      border-radius: 12px;
      background: var(--green-soft);
      color: var(--navy);
      font-weight: 800;
      box-shadow: 0 4px 0 rgba(17, 24, 39, 0.12);
    }
    .step strong {
      display: block;
      color: var(--navy);
      font-size: 1.06rem;
      margin-bottom: 8px;
    }
    .step p {
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 650;
    }

    .average-section {
      color: #fff;
      background: var(--navy);
      overflow: hidden;
    }
    .average-section h2 { color: #fff; }
    .average-section .section-sub { color: rgba(255, 255, 255, 0.74); }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .metric-card {
      position: relative;
      min-height: 210px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.1);
      padding: 26px;
      overflow: hidden;
    }
    .metric-card::after {
      content: "";
      position: absolute;
      inset: auto -30px -36px auto;
      width: 110px;
      height: 110px;
      border: 22px solid rgba(141, 240, 216, 0.18);
      border-radius: 999px;
      animation: pulseRing 3.8s ease-in-out infinite;
    }
    .metric-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      margin-bottom: 24px;
      border-radius: 12px;
      background: #fff;
      color: var(--blue);
      font-size: 1.25rem;
      font-weight: 800;
    }
    .metric-value {
      position: relative;
      color: #8df0d8;
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      line-height: 1;
      font-weight: 800;
      z-index: 1;
    }
    .metric-card p {
      position: relative;
      max-width: 260px;
      color: rgba(255, 255, 255, 0.76);
      font-weight: 700;
      margin-top: 10px;
      z-index: 1;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
      gap: 16px;
      align-items: stretch;
    }
    .blog-featured,
    .blog-list {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 32px rgba(16, 24, 40, 0.07);
    }
    .blog-featured {
      min-height: 260px;
      padding: 24px;
      background: #fff;
    }
    .blog-label {
      display: inline-flex;
      margin-bottom: 16px;
      color: var(--blue);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .blog-featured h3 {
      color: var(--navy);
      font-size: clamp(1.35rem, 2vw, 2rem);
      line-height: 1.12;
      margin-bottom: 10px;
    }
    .blog-featured p,
    .blog-item p {
      color: var(--muted);
      font-weight: 650;
    }
    .blog-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 18px;
    }
    .blog-tags span,
    .blog-meta span {
      border-radius: 999px;
      background: #edf2ff;
      color: var(--blue);
      padding: 5px 9px;
      font-size: 0.68rem;
      font-weight: 900;
    }
    .blog-list {
      display: grid;
      overflow: hidden;
    }
    .blog-item {
      display: block;
      padding: 18px;
      border-bottom: 1px solid var(--line);
    }
    .blog-item:last-child { border-bottom: 0; }
    .blog-item:hover h4 { color: var(--blue); }
    .blog-item h4 {
      color: var(--navy);
      font-size: 1rem;
      line-height: 1.25;
      margin-bottom: 6px;
    }
    .blog-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .faq-list {
      width: min(860px, 100%);
      display: grid;
      gap: 12px;
      margin: 0 auto;
    }
    details {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
    }
    summary {
      min-height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 18px 20px;
      color: var(--navy);
      font-weight: 800;
      cursor: pointer;
      list-style: none;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after {
      content: "+";
      width: 30px;
      height: 30px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: #eef2ff;
      color: var(--blue);
      font-size: 1.25rem;
      line-height: 1;
    }
    details[open] summary::after { content: "-"; }
    details[open] {
      border-color: rgba(124, 58, 237, 0.28);
      box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
    }
    details p {
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 650;
      padding: 0 20px 20px;
    }

    footer {
      background: #f7f9ff;
      border-top: 1px solid #dfe6f5;
      padding: 54px 0 34px;
    }
    .footer-inner {
      display: grid;
      grid-template-columns: 1.25fr 0.85fr 0.95fr 0.85fr;
      gap: 34px;
      align-items: start;
      margin-bottom: 28px;
    }
    footer .footer-logo-brand {
      color: var(--navy);
    }
    footer .footer-logo-brand:hover {
      color: var(--blue);
    }
    .footer-copy {
      max-width: 300px;
      color: var(--muted);
      font-size: 0.86rem;
      font-weight: 600;
    }
    .footer-col h4 {
      color: var(--navy);
      font-size: 0.82rem;
      font-weight: 800;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .footer-links {
      list-style: none;
      display: grid;
      gap: 8px;
    }
    .footer-links a,
    .footer-links button {
      color: var(--muted);
      border: 0;
      background: none;
      padding: 0;
      font: inherit;
      font-size: 0.88rem;
      font-weight: 650;
      text-align: left;
      cursor: pointer;
    }
    .footer-links a:hover,
    .footer-links button:hover { color: var(--blue); }
    .footer-disclaimer {
      margin: 8px 0 18px;
      padding: 16px 18px;
      border: 1px solid #dce4f4;
      border-radius: 8px;
      background: #fff;
      color: #596579;
      font-size: 0.8rem;
      font-weight: 650;
    }
    .footer-disclaimer strong {
      display: block;
      color: var(--navy);
      margin-bottom: 6px;
    }
    .footer-bottom {
      padding-top: 18px;
      border-top: 1px solid #dce4f4;
      color: #8a94a6;
      font-size: 0.78rem;
      font-weight: 600;
    }

    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(5, 12, 31, 0.66);
    }
    .modal-overlay.open { display: flex; }
    .modal-box {
      width: min(720px, 100%);
      max-height: 82vh;
      overflow: auto;
      border-radius: 14px;
      background: #fff;
      padding: 34px;
    }
    .modal-close {
      float: right;
      width: 34px;
      height: 34px;
      border: 0;
      border-radius: 999px;
      background: var(--soft);
      cursor: pointer;
      font-size: 1.2rem;
    }
    .modal-box h2,
    .modal-box h3 { color: var(--navy); margin-bottom: 10px; }
    .modal-box h3 { margin-top: 22px; font-size: 1.1rem; }
    .modal-box p,
    .modal-box li {
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 600;
      margin-bottom: 9px;
    }
    .modal-box ul { padding-left: 20px; }

    @keyframes riseIn {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes floatStep {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    @keyframes pulseRing {
      0%, 100% { transform: scale(0.9); opacity: 0.7; }
      50% { transform: scale(1.08); opacity: 1; }
    }

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

    @media (max-width: 980px) {
      .steps,
      .metrics-grid,
      .footer-inner {
        grid-template-columns: 1fr;
      }
      .steps::before { display: none; }
      .step { animation: riseIn 0.7s ease both; }
    }

    @media (max-width: 820px) {
      .nav-links { display: none; }
      .proof-grid,
      .blog-grid { grid-template-columns: 1fr; }
      .section { padding: 62px 0; }
      .car-loans-page .form-shell-head {
        display: none;
      }
    }

    @media (max-width: 560px) {
      .container { width: min(100% - 28px, 1180px); }
      .brand { width: 154px; min-width: 154px; }
      .nav .btn { display: none; }
      .hero { padding: 18px 0 34px; }
      .loan-intro { margin-bottom: 16px; }
      h1 {
        max-width: 300px;
        font-size: 1.24rem;
        line-height: 1.12;
        margin-bottom: 8px;
      }
      .hero-copy {
        max-width: 320px;
        font-size: 0.82rem;
        line-height: 1.4;
      }
      .form-shell { border-radius: 14px; }
      .form-shell-head {
        gap: 12px;
        padding: 14px;
      }
      .form-shell-head strong {
        font-size: 0.88rem;
        line-height: 1.18;
      }
      .form-tag {
        padding: 5px 8px;
        font-size: 0.64rem;
      }
      .metric-card { min-height: 184px; }
    }
