/* ============================================================================
   PCS Pal — Help Center styles
   Loaded AFTER /style.css, which owns the shared shell (header, footer, .wrap,
   .btn, .kicker) and the :root brand tokens this file reuses.

   EVERY class in here is prefixed `help-` so nothing can collide with style.css.
   Breakpoint mirrors the site: 720px.
   ========================================================================== */

/* ---------- Hub hero ---------- */
.help-hero {
  background: radial-gradient(120% 130% at 78% -10%, var(--navy-3) 0%, var(--navy) 58%);
  color: #fff;
  padding: 66px 0 58px;
  text-align: center;
}
.help-hero h1 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.help-hero p {
  font-size: 18px;
  color: #c7d3de;
  max-width: 560px;
  margin: 0 auto;
}
.help-hero .kicker { color: var(--gold); }
.help-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---------- Sections on the hub ---------- */
.help-section { padding: 56px 0; }
.help-section + .help-section { padding-top: 0; }
.help-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
.help-head p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 8px;
}

/* ---------- Guide cards ---------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.help-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.help-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #d9d3c6;
}
.help-card-ic { font-size: 26px; line-height: 1; }
.help-card h3 { font-size: 16.5px; margin: 12px 0 6px; }
.help-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.help-card-more {
  display: block;
  margin-top: 12px;
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 13.5px;
}

/* ---------- FAQ ---------- */
.help-faq { max-width: 780px; margin: 0 auto; }
.help-faq-group { margin-bottom: 34px; }
.help-faq-group h3 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 12px;
}
.help-q {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.help-q summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 48px 15px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
  border-radius: var(--radius);
}
.help-q summary::-webkit-details-marker { display: none; }
.help-q summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
}
.help-q[open] summary::after { content: "\2013"; }
.help-q[open] summary { border-bottom: 1px solid var(--line-2); border-radius: var(--radius) var(--radius) 0 0; }
.help-q summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.help-a { padding: 14px 18px 17px; color: #333f4c; font-size: 15px; }
.help-a p { margin-bottom: 10px; }
.help-a p:last-child, .help-a ul:last-child { margin-bottom: 0; }
.help-a ul { padding-left: 20px; margin-bottom: 10px; }
.help-a li { margin-bottom: 5px; }

/* ---------- Contact band (hub + end of every guide) ---------- */
.help-contact {
  background: var(--navy);
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.help-contact h2 { font-size: 27px; letter-spacing: -0.2px; margin-bottom: 8px; }
.help-contact p {
  color: #c7d3de;
  font-size: 15.5px;
  max-width: 480px;
  margin: 0 auto 20px;
}
.help-contact .help-contact-note {
  color: #9fb0c0;
  font-size: 13.5px;
  margin: 16px auto 0;
}
.help-contact a.btn.ghost-on-dark { color: #fff; }

/* ---------- Guide page document ---------- */
.help-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}
.help-crumb {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.help-crumb:hover { color: var(--navy); }
.help-doc h1 {
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.help-lede {
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 26px;
}
.help-doc h2 {
  font-size: 23px;
  letter-spacing: -0.2px;
  margin: 40px 0 12px;
  scroll-margin-top: 18px;
}
.help-doc h3 {
  font-size: 17px;
  margin: 26px 0 8px;
  scroll-margin-top: 18px;
}
.help-doc p, .help-doc li { font-size: 15.5px; color: #333f4c; line-height: 1.6; }
.help-doc p { margin-bottom: 13px; }
.help-doc ul, .help-doc ol { padding-left: 22px; margin-bottom: 16px; }
.help-doc li { margin-bottom: 7px; }
.help-doc strong { color: var(--ink); font-weight: 700; }
.help-doc a { color: var(--navy); font-weight: 600; }
.help-doc hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

/* Numbered procedures */
.help-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  counter-reset: helpstep;
}
.help-steps > li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 15px;
  counter-increment: helpstep;
}
.help-steps > li::before {
  content: counter(helpstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-steps ul { margin-top: 8px; margin-bottom: 0; }

/* Callouts */
.help-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 15px;
  color: #333f4c;
  line-height: 1.55;
}
.help-note p { margin-bottom: 9px; font-size: 15px; }
.help-note p:last-child { margin-bottom: 0; }
.help-note-warn { background: var(--amber-bg); border-color: #e4d6b4; border-left-color: var(--gold-dark); }
.help-note-good { background: var(--green-bg); border-color: #d3e3d9; border-left-color: var(--green); }
.help-note-quiet { background: var(--surface-2); border-left-color: #cfd8e0; }

/* On this page */
.help-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.help-toc-title {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 9px;
}
.help-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.help-toc li {
  margin-bottom: 5px;
  font-size: 14.5px;
  break-inside: avoid;
}
.help-toc a { color: var(--navy); font-weight: 600; text-decoration: none; }
.help-toc a:hover { text-decoration: underline; }

/* Tables (deadlines, at-a-glance) */
.help-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 460px;
}
.help-table th {
  text-align: left;
  background: var(--surface-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 800;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.help-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  color: #333f4c;
  vertical-align: top;
  line-height: 1.5;
}
.help-table tr:last-child td { border-bottom: none; }
.help-table td strong { color: var(--ink); }

/* Keep-reading cards at the foot of a guide */
.help-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.help-next a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.help-next a:hover { border-color: #d9d3c6; box-shadow: var(--shadow-lift); }
.help-next-k {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 3px;
}
.help-next b { font-size: 15px; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .help-hero { padding: 44px 0 42px; }
  .help-hero h1 { font-size: 30px; }
  .help-hero p { font-size: 16px; }

  .help-section { padding: 38px 0; }
  .help-head { margin-bottom: 22px; }
  .help-grid { grid-template-columns: 1fr; gap: 14px; }

  .help-faq-group { margin-bottom: 26px; }
  .help-q summary { font-size: 15px; padding: 14px 44px 14px 16px; }
  .help-a { padding: 13px 16px 15px; }

  .help-contact { padding: 36px 0; }
  .help-contact h2 { font-size: 23px; }

  .help-doc { padding: 24px 16px 44px; }
  .help-doc h1 { font-size: 27px; }
  .help-lede { font-size: 16px; }
  .help-doc h2 { font-size: 20px; margin-top: 32px; }
  .help-doc h3 { font-size: 16.5px; }

  .help-toc ul { columns: 1; }
  .help-next { grid-template-columns: 1fr; }
}
