/* Help section (/help/…) only. Everything else comes from base.css + site.css.
   The pages are written by web/tools/build-help.py. */

.help-hero{padding:clamp(34px,6vw,64px) 0 clamp(20px,3vw,32px)}
.help-hero h1{margin:10px 0 14px;font-size:var(--fs-h1)}
.help-hero .lede{margin:0;max-width:62ch}
.help-hero .crumb{font-size:15.5px;color:var(--txt-3);margin:0 0 18px}
.help-hero .crumb a{color:var(--txt-2)}

/* two columns: the list of sections, then the page */
.help-cols{display:grid;grid-template-columns:230px minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start;padding-bottom:clamp(40px,6vw,72px)}
.help-side{position:sticky;top:98px;max-height:calc(100vh - 118px);overflow:auto}
.help-toc ul{list-style:none;margin:0;padding:0;border-left:1px solid var(--line)}
.help-toc a{display:block;padding:7px 0 7px 16px;margin-left:-1px;border-left:2px solid transparent;color:var(--txt-2);font-size:15.5px;line-height:1.35}
.help-toc a:hover{color:var(--txt);text-decoration:none}
.help-toc a[aria-current]{color:var(--gold);border-left-color:var(--gold)}
@media(max-width:900px){
  .help-cols{grid-template-columns:1fr}
  .help-side{display:none}          /* phones: the crumb at the top and the Before / Next links do this job */
}

.help-main{max-width:780px;min-width:0}
.help-home{max-width:var(--maxw);padding-bottom:clamp(40px,6vw,72px)}
.help-main h2{margin:clamp(34px,5vw,48px) 0 14px;scroll-margin-top:96px}
.help-main>h2:first-child{margin-top:0}
.help-main p,.help-main li{color:var(--txt-2)}
.help-main p b,.help-main li b{color:var(--txt);font-weight:600}
.help-main ul,.help-main ol{padding-left:22px;margin:0 0 1em}
.help-main li{margin:6px 0}
.help-home section{max-width:780px}
.help-home section.help-cards{max-width:none}

/* words the app itself shows */
q.msg{quotes:"“" "”";color:var(--txt);font-style:normal}

/* ---- the contents page ---- */
.help-cards .cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.hcard{display:grid;grid-template-columns:38px 1fr;gap:2px 14px;align-items:start;padding:18px 20px;background:var(--ink-2);
  border:1px solid var(--line);border-radius:var(--r);color:var(--txt-2);font-size:16px;line-height:1.45}
.hcard:hover{border-color:var(--gold-dim);text-decoration:none;background:var(--ink-3)}
.hcard .n{grid-row:1 / span 2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:16px;
  color:var(--gold);background:rgba(232,181,103,.13);border:1px solid rgba(232,181,103,.3)}
.hcard b{color:var(--txt);font-size:18px;font-weight:600}

/* ---- screenshots ---- */
.shot{margin:22px 0 30px}
.shot a{display:block;border:1px solid var(--line-2);border-radius:var(--r);overflow:hidden;background:#0b0d12;box-shadow:var(--shadow)}
.shot img{width:100%;height:auto}
.shot.narrow{max-width:460px}
.legend{list-style:none;counter-reset:mark;margin:16px 0 0 !important;padding:0 !important;display:grid;gap:10px}
.legend li{counter-increment:mark;position:relative;padding-left:42px;margin:0;font-size:17px;line-height:1.5}
/* the same gold disc as the marker in the picture */
.legend li::before{content:counter(mark);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;
  background:var(--gold);color:#1a1204;font:700 15px/28px Helvetica,Arial,sans-serif;text-align:center}

/* ---- questions that open ---- */
.faq details{border-top:1px solid var(--line);padding:14px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px;color:var(--txt)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold);font-weight:300;font-size:23px;line-height:1;flex:none}
.faq details[open] summary::after{content:"–"}
.faq p{margin:10px 0 0;font-size:17px}
.faq ul{margin:10px 0 0;font-size:17px}

.jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.jump a{padding:7px 14px;border:1px solid var(--line-2);border-radius:999px;font-size:15px;color:var(--txt-2);background:var(--ink-2)}
.jump a:hover{color:var(--txt);border-color:var(--gold-dim);text-decoration:none}

/* ---- before / next ---- */
.help-step{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:clamp(36px,5vw,52px) 0 0}
.help-step a{display:grid;gap:3px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:var(--ink-2);font-size:15px}
.help-step a b{color:var(--txt);font-size:17px;font-weight:600}
.help-step a.next{text-align:right}
.help-step a:hover{border-color:var(--gold-dim);text-decoration:none}
@media(max-width:520px){.help-step{grid-template-columns:1fr}.help-step a.next{text-align:left}}

/* ---- the support box ---- */
.help-support{margin:clamp(30px,5vw,44px) 0 0;padding:22px 24px;border:1px solid var(--line);border-radius:var(--r);background:var(--ink-2);
  display:flex;gap:18px 28px;align-items:center;justify-content:space-between;flex-wrap:wrap;max-width:780px}
.help-support div{flex:1 1 300px}
.help-support p{margin:8px 0 0;font-size:16.5px}
.help-support .btn{flex:none;max-width:100%;white-space:normal;text-align:center;line-height:1.25}
@media(max-width:520px){.help-support .btn{width:100%;font-size:15.5px;padding:13px 14px}}
