/* apps/web/public/help/help.css — the Help page, on top of legal.css's body.policy layout (Privacy and Terms' frame: the
   hero, the contents column, numbered sections). Only what that layout lacks: the search, the "Can't find your answer?"
   panel and the questions. Design: the founder-approved mockup https://claude.ai/artifact/TCp2RHvu7CY6Kyhhr5rD5M
   (2026-11-16). Tokens only, from theme/tokens.css; both colour schemes come from them. The "Write to us" box itself is
   the APP's (write.js frames it): nothing here draws it. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The search, in the hero (shown by help.js: without it there is nothing to search with). */
.hfind { display: flex; align-items: center; gap: 10px; max-width: 680px; margin: 0 0 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; color: var(--ink-400); }
.hfind[hidden] { display: none; }
.hfind input { flex: 1; min-width: 0; border: 0; background: none; font: 400 17px var(--font-ui); color: var(--ink-900);
  padding: 13px 0; outline: 0; }
.hfind input::placeholder { color: var(--ink-400); }
.hfind:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.none { color: var(--ink-600); margin: -8px 0 22px; }

/* "Can't find your answer?" */
.hask { padding: 36px 0 0; }
.hask-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 18px; align-items: center;
  padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.hask-in > svg { color: var(--accent-600); }
.hask h2 { font: 600 19px/1.3 var(--font-ui); margin: 0; border: 0; padding: 0; }
.hask p { margin: 2px 0 0; color: var(--ink-600); font-size: 15.5px; line-height: 1.5; }
.hask-act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; color: var(--ink-600); }
@media (max-width: 720px) {
  .hask-in { grid-template-columns: auto minmax(0, 1fr); }
  .hask-act { grid-column: 1 / -1; align-items: flex-start; }
}
.help-btn {
  display: inline-block; font-family: var(--font-cond); font-weight: 600; font-size: 16px; letter-spacing: .02em;
  background: var(--accent-600); color: var(--surface); text-decoration: none; padding: 9px 18px; border-radius: 6px;
}
.help-btn:hover { background: var(--accent-700); }

/* The questions. Scoped to the article: the phone's contents (.mtoc) is a <details> too. */
.policy .doc section[hidden] { display: none; }
.policy .doc section h2 { margin-bottom: 6px; }
.doc details { border-bottom: 1px solid var(--line); }
/* the section's own rule follows the last question: one line between sections, not two */
.policy .doc details:last-child { border-bottom: 0; }
.doc details[hidden] { display: none; }
.doc summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline;
  padding: 13px 0; font-weight: 500;
}
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; font-family: var(--font-cond); font-size: 20px; color: var(--accent-600); line-height: 1; }
.doc details[open] summary::after { content: "\2212"; }
.doc summary:hover { color: var(--accent-700); }
.a { padding: 0 0 16px; max-width: 66ch; }
.a p { margin: 0 0 10px; }
.a p:last-child { margin-bottom: 0; }
.a .where { color: var(--ink-600); font-size: 15px; }

.scroll { overflow-x: auto; }
/* The plans table takes legal.css's table; only its figures line up and its plan names never wrap. */
table.plans { font-variant-numeric: tabular-nums; }
table.plans th { white-space: nowrap; }
