/* Help Center header — not sticky. Used on policy, resources, creator pages. */

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

/* Absolute Investors context when arriving via ?from=investors */
.hsm-inv-bar {
  background: #0c1b33;
  color: #fff;
  border-bottom: 1px solid rgba(201, 169, 98, 0.28);
}

.hsm-inv-bar[hidden] {
  display: none !important;
}

.hsm-inv-bar-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hsm-inv-bar-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.hsm-inv-bar-brand span {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hsm-inv-bar-brand em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: #c9a962;
  font-size: 1.05rem;
}

.hsm-inv-bar-back {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.hsm-inv-bar-back:hover {
  color: #fff;
}

.hsm-help-head {
  position: relative;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid #ebe7e0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.hsm-help-head.is-menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 27, 51, 0.28);
}

@media (min-width: 880px) {
  .hsm-help-head.is-menu-open::before { display: none; }
}

.hsm-help-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: 4.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  box-sizing: border-box;
}

.hsm-help-head--bare .hsm-help-inner {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.hsm-help-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.hsm-help-brand img {
  width: 2.15rem;
  height: 2.15rem;
  display: block;
  flex: none;
}

.hsm-help-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  min-width: 0;
  line-height: 1.05;
}

.hsm-help-brand-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b645b;
}

.hsm-help-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0c1b33;
}

.hsm-help-search {
  position: relative;
  justify-self: center;
  width: min(34rem, 100%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.28rem 0.28rem 1.05rem;
  border: 1px solid #ddd8d0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(12, 27, 51, 0.05);
}

.hsm-help-search:focus-within {
  border-color: #c9a962;
  box-shadow: 0 4px 16px rgba(12, 27, 51, 0.08);
}

.hsm-help-search-field {
  flex: 1;
  min-width: 0;
  display: block;
}

.hsm-help-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0c1b33;
  outline: none;
}

.hsm-help-search input::placeholder {
  color: #8a8378;
  font-weight: 500;
}

.hsm-help-search-go {
  flex: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 50%;
  background: #0c1b33;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hsm-help-search-go svg {
  width: 1.05rem;
  height: 1.05rem;
}

.hsm-help-search-go:hover {
  background: #162844;
}

.hsm-help-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 50;
  max-height: min(34rem, 78vh);
  overflow: auto;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid #ebe7e0;
  border-radius: 1.1rem;
  box-shadow: 0 16px 40px rgba(12, 27, 51, 0.12);
}

.hsm-help-results[hidden] { display: none; }

.hsm-help-results-label {
  margin: 0.2rem 0.55rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8378;
}

.hsm-help-results-group {
  margin: 0.65rem 0.55rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c1b33;
}

.hsm-help-results-group:first-of-type {
  margin-top: 0.15rem;
}

.hsm-help-result {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.hsm-help-result:hover,
.hsm-help-result.is-active {
  background: #f7f5f0;
}

.hsm-help-result strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0c1b33;
}

.hsm-help-result em,
.hsm-help-result span {
  font-style: normal;
  font-size: 0.8rem;
  color: #6b645b;
  line-height: 1.35;
}

.hsm-help-empty {
  margin: 0;
  padding: 0.85rem 0.7rem;
  color: #6b645b;
  font-size: 0.9rem;
}

.hsm-help-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
}

.hsm-help-icon-btn,
.hsm-help-burger {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ddd8d0;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #0c1b33;
}

.hsm-help-icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hsm-help-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0;
}

.hsm-help-burger span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: #0c1b33;
  border-radius: 2px;
}

.hsm-help-lang,
.hsm-help-menu {
  position: relative;
}

.hsm-help-lang-menu,
.hsm-help-drawer {
  position: fixed;
  right: 1rem;
  top: 4.4rem;
  z-index: 80;
  min-width: 16rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid #ebe7e0;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(12, 27, 51, 0.12);
}

.hsm-help-lang-menu[hidden],
.hsm-help-drawer[hidden] { display: none; }

.hsm-help-lang-menu {
  min-width: 9.5rem;
  list-style: none;
  margin: 0;
}

.hsm-help-lang-menu a,
.hsm-help-drawer .hsm-help-drawer-lang a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.6rem;
  text-decoration: none;
  color: #0c1b33;
  font-weight: 650;
}

.hsm-help-lang-menu a[aria-current="true"],
.hsm-help-drawer .hsm-help-drawer-lang a[aria-current="true"] {
  background: #f7f5f0;
}

.hsm-help-lang-flag {
  width: 1.35rem;
  height: 0.9rem;
  flex: 0 0 1.35rem;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}

.hsm-help-lang-flag svg {
  width: 1.35rem;
  height: 0.9rem;
  display: block;
}

.hsm-help-drawer a {
  display: block;
  padding: 0.55rem 0.6rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: #0c1b33;
  font-weight: 650;
}

.hsm-help-drawer a:hover {
  background: #f7f5f0;
}

.hsm-help-drawer-top {
  display: none;
}

.hsm-help-drawer-links {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid #ebe7e0;
}

.hsm-help-drawer-lang {
  display: none;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid #ebe7e0;
}

.hsm-help-drawer-lang p {
  margin: 0 0.6rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8378;
}

.hsm-help-drawer-lang ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.hsm-help-menu-open {
  overflow: hidden;
}

.hsm-help-page .hsm-tabbar {
  display: none !important;
}

.hsm-help-page.mp-cr .cr-hero {
  padding-top: 2.15rem;
}

.hsm-help-page .rs-hero {
  padding-top: 2.1rem;
}

.hsm-help-page .ac-hero {
  padding-top: 2.4rem;
  padding-bottom: 3.4rem;
}

.hsm-help-page .hs-aff-legal,
.hsm-help-page .mp-section.hs-help-legal {
  padding-top: 2.25rem;
}

@media (max-width: 879px) {
  .hsm-help-inner {
    min-height: 3.7rem;
    gap: 0.55rem;
    width: min(1180px, calc(100% - 1rem));
  }

  .hsm-help-brand-copy,
  .hsm-help-lang {
    display: none;
  }

  .hsm-help-head--bare .hsm-help-brand-copy {
    display: flex;
  }

  .hsm-help-search {
    justify-self: stretch;
    width: auto;
    padding: 0.18rem 0.18rem 0.18rem 0.85rem;
  }

  .hsm-help-search input {
    font-size: 0.86rem;
  }

  .hsm-help-search-go {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hsm-help-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    right: 0;
    width: min(20.5rem, 88vw);
    height: 100vh;
    max-height: none;
    min-width: 0;
    border-radius: 0;
    border: 0;
    border-left: 1px solid #ebe7e0;
    padding: 1rem 0.85rem max(1.15rem, env(safe-area-inset-bottom));
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hsm-help-drawer-links {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin-bottom: 0.15rem;
  }

  .hsm-help-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding: 0 0.35rem 0.7rem;
    border-bottom: 1px solid #ebe7e0;
  }

  .hsm-help-drawer-top p {
    margin: 0;
    font-weight: 800;
    color: #0c1b33;
  }

  .hsm-help-drawer-close {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #0c1b33;
  }

  .hsm-help-drawer-lang {
    display: block;
    flex: 0 0 auto;
    margin-top: 0.15rem;
  }

  .hsm-help-drawer-lang ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .hsm-help-drawer-lang li {
    min-width: 0;
  }

  .hsm-help-drawer .hsm-help-drawer-lang a {
    justify-content: center;
    min-width: 0;
    padding: 0.5rem 0.2rem;
    gap: 0.35rem;
    font-size: 0.84rem;
  }

  .hsm-help-page.mp-cr .cr-hero {
    padding-top: 1.25rem;
  }
}

@media (min-width: 880px) {
  .hsm-help-inner {
    grid-template-columns: 15.5rem minmax(0, 1fr) 13.5rem;
  }
}

/* Absolute Help home + category pages */
.hl-hero {
  padding: 2.4rem 0 1.4rem;
}

.hl-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.045em;
  margin: 0 0 0.7rem;
  max-width: 18ch;
}

.hl-hero .mp-lead {
  max-width: 40rem;
}

.hl-hero-cat {
  padding-bottom: 1.8rem;
}

.hl-hero-cat h1 {
  max-width: 22ch;
}

.hl-news,
.hl-topics,
.hl-policies,
.hl-talk {
  padding: 0 0 3rem;
}

.hl-news h2,
.hl-topics > .mp-wrap > h2,
.hl-policies h2,
.hl-talk h2 {
  margin: 0 0 1.1rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.hl-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hl-news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #ebe7e0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hl-news-card img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
}

.hl-news-card > div {
  padding: 1rem 1.05rem 1.15rem;
}

.hl-news-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.hl-news-card p:last-child {
  margin: 0;
  color: #6b645b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hl-news-card:hover h3 {
  color: #8a6d2f;
}

.hl-band {
  margin: 0 0 2.2rem;
}

.hl-band h3 {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.hl-band-lead {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: #6b645b;
  line-height: 1.5;
}

.hl-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hl-cat {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid #ebe7e0;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hl-cat h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hl-cat p {
  margin: 0 0 0.85rem;
  color: #6b645b;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.hl-cat span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8893f;
}

.hl-cat:hover {
  border-color: #c9a962;
}

.hl-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hl-policy {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid #ebe7e0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.hl-policy strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.hl-policy span {
  display: block;
  color: #6b645b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hl-policy:hover {
  border-color: #c9a962;
}

.hl-talk {
  padding-bottom: 4rem;
}

.hl-talk .mp-lead {
  max-width: 38rem;
}

.hl-link-card {
  min-height: 10.5rem;
}

@media (max-width: 1119px) {
  .hl-news-grid,
  .hl-cats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 719px) {
  .hl-news-grid,
  .hl-cats,
  .hl-policy-grid {
    grid-template-columns: 1fr;
  }

  .hl-hero {
    padding-top: 1.4rem;
  }
}

/* Help Center home — centered search, tabs, top articles */
.hl-home .hl-hero {
  padding: 3.2rem 0 1.6rem;
  text-align: center;
}

.hl-home .hl-hero h1 {
  max-width: none;
  margin: 0 auto 1.4rem;
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
}

.hl-hero-inner {
  max-width: 40rem;
}

.hl-mega {
  position: relative;
  text-align: left;
}

.hl-mega-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid #e4dfd6;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(12, 27, 51, 0.08);
  overflow: hidden;
}

.hl-mega:focus-within .hl-mega-bar {
  border-color: #c9a962;
  box-shadow: 0 12px 32px rgba(12, 27, 51, 0.12);
}

.hl-mega-field {
  flex: 1;
  min-width: 0;
}

.hl-mega-field input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.05rem 1.25rem;
  font: inherit;
  font-size: 1.02rem;
}

.hl-mega-field input:focus {
  outline: none;
}

.hl-mega-go {
  width: 3.4rem;
  margin: 0.35rem 0.35rem 0.35rem 0;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hl-mega-go svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hl-mega-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  background: #fff;
  border: 1px solid #ebe7e0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(12, 27, 51, 0.12);
  max-height: 22rem;
  overflow: auto;
}

.hl-mega-results[hidden] { display: none; }

.hl-aud {
  padding: 1.4rem 0 2.4rem;
}

.hl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.35rem;
  border-bottom: 1px solid #ebe7e0;
  margin-bottom: 1.6rem;
}

.hl-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.7rem 0;
  font: inherit;
  font-weight: 650;
  color: #6b645b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.hl-tab.is-on {
  color: #111;
  border-bottom-color: #111;
}

.hl-panel[hidden] { display: none; }

.hl-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hl-panel-head h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.hl-browse {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.hl-browse:hover { text-decoration: underline; }

.hl-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.hl-guide {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hl-guide img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 14px;
  background: #f3efe6;
  margin-bottom: 0.7rem;
}

.hl-guide h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hl-guide--text,
.hl-guide--cat {
  padding: 1.05rem 1.1rem;
  border: 1px solid #ebe7e0;
  border-radius: 16px;
  background: #fff;
}

.hl-guide--text p,
.hl-guide--cat p {
  margin: 0.4rem 0 0;
  color: #6b645b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hl-guide--cat span {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8893f;
}

.hl-here {
  padding: 0 0 2.6rem;
}

.hl-here-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.3rem 1.5rem;
  border-radius: 18px;
  background: #f7f4ee;
}

.hl-here-inner h2 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}

.hl-here-inner p {
  margin: 0;
  color: #6b645b;
}

.hl-here-btn,
a.hl-here-btn,
.mp a.hl-here-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.mp a.hl-here-btn:hover,
a.hl-here-btn:hover {
  color: #fff;
}

.hl-top {
  padding: 0 0 3rem;
}

.hl-top h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.hl-top-list {
  border-top: 1px solid #ebe7e0;
}

.hl-top-row {
  display: block;
  padding: 1.15rem 0;
  border-bottom: 1px solid #ebe7e0;
  text-decoration: none;
  color: inherit;
}

.hl-top-row strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.hl-top-row span {
  display: block;
  color: #6b645b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hl-top-row:hover strong { color: #8a6d2f; }

.hl-explore {
  padding: 0 0 4rem;
}

.hl-explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
  gap: 2.4rem;
  align-items: start;
}

.hl-explore h2,
.hl-touch h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
}

.hl-touch p {
  margin: 0 0 1rem;
  color: #6b645b;
  line-height: 1.5;
}

.hl-feedback {
  margin-top: 1.2rem;
}

.hl-feedback a {
  color: #111;
}

@media (max-width: 1119px) {
  .hl-guides {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 719px) {
  .hl-guides,
  .hl-explore-grid {
    grid-template-columns: 1fr;
  }

  .hl-here-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hl-home .hl-hero {
    padding-top: 2rem;
  }
}
