/* MoneyInsider — site-wide styles, ported from the Claude Design exports
   (project/*.dc.html) into a real stylesheet. Colors/spacing/breakpoints
   are copied 1:1 from the approved design's inline styles. */

:root {
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-light: #2563eb;
  --navy: #0f1b33;
  --ink: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #eef1f6;
  --border-strong: #dbe3ee;
  --border-soft: #e8edf5;
  --bg-tint: #eaf1fb;
  --bg-tint-2: #e2ecfb;
  --bg-page-tint: #f3f7fd;
  --green: #16a34a;
  --footer-text: #c7d0e0;
  --footer-text-dim: #a9b8d6;
  --footer-text-faint: #7c8bab;
  --footer-border: #223050;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
input[type="range"] { accent-color: var(--blue); width: 100%; height: 6px; display: block; }
img { max-width: 100%; }

.page { max-width: 1440px; margin: 0 auto; background: #fff; }

/* ---- header ---- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; flex-wrap: wrap; gap: 12px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; display: block; }
.brand-word { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.brand-word .accent { color: var(--blue-light); }
.btn {
  display: inline-block; border: none; border-radius: 8px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--blue-hover); }
.btn-outline { background: #fff; color: var(--text-body); border: 1.5px solid var(--border-strong); }
.header-apply-btn { padding: 11px 24px; font-size: 14.5px; }
@media (max-width: 640px) { .header-apply-btn { display: none !important; } }

/* ---- hero ---- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #eaf1fb 0%, #f3f7fd 100%);
  padding: 40px 20px 80px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr !important; } }
.hero-copy { padding-top: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--bg-tint-2);
  color: var(--blue); font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
  padding: 6px 12px; border-radius: 20px; margin-bottom: 20px;
}
.hero-heading {
  font-size: 48px; line-height: 1.08; font-weight: 800; color: var(--ink);
  margin: 0 0 16px; letter-spacing: -1px;
}
.hero-heading .accent { color: var(--blue-light); }
.hero-subtext { font-size: 17px; color: var(--text-muted); max-width: 480px; line-height: 1.6; margin: 0 0 28px; }
.hero-features { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-body); }
.hero-feature svg { flex-shrink: 0; }

@media (max-width: 640px) {
  .hero-subtext, .hero-features { display: none !important; }
  .hero-heading { font-size: 30px !important; margin-bottom: 0 !important; }
  .hero { padding: 16px 20px 40px !important; }
  .hero-grid { gap: 18px !important; }
  .hero-copy { padding-top: 0 !important; }
  .hero-badge { margin-bottom: 10px !important; }
}

.step-card {
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(15, 27, 61, 0.18);
  padding: 28px 28px 24px; margin-bottom: -70px; position: relative; z-index: 2;
}
.step-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.step-card > p { font-size: 13px; color: var(--text-muted); margin: 0 0 20px; }

.field { margin-bottom: 20px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text-body); }
.field-value { font-size: 17px; font-weight: 800; color: var(--blue); }
.range-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-faint); margin-top: 4px; }
.text-input, select.text-input {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--border-strong);
  font-size: 14px; color: var(--ink); background: #fff; box-sizing: border-box; font-family: inherit;
}
.btn-block { display: block; width: 100%; padding: 14px; border-radius: 9px; font-size: 15px; }
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px;
  font-size: 11.5px; color: var(--text-faint);
}

/* ---- generic section chrome ---- */
.section { padding: 24px 20px 48px; }
.section-title { font-size: 30px; font-weight: 800; color: var(--ink); margin: 0 0 4px; text-align: center; }
.section-rule { width: 48px; height: 3px; background: var(--blue); margin: 0 auto 44px; }
.section-note { font-size: 12.5px; color: var(--text-faint); max-width: 700px; margin: 8px auto 0; text-align: center; }

/* ---- how it works ---- */
.how-it-works { padding: 64px 20px 48px; text-align: center; }
.how-it-works-grid {
  display: grid; grid-template-columns: repeat(4, 1fr) !important; gap: 32px 24px;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) { .how-it-works-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px) { .how-it-works-grid { grid-template-columns: repeat(1, 1fr) !important; } }
.hiw-step { text-align: center; }
.hiw-icon-wrap {
  position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--blue);
}
.hiw-num {
  position: absolute; top: -4px; right: -2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hiw-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.hiw-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; max-width: 210px; margin: 0 auto; }

/* ---- key highlights ---- */
.key-highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  max-width: 1200px; margin: 0 auto 16px;
}
.highlight-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 22px 16px; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.highlight-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.highlight-text { font-size: 13.5px; color: var(--text-body); line-height: 1.5; font-weight: 600; }

/* ---- eligibility + documents ---- */
.elig-docs-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  max-width: 1200px; margin: 0 auto; background: #f7f9fc; border-radius: 16px; padding: 36px;
}
.elig-docs-panel h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.elig-docs-panel .rule { width: 34px; height: 3px; background: var(--blue); margin: 0 0 20px; }
.elig-row {
  display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft);
}
.elig-icon {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex;
  align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.elig-label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.elig-value { font-size: 12.5px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: none; padding: 16px 18px; cursor: pointer; font-family: inherit;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .faq-q-text { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.faq-toggle-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint);
  color: var(--blue); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.faq-toggle-icon::after { content: "+"; }
.faq-item[open] .faq-toggle-icon::after { content: "\2212"; }
.faq-answer { padding: 0 18px 18px; }
.faq-answer p { font-size: 13.5px; line-height: 1.75; color: #4b5563; margin: 0; }
.faq-see-all { text-align: center; margin-top: 24px; }
.faq-see-all a { font-size: 14px; font-weight: 700; }

/* ---- CTA banner ---- */
.cta-banner {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-radius: 16px;
  overflow: hidden; background: var(--bg-tint);
}
.cta-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-copy h3 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 20px; }
.cta-copy h3 .accent { color: var(--blue-light); }
.cta-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cta-point { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-body); font-weight: 600; }
.cta-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: var(--footer-text); padding: 56px 20px 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr !important; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(1, 1fr) !important; } }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand img { height: 26px; width: auto; display: block; }
.footer-brand span { font-size: 18px; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 12.5px; line-height: 1.7; color: var(--footer-text-dim); margin: 0; max-width: 280px; }
.footer-col-title {
  font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: #a9b8d6; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--footer-border); }
.footer-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.footer-meta span { font-size: 12px; color: var(--footer-text-faint); }
.footer-disclaimer { font-size: 12px; line-height: 1.7; color: var(--footer-text-faint); }
.footer-disclaimer strong { color: var(--footer-text); }
.footer-disclaimer a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---- apply page ---- */
body.apply-body { background: var(--bg-page-tint); }
.apply-shell { max-width: 1440px; margin: 0 auto; min-height: 100vh; background: var(--bg-page-tint); }
.apply-header {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 24px;
  flex-wrap: wrap; gap: 12px; border-bottom: 1px solid #e3e9f3; background: #fff;
}
#header-back-link { padding: 11px 20px; font-size: 13.5px; }
@media (max-width: 640px) { #header-back-link { display: none !important; } }
.apply-section { padding: 48px; display: flex; justify-content: center; }
@media (max-width: 640px) { .apply-section { padding: 24px 16px !important; } }
.apply-inner { width: 100%; max-width: 560px; }
.apply-badge-wrap { text-align: center; margin-bottom: 24px; }
.apply-card { background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(15, 27, 61, 0.15); padding: 32px; }
@media (max-width: 640px) { .apply-card { padding: 24px 18px !important; } }
.apply-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.apply-card > p { font-size: 13px; color: var(--text-muted); margin: 0 0 22px; }
.field-sm { margin-bottom: 18px; }
.field-sm label { font-size: 13.5px; font-weight: 700; color: var(--text-body); display: block; margin-bottom: 8px; }
.amount-input-wrap { position: relative; }
.amount-input-wrap .rupee { position: absolute; left: 14px; top: 12px; color: var(--text-muted); font-size: 14px; }
.amount-input-wrap input { padding-left: 28px; }

.personal-grid { display: grid; grid-template-columns: 1fr 1fr !important; gap: 12px; margin-bottom: 12px; }
@media (max-width: 480px) {
  .personal-grid { grid-template-columns: 1fr !important; }
  .personal-grid > div { grid-column: span 1 !important; }
}
.personal-grid .col-span-2 { grid-column: span 2; }
.personal-grid label { font-size: 12.5px; font-weight: 700; color: var(--text-body); display: block; margin-bottom: 6px; }
.personal-grid .text-input { padding: 11px 12px; font-size: 13.5px; }

.consent-row {
  display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--text-muted);
  margin: 14px 0 18px; cursor: pointer;
}
.consent-row input { margin-top: 2px; flex-shrink: 0; }
.apply-actions { display: flex; gap: 10px; }
.apply-actions .btn-back { flex: 0 0 100px; padding: 14px; border-radius: 9px; font-size: 14px; }
.apply-actions .btn-submit { flex: 1; padding: 14px; border-radius: 9px; font-size: 15px; }
#mobile-back-link { display: none; text-align: center; margin-top: 20px; }
@media (max-width: 640px) { #mobile-back-link { display: block !important; } }
#mobile-back-link a { font-size: 13.5px; font-weight: 700; }

.field-error { color: #b91c1c; font-size: 12px; margin-top: 6px; }
.form-error-banner {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 18px;
}

/* ---- offers placeholder page ---- */
.offers-shell { max-width: 820px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.offers-shell h1 { font-size: 26px; font-weight: 800; color: var(--ink); }
.offers-shell p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }
