/* ============================================================
   fsacredit.com — shared stylesheet for the static sub-pages
   (about, contact, privacy, terms, disclaimer, 404). The home
   page (index.html) is a React app with its own inline styles;
   these pages reuse the same design tokens so they read as one
   site. Palette = "eveningBlue" (the app's default at load).
   ============================================================ */
:root {
  --bg: #F4F2EE;
  --bg-2: #EAE6DE;
  --bg-3: #D9D2C5;
  --line: #C4BCAB;
  --primary: #1F3A5F;
  --primary-ink: #EAE6DE;
  --accent: #C95C3F;
  --accent-soft: #F2DCD2;
  --gold: #B58440;
  --ink: #15171A;
  --ink-2: #41464F;
  --ink-3: #74798C;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Newsreader', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ---------- HEADER ---------- */
.site-header {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name .tld { color: var(--ink-3); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--primary); }
@media (max-width: 600px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
}

/* ---------- HERO ---------- */
.hero { padding: 40px 0 24px; }
.hero .wrap { padding-left: 20px; padding-right: 20px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.hero__sub {
  max-width: 640px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- PROSE ---------- */
.section { padding: 12px 0 48px; }
.prose { max-width: 720px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500; letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.prose h2:first-child { margin-top: 8px; }
.prose p, .prose li { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 70ch; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.linkbtn {
  appearance: none; background: none; border: 0; padding: 0;
  color: var(--primary); cursor: pointer; font: inherit;
  text-decoration: underline; text-underline-offset: 2px;
}
.callout {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.callout h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.callout p { margin: 0; font-size: 14px; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 40px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--ink-3);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-tag { font-size: 13px; color: var(--ink-2); margin-top: 10px; max-width: 280px; line-height: 1.5; }
.footer-divider { height: 1px; background: var(--line); margin: 28px 0 20px; }
.footer-legal { font-size: 12px; color: var(--ink-3); line-height: 1.6; max-width: 880px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; margin-top: 18px; font-size: 12px; color: var(--ink-3);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }
.footer-bottom a { color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
