/* How-to guides (chartside.app/how-to/...). Built on the site's primitives, /free-tools/tools.css (wash hero, chips, scenes,
   closing band) and /vs/compare.css (tool card, questions). */
.ht-figure { max-width: 640px; margin: var(--s6) auto 0; background: #fff; border: 1px solid #BFE6E0; border-radius: 22px; padding: 14px; box-shadow: 0 0 0 4px rgba(43,179,163,.10), 0 24px 60px rgba(15,122,110,.16); }
.ht-figure .tool-thumb { margin: 0; }

/* numbered steps on a rail */
.ht-steps { list-style: none; max-width: 780px; margin: var(--s5) auto 0; padding: 0; display: grid; gap: 14px; text-align: left; position: relative; }
.ht-steps::before { content: ""; position: absolute; left: 43px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(180deg, #BFE6E0, #CDE5EE); }
.ht-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; background: #fff; border: 1px solid var(--hairline); border-radius: 20px; padding: 20px 24px 20px 22px;
  box-shadow: 0 10px 30px rgba(16,35,46,.05); transition: transform .32s cubic-bezier(.32,.72,.25,1), box-shadow .32s ease, border-color .32s ease; }
.ht-step:hover { transform: translateY(-3px); border-color: #BFE6E0; box-shadow: 0 20px 44px rgba(15,122,110,.12); }
.ht-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--display); font-weight: 800; font-size: 1.125rem; color: var(--teal-deep);
  background: linear-gradient(135deg, #E3F4F2, #DCEBF5); box-shadow: 0 0 0 5px #fff, inset 0 0 0 1px rgba(15,122,110,.14); }
.ht-step p { margin: 6px 0 0; font-size: 1rem; line-height: 1.6; color: var(--body); }
@media (max-width: 560px) { .ht-steps::before { left: 37px; } .ht-step { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 16px; } .ht-num { width: 38px; height: 38px; font-size: 1rem; } }

/* the index: one block per group, an illustration beside its guides */
.ht-group { max-width: 980px; margin: var(--s6) auto 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s5); align-items: start; background: #fff; border: 1px solid var(--hairline); border-radius: 24px; padding: 18px; box-shadow: 0 24px 60px rgba(16,35,46,.08); text-align: left; }
.ht-group:nth-of-type(even) .ht-group__art { order: 2; }
.ht-group__art { position: sticky; top: 96px; }
.ht-group__art .tool-thumb { margin: 0; }
.ht-group__body { padding: 8px 8px 8px 4px; }
.ht-group:nth-of-type(even) .ht-group__body { padding: 8px 4px 8px 12px; }
.ht-group__line { margin: 6px 0 var(--s3); color: var(--body); }
.ht-items { display: grid; gap: 8px; }
.ht-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9375rem; line-height: 1.35; background: #FBFCFC; border: 1px solid var(--hairline); border-radius: 14px; padding: 12px 14px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.ht-item__go { flex: none; color: var(--teal-deep); transition: transform .18s ease; }
.ht-item:hover { background: var(--teal-tint); border-color: #BFE6E0; transform: translateX(3px); }
.ht-item:hover .ht-item__go { transform: translateX(3px); }
@media (max-width: 760px) { .ht-group { grid-template-columns: 1fr; gap: var(--s3); } .ht-group:nth-of-type(even) .ht-group__art { order: 0; } .ht-group__art { position: static; } .ht-group__body, .ht-group:nth-of-type(even) .ht-group__body { padding: 4px 6px 6px; } }
@media (prefers-reduced-motion: reduce) { .ht-step, .ht-item, .ht-item__go { transition: none; } .ht-step:hover, .ht-item:hover, .ht-item:hover .ht-item__go { transform: none; } }

/* answer pages (2026-11-17): a comparison table inside a question card */
.ans-table { margin: var(--s3) 0 0; box-shadow: none; border-radius: 14px; max-width: none; }
.ans-table .vs-table { font-size: .875rem; }
.ans-table .vs-table thead th, .ans-table .vs-table tbody th, .ans-table .vs-table td { padding: 12px 14px; width: auto; }
.ans-table--plain .vs-table thead th:nth-child(2) { background: #FBFCFC; color: var(--ink); }
.ans-table--plain .vs-table td:nth-child(2) { background: none; color: var(--body); }
.ans-table--plain .vs-table td:nth-child(2)::before { color: var(--muted); }
