/* Styles for the static guide pages. Same palette and fonts as the checklist, light theme only. */
:root {
  --bg: #eef3f3; --surface: #ffffff; --ink: #12282b; --muted: #52686b; --line: #d3dfdf;
  --accent: #0b6e6e; --accent-2: #12a39a; --warm: #d9772b; --accent-ink: #ffffff; --accent-soft: #dcefee;
  --flag-bg: #fcebc8; --flag-ink: #6b3f00;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
h1, h2, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: -0.02em; margin: 6px 0 12px; }
h2 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 10px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--ink); text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: 0.85rem; }

main.wrap { padding-top: 20px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0; }
section { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
section.intro { background: var(--accent-soft); border-color: transparent; }
section.intro h2 { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.sub-h { font-weight: 700; margin-top: 14px; }
.vlabel { font-weight: 700; color: var(--accent); margin: 10px 0 4px; font-size: 0.9rem; }
.note { font-size: 0.9rem; color: var(--muted); }
.hint { font-size: 0.88rem; color: var(--muted); }
.checked { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.links { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.opts { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.opt { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.opt p { font-size: 0.92rem; }
.chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; margin: 6px 6px 0 0; border-radius: 999px; background: var(--accent-soft); font-weight: 600; text-decoration: none; }
.callout { background: var(--flag-bg); border: 1px solid #f0d49a; border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.callout-h { font-weight: 700; color: var(--flag-ink); }

details.state { border-top: 1px solid var(--line); }
details.state:first-of-type { border-top: 0; }
details.state summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
details.state summary::-webkit-details-marker { display: none; }
details.state summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-right: 4px; }
details.state[open] summary::after { transform: rotate(-135deg); }
details.state[open] { padding-bottom: 12px; }

.cta { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 18px; padding: 20px; }
.cta-h { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--accent); font-weight: 700; text-decoration: none; }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pn a { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.pn a span { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.pn a:last-child { text-align: right; }

.guide-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.guide-list a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--ink); }
.guide-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.guide-list span { color: var(--muted); font-size: 0.9rem; }

.foot { font-size: 0.82rem; color: var(--muted); padding-bottom: 32px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
