/* Guides and About: extends the live site's styles.css (tokens, header, footer, .doc, .card, .faq). */

.crumbs { width: min(820px, 100% - 64px); margin: 26px auto 0; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b9c3b5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }

.guide.doc { margin-top: 14px; }
.guide .eyebrow { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.guide h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.disclosure { font-size: 14px; color: var(--muted); margin: 0 0 4px; }

.answer { background: linear-gradient(130deg, #eaf1e7, #f7faf6); border: 1px solid #fff; border-left: 4px solid var(--green); border-radius: 18px; padding: 18px 22px; margin: 26px 0 30px; }
.answer h2 { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 4px 0 10px; }
.answer p { margin: 0 0 8px; }
.answer ul { margin: 6px 0 4px; padding-left: 20px; }

.toc { border: 1px solid var(--line); border-radius: 18px; padding: 14px 20px; margin: 0 0 30px; font-size: 15px; }
.toc strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.guide table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table-wrap.wide table { min-width: 640px; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.guide thead th { background: #f4f8f1; font-weight: 600; font-size: 14px; }
.guide tbody tr:last-child td { border-bottom: 0; }
.guide td.yes { color: var(--green); font-weight: 600; }
.guide td.no { color: var(--pink); font-weight: 600; }
.guide caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 13px; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 26px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 16px 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 32px; height: 32px; border-radius: 50%; background: var(--wash); color: var(--green); font-weight: 600; display: grid; place-items: center; font-size: 15px; }

.note { border-radius: 18px; padding: 14px 18px; margin: 18px 0 24px; font-size: 16px; background: var(--peach-wash); }
.note.tip { background: var(--wash-2); border: 1px solid var(--line); }
.note strong:first-child { display: block; margin-bottom: 2px; }

.shot { display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 24px; align-items: center; margin: 26px 0; }
.shot img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px -26px rgba(13,33,22,.45); }
.shot figcaption { font-size: 15px; color: var(--muted); }

.app-cta { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center; background: #0d2116; color: #fff; border-radius: 24px; padding: 20px 22px; margin: 30px 0; }
.app-cta img { width: 56px; height: 56px; border-radius: 14px; grid-row: span 2; }
.app-cta p { margin: 0; color: #dfe9dc; font-size: 15px; line-height: 1.5; }
.app-cta p strong { color: #fff; font-size: 17px; }
.app-cta a.button { grid-column: 2; justify-self: start; margin-top: 8px; background: #fff; color: #0d2116; text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.app-cta a.button:hover { background: #eaf1e7; }

.sources { font-size: 14px; color: var(--muted); }
.sources ol { padding-left: 20px; }
.sources li { margin-bottom: 6px; }

.guide .related, .guide .hub-list { padding: 0; margin-left: 0; list-style: none; }
.related { display: grid; gap: 12px; }
.related a { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; text-decoration: none; color: var(--ink); background: #fff; }
.related a:hover { border-color: var(--green); }
.related span { display: block; color: var(--muted); font-size: 14px; }

.guide .faq { margin: 18px 0 26px; }
.guide .faq summary { font-size: 16px; }
.guide .faq p { margin: 0 0 18px; }

.small-print { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 34px; }

.hub-list { list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0; }
.hub-list a { display: block; border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; text-decoration: none; color: var(--ink); background: #fff; }
.hub-list a:hover { border-color: var(--green); }
.hub-list strong { display: block; font-size: 18px; margin-bottom: 4px; }
.hub-list span { color: var(--muted); font-size: 15px; }

.facts { width: 100%; border-collapse: collapse; }
.facts th { width: 34%; font-weight: 600; }

@media (max-width: 640px) {
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: auto; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
  .facts td { padding-top: 4px; }
  .byline { gap: 0 12px; }
  .crumbs { width: calc(100% - 32px); }
  .guide.doc, .about.doc { padding: 28px 20px 30px; }
  .shot { grid-template-columns: 1fr; }
  .shot img { max-width: 240px; }
  .guide table { font-size: 14px; }
}
