/* Help center (/help/), generated by scripts/build-website.mjs from
   landing/help-src/. Builds on styles.css: same tokens, and articles reuse
   the .doc type styles from the privacy page. */

.bar-links { display: flex; align-items: center; gap: 20px; }
.bar-link { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--on-dark-muted); }
.bar-link:hover { color: var(--on-dark); }

.help { padding-block: 48px 96px; }
.help > h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; margin-top: 10px; }

.help-search { margin-top: 28px; max-width: 560px; }
.help-search input {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--ink);
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--hair); border-radius: 999px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%232A2C24' stroke-opacity='.55' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 18px 50%;
  -webkit-appearance: none; appearance: none;
}
.help-search input:focus { outline: 2px solid var(--clay); outline-offset: 2px; }
.help-article ~ .help-search { margin-top: 56px; }

.help-results { margin-top: 28px; max-width: 760px; }
.help-results ol { list-style: none; padding: 0; margin: 0; }
.help-results li { padding-block: 16px; border-bottom: 1px solid var(--hair); }
.help-results a { font-weight: 600; color: var(--clay-text); text-decoration: none; font-size: 18px; }
.help-results a:hover { text-decoration: underline; }
.help-results .meta { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }
.help-results p { color: var(--ink-muted); margin-top: 4px; }
.help-results .empty { color: var(--ink-muted); }

.help-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
  margin-top: 40px;
}
.help-category {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 16px;
  padding: 24px 24px 20px;
  scroll-margin-top: 24px;
}
.help-category h2 { font-size: 20px; }
.help-category > p { color: var(--ink-muted); font-size: 15px; margin-top: 6px; }
.help-category ul { list-style: none; padding: 0; margin: 14px 0 0; }
.help-category li { border-top: 1px solid var(--hair); }
.help-category li a { display: block; padding-block: 10px; text-decoration: none; color: var(--ink); }
.help-category li a:hover { color: var(--clay-text); }

.help-crumbs { font-size: 15px; color: var(--ink-muted); }
.help-crumbs a { color: var(--clay-text); text-decoration: none; }
.help-crumbs a:hover { text-decoration: underline; }
.help-article { padding-block: 0; }
.help-article h1 { margin-top: 14px; }
.help-lead { font-size: 19px; color: var(--ink-muted); margin-top: 14px; }
.help-article ol { padding-left: 22px; margin: 12px 0 0; }
.help-article ol li { margin-top: 8px; padding-left: 4px; }
.help-article h2, .help-article h3 { scroll-margin-top: 24px; }
.help-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em;
  background: var(--cream-2); padding: 1px 6px; border-radius: 6px;
}

.callout {
  margin-top: 20px; padding: 14px 18px;
  border-radius: 12px; border: 1px solid var(--hair); border-left: 4px solid var(--clay);
  background: var(--paper);
}
.callout p { margin: 0; }
.callout-important { border-left-color: var(--clay-text); }
.callout-tip { border-left-color: var(--verified); }

/* App screenshots with numbered markers (the ```screens block). Phones sit
   side by side and wrap; each one's notes sit under it, numbered to match. */
.screens { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 28px 24px; align-items: flex-start; }
.scr { flex: 0 1 260px; min-width: 0; }
.scr-phone {
  position: relative; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--hair); background: var(--cream-2);
  box-shadow: 0 1px 2px rgba(42, 44, 36, 0.08), 0 8px 24px rgba(42, 44, 36, 0.10);
}
.scr-phone img { display: block; width: 100%; height: auto; }
.scr-box {
  position: absolute; border: 2.5px solid var(--clay); border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(201, 123, 90, 0.22);
}
.scr-mark, .scr-num {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--clay-text); color: #fff; font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.scr-mark {
  position: absolute; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(42, 44, 36, 0.35);
}
.help-article .scr-notes { list-style: none; padding: 0; margin: 14px 0 0; }
.help-article .scr-notes li { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 0; font-size: 15px; line-height: 1.45; }
.scr-text { padding-top: 3px; }
.screens figcaption { flex-basis: 100%; font-size: 15px; color: var(--ink-muted); }

.help-more { max-width: 760px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair); }
.help-more h2 { font-size: 18px; }
.help-more ul { list-style: none; padding: 0; margin: 10px 0 0; }
.help-more li { margin-top: 8px; }
.help-more a { color: var(--clay-text); }

.help-contact {
  max-width: 760px; margin-top: 56px; padding: 24px 28px;
  background: var(--cream-2); border-radius: 16px;
}
.help-contact h2 { font-size: 20px; }
.help-contact p { margin-top: 6px; }
.help-contact a { color: var(--clay-text); }

@media (max-width: 460px) {
  .help { padding-block: 32px 72px; }
  .help-categories { grid-template-columns: 1fr; }
  .help-category { padding: 20px 18px 16px; }
  .scr { flex-basis: 100%; max-width: 300px; margin-inline: auto; }
}
