/* 🔎 The guide pages (/<topic>.html: plain HTML for search, no script), on top of the app's own stylesheet: its
   colours, buttons and top bar, so they look like the welcome page in light and dark. Only the app's tokens here, no
   colour of its own. The same file in ChefBoy, DressBoy and NovelBoy. */
.gp-top .top-tools { margin-left: auto; }
.gp-top a.btn, .gp a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.gp { max-width: 1040px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 3rem; }
.gp a:not(.btn) { color: var(--accent-text); }
.gp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; color: var(--text-3); }
.gp-crumbs li + li::before { content: "›"; margin-right: .35rem; }
.gp-crumbs a { color: var(--text-2); }
.gp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; margin-bottom: 2.5rem; }
.gp-kicker { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.gp h1 { margin: 0 0 .75rem; font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; color: var(--text); }
.gp-lede { margin: 0 0 1.4rem; font-size: 1.08rem; line-height: 1.55; color: var(--text-2); }
.gp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; }
.btn.gp-go { padding: .8rem 1.35rem; font-size: 1.05rem; }
.gp-cta-note { font-size: .9rem; color: var(--text-3); }
.gp-shot { margin: 0; text-align: center; }
.gp-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); background: var(--surface); }
.gp-shot figcaption { margin-top: .6rem; font-size: .82rem; color: var(--text-3); }
.gp-sec { margin: 0 0 2.5rem; }
.gp h2 { margin: 0 0 .9rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.015em; color: var(--text); }
.gp-intro { margin: -.3rem 0 1rem; max-width: 46rem; line-height: 1.55; color: var(--text-2); }
.gp-steps { list-style: none; counter-reset: gp; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; margin: 0; padding: 0; }
.gp-steps li { counter-increment: gp; position: relative; padding: .95rem 1rem .95rem 3.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); line-height: 1.45; color: var(--text-2); }
.gp-steps li::before { content: counter(gp); position: absolute; left: .9rem; top: .9rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-weight: 800; font-size: .85rem; }
.gp-steps b { display: block; color: var(--text); }
.gp-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; margin: 0; padding: 0; }
.gp-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .3rem .65rem; padding: .85rem .95rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gp-card h3 { margin: 0; font-size: .98rem; line-height: 1.25; color: var(--text); }
.gp-card p { grid-column: 1 / -1; margin: 0; font-size: .9rem; line-height: 1.45; color: var(--text-2); }
.gp-ico { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.gp-ico.app { background: none; }
.gp-ico.app img { display: block; width: 2rem; height: 2rem; border-radius: 50%; }
.gp-prose p, .gp-faq p { max-width: 46rem; margin: 0 0 .9rem; line-height: 1.6; color: var(--text-2); }
.gp-faq h3 { max-width: 46rem; margin: 1.2rem 0 .35rem; font-size: 1.02rem; color: var(--text); }
.gp-faq h2 + h3 { margin-top: 0; }
.gp-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 2.5rem; padding: 1.4rem 1.5rem; background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.gp-end h2 { margin: 0 0 .3rem; }
.gp-end p { margin: 0; color: var(--text-2); }
.gp-more { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .75rem; margin: 0; padding: 0; }
.gp .gp-more a { display: block; height: 100%; box-sizing: border-box; padding: .85rem .95rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; color: var(--text-2); }
.gp .gp-more a:hover { border-color: var(--border-strong); background: var(--surface-2); }
.gp-more b { display: block; margin-bottom: .2rem; color: var(--accent-text); }
.gp-more span { font-size: .9rem; line-height: 1.45; }
.gp-foot { border-top: 1px solid var(--border); padding: 1.25rem clamp(1rem, 4vw, 2rem) 2rem; text-align: center; font-size: .85rem; color: var(--text-3); }
.gp-foot ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin: 0 0 .6rem; padding: 0; }
.gp-foot a { color: var(--text-2); }
.gp-foot a[aria-current] { color: var(--text); font-weight: 700; text-decoration: none; }
.gp-foot p { margin: 0; }
@media (max-width: 760px) {
  .gp-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .gp-shot { max-width: 16rem; margin: 0 auto; }
  .gp-end { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 420px) {
  .gp-cta .btn.gp-go { width: 100%; }
}
@media (max-width: 359px) {
  .gp-top a.btn.gp-top-login { display: none; } /* (Sign up stays) */
}
