/* Support / help center. Page-only styles; tokens come from /style.css. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* hero */
.help-hero { min-height: 52vh; }
.help-hero .wrap { padding: 96px 20px 56px; }
.help-hero .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .4em; }
.help-hero .meta { max-width: 620px; font-size: 1.05rem; color: var(--sand); }
.help-search { margin: 26px 0 0; max-width: 620px; }
.help-search input {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--sand);
  background: rgba(10,20,32,.82); border: 2px solid var(--brass); border-radius: 14px;
  padding: 14px 18px; outline: none; box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.help-search input::placeholder { color: var(--mist); }
.help-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,211,77,.3), 0 8px 28px rgba(0,0,0,.4); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 820px; }
.topic-chips a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700;
  color: var(--sand); background: rgba(10,20,32,.72); border: 1px solid rgba(201,150,46,.7);
  text-shadow: none;
}
.topic-chips a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* contact */
.help-contact { position: relative; padding: 80px 0; }
.help-contact .lede { max-width: 760px; color: var(--mist); }
.contact-grid { margin-top: 26px; }
.contact-card { display: flex; flex-direction: column; border-color: rgba(201,150,46,.55); background: rgba(22,40,58,.85); }
.contact-card .pad { display: flex; flex-direction: column; height: 100%; }
.contact-card .kicker { color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.contact-card h3 { margin: .3em 0 .2em; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-card p { flex: 1; }
.contact-card .btn { align-self: flex-start; margin: 10px 0 0; padding: 11px 22px; font-size: .98rem; }
.id-callout {
  margin-top: 26px; padding: 18px 22px; border-radius: 14px;
  background: rgba(10,20,32,.6); border: 2px solid var(--brass);
}
.id-callout h3 { margin: 0 0 .3em; }
.id-callout p { margin: 0; color: var(--mist); }
.id-callout code, .help-main code { background: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--sand); font-size: .92em; }

/* FAQ layout: sticky topic list beside the answers */
.help-faq { padding: 80px 0 90px; }
.help-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; align-items: start; }
.help-side { position: sticky; top: 86px; padding: 18px 18px 14px; border-radius: 14px; background: rgba(22,40,58,.7); border: 2px solid var(--line); }
.help-side .side-title { margin: 0 0 6px; color: var(--gold); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.help-side ul { list-style: none; }
.help-side li { margin: 0; }
.help-side a { display: block; padding: 6px 0; color: var(--mist); font-weight: 700; font-size: .93rem; border-bottom: 1px solid rgba(46,66,86,.5); }
.help-side li:last-child a { border-bottom: 0; }
.help-side a:hover, .help-side a.here { color: var(--gold); text-decoration: none; }
.help-main { min-width: 0; max-width: 820px; }
.faq-group { margin: 0 0 44px; scroll-margin-top: 80px; }
.faq-group h2 { border-bottom: 1px solid var(--line); padding-bottom: .25em; }
.help-main details { scroll-margin-top: 80px; background: rgba(22,40,58,.85); transition: border-color .2s ease; }
.help-main details:hover { border-color: rgba(201,150,46,.6); }
.help-main details[open] { border-color: var(--brass); }
.help-main details summary { list-style: none; position: relative; padding-right: 46px; }
.help-main details summary::-webkit-details-marker { display: none; }
.help-main details summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.help-main details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.help-main details summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 10px; }
.help-main details .a { padding: 8px 18px 14px; }
.help-main details .a p { padding: 0; margin: .55em 0; }
.help-main details .a ul, .help-main details .a ol { margin: .55em 0 .55em 1.3em; }
.help-main details .a li { margin: .3em 0; }
.help-main details.hit summary { color: var(--gold); }
.no-results { background: var(--panel); border-left: 4px solid var(--brass); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--mist); }

/* bug report band */
.report-band { min-height: 0; padding: 90px 0; scroll-margin-top: 60px; }
.report-panel {
  max-width: 780px; padding: 28px 30px; border-radius: 16px;
  background: rgba(10,20,32,.86); border: 2px solid var(--brass);
  box-shadow: 0 14px 40px rgba(0,0,0,.45); text-shadow: none;
}
.report-panel h2 { margin-top: 0; }
.checklist { list-style: none; margin: 1em 0 0; }
.checklist li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid rgba(46,66,86,.6); color: var(--mist); }
.checklist li:last-child { border-bottom: 0; }
.checklist li strong { color: var(--sand); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* more help */
.more-band { position: relative; padding: 80px 0; }
.link-card { display: block; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.link-card:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); }

@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; gap: 0; }
  .help-side { display: none; }
}
@media (max-width: 720px) {
  .help-hero .wrap { padding: 64px 16px 40px; }
  .help-hero { min-height: 0; }
  .help-contact, .help-faq, .more-band { padding: 56px 0; }
  .report-band { padding: 56px 0; }
  .report-panel { padding: 20px 18px; }
  .help-main details summary { padding: 13px 42px 13px 16px; }
  .help-main details .a { padding: 6px 16px 12px; }
  .topic-chips a { font-size: .82rem; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .help-main details summary::after, .link-card { transition: none; }
}

/* lead line under a FAQ group heading, pointing at the Gold & Transfers guide */
.faq-group .group-lead { color: var(--mist); margin: -.2em 0 1em; }
.faq-group .group-lead a { color: var(--gold); font-weight: 700; }
