/* ═══════════════════════════════════════════════════════════════
   DIRECTION D — shared flat-brand rules
   Safe to load on ANY page, after styles.css.
   Fonts: Manrope (display) + Instrument Sans (body).
   Removes: gradients, glassmorphism, blobs, noise, pill chrome.
   Keeps: navy/orange palette, all page structure and JS hooks.
   Page-specific rules (hero bands, salary form, etc.) live in
   redesign-d.css / redesign-salary.css and load AFTER this file.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:    #FCFBF8;
  --line:  #E3E1DA;
  --inkD:  #1E2230;
  --mutedD:#646A7C;
}

/* ── FONTS ──
   styles.css declares 'Plus Jakarta Sans'/'Inter' in many places; neither
   is loaded anymore, so force inheritance from body instead of letting
   each fall back to the system font. Font Awesome icons excluded. */
body { font-family: 'Instrument Sans', sans-serif; background: var(--bg); color: var(--inkD); }
body *:not(i):not(.fa):not([class*="fa-"]) { font-family: inherit; }
h1, h2, h3,
.section-title, .results-title, .modal-title,
.stat-num, .demo-score-num, .spot-salary,
.logo, .pitch-text {
  font-family: 'Manrope', sans-serif !important;
}

/* ── KILL BACKGROUND THEATRICS ── */
body::before, body::after, .blob-bg { display: none !important; }

/* ── NAV: solid, flat, no glass ── */
nav {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  padding: 16px 44px;
}
.logo-mark { border-radius: 8px; box-shadow: none; }
.nav-pill,
.nav-pill-ghost {
  background: none;
  border: none;
  border-radius: 0;
  padding: 6px 4px;
  color: var(--inkD);
  font-weight: 500;
}
.nav-pill:hover,
.nav-pill-ghost:hover {
  background: none;
  border: none;
  color: var(--navy);
  transform: none;
  box-shadow: none;
}
.nav-pill-salary {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 9px 18px;
  font-weight: 600;
}
.nav-pill-salary:hover { background: var(--navy-deep); color: #fff; }
.nav-pill-career {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  padding: 8px 17px;
  font-weight: 600;
}
.nav-pill-career:hover { background: #fff; border-color: var(--navy); color: var(--navy); }
.nav-pill-active {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 9px 18px;
  font-weight: 600;
}
.nav-pill-active:hover { background: var(--navy-deep); color: #fff; }

/* ── SECTIONS: flat bordered cards ── */
.feature-card:hover { transform: none; box-shadow: none; border-color: var(--navy) !important; }
.feature-card,
.testimonial-card {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.section-title { color: var(--navy-deep); }

/* ── MODAL + GENERIC BUTTONS: degrade gradients to flat ── */
.modal-cta,
.search-btn {
  background: var(--navy);
  border-radius: 6px;
}
.modal-cta:hover,
.search-btn:hover { background: var(--navy-deep); transform: none; box-shadow: none; }
.search-btn::before { display: none; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--line); }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  nav { padding: 14px 24px; }
}
