/* Jugazo Help Centre — guide-specific styles.
   Loaded AFTER ../css/style.css (the site's locked brand tokens, nav, footer, .page-hero, .wrap).
   Every rule here is prefixed `.help-` or scoped under `body.help`, so nothing leaks into (or is
   overridden by) the marketing pages. Tokens come from style.css's :root — don't redefine them. */

/* Larger base type for low-confidence readers; the site's own reset zeroes margins/list styles. */
body.help { font-size: 1.125rem; }
body.help main { padding-bottom: 3rem; }
.help-wrap { max-width: 880px; }
body.help [hidden] { display: none !important; }
body.help a:focus-visible,
body.help button:focus-visible,
body.help input:focus-visible {
  outline: 3px solid var(--verd);
  outline-offset: 2px;
}

/* ── Header band (index + guide pages share the site's .page-hero) ── */
.help-hero .crumb a { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.help-hero h1 { font-family: var(--font-display); line-height: 1.12; margin-top: .4rem; }
.help-hero .help-meta { color: var(--text-on-dark); margin-top: .9rem; font-size: .95rem; }

/* ── Role tags ── */
.help-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; padding: .2rem .7rem; border-radius: 999px;
  background: var(--chalk-dim); color: var(--nocturne);
}
.help-tag.club { background: var(--amatista); color: #fff; }
.help-tag.coach { background: var(--verd); color: var(--nocturne); }
.help-tag.family { background: #E9DDF9; color: var(--nocturne); }
.help-tag.start { background: var(--nocturne); color: var(--chalk); }
.page-hero .help-tag { margin-bottom: .5rem; }

/* ── Index: search, role filter, cards ── */
.help-controls {
  margin: -2rem auto 1.5rem; position: relative; background: #fff; border-radius: var(--radius-md, 14px);
  padding: 1.1rem; box-shadow: 0 8px 28px rgba(30, 21, 51, .14);
}
.help-controls label { display: block; font-weight: 600; margin-bottom: .4rem; }
.help-search {
  width: 100%; font: inherit; padding: .85rem 1rem; border: 2px solid var(--border-light, #E1DCE8);
  border-radius: 10px; background: #fff; color: var(--ink);
}
.help-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.help-filters button {
  font: inherit; font-weight: 600; padding: .55rem 1rem; min-height: 44px; border-radius: 999px;
  border: 2px solid var(--amatista); background: #fff; color: var(--amatista); cursor: pointer;
}
.help-filters button[aria-pressed="true"] { background: var(--amatista); color: #fff; }
.help-section-title { font-family: var(--font-display); font-size: 1.15rem; margin: 2rem 0 .8rem; }
.help-grid { display: grid; gap: .9rem; }
.help-card {
  display: block; background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; color: inherit;
  border: 2px solid transparent; min-height: 44px;
}
.help-card:hover, .help-card:focus-visible { border-color: var(--amatista); }
.help-card h3 { font-family: var(--font-display); margin: .4rem 0 .25rem; font-size: 1.15rem; }
.help-card p { margin: 0; color: #55505f; font-size: .95rem; }
.help-empty { display: none; padding: 1.5rem; text-align: center; color: #55505f; }
@media (min-width: 700px) { .help-grid { grid-template-columns: 1fr 1fr; } }

/* ── Guide page ── */
.help-draft {
  background: #FBF0E4; border: 1px solid #EAD3AF; border-left: 6px solid #E0A800; color: #5C3F16;
  padding: .85rem 1.1rem; border-radius: 10px; margin: 1.4rem 0; font-size: .92rem;
}
.help-steps { list-style: none; counter-reset: step; margin: 1.6rem 0; padding: 0; }
.help-steps > li {
  counter-increment: step; position: relative; background: #fff; border-radius: 14px;
  padding: 1.1rem 1.3rem 1.1rem 4.3rem; margin-bottom: .9rem;
}
.help-steps > li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; background: var(--amatista); color: #fff; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600;
}
.help-steps h2 { font-family: var(--font-display); font-size: 1.12rem; margin: 0 0 .25rem; }
.help-steps p { margin: 0 0 .5rem; }
.help-steps ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 .5rem; }
@media (max-width: 520px) {
  .help-steps > li { padding: 4.1rem 1rem 1rem; }
  .help-steps > li::before { left: 1rem; top: 1rem; }
}
.help-shot { margin: .7rem 0 0; }
.help-shot img {
  width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 8px;
  border: 1px solid var(--border-light, #E1DCE8); box-shadow: 0 4px 16px rgba(30, 21, 51, .15);
}
.help-shot figcaption { font-size: .82rem; color: #55505f; text-align: center; margin-top: .5rem; }
.help-tip {
  background: #E8F8EF; border-left: 6px solid var(--verd); padding: .85rem 1.1rem; border-radius: 10px;
  margin: 1.6rem 0;
}
.help-pager { display: flex; justify-content: space-between; gap: .8rem; margin: 2rem 0 1rem; flex-wrap: wrap; }
.help-pager a { font-weight: 600; color: var(--amatista); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.help-video { margin: 1.6rem 0; }
.help-video video { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 14px; background: var(--nocturne); }
.help-video figcaption { font-size: .9rem; color: #55505f; margin-top: .6rem; text-align: center; }
.help-body a { color: var(--amatista); text-decoration: underline; text-underline-offset: 3px; }

/* ── Printable cards (index) ── */
.help-print { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light, #E1DCE8); }
.help-print p { margin: .4rem 0 1rem; color: #55505f; }
.help-print ul { display: grid; gap: .6rem; }
.help-print a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: #fff;
  border-radius: 12px; padding: .8rem 1.1rem; min-height: 44px; font-weight: 600; border: 2px solid transparent;
}
.help-print a:hover, .help-print a:focus-visible { border-color: var(--amatista); }
.help-print a span { font: 500 .8rem var(--font-mono); color: #55505f; white-space: nowrap; }
