/* talkinghurts.com guide pages (/lost-your-voice/) and the 404 page: the app's palette, none of its code.
   Strict CSP: every style lives here. */
:root {
  --bg: #10141c;
  --card: #1a2130;
  --card2: #222b3e;
  --line: #2c3649;
  --text: #e8ecf4;
  --muted: #8b96ab;
  --accent: #6ea4ff;
  --go: #2f6fe0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top, main, footer { max-width: 700px; margin: 0 auto; padding: 0 18px; }
.top { padding-top: 16px; padding-bottom: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.crumbs { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { display: inline-block; padding: 4px 0; }

h1 { margin: 18px 0 8px; font-size: 2rem; line-height: 1.2; letter-spacing: -0.01em; }
h2 { margin: 36px 0 8px; font-size: 1.35rem; line-height: 1.3; }
h3 { margin: 22px 0 4px; font-size: 1.05rem; }
p, ol, ul { margin: 0 0 14px; }
li { margin: 4px 0; }
.lede { font-size: 1.08rem; }
.scope { margin: 14px 0 18px; padding: 8px 12px; border-left: 3px solid #f7b74f; background: var(--card); border-radius: 6px; font-size: 0.92rem; color: var(--muted); }
.updated { color: var(--muted); font-size: 0.9rem; }

.cta { display: inline-block; margin: 6px 0 10px; padding: 13px 22px; border-radius: 14px; background: var(--go); color: #ffffff; font-weight: 700; text-decoration: none; }
.cta:hover { filter: brightness(1.06); }

figure { margin: 18px auto 22px; max-width: 300px; }
figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
figure.wide { max-width: 520px; }
figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); text-align: center; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
td:first-child { font-weight: 600; white-space: nowrap; }
blockquote { margin: 0 0 14px; padding: 4px 0 4px 14px; border-left: 3px solid var(--line); color: var(--muted); }

.faq h3 { color: var(--text); }
.sources { font-size: 0.92rem; color: var(--muted); }
.sources li { margin: 6px 0; }

footer { margin-top: 36px; padding-top: 14px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer p { margin: 6px 0; }

/* 404 */
.notfound { padding: 30px 0 10px; }
.notfound ul { padding-left: 20px; }
.notfound li a { display: inline-block; padding: 6px 0; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  figure { max-width: 260px; }
}
