/* Help, contact and app pages. Loads after page.css. */

/* help: topic jump links and the question groups */
.help-jump { padding-inline: var(--gutter); }
.qa-group { scroll-margin-top: 110px; }
.qa-group > h2 { margin-bottom: 10px; }
.qa-lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-bottom: 26px; max-width: 34em; }

/* contact: one centred column, 760px wide, for the pills, the pane, the assistant and the mail line */
.c-topics { --col: min(100% - 2 * var(--gutter), 760px); padding-bottom: 0; }
.c-topics .pills { width: var(--col); max-width: none; }
.topic-panes { width: var(--col); margin: clamp(28px, 3vw, 40px) auto 0; padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3.4vw, 44px) clamp(10px, 1.4vw, 18px); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -46px rgba(14, 13, 18, .3); }
.pane-text { text-align: center; max-width: 30em; margin: 0 auto clamp(18px, 2vw, 26px); font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.c-topics .rows { width: 100%; }
.c-topics .row { padding: 22px 4px; }
.c-topics .row:last-child { box-shadow: none; }
.c-topics .row:first-child:last-child { box-shadow: inset 0 1px 0 var(--hair); }

/* contact: the assistant in the same column, a card with a glowing rim */
.ask { padding: clamp(90px, 10vw, 140px) 0 clamp(60px, 7vw, 100px); }
.ask .sec-title { margin-bottom: clamp(36px, 4vw, 56px); }
.ask-col { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.ask-in { background: #fff; }
.ask-in::after { box-shadow: inset 0 0 0 1px rgba(14, 13, 18, .06); }
.ask-in .wc-panel.wc-inline { height: 540px; box-shadow: none; border-radius: 0; border: 0; }
.ask .mailline { margin-top: clamp(36px, 4vw, 52px); padding-inline: var(--gutter); font-size: clamp(17px, 1.5vw, 22px); }
@media (max-width: 860px) {
  .topic-panes { padding: 24px 20px 6px; }
  .c-topics .row { padding: 18px 2px; }
}
@media (max-width: 560px) {
  .ask-in .wc-panel.wc-inline { height: 500px; }
}

/* app: the QR code for visitors on a computer */
.qr { display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 5vw, 60px); padding: 14px 22px 14px 14px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); text-align: left; max-width: 400px; }
.qr img { flex: none; width: 104px; height: 104px; border-radius: 12px; background: #fff; padding: 6px; }
.qr p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.qr b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

/* phone pass */
@media (max-width: 600px) {
  .pills { gap: 8px; }
  .pills button, .pills a { height: 44px; padding: 0 16px; font-size: 14.5px; }
  .topic-panes { margin-top: 20px; padding: 20px 18px 4px; }
  .pane-text { font-size: 15.5px; margin-bottom: 14px; }
  .c-topics .row { padding: 16px 2px; }
  .ask { padding: 64px 0 40px; }
  .ask .sec-title { margin-bottom: 26px; }
  .ask .mailline { margin-top: 26px; font-size: 17px; }
  .help-jump { padding-inline: 16px; }
  .qa-group { scroll-margin-top: 84px; }
}
