/* Guides: a reading page on the welcome stylesheet. Long-form, one column,
   a contents list up top, plates for the method and the reference tables. */
.guide { max-width: 760px; margin: 0 auto; padding: var(--s6) var(--gutter) var(--s8); }
.guide .kicker { color: var(--text-dim); font-size: var(--t-sm); margin: 0 0 var(--s2); }
.guide h1 { margin-bottom: var(--s3); }
.guide .lead { margin-bottom: var(--s5); }
.guide h2 { margin-top: var(--s7); margin-bottom: var(--s3); padding-top: var(--s5); border-top: 1px solid var(--line-soft); }
.guide h3 { margin-top: var(--s5); margin-bottom: var(--s2); font-family: var(--font-display); font-weight: 700; font-size: var(--t-h2); color: var(--text); text-shadow: var(--engrave-sm); }
.guide p, .guide li { color: var(--text-body); line-height: 1.6; }
.guide p + p, .guide ul, .guide ol { margin-top: var(--s3); }
.guide ul, .guide ol { padding-left: 1.4em; }
.guide li + li { margin-top: var(--s2); }
.guide strong { color: var(--text); font-weight: 500; }
.guide a { color: var(--sage-text); text-decoration: underline; text-underline-offset: 0.15em; }
.guide .toc { list-style: none; padding: 0; margin: 0 0 var(--s2); columns: 2; gap: var(--s5); }
.guide .toc li { break-inside: avoid; margin: 0 0 var(--s2); }
.guide .toc a { color: var(--text-dim); text-decoration: none; }
.guide .toc a:hover { color: var(--text); }
.guide .plate { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--slate-950); box-shadow: var(--struck); padding: var(--s4); margin-top: var(--s4); }
.guide .plate p { margin: 0; }
.guide .plate p + p { margin-top: var(--s3); }
.guide .plate ol, .guide .plate ul { margin-top: var(--s3); }
.guide .where { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s3); font-size: var(--t-sm); color: var(--text-dim); margin-top: var(--s3); }
.guide .where dt { font-weight: 500; color: var(--text); }
.guide .where dd { margin: 0; }
.guide table { width: 100%; border-collapse: collapse; margin-top: var(--s3); font-size: var(--t-sm); }
.guide th, .guide td { text-align: left; vertical-align: top; padding: var(--s2) var(--s2h); border-bottom: 1px solid var(--line-soft); color: var(--text-body); line-height: 1.45; }
.guide th { color: var(--text); font-weight: 500; }
.guide kbd { font-family: var(--font-body); font-size: 0.9em; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--surface-raised); color: var(--text); }
.guide .foot-nav { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: var(--s3); font-size: var(--t-sm); }
.guide-list { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); }
.guide-list li { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--slate-950); box-shadow: var(--struck); padding: var(--s4); }
.guide-list h2 { margin: 0; padding: 0; border: 0; font-size: var(--t-h2); }
.guide-list p { margin-top: var(--s2); color: var(--text-dim); }
.guide-list a { color: var(--text); text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .guide .toc { columns: 1; }
  .guide .where { grid-template-columns: 1fr; gap: var(--s1); }
  .guide .where dd { margin-bottom: var(--s2); }
}
