* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1rem / 1.65 system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell, .policy { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell, .site-footer .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: 158px; height: auto; }
.nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}
.nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav a:hover, .nav [aria-current="page"] { color: var(--ink); text-decoration: underline; }

h1, h2, h3, .preview-title { line-height: 1.13; letter-spacing: -.04em; font-weight: 800; }
h1, h2, h3 { margin: 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted-soft);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prose h2 { margin: 36px 0 12px; font-size: 1.55rem; }
.prose h3 { margin: 28px 0 10px; font-size: 1.25rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong, .prose a { color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose .callout, .prose .markdown-alert, .prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--muted-soft);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
}
.prose .callout p { margin: 0; }
.prose .markdown-alert p { margin: 0; }
.prose .markdown-alert .markdown-alert-title { margin-bottom: 4px; color: var(--ink); font-weight: 800; }
.prose .markdown-alert-warning { border-color: var(--warning); }
.prose .markdown-alert-warning .markdown-alert-title { color: var(--warning); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.prose pre { overflow-x: auto; padding: 14px; background: var(--surface); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted-soft); font-size: .85rem; }
.site-footer .shell { flex-wrap: wrap; padding-block: 18px; }


.help-center {
  color-scheme: light;
  --canvas: #f5f7fb;
  --surface: #fff;
  --surface-soft: #f0f4fa;
  --ink: #172033;
  --muted: #55627a;
  --muted-soft: #55627a;
  --line: #d9e0ec;
  --line-strong: #b8c5d9;
  --accent: #2b5cff;
  --warning: #855300;
  --max-width: 980px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.help-header {
  color-scheme: dark;
  background: #111214;
  color: #f4f4f5;
  padding-bottom: 30px;
}
.help-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.help-home { color: #c3c3c8; font-size: .875rem; font-weight: 700; text-decoration: none; }
.help-home:hover { color: #f4f4f5; text-decoration: underline; }
.help-home span { margin-inline-start: 4px; }

.faq-search:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid #393a3f;
  border-radius: 12px;
  background: #252629;
}
.faq-search:focus-within { border-color: #c3c3c8; outline: 1px solid #c3c3c8; }
.faq-search svg { flex: none; }
.faq-search input {
  width: 100%;
  min-width: 0;
  min-height: 57px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.faq-search input::placeholder { color: #c3c3c8; }
.faq-search button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #5a5b63;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-search button:hover { background: #393a3f; }

.help-main { flex: 1; padding-block: 46px 72px; }
.help-intro { margin-bottom: 26px; }
.help-intro .eyebrow { margin-bottom: 8px; }
.help-intro h1, .article-heading h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.help-intro > p:last-child, .article-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq-category, #faq-results {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.faq-category { scroll-margin-top: 20px; }
.faq-category + .faq-category { margin-top: 16px; }
.collection-heading { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.collection-heading h2 { font-size: 1.25rem; }
.collection-heading p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-list li + li { border-top: 1px solid var(--line); }
.faq-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  min-height: 48px;
  padding: 10px 22px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}
.faq-list a:hover { background: var(--surface-soft); }
.faq-list a:focus-visible { outline-offset: -3px; }
.faq-chevron { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq-snippet { grid-column: 1; color: var(--muted); font-size: .875rem; font-weight: 400; }
.faq-snippet mark { border-radius: 3px; background: #eaf1ff; color: var(--ink); font-weight: 800; }
.faq-status { margin: 0 0 12px; color: var(--muted); overflow-wrap: anywhere; }
.faq-status:empty { margin: 0; }

.faq-breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: .875rem; }
.faq-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.faq-breadcrumbs li + li::before { content: "›"; margin-inline-end: 10px; }
.faq-breadcrumbs a { color: var(--ink); }

.help-article {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  grid-template-areas: "title contents" "body contents";
  column-gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.article-heading { grid-area: title; }
.article-body { grid-area: body; min-width: 0; margin-top: 28px; }
.article-body :is(h2, h3)[id] { scroll-margin-top: 24px; }
.article-body :is(h2, h3):target { color: var(--accent); }
.article-contents {
  grid-area: contents;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 3px 4px 3px 15px;
  border-left: 1px solid var(--line-strong);
}
.article-contents h2 { margin: 0 0 8px; font-size: .85rem; letter-spacing: 0; }
.article-contents ul { margin: 0; padding: 0; list-style: none; }
.article-contents a { display: block; padding-block: 6px; color: var(--muted); font-size: .85rem; line-height: 1.45; text-decoration: none; }
.article-contents .subsection { margin-inline-start: 12px; }
.article-contents a:hover, .article-contents [aria-current="location"] { color: var(--accent); text-decoration: underline; }

@media (min-width: 761px) {
  .help-article:has(.article-contents:not([hidden])) { grid-template-columns: minmax(0, 1fr) 205px; }
}

@media (max-width: 760px) {
  .help-top { min-height: 64px; }
  .help-header { padding-bottom: 20px; }
  .help-main { padding-block: 30px 52px; }
  .collection-heading, .faq-list a { padding-inline: 16px; }
  .help-article { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "contents" "body"; }
  .article-contents { position: static; max-height: none; margin-top: 20px; }
  .faq-breadcrumbs { margin-bottom: 20px; }
}

.brand { color: #f4f4f5; font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.article-body { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .help-home { font-size: .75rem; }
  .faq-search:not([hidden]) { gap: 10px; padding-inline: 12px; }
}

.help-top .brand { display: inline-flex; align-items: center; gap: 10px; }
.help-top .brand img { width: 54px; height: auto; }

/* Match the homepage's black mark and uppercase wordmark. */
.help-header { color-scheme: light; background: #e7ecf5; color: #172033; }
.help-top .brand { color: #172033; }
.help-top .brand-text { font-size: 1.55rem; font-weight: 800; letter-spacing: .015em; line-height: 1; }
.help-home { color: #55627a; }
.help-home:hover { color: #172033; }
.faq-search:not([hidden]) { background: #fff; border-color: #b8c5d9; }
.faq-search:focus-within { border-color: #2b5cff; outline-color: #2b5cff; }
.faq-search input::placeholder { color: #55627a; }
.faq-search button { border-color: #b8c5d9; }
.faq-search button:hover { background: #f0f4fa; }
@media (max-width: 480px) {
  .help-top .brand { gap: 8px; }
  .help-top .brand img { width: 43px; }
  .help-top .brand-text { font-size: 1.05rem; }
}
