/* guest-howto.css — How it works guide (theme tokens from _critical.css, components from theme.css) */
html{scroll-behavior:smooth}
.hw-hero h1{margin-bottom:8px}
.hw-toc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;margin-top:8px}
.hw-toc-grid a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--r);color:var(--text);text-decoration:none;font-weight:600;border:1px solid var(--border-soft);transition:var(--ease)}
.hw-toc-grid a:hover{border-color:var(--gold-line);background:var(--gold-soft)}
.hw-toc-grid a span,.hw-num{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--gold-soft);color:var(--gold-light);font-size:12px;font-weight:800}
.hw-sec{scroll-margin-top:calc(var(--nav-h) + 12px);padding:var(--sp-6) 0 var(--sp-4);border-bottom:1px solid var(--border-soft)}
.hw-sec-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:var(--sp-4)}
.hw-num{width:34px;height:34px;font-size:15px;margin-top:2px}
.hw-sec h2{font-size:var(--fs-xl);margin-bottom:4px}
.hw-sec p,.hw-sec span{line-height:1.6}
.hw-steps{list-style:none;counter-reset:s;display:grid;gap:10px;margin-bottom:var(--sp-4)}
.hw-steps li{counter-increment:s;position:relative;padding:14px 16px 14px 56px;background:var(--card-grad);border:1px solid var(--border);border-radius:var(--r-lg)}
.hw-steps li::before{content:counter(s);position:absolute;left:16px;top:14px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--gold-grad);color:var(--text-on-gold);font-weight:800;font-size:13px}
.hw-steps b{display:block;font-size:15px;margin-bottom:3px}
.hw-steps span{color:var(--text-muted);font-size:14px}
.hw-defs{display:grid;gap:8px;margin-bottom:var(--sp-4)}
.hw-defs>div,.hw-date{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:12px 16px;background:var(--card-grad);border:1px solid var(--border);border-radius:var(--r-lg)}
.hw-defs>div>b{color:var(--gold-light)}
.hw-defs span,.hw-date span{color:var(--text-muted);font-size:14px}
.hw-defs span b{color:var(--text)}
.hw-dates{display:grid;gap:8px}
.hw-date{grid-template-columns:70px 1fr;align-items:center}
.hw-date b{font-size:var(--fs-xl);font-weight:800;color:var(--gold-light)}
.hw-tip{margin-bottom:var(--sp-3)}
.hw-top{display:inline-block;font-size:12.5px;color:var(--text-muted);text-decoration:none;margin-top:4px}
.hw-top:hover{color:var(--gold)}
.hw-faq details{background:var(--card-grad);border:1px solid var(--border);border-radius:var(--r-lg);padding:14px 16px;margin-bottom:8px}
.hw-faq summary{cursor:pointer;font-weight:700;font-size:15px}
.hw-faq details[open] summary{color:var(--gold-light);margin-bottom:8px}
.hw-faq p{color:var(--text-muted);font-size:14px}
.hw-band{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:var(--sp-6);flex-wrap:wrap}
.hw-band h2{margin-bottom:6px}

@media (max-width:600px){
  .hw-defs>div{grid-template-columns:1fr;gap:4px}
  .hw-steps li{padding-left:50px}
  .hw-sec h2{font-size:var(--fs-lg)}
  .hw-band{flex-direction:column;align-items:stretch}
}

/* Full-width layout: sticky contents sidebar + guide body */
.hw-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:var(--sp-6);align-items:start}
.hw-layout .hw-toc{position:sticky;top:calc(var(--nav-h) + 16px);margin:0}
.hw-layout .hw-toc-grid{grid-template-columns:1fr}
.hw-body{max-width:900px;min-width:0}
.hw-body>.hw-sec:first-child{padding-top:0}
@media (max-width:900px){
  .hw-layout{grid-template-columns:1fr;gap:var(--sp-4)}
  .hw-layout .hw-toc{position:static}
  .hw-layout .hw-toc-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
}
