/* ============================================================
   Prosper Capital — goprosper.co
   Premium light + ink · Fraunces (display) / Inter (body)
   ============================================================ */

:root {
  --cream:        #F7F4EE;
  --cream-2:      #EFEAE0;
  --card:         #FFFFFF;
  --ink:          #141B17;
  --ink-2:        #1D2721;
  --ink-3:        #2A362F;
  --text:         #2C352F;
  --muted:        #6A746D;
  --line:         #E4DFD3;
  --line-dark:    rgba(255,255,255,.14);
  --emerald:      #2F7E5C;
  --emerald-deep: #256349;
  --emerald-soft: #E7F2EC;
  --emerald-bright:#5BAF8A;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(20,27,23,.05), 0 4px 16px rgba(20,27,23,.05);
  --shadow-md: 0 2px 4px rgba(20,27,23,.06), 0 12px 32px rgba(20,27,23,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 560;
}

.display em, h2 em {
  font-style: italic;
  color: var(--emerald);
  font-weight: 500;
}

h2.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--emerald);
  display: inline-block;
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--emerald);
  display: inline-block;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}

.btn svg { transition: transform .22s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--emerald);
  color: #fff;
}
.btn-primary:hover { background: var(--emerald-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,27,23,.22);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,27,23,.04); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--cream-2); transform: translateY(-1px); }

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(247,244,238,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand .mark { width: auto; height: 36px; }

.brand .word {
  font-family: var(--serif);
  font-weight: 620;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand .word span { color: var(--emerald); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .18s ease;
}

.nav-links a:hover { color: var(--emerald); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 78px; left: 0; right: 0;
  z-index: 99;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 26px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- hero ---------- */

.hero {
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .display { margin-bottom: 24px; }
.hero-copy .lede { margin-bottom: 38px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg { color: var(--emerald); flex-shrink: 0; }

/* hero visual — arch composition */

.hero-visual { position: relative; }

.arch {
  position: relative;
  border-radius: 260px 260px var(--radius) var(--radius);
  background: linear-gradient(168deg, var(--ink) 0%, var(--ink-2) 55%, #24473A 130%);
  aspect-ratio: 4 / 5;
  max-height: 560px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.arch .wing-bg {
  position: absolute;
  right: -14%;
  bottom: -8%;
  width: 88%;
  opacity: .14;
}

.arch-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,27,23,.10) 0%, rgba(20,27,23,.30) 45%, rgba(14,24,19,.94) 100%);
}

.arch .arch-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.arch blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: #F3F1EA;
  line-height: 1.35;
}

.arch cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}

.chip {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chip .chip-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip .chip-title { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.2; }
.chip .chip-sub { font-size: 12px; color: var(--muted); }

.chip-1 { top: 14%; left: -34px; }
.chip-2 { top: 40%; right: -24px; }

/* ---------- stats band ---------- */

.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 46px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat { text-align: center; padding: 0 8px; }

.stat + .stat { border-left: 1px solid var(--line-dark); }

.stat .num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 560;
  color: #fff;
}

.stat .num em { font-style: italic; color: var(--emerald-bright); }

.stat .label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ---------- sections ---------- */

.section { padding: 104px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 58px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .lede { margin-top: 16px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- solutions grid ---------- */

.solutions { background: var(--cream); }

.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sol-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,126,92,.35);
}

.sol-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.sol-card h3 { font-size: 19px; font-weight: 620; margin-bottom: 10px; }

.sol-card p { font-size: 14px; color: var(--muted); flex: 1; }

.sol-card .card-link {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sol-card .card-link svg { transition: transform .2s ease; }
.sol-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- why us ---------- */

.why { background: var(--cream-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
}

.why-card .num-badge {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--emerald);
  margin-bottom: 16px;
}

.why-card h3 { font-size: 22px; margin-bottom: 12px; }
.why-card > p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }

.why-card ul { list-style: none; }

.why-card li {
  font-size: 14.5px;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-3);
}

.why-card li svg { color: var(--emerald); flex-shrink: 0; }

/* ---------- about band ---------- */

.about-band {
  background: var(--ink);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.about-band .wing-bg {
  position: absolute;
  left: -6%;
  top: -18%;
  width: 44%;
  opacity: .07;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-band h2 { color: #fff; }

.about-band .big-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: #F3F1EA;
  margin: 26px 0 30px;
}

.about-band .big-quote strong { color: var(--emerald-bright); font-weight: 500; }

.about-band p.body { color: rgba(255,255,255,.72); font-size: 15.5px; max-width: 520px; }

.disclosure {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 2px solid var(--emerald-bright);
  background: rgba(255,255,255,.05);
  border-radius: 0 12px 12px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
}

.serve-card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 38px 34px;
}

.serve-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 22px;
}

.serve-card ul { list-style: none; }

.serve-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.serve-card li:last-child { border-bottom: none; }

.serve-card li svg { color: var(--emerald-bright); flex-shrink: 0; margin-top: 3px; }

.about-band .btn { margin-top: 30px; }

/* ---------- CTA ---------- */

.cta { padding: 110px 0; }

.cta-box {
  background: linear-gradient(150deg, var(--emerald-deep), var(--emerald) 70%);
  border-radius: 28px;
  padding: clamp(46px, 7vw, 84px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-box .wing-bg {
  position: absolute;
  right: -8%;
  top: -30%;
  width: 46%;
  opacity: .12;
  pointer-events: none;
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-box .hero-ctas { justify-content: center; position: relative; }

.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-box .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  padding: 74px 0 38px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer .brand .word { color: #fff; }

.footer-blurb { margin-top: 18px; max-width: 300px; font-size: 13.5px; }

.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 11px; }

.site-footer a { transition: color .18s ease; }
.site-footer a:hover { color: var(--emerald-bright); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--emerald-bright); }

.footer-legal {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}

.footer-disclaimer {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  max-width: 860px;
  line-height: 1.6;
}

/* ---------- inner pages (about / legal / apply) ---------- */

.page-hero {
  padding: 160px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero .display { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }

.prose {
  max-width: 760px;
  padding: 64px 0 100px;
}

.prose h2 {
  font-size: 26px;
  margin: 46px 0 14px;
}

.prose h3 { font-size: 19px; margin: 30px 0 10px; }

.prose p { margin-bottom: 16px; color: var(--ink-3); }

.prose ul { margin: 0 0 18px 20px; color: var(--ink-3); }
.prose li { margin-bottom: 8px; }

.prose .disclosure {
  border-left-color: var(--emerald);
  background: var(--emerald-soft);
  color: var(--ink-3);
  margin: 26px 0;
}

/* ---------- apply journey ---------- */

.journey-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-dot {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background .3s ease;
}

.step-dot.active { background: var(--emerald); }

.step-panel.hidden-step { display: none; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(34px); }
  to   { opacity: 1; transform: none; }
}

.step-panel.entering { animation: stepIn .45s ease; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 40px 0 90px;
}

.svc-card {
  font-family: var(--sans);
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}

.svc-card .sol-icon { margin-bottom: 18px; }

.svc-card h3 { font-size: 21px; margin-bottom: 8px; }

.svc-card .svc-desc { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }

.svc-card .svc-docs {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.svc-card .svc-docs strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 4px;
}

.svc-card .svc-go {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  background: none;
  border: none;
  font-family: var(--sans);
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
}

.back-link:hover { color: var(--emerald-deep); }

.step2-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }

.prep-box {
  background: var(--emerald-soft);
  border: 1px solid rgba(47,126,92,.22);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 26px 0;
}

.prep-box h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 12px;
}

.prep-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.prep-box li {
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.prep-box li svg { color: var(--emerald); flex-shrink: 0; margin-top: 4px; }

@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .prep-box ul { grid-template-columns: 1fr; }
}

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 700px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 80px;
}

.form-shell iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  border-radius: 12px;
  display: none;
}

.form-shell iframe.active { display: block; }

.form-loading {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- application wizard ---------- */

.wiz {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 4vw, 46px);
  margin-bottom: 90px;
  max-width: 880px;
}

.wiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wiz-bar {
  height: 5px;
  background: var(--cream-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 32px;
}

.wiz-bar span {
  display: block;
  height: 100%;
  background: var(--emerald);
  border-radius: 3px;
  transition: width .35s ease;
}

.wiz-slide-title { font-size: 23px; margin-bottom: 6px; }
.wiz-slide-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.wiz-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.field > label .req { color: var(--emerald); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FDFCFA;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea { min-height: 96px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(47,126,92,.12);
}

.field.error input,
.field.error textarea { border-color: #C0392B; }

.field input[type="file"] {
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
}

.field input[type="file"]::file-selector-button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
}

.sig-pad {
  width: 100%;
  height: 170px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
  display: block;
}

.field.error .sig-pad { border-color: #C0392B; }

.sig-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.sig-clear {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}

.sig-clear:hover { color: var(--emerald); }

.file-status { font-size: 12.5px; color: var(--muted); min-height: 16px; }
.file-status.ok { color: var(--emerald-deep); font-weight: 600; }
.file-status.err { color: #C0392B; font-weight: 600; }

.field .err-msg { display: none; font-size: 12px; color: #C0392B; }
.field.error .err-msg { display: block; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }

.radio-pill {
  font-family: var(--sans);
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: var(--ink-3);
  transition: all .15s ease;
}

.radio-pill:hover { border-color: var(--emerald); }

.radio-pill.selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.wiz-info {
  grid-column: 1 / -1;
  background: var(--emerald-soft);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
}

.wiz-info a { color: var(--emerald); font-weight: 600; text-decoration: underline; }

.wiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.wiz-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.6;
}

.wiz-error-banner {
  display: none;
  background: #FBEDEA;
  border: 1px solid rgba(192,57,43,.3);
  color: #922B21;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  margin-top: 18px;
}

.wiz-error-banner.show { display: block; }

.wiz-success { text-align: center; padding: 34px 10px; }

.wiz-success .big-check {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.wiz-success h3 { font-size: 26px; margin-bottom: 12px; }
.wiz-success p { color: var(--muted); font-size: 15px; max-width: 460px; margin: 0 auto 10px; }

@media (max-width: 640px) {
  .wiz-fields { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .chip-1 { left: -8px; }
  .chip-2 { right: -8px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 78px 0; }
}

@media (max-width: 560px) {
  .sol-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .chip { display: none; }
}
