/* ============ BASE ============ */
:root {
  --navy: #0f2a4a;
  --navy-2: #16385f;
  --navy-3: #1f4a7d;
  --gold: #c9a227;
  --gold-2: #e0b53c;
  --green: #1f7a3d;
  --ink: #16222f;
  --muted: #5c6b7a;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 74, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 42, 74, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.container-narrow { width: min(820px, 92%); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.12rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.eyebrow.light { color: var(--gold-2); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(201, 162, 39, 0.45); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--navy-3);
  color: var(--navy);
}
.btn-ghost:hover { background: rgba(31, 74, 125, 0.08); }

.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 20px; font-size: 0.9rem; background: var(--gold); color: #fff; box-shadow: none; }
.btn-nav:hover { background: var(--gold-2); }

/* ============ TOPBAR ============ */
.topbar { background: var(--navy); color: #cfe0f2; font-size: 0.82rem; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 12px;
  padding: 5px 0;
}
.topbar-flag { color: var(--gold-2); font-weight: 600; }
.topbar-note a { color: #fff; font-weight: 600; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 4px 18px rgba(15, 42, 74, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { color: #fff; font-size: 1.15rem; font-weight: 500; }
.brand-text strong { color: var(--gold-2); }
.brand-mark svg { vertical-align: middle; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) { color: #dbe7f5; font-weight: 600; font-size: 0.95rem; padding: 6px 2px; position: relative; }
.main-nav > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}
.main-nav > a:not(.btn):hover::after { right: 0; }
.main-nav > a:not(.btn):hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 3px; background: #fff; border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(224, 181, 60, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #e6eef8;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 70px 0 84px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 181, 60, 0.14);
  border: 1px solid rgba(224, 181, 60, 0.4);
  color: var(--gold-2);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold-2); }
.hero-copy p { font-size: 1.08rem; color: #c4d5e8; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-bullets { display: flex; gap: 22px; flex-wrap: wrap; color: #bcd0e4; font-size: 0.92rem; font-weight: 500; }
.hero-bullets li span { color: var(--gold-2); font-weight: 800; margin-right: 6px; }

.hero-visual { position: relative; }

/* big check graphic */
.big-check {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px 26px 20px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  transform: rotate(-2deg);
  border: 1px solid var(--line);
  max-width: 480px;
  margin-left: auto;
}
.big-check::after {
  content: 'APPROVED';
  position: absolute;
  top: 26px; right: 20px;
  transform: rotate(-14deg);
  border: 3px solid var(--green);
  color: var(--green);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 8px;
}
.big-check-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-weight: 600;
}
.bank-routing { color: var(--navy); font-weight: 800; }
.big-check-pay {
  font-size: 0.9rem;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 14px;
  min-height: 34px;
}
.big-check-amount {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}
.amount-word { color: var(--muted); }
.amount-num {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  color: var(--green);
}
.big-check-memo { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.big-check-sign {
  font-family: 'Segoe Script', 'Brush Script MT', cursive;
  font-size: 1.35rem;
  color: var(--navy);
  text-align: right;
  padding: 8px 6px;
  border-top: 2px solid var(--line);
}
.big-check-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 12px;
  font-weight: 600;
}
.big-check-footer span:last-child { color: var(--green); }

.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.badge-a { top: -22px; left: -6px; animation: floaty 4s ease-in-out infinite; }
.badge-b { bottom: -18px; right: 2px; animation: floaty 4s ease-in-out 0.8s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============ STATS ============ */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.stat-num span { color: var(--gold); font-size: 1.2rem; }
.stat-label { color: var(--muted); font-size: 0.88rem; font-weight: 500; }

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ============ CARDS (programs) ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(15, 42, 74, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.card-tag {
  display: inline-block;
  margin: 16px 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-3);
  background: #eef3fa;
  padding: 5px 11px;
  border-radius: 999px;
  align-self: flex-start;
}
.card-link { color: var(--navy-3); font-weight: 700; font-size: 0.92rem; }
.card-link:hover { color: var(--gold); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(15, 42, 74, 0.05);
}
.step-num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.4);
}
.step h3 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ============ STORIES ============ */
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 42, 74, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.story-svg { width: 100%; height: auto; }
.story-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: #eef3fa;
}
.story-body { padding: 22px 24px 26px; }
.story-body h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.story-body h3 span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.story-body p { color: var(--muted); font-size: 0.92rem; margin: 10px 0 16px; }
.story-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(31, 122, 61, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
}
.story-stamp strong { font-weight: 800; }

/* ============ CLAIM SECTION ============ */
.section-claim {
  background:
    radial-gradient(800px 420px at 12% 0%, rgba(224, 181, 60, 0.10), transparent 60%),
    var(--navy);
  color: #e6eef8;
}
.claim-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.claim-copy h2 { color: #fff; margin-bottom: 16px; }
.claim-copy p { color: #c4d5e8; margin-bottom: 26px; }
.claim-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-weight: 500; }
.claim-list li span { color: var(--gold-2); font-weight: 800; }
.trust-row { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.trust-item {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #dbe7f5;
}

/* ============ FORM CARD ============ */
.form-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 34px 34px 30px;
  color: var(--ink);
}
.form-progress { margin-bottom: 26px; }
.progress-bar { height: 8px; background: #e8edf3; border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  transition: width 0.35s ease;
}
.progress-steps { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.progress-steps .pstep.active { color: var(--navy); }

.form-step h3 { margin-bottom: 18px; }
.form-step h3::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin-top: 8px;
}
.step-note { color: var(--muted); font-size: 0.88rem; margin: -6px 0 18px; }
.strength { margin: -4px 0 10px; }
.strength-track { display: block; height: 6px; background: #e8edf3; border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.strength-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #c0392b; transition: width 0.25s ease, background 0.25s ease; }
.strength-fill.medium { background: var(--gold); }
.strength-fill.strong { background: var(--green); }
.strength-label { color: var(--muted); font-size: 0.76rem; }
.field { margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  background: #fff;
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0392b; }
.error { display: block; color: #c0392b; font-size: 0.78rem; margin-top: 5px; min-height: 1em; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); margin: 18px 0 4px; cursor: pointer; }
.consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }

.form-nav { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.form-nav .btn { flex: 1; }

.form-message {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-message.success { background: #e7f6ec; color: var(--green); border: 1px solid #b7e2c6; }
.form-message.error { background: #fdecec; color: #c0392b; border: 1px solid #f3c1c1; }
.form-message a { color: inherit; text-decoration: underline; font-weight: 800; }

.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { color: var(--gold); transition: transform 0.25s ease; font-size: 0.85rem; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: 0.95rem; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background:
    radial-gradient(700px 320px at 50% 120%, rgba(224, 181, 60, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-3), var(--navy-2));
  text-align: center;
  padding: 70px 0;
  color: #e6eef8;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #c4d5e8; max-width: 560px; }

/* ============ FOOTER ============ */
.footer { background: #0b2038; color: #9fb4ca; padding: 60px 0 0; font-size: 0.9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal { padding: 26px 0 34px; }
.footer-legal p { font-size: 0.78rem; line-height: 1.7; color: #7d93ab; margin-bottom: 10px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stories { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .main-nav a::after { display: none; }
  .btn-nav { justify-content: center; margin-top: 6px; border: none; }

  .hero-grid, .claim-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-grid { padding: 50px 0 70px; }
  .topbar-note { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { flex-direction: column; gap: 0; }
}

@media (max-width: 520px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-badge { font-size: 0.78rem; padding: 9px 14px; }
}

.dash-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-alt); }
.dash-topbar { background: var(--navy); color: #fff; box-shadow: 0 4px 18px rgba(15, 42, 74, 0.25); }
.dash-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.dash-nav { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; font-weight: 600; }
.dash-nav a { color: #dbe7f5; }
.dash-nav a:hover { color: #fff; }
.dash-signout { border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.dash-signout:hover { background: rgba(255, 255, 255, 0.16); }
.dash-shell { flex: 1; width: min(1160px, 92%); margin: 0 auto; padding: 48px 0 72px; }

.auth-panel { display: grid; place-items: center; min-height: calc(100vh - 210px); }
.auth-card { width: min(520px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 42px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.auth-intro { color: var(--muted); margin-bottom: 26px; }
.auth-help { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; color: var(--muted); font-size: 0.82rem; }
.auth-help a, .dash-footer a { color: var(--navy-3); font-weight: 700; text-decoration: underline; }

.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dash-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 8px; }
.dash-subtitle { color: var(--muted); font-size: 0.9rem; }
.wallet-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: stretch; }

.wallet-card { position: relative; overflow: hidden; min-height: 330px; border-radius: 22px; padding: 32px; color: #fff; background: linear-gradient(135deg, #0b2038 0%, #16385f 52%, #1f4a7d 100%); box-shadow: 0 24px 50px rgba(15, 42, 74, 0.24); }
.wallet-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 300px at 90% -10%, rgba(224, 181, 60, 0.28), transparent 62%), radial-gradient(360px 260px at -10% 110%, rgba(89, 156, 224, 0.2), transparent 65%); }
.wallet-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px; border: 36px solid rgba(255, 255, 255, 0.05); border-radius: 50%; }
.wallet-card > * { position: relative; z-index: 1; }
.wallet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.wallet-brand { display: flex; align-items: center; gap: 12px; }
.wallet-brand b { display: block; font-size: 1.05rem; letter-spacing: 0.2px; }
.wallet-brand small { display: block; color: #a9c0d8; font-size: 0.72rem; margin-top: 2px; }
.wallet-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(224, 181, 60, 0.18); color: var(--gold-2); border: 1px solid rgba(224, 181, 60, 0.35); }
.wallet-chip { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.1); color: #e9f1fa; border-radius: 999px; padding: 7px 14px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; white-space: nowrap; }
.wallet-chip.chip-approved { background: rgba(46, 175, 94, 0.2); border-color: rgba(108, 217, 146, 0.5); color: #bdf0ce; }
.wallet-chip.chip-contacted { background: rgba(224, 181, 60, 0.18); border-color: rgba(224, 181, 60, 0.45); color: #f4dd9b; }
.wallet-chip.chip-declined { background: rgba(192, 57, 43, 0.2); border-color: rgba(231, 117, 101, 0.5); color: #ffc8c1; }
.wallet-balance { margin: 50px 0 46px; }
.wallet-balance span { display: block; color: #a9c0d8; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.wallet-balance strong { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; }
.wallet-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.wallet-bottom span { display: block; color: #8fa9c3; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px; }
.wallet-bottom b { display: block; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.status-panel, .panel, .activity-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 8px 24px rgba(15, 42, 74, 0.06); }
.status-panel h2, .panel h2, .activity-panel h2 { font-size: 1.05rem; margin-bottom: 20px; }
.status-hero { display: flex; gap: 14px; align-items: flex-start; background: #f4f7fb; border-radius: 14px; padding: 16px; margin-bottom: 22px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-top: 4px; flex: 0 0 12px; box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.15); }
.status-approved .status-dot { background: var(--green); box-shadow: 0 0 0 5px rgba(31, 122, 61, 0.14); }
.status-declined .status-dot { background: var(--red); box-shadow: 0 0 0 5px rgba(192, 57, 43, 0.13); }
.status-hero strong { display: block; color: var(--navy); font-size: 0.95rem; }
.status-hero p { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.timeline { list-style: none; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: #e3e8ef; }
.timeline li.complete:not(:last-child)::after { background: rgba(31, 122, 61, 0.45); }
.timeline-marker { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: #eef3fa; color: var(--muted); font-size: 0.78rem; font-weight: 800; box-shadow: 0 0 0 2px #e3e8ef; }
.timeline li.complete .timeline-marker { background: var(--green); color: #fff; box-shadow: 0 0 0 2px rgba(31, 122, 61, 0.22); }
.timeline li.current .timeline-marker { background: var(--gold); color: #fff; box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22); }
.timeline li.current.declined .timeline-marker { background: var(--red); box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2); }
.timeline-copy strong { display: block; color: var(--navy); font-size: 0.86rem; }
.timeline-copy small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }

.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.detail-list { display: grid; grid-template-columns: 145px minmax(0, 1fr); }
.detail-list dt, .detail-list dd { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.detail-list dt { color: var(--muted); font-weight: 600; }
.detail-list dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.detail-list dt:last-of-type, .detail-list dd:last-of-type { border-bottom: none; }
.next-steps-panel { display: flex; flex-direction: column; }
.next-steps-panel p { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.next-steps-note { display: flex; gap: 12px; align-items: center; color: var(--navy-3); font-size: 0.82rem; font-weight: 600; background: #eef3fa; border-radius: 12px; padding: 13px 15px; margin-bottom: 24px; }
.note-line { width: 24px; height: 2px; background: var(--gold); flex: 0 0 24px; }
.next-steps-panel .btn { align-self: flex-start; }

.documents-panel { margin-top: 24px; }
.docs-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.docs-panel-head p { color: var(--muted); font-size: 0.84rem; margin-top: 5px; }
.documents-count { white-space: nowrap; background: #eef3fa; color: var(--navy-3); border-radius: 999px; padding: 7px 13px; font-size: 0.75rem; font-weight: 800; }
.applicant-documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.applicant-doc { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; padding: 16px; min-width: 0; }
.doc-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(201, 162, 39, 0.14); color: #8a6d13; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.4px; }
.applicant-doc-copy { min-width: 0; flex: 1; }
.applicant-doc-copy strong { display: block; color: var(--navy); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.applicant-doc-copy span { display: block; color: var(--muted); font-size: 0.76rem; margin-top: 3px; }
.applicant-doc-copy small { display: block; color: #8b99a8; font-size: 0.72rem; margin-top: 2px; }
.doc-download { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--navy); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 9px 13px; text-decoration: none; }
.doc-download:hover { background: var(--navy-3); }
.documents-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 0.86rem; background: #f8fafc; border: 1px dashed #cfd9e5; border-radius: 12px; padding: 26px; }

.activity-panel { margin-top: 24px; }
.activity-list { display: flex; flex-direction: column; gap: 18px; }
.activity-item { display: flex; gap: 14px; align-items: flex-start; }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 5px; flex: 0 0 10px; box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14); }
.activity-item strong { display: block; color: var(--navy); font-size: 0.88rem; }
.activity-item small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.dash-footer { background: #0b2038; color: #8fa6bd; font-size: 0.8rem; padding: 22px 0; }
.dash-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .wallet-layout, .detail-layout { grid-template-columns: 1fr; }
  .dash-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .dash-shell { padding: 32px 0 52px; }
  .auth-card { padding: 30px 20px; }
  .dash-nav a { display: none; }
  .wallet-card { padding: 24px; min-height: 300px; }
  .wallet-bottom { grid-template-columns: 1fr; gap: 12px; }
  .wallet-balance { margin: 40px 0 34px; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list dt { border-bottom: none; padding-bottom: 0; }
  .detail-list dd { padding-top: 2px; }
  .applicant-documents { grid-template-columns: 1fr; }
  .docs-panel-head { flex-direction: column; }
}
