/* ============================================================
   MoneyMe Block — shared styles (site.css)
   Used across index, about, pricing, faq, contact, apply, portal
   ============================================================ */

@font-face {
  font-family: 'SharpGrotesk';
  src: url('../../Design References/SharpGroteskMedium19.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SharpGrotesk';
  src: url('../../Design References/SharpGroteskMediumItalic19.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'SharpGrotesk';
  src: url('../../Design References/SharpGroteskSmBold19.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'SharpGrotesk';
  src: url('../../Design References/SharpGroteskSmBoldItalic19.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

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

:root {
  --lime: #BBEE00; --dark: #0B2828; --teal: #00BEA8; --teal-dark: #009E8C;
  --teal-light: #E6F8F5; --btc: #F7931A; --btc-light: #FEF3E2;
  --text: #1C2B3A; --muted: #64748B; --light-muted: #94A3B8;
  --border: #E2E8F0; --bg: #F8FAFC; --bg-alt: #F1F5F9; --white: #FFFFFF;
  --red: #EF4444; --red-light: #FEF2F2;
  --amber: #F59E0B; --amber-light: #FFFBEB;
  --green: #22C55E; --green-light: #F0FDF4;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 18px;
  --shadow-sm: 0 1px 4px rgba(15,25,35,0.06); --shadow: 0 4px 20px rgba(15,25,35,0.08);
  --side: max(40px, calc((100% - 1200px) / 2));
}

html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ───────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 100; background: var(--lime); border-bottom: 1px solid rgba(11,40,40,0.12); height: 84px; display: flex; align-items: center; padding: 0 var(--side); }
.nav-inner { display: flex; align-items: center; width: 100%; position: relative; }
.nav-logo { display: flex; align-items: center; gap: 2px; }
.nav-logo img { height: 26px; display: block; }
.nav-block-text { font-family: 'SharpGrotesk', 'Space Grotesk', sans-serif; font-size: 33px; font-weight: 600; font-style: italic; color: transparent; -webkit-text-stroke: 1.5px #0b2828; line-height: 1; letter-spacing: 0.03em; position: relative; top: 0.2mm; }
.nav-links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 16px; font-weight: 500; font-family: 'SharpGrotesk', 'Space Grotesk', sans-serif; color: rgba(11,40,40,0.7); padding: 6px 12px; border-radius: var(--radius-sm); transition: all .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); background: rgba(11,40,40,0.1); }
.nav-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.nav-phone { font-size: 13px; font-weight: 600; color: rgba(11,40,40,0.55); }
.nav-cta { font-size: 14px; font-weight: 700; color: var(--lime); padding: 8px 20px; border-radius: var(--radius-sm); background: var(--dark); border: none; cursor: pointer; transition: all .15s; font-family: inherit; }
.nav-cta:hover { background: #0e3636; }
.nav-login { font-size: 14px; font-weight: 700; color: var(--dark); padding: 8px 20px; border-radius: var(--radius-sm); background: transparent; border: 2px solid rgba(11,40,40,0.35); cursor: pointer; transition: all .15s; font-family: inherit; }
.nav-login:hover { background: rgba(11,40,40,0.08); border-color: rgba(11,40,40,0.6); }

/* ─── SECTION HEADERS (shared) ───────────────── */
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-dark); margin-bottom: 12px; }
.section-title { font-size: 40px; font-weight: 800; color: var(--dark); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 520px; }

/* ─── BUTTONS (shared) ───────────────────────── */
.btn-primary { padding: 14px 32px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--dark); background: var(--lime); border: none; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 7px; }
.btn-primary:hover { background: #cdf220; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(187,238,0,.35); }
.btn-dark { padding: 14px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; color: var(--lime); background: var(--dark); border: none; cursor: pointer; transition: all .2s; white-space: nowrap; font-family: inherit; }
.btn-dark:hover { background: #0e3636; }
.btn-ghost-light { padding: 14px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: rgba(11,40,40,0.75); background: rgba(11,40,40,0.07); border: 1.5px solid rgba(11,40,40,0.25); cursor: pointer; transition: all .2s; font-family: inherit; }
.btn-ghost-light:hover { background: rgba(11,40,40,0.12); border-color: rgba(11,40,40,0.45); }
.btn-ghost-dark { padding: 14px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.18); cursor: pointer; transition: all .2s; font-family: inherit; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.75); }

/* ─── CTA BANNER (shared) ────────────────────── */
.cta-banner { background: var(--lime); padding: 72px var(--side); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-banner h2 { font-size: 36px; font-weight: 600; font-family: 'SharpGrotesk', 'Space Grotesk', sans-serif; color: var(--dark); letter-spacing: -.01em; max-width: 700px; line-height: 1.2; margin-bottom: 8px; }
.cta-banner p { font-size: 19px; font-weight: 500; font-family: 'SharpGrotesk', 'Space Grotesk', sans-serif; color: rgba(11,40,40,0.65); }

/* ─── FOOTER (shared) ────────────────────────── */
footer { background: var(--dark); padding: 64px var(--side) 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-logo-mark { width: 28px; height: 28px; background: rgba(247,147,26,0.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: var(--btc); }
.footer-logo-text strong { display: block; font-size: 15px; font-weight: 800; color: var(--white); }
.footer-logo-text small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.65; max-width: 280px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 7px 12px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { padding: 24px 0 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom-left p { font-size: 12px; color: rgba(255,255,255,.25); margin-bottom: 6px; }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.18); max-width: 680px; line-height: 1.55; }
.footer-links-row { display: flex; gap: 20px; flex-shrink: 0; }
.footer-links-row a { font-size: 12px; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-links-row a:hover { color: rgba(255,255,255,.6); }

/* ─── INLINE FIELD ERROR (shared) ────────────── */
.field-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.field-error.visible { display: block; }
.field input.invalid, .field select.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.10); }

/* ─── MOBILE BREAKPOINT (<=860px) ────────────── */
@media (max-width: 860px) {
  :root { --side: 20px; }

  /* hide centred nav links — production should have burger menu */
  .nav-links { display: none; }

  /* collapse 2-col hero grids to 1 col */
  .hero,
  .page-hero,
  .contact-layout,
  .office-band { grid-template-columns: 1fr !important; }

  /* stack 4-col trust/cred grids to 2 cols */
  .trust-grid,
  .badges-wrap,
  .cred-badges { grid-template-columns: 1fr 1fr !important; }

  /* stack 3-col tier/pillar/creds grids to 1 col */
  .tiers-grid,
  .pillars-grid,
  .creds-grid,
  .help-methods,
  .next-steps,
  .action-grid,
  .stats-strip { grid-template-columns: 1fr !important; }

  /* clamp hero h1 */
  .hero h1, .page-hero h1 { font-size: clamp(40px, 9vw, 78px) !important; }

  /* stack cta-banner and footer-top */
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 48px var(--side); }
  .footer-top { grid-template-columns: 1fr !important; gap: 32px; }
}
