/* =====================================================================
   /faq — dedicated help-center page (Direction A: left-rail help center).
   Uses the real PageKit tokens (lib/pagekit/pagekit.css). All classes are
   prefixed `erfaq-` to avoid colliding with the homepage FAQ block
   (.faq-d / .fqd-*) or other PageKit components.
   ===================================================================== */
.erfaq-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- hero (centered, mirrors the call-forwarding guide header) ---- */
.erfaq-hero { padding: 140px 0 36px; text-align: center; }
.erfaq-kicker { display: inline-block; font-family: var(--pk-font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--pk-accent); margin: 0 0 14px; }
.erfaq-hero h1 { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -.025em;
  font-weight: 800; margin: 0 0 16px; color: var(--pk-fg); }
.erfaq-sub { font-size: 17px; color: var(--pk-fg-muted); line-height: 1.55; margin: 0 auto; max-width: 600px; }

/* ---- two-column layout: sticky rail + content ---- */
.erfaq-layout { display: grid; grid-template-columns: 248px 1fr; gap: 40px; align-items: start;
  padding-bottom: 24px; }
.erfaq-rail { position: sticky; top: 78px; align-self: start; max-height: calc(100vh - 100px);
  overflow: auto; padding-right: 6px; }
.erfaq-rzone { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pk-fg-muted); margin: 18px 0 6px; }
.erfaq-rzone:first-child { margin-top: 0; }
a.erfaq-rlink { display: block; padding: 7px 10px;
  border-radius: 8px; color: var(--pk-fg-muted); font-weight: 500; font-size: .92rem;
  text-decoration: none; }
a.erfaq-rlink:hover { background: var(--pk-bg-subtle); color: var(--pk-fg); }
a.erfaq-rlink.active { background: var(--pk-accent-subtle); color: var(--pk-accent); font-weight: 600; }

/* ---- zones + categories ---- */
.erfaq-zone-head { margin: 30px 0 4px; padding-top: 12px; }
.erfaq-zone-head:first-child { margin-top: 0; }
.erfaq-zlabel { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--pk-fg); }
.erfaq-zsub { color: var(--pk-fg-muted); margin: 4px 0 0; font-size: .95rem; }
.erfaq-zrule { height: 1px; background: linear-gradient(90deg, var(--pk-border), transparent); margin: 10px 0 6px; }

.erfaq-cat { padding: 20px 0 4px; scroll-margin-top: 92px; }
.erfaq-cat h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; color: var(--pk-fg); }
.erfaq-cblurb { color: var(--pk-fg-muted); margin: 0 0 12px; font-size: .92rem; }

/* ---- accordion ---- */
.erfaq-qa { border: 1px solid var(--pk-border); border-radius: 12px; background: var(--pk-bg-base);
  margin-bottom: 10px; overflow: hidden; scroll-margin-top: 92px; }
.erfaq-qa.open { border-color: var(--pk-border-hover); }
.erfaq-qa > button.erfaq-q { width: 100%; text-align: left; border: 0; background: transparent;
  cursor: pointer; font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--pk-fg);
  padding: 16px 48px 16px 18px; position: relative; display: flex; align-items: center; gap: 10px; }
.erfaq-qa > button.erfaq-q:hover { color: var(--pk-accent); }
.erfaq-qa > button.erfaq-q:focus-visible { outline: 2px solid var(--pk-accent); outline-offset: -2px; border-radius: 12px; }
.erfaq-tog { position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--pk-fg-muted); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.erfaq-qa.open .erfaq-tog { transform: translateY(-50%) rotate(45deg); color: var(--pk-accent); }
.erfaq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.erfaq-qa.open .erfaq-a { max-height: 1200px; }
.erfaq-a-inner { padding: 0 18px 18px; color: var(--pk-fg-muted); font-size: .97rem; }
.erfaq-a-inner em { color: var(--pk-fg); font-style: italic; }
.erfaq-a-inner strong { color: var(--pk-fg); }

/* ---- footer CTA band ---- */
.erfaq-cta { border-top: 1px solid var(--pk-border); margin-top: 30px; padding: 44px 0 64px; text-align: center; }
.erfaq-cta h2 { font-size: 1.6rem; margin: 0 0 8px; font-weight: 800; color: var(--pk-fg); }
.erfaq-cta p { color: var(--pk-fg-muted); margin: 0 0 18px; }
.erfaq-btn { display: inline-block; background: var(--pk-accent); color: var(--pk-accent-fg);
  padding: 12px 22px; border-radius: 11px; font-weight: 700; text-decoration: none; }
.erfaq-btn:hover { background: var(--pk-accent-hover); color: var(--pk-accent-fg); }
.erfaq-btn.ghost { background: transparent; color: var(--pk-fg); border: 1px solid var(--pk-border-strong); margin-left: 8px; }

/* ---- responsive: rail collapses to chips ---- */
@media (max-width: 820px) {
  .erfaq-hero { padding-top: 104px; }
  .erfaq-layout { grid-template-columns: 1fr; gap: 0; }
  .erfaq-rail { position: static; max-height: none; display: flex; gap: 8px; flex-wrap: wrap;
    padding: 8px 0 4px; border-bottom: 1px solid var(--pk-border); margin-bottom: 8px; }
  .erfaq-rzone { width: 100%; margin: 8px 0 2px; }
  a.erfaq-rlink { background: var(--pk-bg-subtle); padding: 6px 11px; border-radius: 999px; }
}
@media (prefers-reduced-motion: reduce) {
  .erfaq-a, .erfaq-tog { transition: none; }
  html { scroll-behavior: auto; }
}
