/* Guide pages (/guides and /guides/*): same dark brand system as The science page. */
:root {
  --bg-canvas:#0B1622; --bg-surface-card:#12243A; --bg-surface-elevated:#1C3147; --border-subtle:#2C4A66;
  --text-primary:#F3F6F8; --text-muted:#9FB2C3; --teal:#35C4B5; --sky:#6FB7E8; --amber:#F5A524; --flame:#F4652E;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg-canvas); color:var(--text-primary); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.5; }
a { color:var(--sky); }
a:hover { color:var(--text-primary); }
h1,h2,h3,p { margin-top:0; }
.shell { max-width:1160px; margin:0 auto; padding:0 28px; }

.crumbs { padding-top:34px; color:var(--text-muted); font-size:13px; }
.crumbs a { color:var(--text-muted); text-decoration:none; }
.crumbs a:hover { color:var(--teal); }
.crumbs span { margin:0 8px; opacity:.6; }

.guide-hero { padding:30px 0 34px; }
.guide-hero.hub { padding:78px 0 40px; }
.eyebrow { color:var(--teal); text-transform:uppercase; letter-spacing:.17em; font-size:11px; font-weight:800; margin-bottom:16px; }
.guide-hero h1 { max-width:900px; margin-bottom:24px; font-size:clamp(44px,6vw,72px); font-weight:500; line-height:.98; letter-spacing:-.045em; }
.guide-hero.hub h1 { max-width:760px; font-size:clamp(52px,7vw,86px); line-height:.94; }
.lead { max-width:700px; color:var(--text-muted); font-size:19px; line-height:1.5; }
.byline { margin-top:20px; color:var(--text-muted); font-size:13px; }
.byline a { color:var(--teal); text-decoration:none; font-weight:700; }

.article { max-width:760px; padding-bottom:30px; }
.article h2 { margin:64px 0 22px; font-size:clamp(32px,3.6vw,44px); font-weight:500; line-height:1.05; letter-spacing:-.045em; scroll-margin-top:90px; }
.article h3 { margin:30px 0 10px; font-size:19px; color:var(--text-primary); letter-spacing:-.01em; }
.article p, .article li { color:var(--text-muted); font-size:17px; line-height:1.65; }
.article p { margin-bottom:18px; }
.article ul, .article ol { padding-left:22px; margin:0 0 20px; }
.article li { margin-bottom:10px; }
.article strong { color:var(--text-primary); }
.article a { font-weight:600; }

.summary { margin:6px 0 8px; padding:24px 26px; border:1px solid var(--border-subtle); border-radius:18px; background:var(--bg-surface-card); }
.summary h2 { margin:0 0 12px; font-size:15px; text-transform:uppercase; letter-spacing:.14em; color:var(--teal); font-weight:800; }
.summary ul { margin:0; }
.summary li { font-size:16px; margin-bottom:8px; }

.toc { margin:26px 0 0; color:var(--text-muted); font-size:14px; }
.toc strong { color:var(--text-primary); margin-right:6px; }
.toc a { color:var(--sky); text-decoration:none; margin-right:14px; white-space:nowrap; display:inline-block; }

.safety-note { margin:34px 0; padding:18px 22px; border-left:3px solid var(--flame); border-radius:0 12px 12px 0; background:rgba(244,101,46,.10); color:#F7C19D !important; font-size:15px !important; }

.cta-box { margin:46px 0 10px; padding:28px; border-radius:18px; background:linear-gradient(135deg,var(--bg-surface-card),#1c5360); border:1px solid var(--border-subtle); }
.cta-box h2 { margin:0 0 10px !important; font-size:28px !important; }
.cta-box p { margin-bottom:18px; }
.button { display:inline-flex; align-items:center; gap:6px; padding:12px 18px; border-radius:8px; background:var(--amber); color:#0B1622 !important; font-weight:800; text-decoration:none; }
.article a.button { font-weight:800; }
.button:hover { background:#ffb840; color:#0B1622 !important; }

.faq h3 { margin-top:26px; }

.sources { margin-top:20px; padding:0; list-style:none; border-top:1px solid var(--border-subtle); }
.sources li { padding:12px 0; margin:0; border-bottom:1px solid var(--border-subtle); font-size:14px !important; line-height:1.5 !important; }
.sources a { color:var(--teal); text-decoration:none; }
.sources a:hover { text-decoration:underline; }

.guide-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:18px; margin:10px 0 70px; padding:0; list-style:none; }
.guide-card { display:block; height:100%; padding:24px; border:1px solid var(--border-subtle); border-radius:18px; background:var(--bg-surface-card); color:var(--text-primary); text-decoration:none; transition:border-color .15s, transform .15s; }
.guide-card:hover { border-color:var(--teal); color:var(--text-primary); transform:translateY(-2px); }
.guide-card .tag { color:var(--teal); text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:800; }
.guide-card h2 { margin:12px 0 10px; font-size:23px; font-weight:500; line-height:1.15; letter-spacing:-.025em; }
.guide-card p { margin:0; color:var(--text-muted); font-size:15px; }
.guide-card .more { display:inline-block; margin-top:16px; color:var(--amber); font-size:14px; font-weight:800; }

.footer { margin-top:40px; padding:30px 0 50px; display:flex; justify-content:space-between; gap:15px; border-top:1px solid var(--border-subtle); color:var(--text-muted); font-size:12px; }
.footer > div { display:flex; gap:18px; flex-wrap:wrap; }
.footer strong { color:var(--text-primary); }
.footer a { color:var(--text-muted); text-decoration:none; }
.footer a:hover { color:var(--teal); }

@media (max-width:650px) {
  .shell { padding:0 16px; }
  .crumbs { padding-top:22px; }
  .lead { font-size:17px; }
  .article p, .article li { font-size:16px; }
  .summary, .cta-box { padding:20px; }
  .footer { flex-direction:column; }
}

.cta-inline { margin:34px 0 10px; padding:22px 24px; border:1px solid rgba(245,165,36,.45); border-radius:16px; background:rgba(245,165,36,.08); }
.cta-inline p { margin-bottom:14px; font-size:16px !important; }
