/* ═══════════════════════════════════════════════
   HearMeSafe — pages.css
   Shared styles for About, FAQ, Legal, Resources
   Ivory palette · Inter · Elegant & Readable
═══════════════════════════════════════════════ */

/* ── Content typography ── */
.page-prose h2 { font-size:1.15rem; font-weight:700; color:#0f172a;
  margin:36px 0 10px; padding-top:4px; letter-spacing:-.02em; }
.page-prose h3 { font-size:1rem; font-weight:600; color:#1e293b; margin:22px 0 8px; }
.page-prose p  { font-size:14.5px; color:#475569; line-height:1.75; margin-bottom:10px; }
.page-prose ul { margin-bottom:12px; padding-left:0; list-style:none; }
.page-prose ul li { font-size:14px; color:#475569; line-height:1.8;
  margin-bottom:6px; padding-left:20px; position:relative; }
.page-prose ul li::before { content:'→'; position:absolute; left:0;
  color:#2563eb; font-weight:700; font-size:12px; top:2px; }
.page-prose a { color:#2563eb; font-weight:500; }
.page-prose a:hover { text-decoration:underline; }
.page-prose hr { border:none; border-top:1px solid #ede9e0; margin:28px 0; }

/* ── Info callout cards ── */
.callout { border-radius:12px; padding:18px 20px; margin-bottom:20px;
  display:flex; gap:14px; align-items:flex-start; }
.callout-blue  { background:#eff6ff; border:1px solid #bfdbfe; }
.callout-amber { background:#fffbeb; border:1px solid #fde68a; }
.callout-green { background:#ecfdf5; border:1px solid #a7f3d0; }
.callout-red   { background:#fef2f2; border:1px solid #fecaca; }
.callout-icon  { width:32px; height:32px; border-radius:8px; display:flex;
  align-items:center; justify-content:center; font-size:14px; flex-shrink:0; }
.callout-blue  .callout-icon { background:#dbeafe; color:#1d4ed8; }
.callout-amber .callout-icon { background:#fef3c7; color:#92400e; }
.callout-green .callout-icon { background:#d1fae5; color:#065f46; }
.callout-red   .callout-icon { background:#fee2e2; color:#991b1b; }
.callout-body strong { font-size:13px; font-weight:700; color:#1e293b; display:block; margin-bottom:3px; }
.callout-body p { font-size:13px; margin:0; line-height:1.6; }
.callout-blue  .callout-body strong,.callout-blue  .callout-body p { color:#1e3a8a; }
.callout-amber .callout-body strong,.callout-amber .callout-body p { color:#78350f; }
.callout-green .callout-body strong,.callout-green .callout-body p { color:#065f46; }
.callout-red   .callout-body strong,.callout-red   .callout-body p { color:#991b1b; }

/* ── Section dividers ── */
.prose-section { margin-bottom:28px; padding-bottom:24px;
  border-bottom:1px solid #ede9e0; }
.prose-section:last-child { border-bottom:none; }
.prose-num { display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; background:#2563eb; color:#fff;
  border-radius:6px; font-size:11px; font-weight:700; flex-shrink:0;
  margin-right:10px; vertical-align:middle; }

/* ── Two-col page layout ── */
.page-layout { display:grid; grid-template-columns:220px 1fr; gap:40px;
  align-items:start; max-width:1000px; margin:0 auto; }
@media(max-width:900px) { .page-layout { grid-template-columns:1fr; } }
.page-nav { position:sticky; top:80px; }
.page-nav-title { font-size:10px; font-weight:700; color:#94a3b8;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; }
.page-nav a { display:block; font-size:13px; color:#64748b; text-decoration:none;
  padding:7px 12px; border-radius:7px; margin-bottom:2px; transition:all .12s;
  border-left:2px solid transparent; }
.page-nav a:hover { color:#2563eb; background:#eff6ff; }
.page-nav a.active { color:#2563eb; background:#eff6ff; border-left-color:#2563eb;
  font-weight:600; }

/* ── About page ── */
.team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px; margin-top:28px; }
.team-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px;
  padding:20px; text-align:center; transition:all .18s; }
.team-card:hover { box-shadow:0 6px 24px rgba(15,23,42,.09); transform:translateY(-3px); }
.team-avatar { width:60px; height:60px; border-radius:50%; margin:0 auto 12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; font-weight:800; color:#fff; }
.team-name { font-size:14px; font-weight:700; color:#0f172a; margin-bottom:3px; }
.team-role { font-size:11px; color:#94a3b8; font-weight:500; }

.value-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px;
  padding:22px 18px; transition:all .15s; }
.value-card:hover { box-shadow:0 4px 18px rgba(15,23,42,.08); }
.value-icon { width:44px; height:44px; border-radius:12px; display:flex;
  align-items:center; justify-content:center; font-size:18px; margin-bottom:14px; }
.value-title { font-size:14px; font-weight:700; color:#0f172a; margin-bottom:7px; letter-spacing:-.01em; }
.value-body { font-size:13px; color:#64748b; line-height:1.7; }

.timeline { position:relative; padding-left:28px; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0;
  width:2px; background:linear-gradient(to bottom,#2563eb,#0891b2,#2563eb); }
.timeline-item { position:relative; margin-bottom:28px; }
.timeline-dot { position:absolute; left:-24px; top:4px; width:14px; height:14px;
  border-radius:50%; background:#2563eb; border:2.5px solid #fff;
  box-shadow:0 0 0 3px #bfdbfe; }
.timeline-year { font-size:11px; font-weight:700; color:#2563eb;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }
.timeline-text { font-size:14px; color:#475569; line-height:1.7; }

/* ── FAQ ── */
.faq-cat-badge { display:inline-flex; align-items:center; gap:7px;
  font-size:11px; font-weight:700; color:#1d4ed8;
  text-transform:uppercase; letter-spacing:.07em; margin-bottom:14px;
  background:#eff6ff; border:1px solid #bfdbfe; border-radius:5px;
  padding:4px 12px; }

/* ── Resources ── */
.resource-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px;
  padding:18px 18px 16px; display:flex; flex-direction:column; gap:8px;
  transition:all .18s; }
.resource-card:hover { box-shadow:0 6px 24px rgba(15,23,42,.09);
  border-color:#cbd5e1; transform:translateY(-2px); }
.resource-tag { display:inline-flex; align-items:center; gap:5px;
  font-size:10px; font-weight:700; border-radius:4px; padding:3px 9px;
  text-transform:uppercase; letter-spacing:.05em; width:fit-content; }
.resource-title { font-size:14px; font-weight:700; color:#0f172a; line-height:1.35; }
.resource-body { font-size:12px; color:#64748b; line-height:1.65; }
.resource-link { margin-top:auto; font-size:12px; font-weight:600; color:#2563eb;
  display:flex; align-items:center; gap:4px; text-decoration:none; }
.resource-link:hover { color:#1d4ed8; }

/* ── Inline SVG illustrations ── */
.page-illustration { display:flex; justify-content:center; margin:16px 0; }
.page-illustration svg { max-width:100%; }
