.help-hero,
.help-content,
.help-contact {
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
}

.help-page .public-header {
  position: relative;
}

.help-nav-toggle {
  min-height: 42px;
  display: none;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.help-hero {
  display: grid;
  min-height: 430px;
  align-content: center;
  justify-items: center;
  padding: 72px 0;
  text-align: center;
}

.help-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 5rem;
  letter-spacing: 0;
  line-height: 0.98;
}

.help-hero > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 30px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.help-search {
  width: min(100%, 650px);
}

.help-search input {
  width: 100%;
  min-height: 60px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.92);
  color: var(--text);
  box-shadow: var(--shadow);
  outline: 0;
}

.help-search input::placeholder {
  color: #8390a5;
}

.help-content {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.help-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.help-heading h2,
.help-contact h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.help-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.help-filters button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.help-filters button:hover,
.help-filters button.active {
  border-color: rgba(255, 176, 0, 0.5);
  background: rgba(255, 176, 0, 0.1);
  color: var(--text);
}

.help-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.help-status {
  min-height: 1.4em;
  margin: -12px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: end;
}

.help-articles article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(22, 33, 54, 0.94), rgba(16, 24, 39, 0.8));
}

.help-articles article > span {
  color: var(--brand-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.help-articles h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
}

.help-articles p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.help-articles a {
  margin-top: auto;
  color: var(--brand-strong);
  font-weight: 700;
}

.help-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
}

.help-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 56px;
  padding: 72px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16, 24, 39, 0.88);
  box-shadow: var(--shadow);
}

.help-contact > div > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.help-contact form {
  display: grid;
  gap: 18px;
}

.help-contact label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.help-contact input,
.help-contact textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0a101c;
  color: var(--text);
  outline: 0;
  resize: vertical;
}

.help-contact .button {
  justify-self: start;
}

.help-contact-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .help-page .public-header {
    align-items: center;
    flex-direction: row;
    padding-block: 14px;
  }

  .help-nav-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .help-page .public-nav {
    position: absolute;
    z-index: 10;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    width: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 18px 42px rgba(28, 38, 55, 0.14);
    overflow: visible;
  }

  .help-page .public-nav.is-open {
    display: flex;
  }

  .help-page .public-nav a,
  .help-page .language-switcher {
    justify-content: center;
    text-align: center;
  }

  .help-heading,
  .help-contact {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .help-heading {
    flex-direction: column;
  }

  .help-filters {
    justify-content: flex-start;
  }

  .help-contact {
    gap: 30px;
    padding: 42px 30px;
  }
}

@media (max-width: 620px) {
  .help-hero,
  .help-content,
  .help-contact {
    width: min(100% - 28px, var(--content-width));
  }

  .help-hero {
    min-height: auto;
    padding: 76px 0 58px;
  }

  .help-hero h1 {
    font-size: 2.75rem;
  }

  .help-articles {
    grid-template-columns: 1fr;
  }

  .help-content {
    padding: 52px 0;
  }
}
