:root {
  color-scheme: light;
  --help-bg: #fcfbff;
  --help-card: #fff;
  --help-ink: #23212c;
  --help-muted: #5e576a;
  --help-line: #e5deee;
  --help-tint: #f0eafd;
  --help-accent: #4b348f;
  --help-hero: linear-gradient(118deg, #ebdffe, #eaf3ff 72%);
  font: 16px/1.55 system-ui, -apple-system, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --help-bg: #101015;
  --help-card: #1c1a24;
  --help-ink: #f6f3fa;
  --help-muted: #bdb6c9;
  --help-line: #3b3448;
  --help-tint: #2b223e;
  --help-accent: #d3c1ff;
  --help-hero: linear-gradient(118deg, #302440, #1c2e45 82%);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--help-bg); color: var(--help-ink); }
a { color: var(--help-accent); text-underline-offset: .16em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--help-accent); outline-offset: 3px; }
.help-wrap { width: min(100% - 36px, 1100px); margin-inline: auto; }
.help-top { border-bottom: 1px solid var(--help-line); background: var(--help-card); }
.help-top-inner, .help-top nav, .help-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.help-top-inner { justify-content: space-between; min-height: 72px; padding-block: 12px; }
.help-top nav a { font-size: .91rem; font-weight: 650; text-decoration: none; }
.help-top nav a:hover { text-decoration: underline; }
.help-logo { display: inline-flex; }
.help-logo img { display: block; width: 143px; height: auto; }
.help-hero {
  margin-block: 26px 20px;
  padding: clamp(22px, 4.8vw, 52px);
  border: 1px solid var(--help-line);
  border-radius: 23px;
  background: var(--help-hero);
}
.help-hero h1 { margin: 0 0 17px; font-size: clamp(1.8rem, 5vw, 3.45rem); letter-spacing: -.035em; line-height: 1.08; }
.help-hero form { max-width: 780px; }
.help-hero label { display: block; margin-bottom: 6px; font-weight: 650; }
.help-search-box { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--help-line); border-radius: 14px; background: var(--help-card); }
.help-search-box input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 6px 11px;
  border: 0;
  border-radius: 9px;
  background: var(--help-card);
  color: var(--help-ink);
}
.help-search-box input::placeholder { color: var(--help-muted); }
.help-search-box button, .help-contact > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 44px;
  padding: 7px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #5136a1, #703068);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.help-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.help-topics a, #help-reset {
  padding: 7px 13px;
  border: 1px solid var(--help-line);
  border-radius: 10px;
  background: var(--help-tint);
  color: var(--help-accent);
  font-size: .9rem;
  font-weight: 680;
  text-decoration: none;
}
.help-topics a:hover, #help-reset:hover { border-color: var(--help-accent); }
.help-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.help-section, .help-results, .help-contact {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--help-line);
  border-radius: 17px;
  background: var(--help-card);
}
.help-section h2, .help-results h2, .help-contact h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.55rem); letter-spacing: -.02em; }
.help-section h2 { margin-bottom: 8px; }
.help-section details + details { border-top: 1px solid var(--help-line); }
.help-section summary { padding: 10px 0; cursor: pointer; font-weight: 630; }
.help-section summary::marker { color: var(--help-accent); }
.help-section details[open] summary { color: var(--help-accent); }
.help-section details > div { padding: 0 0 12px 16px; overflow-wrap: anywhere; }
.help-section details p { margin: 0 0 4px; }
.help-section, .help-section details { scroll-margin-top: 18px; }
.help-results header, .help-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; }
.help-results p, .help-contact p { margin: 5px 0; color: var(--help-muted); }
.help-results ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.help-results li + li { border-top: 1px solid var(--help-line); }
.help-results li a { display: block; padding: 10px 2px; font-weight: 650; }
.help-results li small { display: block; color: var(--help-muted); font-weight: 400; }
.help-contact { margin-block: 20px; background: var(--help-tint); }
.help-footer { padding-block: 10px 24px; color: var(--help-muted); font-size: .86rem; }
@media (max-width: 680px) {
  .help-wrap { width: calc(100% - 24px); }
  .help-top-inner { min-height: 58px; gap: 9px 12px; }
  .help-top nav { gap: 6px 12px; }
  .help-top nav a { font-size: .8rem; }
  .help-logo img { width: 114px; }
  .help-hero { margin-top: 14px; padding: 18px; }
  .help-search-box button { padding-inline: 11px; }
  .help-sections { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
