/* Guide pages (added 2026-11-22). Loaded after style.css; reuses its colour and spacing tokens. */

.guide-hero { padding: 56px 0 28px; border-bottom: 1px solid var(--line); }
.guide-hero .eyebrow { margin-bottom: 12px; }
.guide-hero h1 { max-width: 22ch; }
.guide-hero .lead { max-width: 62ch; margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); }
.guide-meta { margin-top: 16px; font-size: .9rem; color: var(--ink-faint); }

.crumbs { padding-top: 20px; font-size: .88rem; color: var(--ink-faint); }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--brand); }

.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 64px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .92rem; }
.toc h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; }
.toc li a:hover { color: var(--brand); border-left-color: var(--brand); }

.guide-body { max-width: 72ch; }
.guide-body > section + section { margin-top: 44px; }
.guide-body h2 { font-size: 1.5rem; margin-bottom: 14px; scroll-margin-top: 96px; }
.guide-body h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.guide-body p, .guide-body li { color: var(--ink-soft); line-height: 1.7; }
.guide-body p + p { margin-top: 12px; }
.guide-body ul { padding-left: 1.2em; margin-top: 10px; }
.guide-body ul li + li { margin-top: 6px; }
.guide-body .src { margin-top: 10px; font-size: .86rem; color: var(--ink-faint); }

.check-list { list-style: none; padding: 0 !important; margin-top: 14px; }
.check-list > li { position: relative; padding: 16px 18px 16px 52px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.check-list > li + li { margin-top: 10px; }
.check-list > li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border: 2px solid var(--brand); border-radius: 5px; }
.check-list strong { display: block; color: var(--ink); margin-bottom: 4px; }
.check-list .when { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-tint); border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }

.tip-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: .95rem; margin-right: 10px; vertical-align: middle; }

.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.guide-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.guide-table th { background: var(--sand); color: var(--ink); font-weight: 600; white-space: nowrap; }
.guide-table tr:last-child td { border-bottom: 0; }

.note { margin-top: 16px; padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--accent-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); font-size: .95rem; }
.note strong { color: var(--ink); }

.disclaimer { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-faint); }

.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 36px 0 64px; }
.guide-card { display: block; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: border-color .15s; }
.guide-card:hover { border-color: var(--brand); }
.guide-card h2 { font-size: 1.25rem; margin-bottom: 8px; color: var(--ink); }
.guide-card p { color: var(--ink-soft); }
.guide-card .more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
    .guide-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
    .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
    .guide-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .guide-hero { padding-top: 36px; }
    .check-list > li { padding-left: 46px; }
    .check-list > li::before { left: 15px; }
}
