/* honkboard.com's guides (/guides and the pages it lists): readable articles on top of home.css's look (colours,
   top bar, buttons, questions, the final call to action, footer). */
.guide { max-width: 760px; margin: 0 auto; padding-top: 24px; }
.crumbs { color: var(--muted); font-size: 14px; font-weight: 700; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.guide h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.08; margin: 10px 0 14px; }
.guide h1 em { font-style: normal; color: var(--accent); }
.guide .lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.guide .lede b { color: var(--text); }
.guide .about { margin-top: 12px; color: var(--muted); font-size: 14px; opacity: 0.9; }
.guide .about a { color: var(--pro-ink); }
.guide > .cta { justify-content: flex-start; margin: 22px 0 8px; }

.guide section { padding-top: 48px; }
.guide h2 { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 12px; }
.guide h3 { font-size: 19px; margin: 22px 0 6px; }
.guide section > p, .guide section > ul { color: var(--muted); }
.guide section > p + p { margin-top: 12px; }
.guide section b, .guide li b { color: var(--text); }
.guide ul { padding-left: 22px; line-height: 1.6; }
.guide li + li { margin-top: 6px; }
.guide kbd { font: 700 14px "Nunito", sans-serif; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }

/* Numbered steps */
ol.how { list-style: none; counter-reset: how; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
ol.how > li { counter-increment: how; position: relative; padding: 18px 20px 18px 66px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
ol.how > li::before { content: counter(how); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font: 600 16px "Fredoka", sans-serif; }
ol.how > li > b:first-child { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }

/* A tip, a heads-up */
.tip { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: rgb(63 207 124 / 0.08); border: 1px solid rgb(63 207 124 / 0.35); color: var(--muted); line-height: 1.55; }
.tip.warn { background: rgb(255 154 46 / 0.08); border-color: rgb(255 154 46 / 0.4); }
.tip b { color: var(--text); }

/* Where the sound goes: your mic, Honkboard adds the sound, everyone hears it */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 18px; }
.flow > div { padding: 16px 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; font-weight: 800; line-height: 1.3; }
.flow > div span { display: block; font-size: 28px; margin-bottom: 6px; }
.flow > div small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 4px; }
.flow > div.hb { border-color: var(--accent); background: linear-gradient(180deg, rgb(255 154 46 / 0.14), var(--panel)); }
.flow > i { color: var(--muted); font-style: normal; font-size: 22px; }

/* Comparisons */
.table { overflow-x: auto; margin-top: 18px; border-radius: 16px; border: 1px solid var(--line); }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--panel-2); font-weight: 800; }
.table tbody th { color: var(--text); font-weight: 700; width: 30%; }
.table td { color: var(--muted); }
.table td.us { color: var(--text); background: rgb(255 154 46 / 0.06); }
.table .note { padding: 10px 14px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

.guide .faq { margin-top: 18px; }

/* Other guides */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 18px; }
.related a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 800; line-height: 1.35; }
.related a small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 3px; }
.related a:hover { border-color: var(--accent); background: var(--panel-2); }
.guides-list h2 { margin-top: 8px; }

.guide + .final { max-width: 760px; margin-left: auto; margin-right: auto; }
.final .icon { width: 72px; height: 72px; }

@media (max-width: 760px) {
  .guide > .cta { justify-content: center; }
  .flow { grid-template-columns: 1fr; }
  .flow > i { justify-self: center; rotate: 90deg; }
  ol.how > li { padding: 16px 16px 16px 58px; }
  ol.how > li::before { left: 14px; }
}
