/* Help page. Built on the tokens in style.css and the footer in
   app-landing.css; each question is a native <details>, so it opens with no
   script. */

.help {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 4.5rem) 1.25rem clamp(2rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.help-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.help-home img {
  width: 56px;
  height: 56px;
  border-radius: 23.5%;
  border: 1px solid var(--border);
  display: block;
}

.help-header h1 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
}

.help-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.help-group h2,
.help-contact h2 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.help-group details {
  border-bottom: 1px solid var(--border);
}

.help-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.help-group summary::-webkit-details-marker {
  display: none;
}

/* A plus that turns into a minus while the answer is open. */
.help-group summary::after {
  content: "+";
  flex: none;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.help-group details[open] summary::after {
  content: "\2212";
}

.help-group summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.help-group details p {
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 2rem 1.1rem 0;
  max-width: 62ch;
}

.help-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.help-contact p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.help-contact-button {
  margin-top: 0.4rem;
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.help-contact-button:hover {
  opacity: 0.85;
}

.help-contact-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
