/* goldstraw.app/help and the app's "Email us" page (app.goldstraw.app/support).
   Loaded after welcome-v2.css, whose header, buttons and footer these pages share.
   The site CSP allows no inline styles, so everything lives here. */
.help, .email-us { padding-inline: max(var(--site-gutter), calc((100% - var(--site-width)) / 2)); padding-block: 40px 64px; }
.help > *, .email-us > * { max-width: 40rem; }
.help h1, .email-us h1 { font-size: min(calc(.875rem + 6.5vw), 3.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.help-lead { margin-top: 12px; color: var(--customer-muted); font-size: 1.25rem; line-height: 1.45; }

/* Quick answers: one row per question. Only one opens at a time. */
.help-answers { margin-top: 28px; border-bottom: 1px solid var(--site-line); }
.help-answers details { border-top: 1px solid var(--site-line); }
.help-answers summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; color: var(--customer-green-deep); font-size: 1.125rem; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.help-answers summary::-webkit-details-marker { display: none; }
.help-answers summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--customer-green); border-bottom: 2px solid var(--customer-green); transform: translateY(-3px) rotate(45deg); }
.help-answers details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.help-answers summary:focus-visible { outline-offset: 2px; }
.help-answers details > p { padding-bottom: 12px; color: var(--customer-ink); }
.help-answers details > p:last-child { padding-bottom: 20px; }
.help-answers details > p a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

/* Still stuck? One way out: email. */
.help-contact, .email-us-card { margin-top: 40px; padding: 24px 20px; border-radius: 16px; background: var(--site-wash); }
.help-contact h2, .email-us-card h2 { font-size: 1.5rem; font-weight: 700; }
.help-contact p, .email-us-card p { margin-top: 8px; color: var(--customer-ink); }
.help-email { width: 100%; max-width: 380px; margin-top: 20px; padding-inline: 20px; overflow-wrap: anywhere; }
.email-us-card .help-email { margin-top: 0; }
.help-note { color: var(--customer-muted); font-size: .9375rem; }
.help-contact .help-note, .email-us-card .help-note { margin-top: 14px; }

/* Short pages keep the footer at the foot of the screen. */
body.site, div.site { display: flex; min-height: 100svh; flex-direction: column; }
.help, .email-us { flex: 1 0 auto; }

/* The app's "Email us" page. */
.email-us .help-lead { max-width: 30ch; }
.email-us-card { margin-top: 28px; }
.email-us-more { margin-top: 28px; }
.email-us-more a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

@media (min-width: 640px) {
  .help-contact, .email-us-card { padding: 32px; }
  .help-email { width: auto; }
}
@media (min-width: 900px) {
  .help, .email-us { padding-block: 64px 96px; }
}
