/* Step-by-step guides with screenshots: /guides/how-to-book and /admin/guide/.
   Each step is text beside a phone screenshot; the numbers in the picture match the list under it.
   Screenshots are made by scripts/guide-shots.mjs. */
.guide { padding-block:40px 80px; display:grid; gap:40px }
.guide .intro { max-width:72ch; display:grid; gap:14px }
.guide h1 { font-size:clamp(40px,8vw,72px); line-height:.95 }
.guide h2 { font-size:clamp(26px,4vw,34px) }
.guide p, .guide li { color:var(--fg); line-height:1.6 }
.guide .muted { color:var(--mfg) }
.guide a:not(.btn) { color:var(--act) }
.guide ul.plain { margin:0; padding-left:22px; display:grid; gap:8px }

.guide .toc { border:1px solid var(--bd); border-radius:var(--r); background:var(--sf); padding:16px 18px; max-width:72ch }
.guide .toc ol { margin:8px 0 0; padding-left:22px; columns:2 220px; column-gap:28px }
.guide .toc li { padding-block:3px; break-inside:avoid }

.guide .part { display:grid; gap:28px; padding-top:8px; border-top:1px solid var(--bd) }
.guide .part > h2 { padding-top:20px }
.guide .step { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,360px); gap:20px 36px; align-items:start; scroll-margin-top:84px }
.guide .step .txt { display:grid; gap:10px; max-width:60ch }
.guide .step h3 { font-size:24px; display:flex; gap:10px; align-items:baseline }
.guide .step h3 .sn { font-size:15px; color:var(--mfg); font-family:inherit; font-weight:600; letter-spacing:.04em }
.guide .shot { margin:0; border:1px solid var(--bd); border-radius:18px; overflow:hidden; background:var(--sf); box-shadow:0 1px 2px rgb(0 0 0 / .04) }
.guide .shot img { display:block; width:100%; height:auto }

/* The numbers under a screenshot: the same dark circles as in the picture. */
.guide ol.keys { list-style:none; margin:0; padding:0; display:grid; gap:8px }
.guide ol.keys li { display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:baseline }
.guide ol.keys li > i { font-style:normal; width:22px; height:22px; border-radius:50%; background:var(--fg); color:var(--bg); font:700 12px/22px system-ui,sans-serif; text-align:center; transform:translateY(-1px) }

.guide .note { border-left:2px solid var(--act); padding-left:12px; color:var(--mfg) }
.guide .cta { border:1px solid var(--bd); border-radius:var(--r); background:var(--sf); padding:20px; display:grid; gap:10px; max-width:72ch }

@media (max-width:760px) {
  .guide .step { grid-template-columns:minmax(0,1fr) }
  .guide .shot { max-width:390px }
}

/* The guides index: one card per guide, newest first. */
.guide .posts { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px }
.guide a.post { border:1px solid var(--bd); border-radius:var(--r); background:var(--sf); padding:20px; display:grid; gap:10px; align-content:start; text-decoration:none; color:inherit }
.guide a.post:hover { border-color:var(--act) }
.guide .post h2 { font-size:28px }
.guide .post .more { color:var(--act); font-weight:600 }
.guide .crumb { font-size:14px; color:var(--mfg) } .guide .crumb a { color:var(--mfg) }
