/* Home page theme: airy and welcoming. Loaded after landing.css on site/index.html only (the résumé keeps the
   dark landing.css look). Warm cream paper, white cards, deep garden green for action, soft sun and sky washes.
   Text contrast (WCAG): --text 13.9:1 on --bg, --muted 5.9:1, --accent 6.0:1 (5.5:1 on --accent-soft), white on --accent 6.4:1; focus ring 4.7:1. */
:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-raised: #fffdf8;
  --line: rgba(38, 54, 45, .1);
  --line-strong: rgba(38, 54, 45, .24);
  --text: #1e2b24;
  --muted: #56635c;
  --accent: #2e6a53;
  --accent-strong: #245744;
  --accent-soft: #e8f2ec;
  --on-accent: #ffffff;
  --sun: #f6d9a8;
  --sky: #d9eaf2;
  --focus: #b45309;
  --shadow: 0 1px 2px rgba(30, 43, 36, .04), 0 12px 32px rgba(30, 43, 36, .07);
  --shadow-lift: 0 2px 4px rgba(30, 43, 36, .05), 0 20px 44px rgba(30, 43, 36, .1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

body {
  background:
    radial-gradient(56rem 34rem at 92% -10%, rgba(246, 217, 168, .55), transparent 66%),
    radial-gradient(48rem 32rem at -10% 18%, rgba(217, 234, 242, .7), transparent 70%),
    radial-gradient(40rem 28rem at 60% 62%, rgba(232, 242, 236, .6), transparent 72%),
    var(--bg);
  background-repeat: no-repeat;
  line-height: 1.7;
}

.site-header { border-bottom-color: transparent; background: rgba(251, 248, 242, .82); }
.wordmark { color: var(--text); letter-spacing: .08em; }
.skip-link { color: var(--on-accent); }

/* Headings: a soft serif, lighter weight, a little more room. */
.directory-header h1, .directory-feature h2, .how-it-works h2, .network-summary h2, .location-heading h2, .mission h2 { font-weight: 500; letter-spacing: -.02em; }
.directory-header h1 em { font-style: normal; font-weight: 500; letter-spacing: -.02em; }
.eyebrow, .mcp-search label, .mcp-note { color: var(--accent); font-family: var(--body); font-weight: 600; }
.eyebrow { letter-spacing: .16em; }
.status-dot { box-shadow: 0 0 0 5px rgba(46, 106, 83, .14); }

/* Sections: more breathing room, hairline dividers. */
.directory-feature, .how-it-works, .network-summary, .location-section, .featured-intro, .mission { border-top-color: var(--line); }

/* Cards: white, rounded, softly lifted. */
.agent-link, .how-it-works li, .mcp-result { border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.agent-link:nth-child(-n + 2) { background: linear-gradient(150deg, var(--accent-soft), transparent 62%), var(--surface); }
.agent-link:hover { border-color: rgba(46, 106, 83, .4); background-color: var(--surface); box-shadow: var(--shadow-lift); }
.agent-symbol { color: var(--accent); background: var(--accent-soft); }
.how-it-works li:nth-child(2) { background: linear-gradient(160deg, rgba(217, 234, 242, .6), transparent 70%), var(--surface); }
.how-it-works li:nth-child(4) { background: linear-gradient(160deg, rgba(246, 217, 168, .4), transparent 70%), var(--surface); }

.site-footer { border-top-color: var(--line); }
.footer-brand { color: var(--text); }

@media (forced-colors: active) {
  .how-it-works li, .mcp-result { border: 1px solid CanvasText; }
  .mission-icon { border: 1px solid CanvasText; }
}
