/* Shared guide palette; ordered flight steps are the only decorative motif. */
.help-page {
  --help-ink: #dce7ec;
  --help-muted: #aebfc9;
  --help-accent: #acdce7;
  --help-panel: #152732;
  --help-line: #ffffff20;
}
.help-page .site-header {
  align-items: center;
}
.help-page .site-header nav {
  gap: 12px 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.help-page .hero {
  max-width: 930px;
  padding-bottom: 46px;
}
.help-page h1 {
  letter-spacing: -0.045em;
}
.help-page .intro {
  max-width: 780px;
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.help-actions .text-link {
  margin: 0;
  color: var(--help-accent);
}
.help-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  font-size: 12px;
}
.help-languages [aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--help-accent);
}
.help-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.help-toc {
  position: sticky;
  top: 24px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  border-top: 1px solid var(--help-line);
  padding-top: 25px;
}
.help-toc strong {
  font-size: 11px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--help-muted);
}
.help-toc a:hover {
  color: var(--help-accent);
  text-decoration: underline;
}
.help-page .reading {
  min-width: 0;
}
.help-page section,
.help-page details {
  scroll-margin-top: 28px;
}
.help-page .reading p {
  overflow-wrap: anywhere;
}
.flight-steps {
  border-left: 1px solid var(--help-line);
  margin-left: 16px;
  padding-left: 36px;
}
.flight-step {
  position: relative;
}
.flight-step .step-number {
  position: absolute;
  left: -53px;
  top: 30px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #8cb4c4;
  border-radius: 50%;
  background: #0c1720;
  color: var(--help-accent);
  font:
    12px ui-monospace,
    'Cascadia Code',
    monospace;
}
.step-check {
  padding: 18px 22px;
  margin: 24px 0;
  border-left: 2px solid #91c7d8;
  background: var(--help-panel);
}
.step-check strong {
  font-size: 12px;
  color: var(--help-accent);
}
.step-check p {
  margin: 8px 0 0;
}
.help-photo {
  margin: 26px 0;
}
.help-photo a {
  display: block;
}
.help-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--help-line);
  background: #0a1219;
}
.help-photo figcaption {
  color: var(--help-muted);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 10px;
}
.step-tip {
  border-top: 1px solid var(--help-line);
  padding: 16px 0 0;
}
.help-page summary {
  cursor: pointer;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 550;
}
.step-tip summary {
  color: var(--help-accent);
  font-size: 13px;
}
.help-notice {
  border-left: 2px solid #91c7d8;
  padding: 12px 18px;
  background: var(--help-panel);
}
.faq-search {
  padding: 24px;
  background: var(--help-panel);
  border-radius: 12px;
  margin-bottom: 30px;
}
.faq-search label {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
}
.faq-search > div {
  display: flex;
  gap: 10px;
}
.faq-search input {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #a2c9d544;
  background: #0c1720;
  color: var(--help-ink);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
}
.faq-search button {
  flex-shrink: 0;
  font: inherit;
  font-size: 12px;
  padding: 9px 14px;
  border: 1px solid #a2c9d544;
  color: var(--help-ink);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}
.faq-search [role='status'] {
  margin-bottom: 0;
  font-size: 12px;
}
.faq-group details {
  border-top: 1px solid var(--help-line);
  padding: 20px 0;
}
.faq-group summary {
  list-style: none;
  padding-right: 30px;
  position: relative;
}
.faq-group summary::-webkit-details-marker {
  display: none;
}
.faq-group summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 0;
  color: var(--help-accent);
}
.faq-group details[open] summary::after {
  content: '−';
}
.faq-group details[open] summary {
  color: var(--help-accent);
}
.faq-group details > div {
  padding-top: 8px;
}
.help-page :is(summary, input, button):focus-visible {
  outline: 2px solid var(--help-accent);
  outline-offset: 4px;
}
.help-page [hidden] {
  display: none !important;
}
.help-page footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .help-toc {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .help-toc strong {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .help-page .site-header nav {
    justify-content: flex-start;
  }
  .help-toc {
    font-size: 12px;
    gap: 12px 20px;
  }
  .flight-steps {
    margin-left: 13px;
    padding-left: 24px;
  }
  .flight-step .step-number {
    left: -38px;
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .flight-step h2 {
    font-size: 21px;
  }
  .step-check {
    padding: 14px;
  }
  .faq-search {
    padding: 18px;
  }
  .faq-search > div {
    flex-wrap: wrap;
  }
  .help-page footer {
    overflow-wrap: anywhere;
  }
}
