/* /support/: help by topic (S41). The first screen is the title, where to write, and each app's topics as an index;
   then each app's answers under its icon and name, the topic beside its questions; a closing. Family ground: the apps
   are found by their icons and names, not by colour. Tokens only. Class names start with su-. Loaded after pages.css.
   Spec: docs/DESIGN-SYSTEM.md, docs/S41-FINISH.md */

/* ---------- 1. The index on the first screen: each app's six topics under its icon ---------- */
.su-index { gap: 0; }
.su-index-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(28px, 3.4vw, 48px); }
.su-index-app { display: grid; gap: 12px; align-content: start; }
.su-index-name img { flex: none; width: 24px; height: 24px; border-radius: 6px; outline: 1px solid var(--rule); outline-offset: -1px; }
.su-index .related-list a { min-height: 52px; font-size: 22px; }   /* h3's step; h4's, 19 px, where two columns are narrow */
@media (max-width: 1100px) { .su-index .related-list a { font-size: 19px; } }
@media (max-width: 620px) { .su-index-two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 2. An app's answers: its icon and name, one line, then each topic beside its questions ---------- */
.su-help { padding-block: var(--space-s); }
.su-help + .su-help { padding-top: var(--space); }
.su-head { display: grid; justify-items: start; }
.su-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.su-name { display: flex; align-items: center; gap: .3em; max-width: none; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.su-name img { flex: none; width: .92em; height: .92em; border-radius: 22.5%; outline: 1px solid var(--rule); outline-offset: -1px; }
.su-head .lede { max-width: 48ch; margin-top: 16px; }
.su-head .lede a { color: var(--accent); }
.su-head .link-arrow { margin-top: 12px; }
/* A topic and its questions share one hairline: the topic's rule runs on into the questions' own. */
.su-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 5vw, 72px); scroll-margin-top: calc(var(--nav-h) + 16px); }
.su-topic { position: sticky; top: calc(var(--nav-h) + 24px); padding-top: 20px; border-top: 1px solid var(--rule); }
.su-topic h3 { max-width: 14ch; }
.su-group .faq { max-width: none; }
.su-group .faq summary { min-height: 64px; font-size: 22px; }
.su-group .faq details p { max-width: 64ch; }

@media (max-width: 860px) {
  .su-group { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .su-topic { position: static; padding: 0 0 12px; border-top: 0; }
}
@media (max-width: 699px) {
  .su-name { font-size: 34px; }
  .su-group { margin-top: 40px; }
  .su-topic h3 { font-size: 24px; }
  .su-group .faq summary { min-height: 60px; font-size: 19px; }   /* h4's step; the answers are body, 17 px */
  .su-group .faq details p { padding-right: 8px; }
}
