:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.17 0.035 280);
  --muted-foreground: oklch(0.48 0.015 280);
  --border: oklch(0.929 0.013 255.508);
  --input: oklch(0.929 0.013 255.508);
  --destructive: oklch(0.577 0.245 27.325);
  --brand-green: oklch(0.74 0.22 148);
  --brand-soft-green: oklch(0.95 0.035 148);
  --brand-lilac: oklch(0.74 0.10 295);
  --surface-soft: oklch(0.975 0 0);
  --primary: oklch(0.61 0.2 8);
  --primary-foreground: oklch(1 0 0);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

.mobile-app { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--background); }
.brand-header { height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.brand-logo { width: 125px; height: auto; }
.secure-label { display: flex; gap: 5px; align-items: center; font-size: 10px; color: var(--muted-foreground); }
.loan-banner { position: relative; height: 324px; overflow: hidden; background: var(--brand-lilac); }
.banner-image { position: absolute; bottom: 0; right: 0; width: 100%; height: 170px; object-fit: cover; object-position: 67% center; }
.banner-copy { position: relative; z-index: 1; padding: 24px; }
.banner-copy h1 { font-size: 29px; line-height: 1.12; font-weight: 800; max-width: 340px; }
.banner-copy p { font-size: 12px; line-height: 1.6; font-weight: 600; margin-top: 12px; max-width: 210px; }
.banner-note { position: absolute; bottom: 16px; left: 24px; z-index: 1; font-size: 10px; font-weight: 600; max-width: 130px; line-height: 1.5; }
.form-section { padding: 26px 24px 28px; }
.section-eyebrow { font-size: 10px; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 1px; }
.form-section h2 { font-size: 23px; font-weight: 800; line-height: 1.3; margin-top: 5px; }
.section-subtitle { font-size: 12px; line-height: 1.7; color: var(--muted-foreground); margin-top: 7px; }
.stepper { display: flex; position: relative; justify-content: space-between; margin: 26px 0; }
.stepper::before { content: ""; position: absolute; top: 17px; left: 28px; right: 28px; height: 2px; background: var(--border); }
.step-item { position: relative; width: 25%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-circle { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: var(--background); color: var(--muted-foreground); }
.step-item.current .step-circle { background: var(--brand-soft-green); border: 2px solid var(--brand-green); color: var(--foreground); }
.step-item.done .step-circle { background: var(--brand-green); border-color: var(--brand-green); color: var(--foreground); }
.step-label { font-size: 9px; font-weight: 500; color: var(--muted-foreground); }
.step-item.current .step-label { font-weight: 700; color: var(--foreground); }
.form-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.form-topline h3 { font-size: 16px; font-weight: 700; }
.form-topline span { font-size: 10px; color: var(--muted-foreground); }
.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 7px; }
.form-control { width: 100%; height: 49px; background: var(--background); border: 1px solid var(--input); border-radius: 6px; padding: 0 13px; font-family: inherit; font-size: 13px; outline: none; }
.form-control:focus { border-color: var(--brand-green); box-shadow: 0 0 0 2px var(--brand-soft-green); }
.form-control::placeholder { color: var(--muted-foreground); opacity: .7; }
.field-error { display: block; color: var(--destructive); font-size: 10px; margin-top: 5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 6px; font-family: inherit; cursor: pointer; transition: opacity .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.form-cta { width: 100%; height: 49px; font-size: 13px; font-weight: 700; margin-top: 4px; background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 2px rgb(0 0 0 / .08); text-decoration: none; }
.form-cta:hover:not(:disabled) { opacity: .92; }
.btn-ghost { width: 100%; margin-top: 8px; padding: 10px; background: transparent; color: var(--foreground); font-size: 13px; font-weight: 500; }
.btn-ghost:hover { background: var(--surface-soft); }

.trust-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 9px; color: var(--muted-foreground); margin-top: 13px; }
.notice { background: var(--brand-soft-green); padding: 14px; border-radius: 6px; display: flex; gap: 10px; font-size: 11px; line-height: 1.7; margin-bottom: 20px; }
.notice svg { flex-shrink: 0; }
.review-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.review-row span { color: var(--muted-foreground); }
.review-row strong { text-align: right; overflow-wrap: anywhere; }
.confirm-callout { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brand-soft-green), oklch(0.97 0.02 295)); border: 2px solid var(--brand-green); border-radius: 10px; padding: 16px 15px 15px; margin: 22px 0 12px; }
.confirm-callout::after { content: ""; position: absolute; right: -32px; bottom: -36px; width: 112px; height: 112px; border-radius: 50%; background: var(--brand-lilac); opacity: .14; }
.callout-badge { position: relative; display: inline-flex; align-items: center; gap: 6px; background: var(--brand-green); color: var(--foreground); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.confirm-callout h4 { position: relative; font-size: 15px; font-weight: 800; line-height: 1.45; margin: 12px 0 8px; }
.confirm-callout p { position: relative; font-size: 11px; line-height: 1.8; }
.confirm-callout strong { color: var(--brand-green); }
.callout-sign { position: relative; display: block; margin-top: 12px; font-size: 10px; font-weight: 700; color: oklch(0.52 0.15 295); }
.success { text-align: center; padding: 28px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft-green); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success h3 { font-size: 23px; font-weight: 800; }
.success p { font-size: 12px; color: var(--muted-foreground); line-height: 1.8; margin: 15px 0; }
.how-section { background: var(--surface-soft); padding: 25px 24px; }
.how-section h2 { font-size: 19px; font-weight: 800; line-height: 1.4; }
.how-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.how-item { display: flex; align-items: flex-start; gap: 13px; }
.how-icon { border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; border: 2px solid var(--brand-green); background: var(--brand-soft-green); display: flex; align-items: center; justify-content: center; }
.how-item h3 { font-size: 12px; font-weight: 700; }
.how-item p { font-size: 11px; line-height: 1.7; margin-top: 4px; color: var(--muted-foreground); }
.faq-section { padding: 26px 24px; }
.faq-section h2 { font-size: 19px; font-weight: 800; margin-bottom: 15px; }
.faq-section details { border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 11px; }
.faq-section summary { cursor: pointer; font-weight: 600; }
.faq-section details p { line-height: 1.8; margin-top: 10px; color: var(--muted-foreground); }
.brand-footer { border-top: 1px solid var(--border); padding: 24px; font-size: 9px; line-height: 1.8; color: var(--muted-foreground); }
.brand-footer img { width: 100px; margin-bottom: 15px; }
.mt-3 { margin-top: 12px; }

.pix-overlay { position: fixed; inset: 0; z-index: 50; background: oklch(1 0 0 / 92%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.pix-overlay[hidden] { display: none; }
.pix-overlay p { font-size: 13px; font-weight: 700; max-width: 260px; line-height: 1.6; }
.pix-overlay svg { color: var(--brand-green); }
.pix-timer { font-size: 22px; font-weight: 800; color: var(--brand-green); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 481px) { body { background: var(--surface-soft); } }
@media (max-width: 350px) {
  .brand-header, .banner-copy, .form-section, .how-section, .faq-section, .brand-footer { padding-left: 18px; padding-right: 18px; }
  .banner-copy h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  .form-body { animation: enter .22s ease-out; }
  @keyframes enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
