/* ForgeFit site — Sage theme, mirrors the app's palette (Theme.swift). */
:root {
  --bg: #0e1116;
  --surface: #181b21;
  --surface-elevated: #20242b;
  --separator: #333942;
  --accent: #55b374;
  --accent-soft: rgba(85, 179, 116, 0.18);
  --mint: #34d399;
  --text: #ffffff;
  --text-2: #a4aba6;
  --text-3: #747a74;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5f1;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --separator: #dee3de;
    --accent: #2f9e58;
    --accent-soft: rgba(47, 158, 88, 0.14);
    --mint: #159873;
    --text: #14171a;
    --text-2: #50594f;
    --text-3: #82897f;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 32px; }
header.site { max-width: 720px; margin: 0 auto; padding: 28px 20px 0; display: flex; align-items: center; gap: 10px; }
header.site a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.mark svg { width: 20px; height: 20px; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.tagline { font-size: 19px; color: var(--text-2); margin-bottom: 28px; }
.beta-pill {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 20px;
}
section.cards { display: grid; gap: 14px; margin: 34px 0; }
.card {
  background: var(--surface); border: 1px solid var(--separator);
  border-radius: 16px; padding: 20px;
}
.card h2 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--text-2); }
article h1 { font-size: 32px; margin-bottom: 6px; }
article .updated { color: var(--text-3); font-size: 13px; margin-bottom: 24px; }
article h2 { font-size: 20px; margin: 28px 0 8px; }
article p, article li { font-size: 15px; color: var(--text-2); margin-bottom: 12px; }
article ul { padding-left: 22px; margin-bottom: 12px; }
article strong { color: var(--text); }
a { color: var(--accent); }
footer {
  max-width: 720px; margin: 0 auto; padding: 24px 20px 48px;
  border-top: 1px solid var(--separator);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  color: var(--text-3); font-size: 14px;
}
footer nav { display: flex; gap: 16px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--accent); }
.spacer { flex: 1; }
@media (max-width: 480px) { h1 { font-size: 32px; } }
