.help-page {
  color: var(--text);
  background: var(--paper);
}

.help-page .site-header {
  position: relative;
  color: var(--text);
  border-bottom-color: var(--line);
  background: rgba(251, 252, 250, 0.95);
}

.help-page .site-header .nav {
  width: var(--shell);
  margin-inline: auto;
}

.help-page .site-header .nav-links {
  display: flex;
}

.help-page .hero {
  position: relative;
  display: grid;
  width: var(--shell);
  min-height: 650px;
  margin-inline: auto;
  padding: 115px 0 105px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: 80px;
  color: var(--text);
  background: transparent;
}

.help-page .hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  width: auto;
  background:
    radial-gradient(circle at 82% 10%, rgba(229, 189, 210, 0.64), transparent 29%),
    radial-gradient(circle at 66% 50%, rgba(155, 216, 199, 0.67), transparent 35%),
    radial-gradient(circle at 42% -8%, rgba(169, 201, 239, 0.72), transparent 35%),
    linear-gradient(160deg, #f9fcfb, #eaf4f2);
  content: "";
}

.help-page .hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 1px;
  height: auto;
  background: rgba(17, 39, 51, 0.12);
  content: "";
  transform: none;
}

.help-page .hero h1 {
  max-width: 670px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 87px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.help-page .hero-copy {
  max-width: 600px;
  margin: 25px 0 0;
  color: #53666f;
  font-size: 19px;
  line-height: 1.65;
}

.help-page .search-wrap {
  position: relative;
  max-width: 580px;
  margin-top: 34px;
}

.help-page .search-wrap::before {
  position: absolute;
  top: 50%;
  left: 19px;
  color: var(--fjord);
  content: "⌕";
  font-family: var(--display);
  font-size: 24px;
  transform: translateY(-53%);
}

.help-page #help-search {
  width: 100%;
  min-height: 60px;
  padding: 0 20px 0 52px;
  border: 1px solid rgba(22, 60, 80, 0.17);
  border-radius: 14px;
  outline: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(18, 50, 62, 0.08);
  font-size: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.help-page #help-search:focus {
  border-color: var(--fjord);
  box-shadow: 0 20px 48px rgba(18, 50, 62, 0.14);
}

.help-page #search-status {
  min-height: 21px;
  margin: 11px 0 0;
  color: var(--fjord-deep);
  font-size: 12px;
  font-weight: 700;
}

.help-page .hero-window {
  display: grid;
  overflow: hidden;
  min-height: 390px;
  grid-template-columns: 140px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.help-page .hero-sidebar {
  padding: 30px 12px;
  color: #dbe8e9;
  background: linear-gradient(165deg, #123345, #0a222e);
}

.help-page .hero-sidebar strong {
  display: block;
  margin: 0 10px 25px;
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
}

.help-page .hero-side-row {
  margin: 4px 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: rgba(219, 232, 233, 0.62);
  font-size: 10px;
}

.help-page .hero-side-row.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.help-page .hero-note {
  padding: 55px 40px;
  background:
    radial-gradient(circle at 100% 0, rgba(155, 216, 199, 0.22), transparent 35%),
    #fff;
}

.help-page .hero-note small {
  color: var(--cabin-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.help-page .hero-note h2 {
  max-width: 330px;
  margin: 12px 0 28px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.help-page .hero-lines {
  display: grid;
  gap: 11px;
}

.help-page .hero-line {
  width: 100%;
  height: 7px;
  border-radius: 8px;
  background: #e7edec;
}

.help-page .hero-line:nth-child(2) {
  width: 82%;
}

.help-page .hero-line:nth-child(3) {
  width: 61%;
}

.help-page .hero-tip {
  margin-top: 38px;
  padding: 17px;
  border-left: 3px solid var(--cabin);
  color: #47616c;
  background: var(--paper-cool);
  font-size: 11px;
}

.help-page .category-section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.help-page .section-shell,
.help-page .guides,
.help-page .footer-row {
  width: var(--shell);
  margin-inline: auto;
}

.help-page .section-heading {
  display: grid;
  margin: 0 0 45px;
  grid-template-columns: 1fr 0.6fr;
  align-items: end;
  gap: 60px;
}

.help-page .section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.help-page .section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.help-page .category-grid {
  display: grid;
  overflow: hidden;
  padding: 18px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(224, 232, 230, 0.62);
  gap: 16px;
  box-shadow: 0 25px 65px rgba(13, 36, 47, 0.07);
}

.help-page .category-card {
  position: relative;
  display: block;
  min-height: 245px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 180ms ease, background 180ms ease;
}

.help-page .category-card:hover {
  z-index: 2;
  border-color: rgba(178, 82, 68, 0.42);
  background: #f1f8f6;
  transform: none;
}

.help-page .category-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--fjord-deep);
  background: var(--paper-cool);
  font-size: 11px;
  font-weight: 800;
}

.help-page .category-card strong,
.help-page .category-card > span:last-child {
  display: block;
}

.help-page .category-card strong {
  margin-top: 56px;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.035em;
}

.help-page .category-card > span:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.help-page .guides {
  display: grid;
  padding: 105px 0 140px;
  grid-template-columns: 205px minmax(0, 1fr);
  align-items: start;
  gap: 75px;
}

.help-page .guide-nav {
  position: sticky;
  top: 102px;
  display: grid;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.help-page .guide-nav strong {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.help-page .guide-nav a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.help-page .guide-nav a:hover {
  color: var(--cabin-dark);
}

.help-page .guide-content {
  min-width: 0;
}

.help-page .guide-section {
  margin: 0 0 90px;
  scroll-margin-top: 100px;
}

.help-page .guide-section > h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.help-page .guide-intro {
  margin: 15px 0 30px;
  color: var(--muted);
  font-size: 16px;
}

.help-page .help-topic {
  overflow: hidden;
  margin: 11px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(13, 36, 47, 0.035);
}

.help-page details.help-topic[open] {
  border-color: rgba(66, 111, 131, 0.33);
  background: #fff;
  box-shadow: 0 15px 38px rgba(13, 36, 47, 0.065);
}

.help-page .help-topic summary {
  position: relative;
  padding: 20px 54px 20px 20px;
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.help-page .help-topic summary::-webkit-details-marker {
  display: none;
}

.help-page .help-topic summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fjord-deep);
  content: "+";
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  transform: translateY(-50%);
}

.help-page details[open] summary::after {
  content: "−";
}

.help-page .topic-body {
  padding: 3px 20px 22px;
  color: #4d6069;
  font-size: 14px;
  line-height: 1.7;
}

.help-page .topic-body p {
  margin: 9px 0;
}

.help-page .topic-body a {
  color: var(--cabin-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-page .topic-body code,
.help-page kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--fjord-deep);
  background: var(--paper-cool);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
}

.help-page .topic-body ol,
.help-page .topic-body ul {
  padding-left: 22px;
}

.help-page .recovery {
  border-color: rgba(203, 93, 82, 0.34);
  background: rgba(203, 93, 82, 0.035);
}

.help-page .recovery summary {
  color: var(--cabin-dark);
}

.help-page .shortcut-table {
  width: 100%;
  border-collapse: collapse;
}

.help-page .shortcut-table th,
.help-page .shortcut-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.help-page .shortcut-table th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-page .empty-search {
  display: none;
  margin-bottom: 40px;
  padding: 22px;
  border: 1px dashed rgba(66, 111, 131, 0.4);
  border-radius: 14px;
  color: var(--fjord-deep);
  background: var(--paper-cool);
}

.help-page .empty-search.visible {
  display: block;
}

.help-page .contact-panel {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 42px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(155, 216, 199, 0.35), transparent 38%),
    var(--ink);
}

.help-page .contact-panel::after {
  position: absolute;
  top: -60px;
  right: -30px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.help-page .contact-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.045em;
}

.help-page .contact-panel p {
  max-width: 610px;
  margin: 11px 0 25px;
  color: #a9bbc3;
}

.help-page .contact-panel a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 17px;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.help-page > footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-cool);
}

.help-page .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}

.help-page .footer-links {
  display: flex;
  gap: 24px;
}

.help-page .footer-links a:hover {
  color: var(--cabin-dark);
}

@media (max-width: 900px) {
  .help-page .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .help-page .hero-window {
    width: min(620px, 100%);
  }

  .help-page .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .help-page .guides {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .help-page .guide-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 13px 0;
    gap: 17px;
    white-space: nowrap;
  }

  .help-page .guide-nav strong {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .help-page .site-header .nav-links {
    display: none;
  }

  .help-page .site-header .nav-links.is-open {
    display: grid;
  }

  .help-page .hero {
    padding: 80px 0 75px;
  }

  .help-page .hero h1 {
    font-size: 52px;
  }

  .help-page .hero-window {
    min-height: 300px;
    grid-template-columns: 96px 1fr;
    transform: none;
  }

  .help-page .hero-sidebar {
    padding: 22px 8px;
  }

  .help-page .hero-sidebar strong {
    margin: 0 7px 18px;
    font-size: 12px;
  }

  .help-page .hero-side-row {
    padding: 7px;
    font-size: 7px;
  }

  .help-page .hero-note {
    padding: 38px 22px;
  }

  .help-page .hero-note h2 {
    font-size: 26px;
  }

  .help-page .section-heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .help-page .category-grid {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-page .category-card {
    min-height: 205px;
  }

  .help-page .category-card strong {
    margin-top: 38px;
  }

  .help-page .guides {
    padding: 76px 0 95px;
  }

  .help-page .guide-section {
    margin-bottom: 70px;
  }

  .help-page .guide-section > h2 {
    font-size: 40px;
  }

  .help-page .shortcut-table,
  .help-page .shortcut-table tbody,
  .help-page .shortcut-table tr,
  .help-page .shortcut-table td {
    display: block;
  }

  .help-page .shortcut-table thead {
    display: none;
  }

  .help-page .shortcut-table tr {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }

  .help-page .shortcut-table td {
    padding: 4px 0;
    border: 0;
  }

  .help-page .contact-panel {
    padding: 30px 24px;
  }

  .help-page .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .help-page .footer-links {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (prefers-color-scheme: dark) {
  .help-page {
    color: var(--text);
    background: var(--paper);
  }
}
.topic-body-shortcuts {
  padding-top: 18px;
}
