/* Guides (static pages, see src/guides/render.ts). Same colours as the app (src/styles/_tokens.scss). */
:root {
  --bg: #f6f5f2; --card: #ffffff; --text: #1d1d1b; --muted: #6b6a66; --line: #e4e2dc;
  --accent: #2f5d50; --accent-ink: #ffffff; --accent-soft: #e3eeea; --warn-bg: #fdf3dc; --warn-ink: #7a5300;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615; --card: #1f1f1d; --text: #ecebe6; --muted: #9c9a93; --line: #34332f;
    --accent: #7cc1ab; --accent-ink: #10201b; --accent-soft: #23352f; --warn-bg: #3a2f17; --warn-ink: #f2d38b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; }
a { color: var(--accent); }
.top, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 8px; }
.brand { color: var(--text); display: inline-flex; margin-right: auto; }
.brand svg { height: 28px; width: auto; }
.langs { display: flex; gap: 2px; font-size: 14px; }
.langs a { padding: 4px 8px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.langs a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.open { font-size: 14px; font-weight: 600; text-decoration: none; }
main { padding-top: 12px; padding-bottom: 40px; }
.crumbs { font-size: 14px; margin-bottom: 4px; }
h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
.lead { font-size: 19px; color: var(--muted); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.tip { background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 12px 16px; }
.guides { list-style: none; padding: 0; }
.guides li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 10px 0; }
.guides a { font-weight: 600; font-size: 18px; text-decoration: none; display: block; }
.guides span { color: var(--muted); font-size: 15px; }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px 20px; margin-top: 40px; }
.cta h2 { margin-top: 18px; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 8px; }
.disclaimer { color: var(--muted); font-size: 14px; margin-top: 28px; }
footer { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; padding-bottom: 40px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  .open { display: none; }
}
/* Ad units (only with AdSense configured). Space is reserved so the text doesn't jump when an ad loads. */
.ad { margin: 28px 0; min-height: 140px; }
.ad-label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
