/* Shah Health Media — calm palette matching the Chemo Side Effect Tracker app */
:root {
  --bg: #f6f4ef; --surface: #ffffff; --ink: #1f2a28; --muted: #5d6965; --line: #e2ded4;
  --accent: #2a5d50; --accent-soft: #e1ece7; --warn-bg: #fbe5e2; --warn: #8f1d22;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111614; --surface: #18201d; --ink: #e9efec; --muted: #a3b2ac; --line: #2c3833;
    --accent: #7cc0aa; --accent-soft: #1d3029; --warn-bg: #3d1a1c; --warn: #ffb4b0; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
nav a { margin-left: 18px; font-weight: 600; text-decoration: none; font-size: .95rem; }
nav a:first-child { margin-left: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .4em; font-weight: 600; }
h2 { font-size: 1.5rem; margin: 2em 0 .5em; font-weight: 600; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .3em; font-weight: 600; }
p, li { max-width: 66ch; }
.lede { font-size: 1.2rem; color: var(--muted); }
.hero { padding-block: 56px 24px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 28px 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.feature h3 { margin-top: 0; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.note { background: var(--warn-bg); color: var(--warn); border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 18px 0; }
main { padding-bottom: 48px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
dl dt { font-weight: 700; margin-top: 1.1em; }
dl dd { margin: .2em 0 0; color: var(--muted); max-width: 66ch; }
.updated { color: var(--muted); font-size: .95rem; }
@media (max-width: 620px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero img { width: 104px; height: 104px; border-radius: 24px; order: -1; }
}
