/* ===========================================================================
   My Claim Chart — base styles (Stage 0)
   Post-style look: dark stage, white "setup" line + red "hook" line titles,
   large type and high contrast for a 55+ audience (WCAG AA basics).
   =========================================================================== */

:root {
  --bg: #0b0f14;
  --bg-elev: #141a22;
  --bg-card: #1a212b;
  --border: #2a3542;
  --text: #f4f7fa;      /* high-contrast body text */
  --muted: #c2ccd6;     /* still AA on dark bg */
  --white: #ffffff;     /* setup line */
  --red: #ff4d4d;       /* hook line */
  --accent: #4c8dff;
  --radius: 16px;
  --maxw: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 50% -200px, #16202c 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px; /* larger base for older audience */
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- Nav ---- */
.nav { border-bottom: 1px solid var(--border); background: rgba(11, 15, 20, 0.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand .mark {
  width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--red));
}
.nav-links a { color: var(--muted); margin-left: 22px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid transparent; border-radius: 12px;
  padding: 16px 28px; font-size: 1.1rem; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #04121f; }
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }

/* ---- Hero / post-style title ---- */
.hero { padding: 72px 0 48px; }
.post-title { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.12; font-weight: 900; margin: 0 0 20px; letter-spacing: -0.5px; }
.post-title .setup { display: block; color: var(--white); }
.post-title .hook  { display: block; color: var(--red); }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 44ch; }
.hero .btn { margin-top: 28px; }

/* ---- Content pages (legal) ---- */
.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); margin-top: 0; }
.page h2 { color: var(--white); margin-top: 2em; font-size: 1.4rem; }
.page p, .page li { color: var(--muted); }
.page .placeholder {
  display: inline-block; background: rgba(255, 77, 77, 0.14);
  border: 1px solid var(--red); color: #ffd9d9;
  padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 0.85em;
}
.page .updated { color: var(--muted); font-size: 0.95rem; opacity: 0.8; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 36px 0 56px; background: var(--bg-elev); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.legal-links a { color: var(--muted); font-weight: 600; }
.disclaimer { color: var(--muted); font-size: 0.95rem; margin: 6px 0; }
.copyright { color: var(--muted); opacity: 0.7; font-size: 0.9rem; margin-top: 16px; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 32px; }
  .nav-links a { margin-left: 14px; }
}
