/* Guides and landing pages (VISUAL-SPEC W8, W9). Colours and type from /tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; }
.page { max-width: 680px; margin: 0 auto; padding: 0 20px 48px; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: var(--ls-tight); text-decoration: none; color: var(--text); }
.wordmark span { color: var(--accent); }
.top a.link { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--text); }
h1 { font-size: var(--fs-display); line-height: 1.2; font-weight: 800; letter-spacing: var(--ls-tight); margin: 16px 0 8px; }
h2 { font-size: var(--fs-h2); font-weight: 700; margin: 32px 0 8px; }
p, li { color: var(--text-secondary); }
.lead { font-size: 17px; }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; margin: 16px 0; }
.card.cta { background: var(--surface-muted); border-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-md); font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.ink { background: var(--ink); color: var(--on-ink); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
ol.steps { padding-left: 20px; }
ol.steps li { margin: 8px 0; }
.frame { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-table); }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--divider); border-right: 1px solid var(--divider); text-align: left; white-space: nowrap; }
th:last-child, td:last-child { border-right: 0; }
tr:last-child td { border-bottom: 0; }
th { background: var(--surface-subtle); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--text-muted); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.flag { background: var(--flag-check-bg); box-shadow: inset 3px 0 0 var(--flag-check-bar); }
details { border-bottom: 1px solid var(--divider); padding: 12px 0; }
summary { font-weight: 700; cursor: pointer; color: var(--text); }
ul.guides { list-style: none; padding: 0; }
ul.guides li { margin: 0; }
ul.guides a { display: block; padding: 16px 0; border-bottom: 1px solid var(--divider); text-decoration: none; color: var(--text); font-weight: 700; }
ul.guides span { display: block; font-weight: 400; color: var(--text-muted); font-size: 14px; }
.foot { margin-top: 48px; text-align: center; font-size: 13px; color: var(--text-muted); }
.foot a { color: inherit; }
.note { font-size: 14px; color: var(--text-muted); margin-top: -4px; }
