/* Money Neighbor design system (Porch green). Every page links this file; page-specific styles stay in the page.
   Palette and logo chosen by Ravi 2026-10-06: Porch green + "roof over a dollar" mark (concept G).
   Type: Figtree for everything (Ravi 2026-10-06: Fraunces was hard to read). Sized for readers 60+: 19px body, 56px+ touch targets. */

:root {
  /* brand */
  --mn-green: #1F4535;        /* primary: header text, buttons, dark sections */
  --mn-green-deep: #163428;   /* footer, hero bands */
  --mn-green-soft: #2B5A46;   /* hover on green */
  --mn-gold: #E2A230;         /* marigold accent: the roof, highlights, CTA on dark */
  --mn-gold-ink: #8A5D0E;     /* marigold as TEXT on light grounds (AA contrast) */
  --mn-sage: #A9C2A6;
  --mn-sage-soft: #E4ECE1;
  /* grounds */
  --mn-paper: #F6F2E8;
  --mn-paper-2: #EFE9DC;
  --mn-white: #FFFFFF;
  /* text + lines */
  --mn-ink: #1C2A23;
  --mn-ink-2: #3D4A43;
  --mn-muted: #5E6B63;
  --mn-line: #DCD6C8;
  --mn-line-soft: #E9E4D8;
  /* states */
  --mn-ok: #2E7D57;
  --mn-error: #B23E3E;
  /* type */
  --mn-display: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mn-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* shape */
  --mn-radius: 14px;
  --mn-radius-lg: 22px;
  --mn-shadow: 0 1px 2px rgba(28, 42, 35, .06), 0 12px 32px rgba(28, 42, 35, .08);
  --mn-shadow-lg: 0 2px 4px rgba(28, 42, 35, .06), 0 30px 70px rgba(28, 42, 35, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mn-white); color: var(--mn-ink); font-family: var(--mn-body); font-size: 19px; line-height: 1.6; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--mn-green); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mn-gold); outline-offset: 3px; }

/* layout */
.mn-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.mn-narrow { max-width: 820px; }
.mn-section { padding-block: 96px; }
.mn-section--paper { background: var(--mn-paper); }
.mn-section--green { background: var(--mn-green-deep); color: #EEF2EC; }

/* type */
.mn-eyebrow { font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mn-gold-ink); }
.mn-section--green .mn-eyebrow { color: var(--mn-gold); }
.mn-display { font-family: var(--mn-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.mn-h1 { font-family: var(--mn-display); font-weight: 800; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -.025em; }
.mn-h2 { font-family: var(--mn-display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.mn-h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.mn-lede { font-size: 21px; line-height: 1.55; color: var(--mn-ink-2); max-width: 60ch; }
.mn-section--green .mn-lede { color: #C9D6CD; }
.mn-fine { font-size: 14px; line-height: 1.55; color: var(--mn-muted); }

/* buttons */
.mn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; font: 700 18px/1 var(--mn-body); background: var(--mn-green); color: #FFFFFF; transition: background .15s ease, transform .15s ease; }
.mn-btn:hover { background: var(--mn-green-soft); transform: translateY(-1px); }
.mn-btn--gold { background: var(--mn-gold); color: #1C2A23; }
.mn-btn--gold:hover { background: #EBB044; }
.mn-btn--ghost { background: transparent; color: var(--mn-green); box-shadow: inset 0 0 0 1.5px var(--mn-line); }
.mn-btn--ghost:hover { background: var(--mn-paper); }
.mn-btn--small { min-height: 46px; padding: 0 20px; font-size: 16px; }

/* header */
.mn-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--mn-line-soft); }
.mn-top .mn-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.mn-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mn-green); }
.mn-brand svg { width: 38px; height: 38px; flex: none; }
.mn-brand span { font-family: var(--mn-display); font-weight: 800; font-size: 23px; letter-spacing: -.02em; }
.mn-nav { display: flex; align-items: center; gap: 26px; }
.mn-nav a { color: var(--mn-ink-2); text-decoration: none; font-size: 16px; font-weight: 600; }
.mn-nav a:hover { color: var(--mn-green); }
.mn-nav a.mn-btn, .mn-nav a.mn-btn:hover { color: #FFFFFF; }
.mn-brand span, .mn-top .mn-btn { white-space: nowrap; }
.mn-nav a.mn-btn--gold, .mn-nav a.mn-btn--gold:hover { color: var(--mn-ink); }
.mn-nav a.mn-btn--ghost, .mn-nav a.mn-btn--ghost:hover { color: var(--mn-green); }

/* cards */
.mn-card { background: var(--mn-white); border: 1px solid var(--mn-line-soft); border-radius: var(--mn-radius-lg); box-shadow: var(--mn-shadow); }

/* footer */
.mn-foot { background: var(--mn-green-deep); color: #B9C7BE; padding-block: 56px 40px; font-size: 15px; }
.mn-foot .mn-wrap { display: grid; gap: 22px; }
.mn-foot .mn-brand { color: #F6F2E8; }
.mn-foot a { color: #E9D7A8; }
.mn-foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.mn-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.mn-foot .mn-disc { color: #8FA196; font-size: 13.5px; line-height: 1.6; max-width: 920px; }

/* forms (shared by the Income Check, the advisor application and booking) */
.mn-field { display: grid; gap: 6px; font-size: 16px; font-weight: 600; color: var(--mn-ink-2); }
.mn-input, .mn-select { font: 19px var(--mn-body); min-height: 58px; padding: 0 16px; border: 1.5px solid var(--mn-line); border-radius: 12px; background: var(--mn-white); color: var(--mn-ink); width: 100%; }
.mn-input:focus, .mn-select:focus { border-color: var(--mn-green); outline: none; box-shadow: 0 0 0 4px rgba(31, 69, 53, .12); }
.mn-option { min-height: 60px; text-align: left; background: var(--mn-white); border: 1.5px solid var(--mn-line); border-radius: 12px; padding: 14px 18px; font: 600 18px/1.3 var(--mn-body); color: var(--mn-ink); cursor: pointer; }
.mn-option:hover { border-color: var(--mn-green); background: var(--mn-paper); }
.mn-option[aria-pressed="true"] { border-color: var(--mn-green); background: var(--mn-sage-soft); }
.mn-error { color: var(--mn-error); font-size: 16px; }

@media (max-width: 860px) {
  .mn-section { padding-block: 64px; }
  .mn-nav a:not(.mn-btn) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 18px; }
  .mn-wrap { padding-inline: 18px; }
}
@media (max-width: 400px) {
  .mn-brand svg { width: 32px; height: 32px; }
  .mn-brand span { font-size: 20px; }
  .mn-top .mn-btn--small { padding: 0 14px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
