/* Help / How It Works (a reading page) */

.help-page .topbar { max-width: 1200px; }

.help-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-5) var(--s-4) var(--s-6);
  display: grid; gap: var(--s-4);
}

/* Topic shortcuts */
.topics { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.topics a {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 var(--s-4);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  font-weight: 600; font-size: 1.0625rem;
  color: var(--stone); text-decoration: none;
}
.topics a:hover { border-color: var(--field-border); color: var(--ink); }
.topics a:focus-visible { border-radius: var(--r-full); }

/* How it works band */
.how-band { background: var(--sage-pale); padding: var(--s-7) var(--s-4); }
.how-band__inner { max-width: 760px; margin: 0 auto; }
.how-band h2 { color: var(--forest); margin-bottom: var(--s-5); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.how-steps li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; }
.how-steps__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--canvas);
  font-family: var(--serif); font-size: 1.75rem; color: var(--forest);
}
.how-steps h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 10px 0 var(--s-1); }
.how-steps p { color: #2f3a2c; }

/* Question sections */
.faq { max-width: 760px; margin: 0 auto; padding: var(--s-7) var(--s-4) var(--s-6); }
.faq__section { margin-bottom: var(--s-7); scroll-margin-top: var(--s-5); }
.faq__section > h2 { margin-bottom: var(--s-3); }

.qa { border-top: 1px solid var(--hairline); }
.qa:last-child { border-bottom: 1px solid var(--hairline); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-3) 0;
  font-size: 1.1875rem; font-weight: 600; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 26px; height: 26px; flex: none; color: var(--stone); transition: transform 220ms var(--ease-out); }
.qa[open] summary svg { transform: rotate(180deg); }
.qa summary:hover { color: var(--stone); }
.qa summary:focus-visible { border-radius: var(--r-sm); }
.qa__a { padding: 0 0 var(--s-5); display: grid; gap: var(--s-3); max-width: 62ch; color: var(--text-2); }
.qa__a strong { color: var(--ink); }
.qa__a ol, .qa__a ul { margin: 0; padding-left: 1.4em; display: grid; gap: var(--s-2); }
.qa__a li::marker { color: var(--forest); font-weight: 600; }
.qa[open] .qa__a { animation: open 320ms var(--ease-out) both; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Phone-by-phone steps */
.devices { display: grid; gap: var(--s-3); }
.qa__a:has(.devices) { max-width: none; }
.device {
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.device h3 { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: var(--s-2); }

/* Still need help */
.contact {
  max-width: 760px; margin: 0 auto var(--s-8);
  padding: 0 var(--s-4);
}
.contact__card {
  display: grid; gap: var(--s-3); justify-items: start;
  padding: var(--s-6) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.contact__card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.2; }
.contact__card p { color: var(--text-2); }
.contact__line { display: flex; align-items: center; gap: var(--s-3); font-size: 1.125rem; color: var(--ink); }
.contact__line svg { width: 24px; height: 24px; color: var(--olive); flex: none; }
.placeholder { padding: 0 6px; background: #fbf3e3; border: 1px dashed #ead7b3; border-radius: 4px; color: var(--espresso); }
.contact__card .btn { margin-top: var(--s-2); width: 100%; }

@media (min-width: 768px) {
  .help-hero { padding: var(--s-7) var(--s-6) var(--s-7); }
  .how-band { padding: var(--s-8) var(--s-6); }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .how-steps li { grid-template-columns: 1fr; }
  .how-steps h3 { margin-top: 0; }
  .faq { padding: var(--s-8) var(--s-6) var(--s-6); }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .device { padding: var(--s-4); }
  .contact { padding: 0 var(--s-6); }
  .contact__card { padding: var(--s-7) var(--s-6); }
  .contact__card .btn { width: auto; }
}
