.help-page .wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 24px auto 64px;
  gap: 20px;
}

.help-page {
  background:
    radial-gradient(700px 420px at -10% -20%, #dfe9ff 0%, transparent 70%),
    radial-gradient(640px 380px at 110% 6%, #dde8ff 0%, transparent 72%),
    linear-gradient(180deg, #f7faff 0%, #eff5fc 100%);
}

.help-hero,
.help-search-results,
.help-section,
.help-cta,
.help-category-hero,
.help-category-nav,
.help-sidebar-card,
.help-article-card {
  border: 1px solid #d6e2f2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(12, 27, 52, 0.08);
}

.help-hero {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.help-eyebrow {
  margin: 0 0 10px;
  color: #4b6393;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.help-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #12264a;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.help-hero p {
  margin: 12px 0 0;
  color: #566a90;
  font-size: 18px;
  line-height: 1.55;
}

.help-search-card {
  border: 1px solid #cfddf0;
  border-radius: 16px;
  padding: 14px;
  background: #f8fbff;
  position: relative;
}

.help-search-card label,
.help-search-inline label {
  display: block;
  margin: 0 0 8px;
  color: #3d5482;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.help-search-card input,
.help-search-inline input {
  width: 100%;
  border: 1px solid #cddbf1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: #12264a;
  background: #fff;
}

.help-search-inline {
  display: grid;
  gap: 8px;
}

.help-search-inline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.help-article-search {
  border: 1px solid #d8e3f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
}

.help-search-card input:focus-visible,
.help-search-inline input:focus-visible,
.help-feedback-form textarea:focus-visible,
.help-feedback-form input:focus-visible,
.help-category-tile:focus-visible,
.help-sidebar-nav a:focus-visible,
.help-article-card a:focus-visible {
  outline: 2px solid #2d6fda;
  outline-offset: 1px;
}

.help-search-hint {
  margin: 8px 0 0;
  color: #63789e;
  font-size: 13px;
}

.help-search-dropdown {
  position: absolute;
  left: 14px;
  right: 14px;
  top: calc(100% - 2px);
  z-index: 25;
  border: 1px solid #cfdcf2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 34px rgba(7, 23, 52, 0.16);
  max-height: 360px;
  overflow: auto;
}

.help-search-dropdown a {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  border-bottom: 1px solid #e5ecf7;
  color: #19325e;
}

.help-search-dropdown a:last-child {
  border-bottom: 0;
}

.help-search-dropdown p {
  margin: 0;
  color: #5e7398;
  font-size: 13px;
  line-height: 1.45;
}

.help-search-dropdown strong {
  display: block;
  margin-bottom: 5px;
  color: #14284d;
  font-size: 15px;
}

.help-search-dropdown mark,
.help-search-item mark {
  color: #00398f;
  background: #dceafe;
  border-radius: 4px;
  padding: 0 2px;
}

.help-search-results,
.help-section {
  padding: 18px;
}

.help-search-results header,
.help-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.help-search-results h2,
.help-section h2 {
  margin: 0;
  color: #13284b;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.help-search-results header p,
.help-section-head p {
  margin: 0;
  color: #5d7298;
}

.help-search-list {
  display: grid;
  gap: 12px;
}

.help-search-item a {
  display: block;
  text-decoration: none;
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  padding: 14px;
  background: #fcfdff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.help-search-item a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(16, 38, 77, 0.1);
}

.help-search-meta {
  margin: 0 0 8px;
  color: #5f759d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.help-search-item h3,
.help-article-card h3 {
  margin: 0;
  color: #12284a;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.help-search-item p {
  margin: 8px 0 0;
  color: #556a90;
  line-height: 1.55;
}

.help-search-empty {
  border: 1px dashed #c9d8ee;
  border-radius: 14px;
  padding: 16px;
  background: #f8fbff;
}

.help-search-empty h3 {
  margin: 0;
  color: #173566;
}

.help-search-empty p {
  margin: 8px 0 0;
  color: #5d7397;
}

.help-category-grid,
.help-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.help-category-tile,
.help-article-card {
  border: 1px solid #d7e3f3;
  border-radius: 16px;
  text-decoration: none;
  padding: 14px;
  background: #fcfdff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.help-category-tile:hover,
.help-article-card:hover {
  transform: translateY(-2px);
  border-color: #baceeb;
  box-shadow: 0 14px 28px rgba(18, 40, 74, 0.1);
}

.help-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e8f0fe;
  color: #0d469f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.help-category-tile h3 {
  margin: 10px 0 8px;
  color: #12274b;
  font-size: 20px;
}

.help-category-tile p,
.help-article-card p {
  margin: 0;
  color: #5b7198;
  line-height: 1.55;
}

.help-category-tile small {
  display: block;
  margin-top: 10px;
  color: #3960a0;
  font-weight: 700;
}

.help-link {
  display: inline-flex;
  margin-top: 12px;
  color: #0050c8;
  font-weight: 800;
  text-decoration: none;
}

.help-link:hover {
  color: #00398f;
}

.help-cta {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, #13284b 0%, #0a1b3b 100%);
  border-color: #223f6f;
}

.help-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.help-cta p {
  margin: 8px 0 0;
  color: #cfdcf5;
  line-height: 1.5;
}

.help-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #58709a;
  font-size: 14px;
  flex-wrap: wrap;
}

.help-breadcrumbs a {
  text-decoration: none;
  color: #2f4f86;
}

.help-breadcrumbs strong {
  color: #0f2a55;
}

.help-category-hero {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: center;
}

.help-category-hero h1 {
  margin: 0;
  color: #12284b;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.help-category-nav {
  padding: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.help-category-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #cfddf1;
  border-radius: 999px;
  padding: 8px 14px;
  color: #274374;
  font-size: 13px;
  font-weight: 700;
  background: #f7faff;
}

.help-category-nav a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0050c8 0%, #1b75df 100%);
}

.help-article-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.help-sidebar-card {
  padding: 16px;
  position: sticky;
  top: 92px;
}

.help-sidebar-card h2,
.help-sidebar-card h3 {
  margin: 0 0 10px;
  color: #142a4f;
}

.help-sidebar-card h3 {
  margin-top: 14px;
  font-size: 15px;
}

.help-sidebar-nav {
  display: grid;
  gap: 6px;
}

.help-sidebar-nav a {
  text-decoration: none;
  color: #264171;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1.4;
  font-size: 14px;
  transition: background 0.14s ease, color 0.14s ease;
}

.help-sidebar-nav a:hover {
  background: #edf3ff;
  color: #1248a0;
}

.help-sidebar-nav a.active {
  background: #0050c8;
  color: #fff;
}

.help-sidebar-articles a {
  font-size: 13px;
  color: #34558b;
}

.help-article-card {
  padding: 20px;
}

.help-article-card.compact h3 {
  font-size: 20px;
}

.help-article-card h1 {
  margin: 8px 0 0;
  color: #12284b;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.help-article-head > p {
  margin: 12px 0 0;
  color: #5a7098;
  line-height: 1.6;
}

.help-keywords {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.help-keywords span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf3ff;
  color: #1f4a90;
  font-size: 12px;
  font-weight: 700;
}

.help-toc {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  background: #f8fbff;
}

.help-toc h2 {
  margin: 0 0 10px;
  color: #15305d;
  font-size: 16px;
}

.help-toc ol {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
}

.help-toc li {
  color: #294678;
  font-size: 14px;
}

.help-toc li.toc-level-3 {
  margin-left: 14px;
}

.help-toc a {
  color: inherit;
  text-decoration: none;
}

.help-toc a:hover {
  color: #0d489e;
}

.help-article-body {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  color: #304669;
  line-height: 1.75;
  font-size: 16px;
}

.help-article-body h2,
.help-article-body h3 {
  margin: 0;
  color: #12284b;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.help-article-body h2 {
  margin-top: 10px;
  font-size: 26px;
}

.help-article-body h3 {
  margin-top: 8px;
  font-size: 21px;
}

.help-article-body p,
.help-article-body ul,
.help-article-body ol {
  margin: 0;
}

.help-article-body ul,
.help-article-body ol {
  padding-left: 20px;
}

.help-article-body li + li {
  margin-top: 6px;
}

.help-article-body code {
  display: inline-block;
  border-radius: 6px;
  background: #f0f5ff;
  padding: 2px 7px;
  color: #1d3f78;
  font-size: 14px;
}

.heading-anchor {
  font-size: 13px;
  margin-left: 8px;
  text-decoration: none;
  color: #5f7bb3;
}

.heading-anchor:hover {
  color: #0f4ca7;
}

.help-feedback {
  margin-top: 26px;
  border: 1px solid #d8e4f3;
  border-radius: 14px;
  padding: 16px;
  background: #f9fcff;
}

.help-feedback h2 {
  margin: 0;
  color: #15305e;
  font-size: 22px;
}

.help-feedback > p {
  margin: 8px 0 0;
  color: #5d739a;
}

.help-feedback-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.help-feedback-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.help-feedback-form label {
  color: #3e5787;
  font-size: 13px;
  font-weight: 700;
}

.help-feedback-form textarea,
.help-feedback-form input {
  width: 100%;
  border: 1px solid #cddbf1;
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 14px;
  color: #183059;
  background: #fff;
}

.help-feedback-alert {
  margin-top: 12px;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
}

.help-feedback-alert.success {
  border: 1px solid #afdac2;
  background: #ecfff3;
  color: #1a6a3e;
}

.help-feedback-alert.error {
  border: 1px solid #edbec1;
  background: #fff1f2;
  color: #8d1e2d;
}

@media (max-width: 1120px) {
  .help-category-grid,
  .help-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-article-layout {
    grid-template-columns: 1fr;
  }

  .help-sidebar-card {
    position: static;
  }
}

@media (max-width: 900px) {
  .help-hero,
  .help-category-hero {
    grid-template-columns: 1fr;
  }

  .help-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .help-search-inline-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .help-category-grid,
  .help-feature-grid {
    grid-template-columns: 1fr;
  }

  .help-search-results,
  .help-section,
  .help-hero,
  .help-cta,
  .help-category-hero,
  .help-category-nav,
  .help-sidebar-card,
  .help-article-card {
    border-radius: 14px;
  }

  .help-page .wrap {
    width: calc(100% - 18px);
    margin-top: 14px;
    gap: 12px;
  }
}
