[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-page {
  min-width: 0;
  overflow-x: clip;
  background: var(--surface-soft);
}

.help-page .site-header {
  position: fixed;
}

.help-main {
  min-height: 75vh;
  padding-top: 72px;
}

.help-container {
  max-width: 1100px;
}

.help-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 18%, rgba(49, 197, 232, 0.17), transparent 28%),
    radial-gradient(circle at 86% 5%, rgba(92, 116, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #fafdff 0%, #f2f8fd 100%);
}

.help-hero::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(20, 121, 209, 0.12);
  border-radius: 50%;
}

.help-hero .section-kicker {
  margin-bottom: 10px;
}

.help-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.help-hero > .help-container > p:not(.section-kicker) {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.help-search {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(680px, 100%);
  min-height: 62px;
  margin: 32px auto 0;
  padding: 0 14px 0 54px;
  border: 1px solid rgba(20, 121, 209, 0.2);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(29, 74, 115, 0.12);
}

.help-search:focus-within {
  border-color: var(--blue);
  box-shadow:
    0 18px 55px rgba(29, 74, 115, 0.12),
    0 0 0 4px rgba(20, 121, 209, 0.12);
}

.help-search-icon {
  position: absolute;
  left: 22px;
  width: 17px;
  height: 17px;
  border: 2px solid var(--blue-dark);
  border-radius: 50%;
}

.help-search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--blue-dark);
  transform: rotate(45deg);
}

.help-search input {
  min-width: 0;
  flex: 1;
  padding: 18px 10px 18px 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.help-search input::placeholder {
  color: #8794a5;
}

.help-search-clear,
.help-text-button {
  min-height: 44px;
  padding: 0 12px;
  color: var(--blue-dark);
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.help-search-clear:hover,
.help-text-button:hover {
  background: rgba(20, 121, 209, 0.08);
}

.help-search-clear:focus-visible,
.help-text-button:focus-visible,
.help-chip:focus-visible,
.help-card-link:focus-visible,
.help-back-link:focus-visible {
  outline: 3px solid rgba(20, 121, 209, 0.28);
  outline-offset: 2px;
}

.help-hot-searches {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.help-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.help-chip {
  min-height: 36px;
  padding: 7px 13px;
  color: var(--blue-dark);
  border: 1px solid rgba(20, 121, 209, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  cursor: pointer;
}

.help-chip:hover {
  border-color: rgba(20, 121, 209, 0.35);
  background: var(--surface);
}

.help-content {
  padding-top: 50px;
  padding-bottom: 86px;
}

.help-load-state,
.help-error-state,
.help-empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.help-load-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 170px;
  color: var(--muted);
}

.help-loader {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(20, 121, 209, 0.16);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: help-spin 0.8s linear infinite;
}

@keyframes help-spin {
  to {
    transform: rotate(360deg);
  }
}

.help-error-state {
  padding: 54px;
  text-align: center;
}

.help-error-state h1,
.help-error-state h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.help-error-state > p:not(.section-kicker) {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.help-state-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.help-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.help-section-heading-spaced {
  margin-top: 64px;
}

.help-section-heading .section-kicker,
.help-results-heading .section-kicker {
  margin-bottom: 8px;
}

.help-section-heading h2,
.help-results-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
}

.help-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.help-video-card,
.help-category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.help-video-card {
  display: grid;
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius-md);
}

.help-video-card::before {
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  content: "";
  border: 30px solid rgba(49, 197, 232, 0.1);
  border-radius: 50%;
}

.help-video-card:hover,
.help-category-card:hover {
  z-index: 1;
  border-color: rgba(20, 121, 209, 0.28);
  box-shadow: 0 20px 50px rgba(29, 74, 115, 0.12);
  transform: translateY(-3px);
}

.help-card-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
}

.help-card-index {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan));
  font-weight: 800;
}

.help-video-card h3,
.help-category-card h3 {
  position: relative;
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.help-video-card p,
.help-category-card > p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.help-card-meta {
  position: relative;
  align-self: end;
  margin-top: 20px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

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

.help-category-card {
  min-height: 330px;
  padding: 28px;
  border-radius: var(--radius-md);
}

.help-category-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-category-heading h3 {
  margin: 0;
}

.help-category-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-dark);
  border-radius: 15px;
  background: rgba(20, 121, 209, 0.09);
  font-size: 14px;
  font-weight: 900;
}

.help-category-links {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.help-category-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.help-category-links a::after {
  content: "›";
  color: var(--blue);
  font-size: 22px;
}

.help-category-links a:hover {
  color: var(--blue-dark);
}

.help-results {
  min-height: 420px;
}

.help-results-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.help-results-heading p:not(.section-kicker) {
  margin: 10px 0 0;
  color: var(--muted);
}

.help-empty-state {
  margin-top: 24px;
  padding: 42px;
  text-align: center;
}

.help-empty-state h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.help-empty-state p {
  margin: 0;
  color: var(--muted);
}

.help-result-group {
  margin-top: 36px;
}

.help-result-group > h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.help-link-list {
  display: grid;
  gap: 10px;
}

.help-result-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 18px 20px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.help-result-link:hover {
  color: var(--blue-dark);
  border-color: rgba(20, 121, 209, 0.28);
}

.help-result-link strong {
  display: block;
  line-height: 1.4;
}

.help-result-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.help-result-link::after {
  content: "›";
  color: var(--blue);
  font-size: 28px;
}

.help-article-main {
  padding-top: 112px;
  padding-bottom: 82px;
}

.help-article-container {
  max-width: 1160px;
}

.help-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.help-breadcrumbs a {
  color: var(--blue-dark);
}

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

.help-article-aside {
  position: sticky;
  top: 104px;
}

.help-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 10px;
  color: var(--blue-dark);
  border-radius: 12px;
  font-weight: 700;
}

.help-back-link:hover {
  background: rgba(20, 121, 209, 0.08);
}

.help-article-aside-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.help-article-aside-card span,
.help-article-aside-card small {
  color: var(--muted);
  font-size: 13px;
}

.help-article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(23, 63, 104, 0.08);
}

.help-article-header {
  padding: 46px 54px 38px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 5%, rgba(49, 197, 232, 0.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
}

.help-article-header h1 {
  max-width: 760px;
  margin: 10px 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.help-article-summary {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.help-video-player {
  padding: 32px 54px 0;
}

.help-video-player video {
  width: 100%;
  max-height: 480px;
  border-radius: 18px;
  background: var(--navy);
}

.help-video-player p {
  padding: 14px 16px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.help-article-body {
  padding: 38px 54px 52px;
}

.help-article-body h2 {
  margin: 42px 0 16px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.help-article-body h2:first-child {
  margin-top: 0;
}

.help-article-body h3 {
  margin: 30px 0 12px;
  color: var(--blue-dark);
  font-size: 18px;
}

.help-article-body p,
.help-article-body li {
  color: #334155;
  font-size: 17px;
  line-height: 1.92;
}

.help-article-body p {
  margin: 0 0 18px;
}

.help-article-body ol,
.help-article-body ul {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding-left: 1.5em;
}

.help-article-body .help-conclusion {
  margin: 0 0 16px;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: rgba(20, 121, 209, 0.07);
}

.help-article-body .help-conclusion + p {
  padding: 0 24px 22px;
  border-radius: 0 0 14px 14px;
}

.help-article-body .help-note {
  margin: 24px 0;
  padding: 20px 22px;
  color: #5e3b14;
  border: 1px solid rgba(255, 139, 41, 0.28);
  border-radius: 14px;
  background: rgba(255, 139, 41, 0.08);
}

.help-related {
  padding: 36px 54px 44px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.help-related h2 {
  margin: 8px 0 20px;
  font-size: 27px;
}

.help-article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 54px;
  border-top: 1px solid var(--line);
}

.help-article-end p {
  margin: 0;
  color: var(--muted);
}

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

  .help-article-aside {
    position: static;
  }

  .help-article-aside-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .help-main {
    padding-top: 64px;
  }

  .help-hero {
    padding: 48px 0 36px;
    text-align: left;
  }

  .help-hero > .help-container > p:not(.section-kicker) {
    margin: 12px 0 0;
    font-size: 16px;
  }

  .help-search {
    min-height: 56px;
    margin-top: 24px;
    padding-left: 50px;
    border-radius: 17px;
  }

  .help-hot-searches {
    display: block;
  }

  .help-hot-searches > span {
    display: block;
    margin-bottom: 10px;
  }

  .help-chip-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 8px;
    scrollbar-width: thin;
  }

  .help-chip {
    flex: 0 0 auto;
  }

  .help-content {
    padding-top: 36px;
    padding-bottom: 64px;
  }

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

  .help-video-card {
    min-height: 215px;
  }

  .help-category-card {
    min-height: 0;
  }

  .help-section-heading-spaced {
    margin-top: 50px;
  }

  .help-results-heading {
    display: block;
  }

  .help-results-heading .help-text-button {
    margin-top: 18px;
  }

  .help-article-main {
    padding-top: 92px;
  }

  .help-breadcrumbs {
    margin-bottom: 18px;
  }

  .help-article {
    border-radius: 24px;
  }

  .help-article-header,
  .help-article-body,
  .help-related,
  .help-article-end {
    padding-right: 28px;
    padding-left: 28px;
  }

  .help-article-header {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .help-article-body {
    padding-top: 30px;
    padding-bottom: 38px;
  }

  .help-video-player {
    padding: 26px 28px 0;
  }

  .help-article-end {
    align-items: stretch;
    flex-direction: column;
  }

  .help-article-end .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .help-hero h1 {
    font-size: 38px;
  }

  .help-search {
    padding-right: 8px;
  }

  .help-search input {
    font-size: 16px;
  }

  .help-error-state,
  .help-empty-state {
    padding: 32px 22px;
  }

  .help-state-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .help-state-actions .button {
    width: 100%;
  }

  .help-section-heading h2,
  .help-results-heading h2 {
    font-size: 28px;
  }

  .help-video-card,
  .help-category-card {
    padding: 23px;
  }

  .help-result-link {
    min-height: 82px;
    padding: 16px;
  }

  .help-article-header,
  .help-article-body,
  .help-related,
  .help-article-end {
    padding-right: 21px;
    padding-left: 21px;
  }

  .help-article-header h1 {
    font-size: 34px;
  }

  .help-article-summary {
    font-size: 16px;
  }

  .help-article-body p,
  .help-article-body li {
    font-size: 16px;
  }

  .help-video-player {
    padding-right: 21px;
    padding-left: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-loader {
    animation-duration: 1.8s;
  }

  .help-video-card,
  .help-category-card {
    transition: none;
  }
}
