:root {
  --pink: #fbd3f0;
  --aqua: #c4f7ff;
  --lav: #d9c7ff;
  --blue: #d3e8ff;
  --bg1: #ecf8ff;
  --bg2: #d8f0ff;
  --bg3: #cde7f7;
  --bg4: #bbe2fa;
  --ink: #07041b;
  --muted: rgba(7, 4, 27, 0.62);
  --soft-muted: rgba(7, 4, 27, 0.48);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.56);
  --glass-border: rgba(7, 4, 27, 0.11);
  --shadow: 0 24px 70px rgba(7, 4, 27, 0.1);
  --animation-delay: 0.2s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 50% 22%, var(--bg1) 0%, var(--bg2) 36%, var(--bg3) 68%, var(--bg4) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 8%, rgba(251, 211, 240, 0.5), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(196, 247, 255, 0.62), transparent 34%),
    radial-gradient(circle at 50% 68%, rgba(217, 199, 255, 0.18), transparent 35%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 62%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 45% 85%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.5px);
  background-size: 210px 210px, 280px 280px, 340px 340px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

[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;
}

.section-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header — matched to the homepage */
.site-header {
  position: fixed;
  top: clamp(10px, 1.8vw, 24px);
  left: 50%;
  z-index: 50;
  width: min(1240px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeInSoft 0.75s ease forwards var(--animation-delay);
  pointer-events: none;
  transition:
    padding 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-visible {
  pointer-events: auto;
}

.site-header.is-scrolled {
  padding: 10px 14px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(236, 248, 255, 0.68);
  box-shadow: 0 16px 44px rgba(7, 4, 27, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.brand span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 52px);
}

.nav-links a,
.header-actions a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links a::after,
.login-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after,
.login-link:hover::after,
.login-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  color: var(--ink);
}

.signup-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg1) !important;
  box-shadow: 0 16px 34px rgba(7, 4, 27, 0.18);
  letter-spacing: 0.02em !important;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.signup-link:hover,
.signup-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(7, 4, 27, 0.24);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--ink);
}

.menu-btn span::before {
  transform: translateY(-7px);
}

.menu-btn span::after {
  transform: translateY(5px);
}

/* Mobile menu — matched to the homepage */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(28px, env(safe-area-inset-top))
    max(28px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(28px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 25% 20%, rgba(251, 211, 240, 0.62), transparent 36%),
    radial-gradient(circle at 80% 18%, rgba(196, 247, 255, 0.7), transparent 38%),
    radial-gradient(
      circle at 50% 30%,
      rgba(236, 248, 255, 0.92) 0%,
      rgba(216, 240, 255, 0.94) 38%,
      rgba(205, 231, 247, 0.96) 70%,
      rgba(187, 226, 250, 0.98) 100%
    );
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-content {
  position: relative;
  width: min(420px, 100%);
  min-height: min(560px, calc(100svh - 56px));
  max-height: calc(100svh - 56px);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 70px rgba(7, 4, 27, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: scale(0.96);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open .mobile-menu-content {
  transform: scale(1);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-menu-brand img {
  width: 32px;
  height: 32px;
  display: block;
}

.menu-close {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease;
}

.menu-close:hover,
.menu-close:focus-visible {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.72);
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-links {
  display: grid;
  gap: 8px;
  margin: 46px 0;
  justify-items: center;
}

.mobile-menu-links a {
  width: 100%;
  padding: 17px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(7, 4, 27, 0.1);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-size: clamp(28px, 9vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(14px);
}

.mobile-menu.is-open .mobile-menu-links a {
  animation: mobileLinkIn 0.56s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { animation-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { animation-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { animation-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(5) { animation-delay: 0.32s; }

.mobile-menu-actions {
  display: grid;
}

.mobile-menu-signup {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 44px rgba(7, 4, 27, 0.18);
}

body.menu-open {
  overflow: hidden;
}


/* Shared */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(7, 4, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  color: rgba(7, 4, 27, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: 0 0 12px rgba(196, 247, 255, 0.9);
}

.eyebrow-light {
  color: rgba(236, 248, 255, 0.64);
  border-color: rgba(236, 248, 255, 0.17);
  background: rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.browser-heading h2,
.final-cta h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.section-heading h2,
.browser-heading h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
}

.section-heading p,
.browser-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.help-hero {
  min-height: 78svh;
  padding-top: 152px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-copy {
  width: 100%;
  margin-inline: auto;
}

.help-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-intro {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.68;
  font-weight: 500;
}

.help-search {
  position: relative;
  max-width: 760px;
  margin: 32px auto 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(7, 4, 27, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 22px 60px rgba(7, 4, 27, 0.1);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.help-search:focus-within {
  border-color: rgba(7, 4, 27, 0.3);
  box-shadow: 0 26px 70px rgba(7, 4, 27, 0.14);
  transform: translateY(-2px);
}

.help-search > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.help-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.help-search input::placeholder {
  color: rgba(7, 4, 27, 0.42);
}


.search-clear {
  position: relative;
  width: 30px;
  height: 30px;
  display: none;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 4, 27, 0.08);
  cursor: pointer;
}

.help-search.has-value .search-clear {
  display: block;
}


.search-clear::before,
.search-clear::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
}

.search-clear::before { transform: translate(-50%, -50%) rotate(45deg); }
.search-clear::after { transform: translate(-50%, -50%) rotate(-45deg); }


/* Browse section */
.browse-help {
  padding: 90px 0 110px;
}

.browse-switch {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(7, 4, 27, 0.06);
}

.browse-tab {
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.browse-tab.is-active {
  background: var(--ink);
  color: var(--bg1);
  box-shadow: 0 12px 30px rgba(7, 4, 27, 0.18);
}

.browse-panels {
  min-height: 360px;
}

.browse-panel {
  animation: panelIn 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  min-height: 320px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(236, 248, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(7, 4, 27, 0.97), rgba(29, 24, 51, 0.96));
  color: var(--bg1);
  box-shadow: 0 24px 60px rgba(7, 4, 27, 0.15);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.route-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 74px rgba(7, 4, 27, 0.22);
  border-color: rgba(196, 247, 255, 0.28);
}

.route-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.route-content {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.route-content strong {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.route-content small {
  color: rgba(236, 248, 255, 0.57);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}

.route-link {
  margin-top: auto;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
}

.route-link b {
  margin-left: 5px;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.route-card:hover .route-link b {
  display: inline-block;
  transform: translateX(4px);
}

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

.topic-card {
  min-height: 144px;
  padding: 22px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  text-align: left;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.07);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.42s ease, background 0.42s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 26px 60px rgba(7, 4, 27, 0.11);
}

.topic-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 211, 240, 0.82), rgba(196, 247, 255, 0.85));
}

.topic-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-card > span:nth-child(2) {
  display: grid;
  gap: 7px;
}

.topic-card strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.topic-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.topic-card > b {
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.topic-card:hover > b {
  transform: translate(3px, -3px);
}

/* Answer browser */
.answer-browser {
  padding: 92px 0 110px;
  border-top: 1px solid rgba(7, 4, 27, 0.1);
}

.answer-browser.is-entering {
  animation: browserIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-top {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.back-to-browse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.back-to-browse span {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.back-to-browse:hover span {
  transform: translateX(-4px);
}

.browser-breadcrumb {
  margin: 0;
  color: var(--soft-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.browser-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.browser-heading > div {
  max-width: 760px;
}

.result-count {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--soft-muted) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.secondary-filters {
  margin-top: 34px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(18px);
}

.secondary-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.secondary-filter.is-active {
  background: var(--ink);
  color: var(--bg1);
  box-shadow: 0 10px 26px rgba(7, 4, 27, 0.16);
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.065);
  backdrop-filter: blur(18px);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 22px 54px rgba(7, 4, 27, 0.09);
}

.faq-item.is-open {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 60px rgba(7, 4, 27, 0.1);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 108px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  gap: 24px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-question-copy {
  display: grid;
  gap: 7px;
}

.faq-question-copy small {
  color: var(--soft-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-question-copy strong {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.faq-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(7, 4, 27, 0.055);
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.35s ease;
}

.faq-toggle::before {
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-toggle {
  background: var(--ink);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after {
  background: var(--bg1);
}

.faq-item.is-open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 84px 26px 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
}

.faq-answer-content p {
  margin: 0;
}

.faq-answer-content p + p,
.faq-answer-content p + ul,
.faq-answer-content p + ol,
.faq-answer-content ul + p,
.faq-answer-content ol + p {
  margin-top: 14px;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 14px 0 0;
  padding-left: 20px;
}

.faq-answer-content li + li {
  margin-top: 7px;
}

.faq-answer-content strong {
  color: var(--ink);
}

.faq-answer-content a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: rgba(7, 4, 27, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease;
}

.faq-answer-content a:hover {
  text-decoration-color: var(--ink);
}

.answer-note {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(196, 247, 255, 0.42);
  color: rgba(7, 4, 27, 0.68);
  font-size: 12px;
}

.no-results {
  margin-top: 28px;
  padding: 54px 24px;
  text-align: center;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.34);
}

.no-results > span {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  font-size: 24px;
  font-weight: 700;
}

.no-results h3 {
  margin: 0;
  font-size: 24px;
}

.no-results p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.no-results button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg1);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}


/* Final CTA */
.final-cta {
  min-height: 380px;
  margin-bottom: 104px;
  padding: clamp(42px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  align-items: center;
  gap: 54px;
  border: 1px solid rgba(236, 248, 255, 0.1);
  border-radius: 36px;
  background: linear-gradient(150deg, #08051c 0%, #0a071f 62%, #2b2540 100%);
  color: var(--bg1);
  box-shadow: 0 34px 90px rgba(7, 4, 27, 0.22);
}

.final-cta h2 {
  max-width: 780px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.final-cta p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(236, 248, 255, 0.56);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.final-actions {
  display: flex;
  justify-content: flex-end;
}

.button {
  min-width: 200px;
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.button:hover {
  transform: translateY(-4px);
}

.button-aqua {
  background: var(--aqua);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(196, 247, 255, 0.16);
}

.button-aqua:hover {
  box-shadow: 0 26px 58px rgba(196, 247, 255, 0.24);
}

/* Footer — matched to the homepage */
.site-footer {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  padding: 34px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(7, 4, 27, 0.1);
  color: rgba(7, 4, 27, 0.62);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 211, 240, 0.68),
    rgba(196, 247, 255, 0.78),
    transparent
  );
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-copyright {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-universe {
  margin: 0;
  color: rgba(7, 4, 27, 0.56);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-universe span {
  margin: 0 5px;
  color: rgba(7, 4, 27, 0.34);
}

.footer-universe a,
.footer-legal a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.footer-universe a::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.footer-universe a:hover::after,
.footer-universe a:focus-visible::after,
.footer-legal a:hover::after,
.footer-legal a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.footer-legal span {
  color: rgba(7, 4, 27, 0.36);
}


/* Animations */
@keyframes fadeInSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mobileLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes browserIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
    justify-self: end;
  }

  .help-hero {
    min-height: auto;
    padding-top: 138px;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: 220px;
  }

  .route-content {
    margin-top: 24px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    width: calc(100% - 32px);
  }

  .site-header.is-scrolled {
    width: calc(100% - 24px);
  }

  .help-hero {
    padding-top: 120px;
    padding-bottom: 62px;
    gap: 50px;
  }

  .help-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .help-search {
    min-height: 60px;
    border-radius: 19px;
  }

  .browse-help,
  .answer-browser {
    padding-top: 70px;
    padding-bottom: 82px;
  }

  .browse-switch {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .browse-tab {
    min-width: 0;
    padding-inline: 10px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .browser-heading {
    display: grid;
    gap: 18px;
  }

  .result-count {
    width: fit-content;
  }

  .faq-question {
    min-height: 98px;
    padding: 19px;
    grid-template-columns: 1fr 42px;
    gap: 16px;
  }

  .faq-toggle {
    width: 42px;
    height: 42px;
  }

  .faq-answer-content {
    padding: 0 19px 22px;
  }

  .final-cta {
    margin-bottom: 74px;
    padding: 38px 26px;
    border-radius: 30px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    padding: 16px;
  }

  .mobile-menu-content {
    min-height: calc(100svh - 32px);
    padding: 22px;
    border-radius: 26px;
  }

  .help-hero {
    padding-top: 106px;
  }

  .browse-switch {
    padding: 5px;
  }

  .browse-tab {
    min-height: 42px;
    font-size: 11px;
  }

  .route-card {
    padding: 22px;
    border-radius: 24px;
  }

  .route-content strong {
    font-size: 20px;
  }

  .topic-card {
    min-height: 132px;
    padding: 18px;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    border-radius: 21px;
  }

  .topic-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .topic-card strong {
    font-size: 16px;
  }

  .browser-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .secondary-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .secondary-filters::-webkit-scrollbar {
    display: none;
  }

  .secondary-filter {
    flex: 0 0 auto;
  }

  .final-cta h2 {
    font-size: clamp(36px, 11vw, 48px);
  }
}

@media (max-width: 700px) {
  .site-footer {
    width: min(100%, calc(100% - 32px));
    min-height: 142px;
    padding: 30px 0 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Unified Help Center library */
.help-hero {
  min-height: auto;
  padding-top: 154px;
  padding-bottom: 58px;
}

.help-library {
  padding: 8px 0 110px;
}

.library-panel {
  display: grid;
  gap: 20px;
}

.topic-toolbar {
  min-height: 92px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(7, 4, 27, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.07);
  backdrop-filter: blur(22px);
}

.topic-toolbar-label span,
.role-sidebar-heading > span {
  color: rgba(7, 4, 27, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topic-filter-options {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scrollbar-width: none;
}

.topic-filter-options::-webkit-scrollbar {
  display: none;
}

.topic-filter {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(7, 4, 27, 0.58);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.topic-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 4, 27, 0.1);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.topic-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg1);
  box-shadow: 0 12px 28px rgba(7, 4, 27, 0.16);
}

.clear-all-filters {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(7, 4, 27, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.clear-all-filters:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 4, 27, 0.28);
  background: rgba(255, 255, 255, 0.68);
}

.library-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.role-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 32px 24px;
  border: 1px solid rgba(7, 4, 27, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.07);
  backdrop-filter: blur(22px);
}

.role-sidebar-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.role-sidebar-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.role-filter-options {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.role-filter {
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid rgba(7, 4, 27, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.28);
  color: rgba(7, 4, 27, 0.64);
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.32s ease,
    background 0.32s ease,
    color 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.role-filter:hover {
  transform: translateX(3px);
  border-color: rgba(7, 4, 27, 0.2);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.role-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg1);
  box-shadow: 0 14px 30px rgba(7, 4, 27, 0.17);
}

.results-column {
  min-width: 0;
  padding: 34px clamp(24px, 3.2vw, 42px) 42px;
  border: 1px solid rgba(7, 4, 27, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 48px rgba(7, 4, 27, 0.07);
  backdrop-filter: blur(22px);
}

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(7, 4, 27, 0.09);
}

.results-heading > div {
  max-width: 700px;
}

.results-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.results-heading p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.result-count {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 10px 13px;
  border: 1px solid rgba(7, 4, 27, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(7, 4, 27, 0.55) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.category-results {
  display: grid;
  gap: 42px;
  margin-top: 34px;
}

.help-category {
  min-width: 0;
}

.category-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

.category-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(251, 211, 240, 0.88), rgba(196, 247, 255, 0.92));
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.category-copy {
  min-width: 0;
}

.category-copy small {
  display: block;
  margin-bottom: 4px;
  color: rgba(7, 4, 27, 0.47);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.category-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.category-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.category-count {
  padding: 8px 11px;
  border: 1px solid rgba(7, 4, 27, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(7, 4, 27, 0.5);
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.help-category .faq-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.help-category .faq-item {
  overflow: hidden;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none;
  backdrop-filter: blur(16px);
  transition: transform 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
}

.help-category .faq-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.52);
}

.help-category .faq-item.is-open {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 15px 38px rgba(7, 4, 27, 0.07);
}

.help-category .faq-question {
  min-height: 82px;
  padding: 17px 18px 17px 20px;
}

.help-category .faq-question-copy {
  gap: 5px;
}

.help-category .faq-question-copy small {
  font-size: 8px;
}

.help-category .faq-question-copy strong {
  font-size: 15px;
  line-height: 1.38;
}

.help-category .faq-answer-inner {
  padding: 0 20px 20px;
}

.no-results {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .topic-toolbar {
    grid-template-columns: 1fr auto;
  }

  .topic-toolbar-label {
    grid-column: 1 / -1;
  }

  .library-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .role-sidebar {
    padding: 28px 18px;
  }

  .results-column {
    padding-inline: 26px;
  }
}

@media (max-width: 760px) {
  .help-hero {
    padding-top: 120px;
    padding-bottom: 46px;
  }

  .help-library {
    padding-top: 4px;
    padding-bottom: 82px;
  }

  .library-panel {
    gap: 14px;
  }

  .topic-toolbar {
    min-height: auto;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    border-radius: 22px;
  }

  .topic-toolbar-label {
    grid-column: 1 / -1;
  }

  .topic-filter-options {
    margin-right: -4px;
  }

  .clear-all-filters {
    align-self: center;
  }

  .library-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .role-sidebar {
    position: static;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .role-sidebar-heading h2,
  .role-sidebar-heading p {
    display: none;
  }

  .role-filter-options {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 2px 1px 5px;
    scrollbar-width: none;
  }

  .role-filter-options::-webkit-scrollbar {
    display: none;
  }

  .role-filter {
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .role-filter:hover {
    transform: translateY(-2px);
  }

  .results-column {
    padding: 26px 18px 30px;
    border-radius: 22px;
  }

  .results-heading {
    display: grid;
    gap: 16px;
    padding-bottom: 22px;
  }

  .result-count {
    width: fit-content;
  }

  .category-results {
    gap: 34px;
    margin-top: 28px;
  }

  .category-heading {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .category-marker {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .category-copy h3 {
    font-size: 18px;
  }

  .category-copy p {
    display: none;
  }

  .category-count {
    display: none;
  }
}

@media (max-width: 520px) {
  .topic-toolbar {
    grid-template-columns: 1fr;
  }

  .clear-all-filters {
    width: fit-content;
  }

  .results-heading h2 {
    font-size: 30px;
  }

  .category-heading {
    grid-template-columns: 39px minmax(0, 1fr);
  }

  .category-marker {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }

  .help-category .faq-question {
    min-height: 76px;
    padding: 15px;
  }

  .help-category .faq-question-copy small {
    display: none;
  }

  .help-category .faq-question-copy strong {
    font-size: 14px;
  }

  .help-category .faq-answer-inner {
    padding: 0 15px 17px;
  }
}


/* Responsive hardening for the current Help Center layout */
main,
.section-shell,
.library-panel,
.library-layout,
.results-column,
.results-heading > *,
.category-heading > *,
.faq-question-copy {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

.help-hero h1,
.hero-intro,
.results-heading h2,
.results-heading p,
.category-copy h3,
.category-copy p,
.faq-question-copy strong,
.faq-answer-content,
.final-cta h2,
.final-cta p {
  overflow-wrap: anywhere;
}

.topic-filter-options,
.role-filter-options {
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
}

.topic-filter,
.role-filter {
  scroll-snap-align: start;
}

.help-category .faq-question {
  grid-template-columns: minmax(0, 1fr) auto;
}

.help-category .faq-answer-inner {
  min-width: 0;
}

.help-category .faq-answer-content {
  padding: 0;
}

@media (min-width: 901px) and (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-links,
  .header-actions {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 14px;
    width: min(100%, calc(100% - 32px));
    grid-template-columns: 1fr auto;
  }

  .site-header.is-scrolled {
    padding: 9px 12px;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    justify-self: end;
    display: block;
  }

  .help-hero {
    padding-top: 126px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  .section-shell {
    width: min(100%, calc(100% - 32px));
  }

  .site-header {
    width: min(100%, calc(100% - 32px));
  }

  .site-header.is-scrolled {
    width: min(100%, calc(100% - 24px));
  }

  .help-hero {
    padding-top: 112px;
    padding-bottom: 44px;
  }

  .help-hero h1 {
    font-size: clamp(38px, 11.5vw, 56px);
    line-height: 1;
  }

  .hero-intro {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .help-search {
    min-height: 58px;
    margin-top: 26px;
    padding-inline: 15px;
    border-radius: 18px;
  }

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

  .topic-toolbar {
    overflow: hidden;
  }

  .topic-filter-options,
  .role-filter-options {
    -webkit-overflow-scrolling: touch;
  }

  .results-heading .eyebrow {
    max-width: 100%;
  }

  .final-cta {
    min-height: auto;
  }

  .site-footer {
    width: min(100%, calc(100% - 32px));
    min-height: 142px;
    padding: 30px 0 34px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
  }
}

@media (max-width: 520px) {
  .mobile-menu {
    align-items: flex-start;
    padding:
      max(16px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .mobile-menu-content {
    min-height: calc(100svh - 32px);
    max-height: calc(100svh - 32px);
    padding: 22px;
    border-radius: 28px;
  }

  .brand img,
  .mobile-menu-brand img {
    width: 30px;
    height: 30px;
  }

  .brand span,
  .mobile-menu-brand {
    font-size: 15px;
  }

  .mobile-menu-links {
    margin-block: 30px;
  }

  .mobile-menu-links a {
    padding-block: 14px;
    font-size: clamp(27px, 9.5vw, 38px);
  }

  .help-hero {
    padding-top: 102px;
    padding-bottom: 36px;
  }

  .help-hero .eyebrow {
    margin-bottom: 13px;
  }

  .help-search {
    gap: 11px;
  }

  .help-search > svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .help-library {
    padding-bottom: 68px;
  }

  .topic-toolbar,
  .role-sidebar,
  .results-column {
    border-radius: 20px;
  }

  .topic-toolbar {
    padding: 16px;
  }

  .topic-filter-options {
    width: calc(100% + 4px);
  }

  .results-column {
    padding: 23px 15px 26px;
  }

  .results-heading h2 {
    font-size: clamp(28px, 9vw, 34px);
  }

  .category-results {
    gap: 30px;
  }

  .category-heading {
    align-items: start;
  }

  .help-category .faq-item {
    border-radius: 18px;
  }

  .help-category .faq-question {
    min-height: 74px;
    padding: 14px;
    gap: 12px;
  }

  .faq-toggle {
    width: 40px;
    height: 40px;
  }

  .help-category .faq-answer-inner {
    padding: 0 14px 16px;
  }

  .faq-answer-content {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .final-cta {
    margin-bottom: 62px;
    padding: 34px 22px;
    gap: 30px;
    border-radius: 28px;
  }

  .final-cta h2 {
    font-size: clamp(34px, 10.5vw, 46px);
  }
}

@media (max-width: 380px) {
  .section-shell,
  .site-footer {
    width: min(100%, calc(100% - 24px));
  }

  .site-header {
    width: min(100%, calc(100% - 24px));
  }

  .site-header.is-scrolled {
    width: min(100%, calc(100% - 16px));
    padding: 8px 10px;
  }

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

  .help-search {
    padding-inline: 13px;
  }

  .topic-toolbar,
  .role-sidebar,
  .results-column {
    padding-left: 14px;
    padding-right: 14px;
  }

  .category-heading {
    grid-template-columns: 37px minmax(0, 1fr);
    gap: 10px;
  }

  .category-marker {
    width: 37px;
    height: 37px;
  }

  .footer-legal {
    font-size: 12px;
  }
}

@media (max-width: 900px) and (max-height: 640px) {
  .mobile-menu {
    align-items: flex-start;
  }

  .mobile-menu-content {
    min-height: auto;
  }

  .mobile-menu-links {
    margin-block: 20px;
  }

  .mobile-menu-links a {
    padding-block: 11px;
    font-size: clamp(24px, 7vh, 34px);
  }
}

@media (hover: none) {
  .topic-filter:hover,
  .role-filter:hover,
  .help-category .faq-item:hover,
  .signup-link:hover,
  .button:hover {
    transform: none;
  }
}

/* =========================================================
   Complete responsive layout hardening
   Keeps every Help Center section usable from 320px upward.
   ========================================================= */

html,
body {
  max-width: 100%;
}

body,
main,
.help-hero,
.help-library,
.library-panel,
.topic-toolbar,
.library-layout,
.role-sidebar,
.results-column,
.results-heading,
.category-results,
.help-category,
.faq-list,
.faq-item,
.faq-question,
.faq-question-copy,
.faq-answer,
.faq-answer-inner,
.faq-answer-content,
.final-cta,
.site-footer {
  min-width: 0;
  max-width: 100%;
}

.faq-answer-content,
.faq-answer-content * {
  box-sizing: border-box;
  max-width: 100%;
}

.faq-answer-content p,
.faq-answer-content li,
.faq-answer-content a,
.faq-answer-content strong,
.faq-answer-content em,
.faq-answer-content code,
.faq-question-copy strong,
.category-copy h3,
.category-copy p,
.results-heading h2,
.results-heading p {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.faq-answer-content img,
.faq-answer-content video,
.faq-answer-content iframe,
.faq-answer-content svg,
.faq-answer-content canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.faq-answer-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.faq-answer-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.faq-answer-content code {
  white-space: break-spaces;
}

.faq-answer-content ul,
.faq-answer-content ol {
  max-width: 100%;
}

/* Move to the mobile content layout before the two-column shell becomes cramped. */
@media (max-width: 900px) {
  .help-library {
    padding-inline: 0;
  }

  .library-panel {
    width: 100%;
  }

  .topic-toolbar {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    overflow: visible;
  }

  .topic-toolbar-label {
    grid-column: auto;
  }

  .topic-filter-options {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .topic-filter {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .clear-all-filters {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
  }

  .library-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .role-sidebar {
    position: static;
    top: auto;
    width: 100%;
  }

  .role-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
  }

  .role-filter {
    width: auto;
    max-width: 100%;
    min-height: 44px;
    flex: 1 1 180px;
    white-space: normal;
  }

  .role-filter:hover {
    transform: translateY(-2px);
  }

  .results-column {
    width: 100%;
  }

  .results-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .result-count {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    line-height: 1.25 !important;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100%, calc(100% - 28px));
  }

  .help-hero {
    padding-top: 108px;
    padding-bottom: 36px;
  }

  .help-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -0.052em;
  }

  .hero-intro {
    font-size: 14px;
    line-height: 1.6;
  }

  .help-search {
    width: 100%;
    min-height: 56px;
  }

  .topic-toolbar,
  .role-sidebar,
  .results-column {
    width: 100%;
    padding: 18px;
  }

  .topic-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-filter {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
  }

  .role-sidebar-heading h2,
  .role-sidebar-heading p {
    display: block;
  }

  .role-sidebar-heading h2 {
    font-size: 22px;
  }

  .role-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .role-filter {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 15px;
    text-align: center;
    justify-content: center;
  }

  .results-column {
    padding: 24px 18px 28px;
  }

  .results-heading h2 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .results-heading p {
    font-size: 12.5px;
  }

  .category-results {
    width: 100%;
    gap: 30px;
    margin-top: 26px;
  }

  .category-heading {
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .category-marker {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .category-copy h3 {
    font-size: 18px;
  }

  .category-copy p {
    display: block;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .category-count {
    display: none;
  }

  .help-category .faq-list {
    width: 100%;
  }

  .help-category .faq-item {
    width: 100%;
    border-radius: 18px;
  }

  .help-category .faq-question {
    width: 100%;
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .help-category .faq-question-copy {
    width: 100%;
  }

  .help-category .faq-question-copy small {
    display: block;
    font-size: 7.5px;
    line-height: 1.35;
  }

  .help-category .faq-question-copy strong {
    font-size: 14px;
    line-height: 1.38;
  }

  .faq-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .help-category .faq-answer-inner {
    width: 100%;
    padding: 0 14px 16px;
  }

  .faq-answer-content {
    width: 100%;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .faq-answer-content ul,
  .faq-answer-content ol {
    margin-top: 12px;
    padding-left: 20px;
  }

  .faq-answer-content li {
    padding-left: 2px;
  }

  .answer-note {
    width: 100%;
    padding: 12px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .no-results {
    width: 100%;
    padding: 38px 18px;
  }

  .final-cta {
    width: min(100%, calc(100% - 28px));
    min-height: 0;
    margin-bottom: 56px;
    padding: 32px 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    border-radius: 26px;
  }

  .final-cta h2 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .final-cta p {
    margin-top: 18px;
    font-size: 13px;
  }

  .final-actions,
  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-shell,
  .site-footer {
    width: min(100%, calc(100% - 24px));
  }

  .site-header {
    width: min(100%, calc(100% - 24px));
  }

  .site-header.is-scrolled {
    width: min(100%, calc(100% - 16px));
  }

  .help-hero {
    padding-top: 98px;
    padding-bottom: 30px;
  }

  .help-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero-intro {
    margin-top: 16px;
    font-size: 13.5px;
  }

  .help-search {
    min-height: 54px;
    margin-top: 22px;
    gap: 10px;
    padding-inline: 13px;
    border-radius: 17px;
  }

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

  .topic-toolbar,
  .role-sidebar,
  .results-column {
    padding: 15px;
    border-radius: 19px;
  }

  .topic-filter-options,
  .role-filter-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-filter,
  .role-filter {
    width: 100%;
  }

  .clear-all-filters {
    width: 100%;
    justify-content: center;
  }

  .results-column {
    padding: 20px 13px 24px;
  }

  .results-heading {
    padding-bottom: 19px;
  }

  .results-heading h2 {
    font-size: clamp(27px, 9vw, 32px);
  }

  .category-results {
    gap: 27px;
    margin-top: 23px;
  }

  .category-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
  }

  .category-marker {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 10px;
  }

  .category-copy small {
    font-size: 8px;
  }

  .category-copy h3 {
    font-size: 16px;
  }

  .category-copy p {
    margin-top: 4px;
    font-size: 11px;
  }

  .help-category .faq-question {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 9px;
    padding: 12px;
  }

  .help-category .faq-question-copy small {
    display: none;
  }

  .help-category .faq-question-copy strong {
    font-size: 13.5px;
    line-height: 1.38;
  }

  .faq-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .faq-toggle::before,
  .faq-toggle::after {
    width: 14px;
  }

  .help-category .faq-answer-inner {
    padding: 0 12px 14px;
  }

  .faq-answer-content {
    font-size: 13px;
    line-height: 1.62;
  }

  .faq-answer-content p + p,
  .faq-answer-content p + ul,
  .faq-answer-content p + ol,
  .faq-answer-content ul + p,
  .faq-answer-content ol + p {
    margin-top: 12px;
  }

  .faq-answer-content ul,
  .faq-answer-content ol {
    padding-left: 18px;
  }

  .final-cta {
    width: min(100%, calc(100% - 24px));
    padding: 28px 18px;
    border-radius: 24px;
  }

  .final-cta h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .site-footer {
    padding-top: 28px;
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }

  .footer-universe,
  .footer-legal {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-universe a,
  .footer-legal a {
    white-space: normal;
  }
}

@media (max-width: 350px) {
  .section-shell,
  .site-footer {
    width: min(100%, calc(100% - 18px));
  }

  .site-header {
    width: min(100%, calc(100% - 18px));
  }

  .brand span {
    font-size: 14px;
  }

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

  .topic-toolbar,
  .role-sidebar,
  .results-column {
    padding-inline: 12px;
  }

  .category-heading {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .category-marker {
    width: 34px;
    height: 34px;
  }

  .help-category .faq-question {
    grid-template-columns: minmax(0, 1fr) 34px;
    padding: 11px;
  }

  .faq-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .help-category .faq-answer-inner {
    padding-inline: 11px;
  }
}

/* =========================================================
   HELP CENTER — REQUESTED JULY 2026 UPDATE
   - Header/footer use the same visual rules as How It Works.
   - Mobile topics use one dropdown instead of stacked buttons.
   - The answer library is visible and populated from initial load.
   ========================================================= */

/* The questions/results panel must never wait for an intersection reveal. */
.library-panel,
.library-panel.reveal,
.library-panel.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Mobile category control is hidden on larger screens. */
.mobile-topic-select-wrap {
  display: none;
}

/* Keep header/footer dimensions and glass behaviour aligned with How It Works. */
.site-header {
  position: fixed;
  top: clamp(10px, 1.8vw, 24px);
  left: 50%;
  z-index: 50;
  width: min(1240px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  padding: 10px 14px;
  border: 1px solid rgba(7, 4, 27, 0.1);
  border-radius: 999px;
  background: rgba(236, 248, 255, 0.68);
  box-shadow: 0 16px 44px rgba(7, 4, 27, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-footer {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  padding: 34px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(7, 4, 27, 0.1);
  color: rgba(7, 4, 27, 0.62);
  font-size: initial;
  text-align: initial;
}

.site-footer .footer-brand {
  display: grid;
  gap: 4px;
}

.site-footer .footer-copyright {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.site-footer .footer-universe {
  margin: 0;
  color: rgba(7, 4, 27, 0.56);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}

.site-footer .footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

@media (max-width: 700px) {
  /* One compact category dropdown replaces all stacked category buttons. */
  .mobile-topic-select-wrap {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .mobile-topic-select-wrap > label {
    color: rgba(7, 4, 27, 0.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mobile-topic-select-control {
    position: relative;
    width: 100%;
  }

  .mobile-topic-select-control select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 48px 0 16px;
    border: 1px solid rgba(7, 4, 27, 0.12);
    border-radius: 17px;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 14px 34px rgba(7, 4, 27, 0.07);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-topic-select-control select:focus-visible {
    border-color: rgba(7, 4, 27, 0.34);
    box-shadow: 0 0 0 4px rgba(196, 247, 255, 0.48);
  }

  .mobile-topic-select-control svg {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }

  .topic-filter-options {
    display: none !important;
  }

  .topic-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
  }

  .clear-all-filters {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Same responsive header/footer behaviour as the other public pages. */
  .site-header {
    width: min(100%, calc(100% - 28px));
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .site-header.is-scrolled {
    width: min(100%, calc(100% - 20px));
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
    justify-self: end;
  }

  .site-footer {
    width: min(100%, calc(100% - 28px));
    min-height: 0;
    padding: 30px 0 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .mobile-topic-select-control select {
    min-height: 50px;
    border-radius: 16px;
    font-size: 13.5px;
  }

  .site-header {
    width: min(100%, calc(100% - 24px));
  }

  .site-header.is-scrolled {
    width: min(100%, calc(100% - 16px));
  }

  .site-footer {
    width: min(100%, calc(100% - 24px));
  }
}


/* =========================================================
   HELP CENTER — TABLET HEADER + TOPIC DROPDOWN FIX
   These final rules intentionally sit last so older Help Center
   breakpoints cannot override the How It Works header layout.
   ========================================================= */

/* Use the compact category dropdown on tablets and phones. */
@media (max-width: 900px) {
  .mobile-topic-select-wrap {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .mobile-topic-select-wrap > label {
    color: rgba(7, 4, 27, 0.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mobile-topic-select-control {
    position: relative;
    width: 100%;
  }

  .mobile-topic-select-control select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 48px 0 16px;
    border: 1px solid rgba(7, 4, 27, 0.12);
    border-radius: 17px;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 14px 34px rgba(7, 4, 27, 0.07);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-topic-select-control select:focus-visible {
    border-color: rgba(7, 4, 27, 0.34);
    box-shadow: 0 0 0 4px rgba(196, 247, 255, 0.48);
  }

  .mobile-topic-select-control svg {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }

  .topic-filter-options {
    display: none !important;
  }

  .topic-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
  }

  .clear-all-filters {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

/* Canonical How It Works header behaviour — desktop and large tablet. */
@media (min-width: 901px) {
  .site-header,
  .site-header.is-scrolled {
    top: clamp(10px, 1.8vw, 24px);
    left: 50%;
    right: auto;
    width: min(1240px, calc(100% - 48px));
    max-width: none;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    transform: translateX(-50%);
  }

  .nav-links,
  .header-actions {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

/* Canonical How It Works header behaviour — tablet. */
@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled {
    top: 14px;
    left: 50%;
    right: auto;
    width: min(100%, calc(100% - 32px));
    max-width: none;
    grid-template-columns: 1fr auto;
    gap: 24px;
    transform: translateX(-50%);
  }

  .site-header.is-scrolled {
    padding: 10px 14px;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: block;
    justify-self: end;
  }
}

/* Canonical How It Works header behaviour — phone. */
@media (max-width: 680px) {
  .site-header,
  .site-header.is-scrolled {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .site-header {
    top: 12px;
    gap: 8px;
  }

  .site-header.is-scrolled {
    padding: 8px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .brand span {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .menu-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }
}

@media (max-width: 390px) {
  .site-header,
  .site-header.is-scrolled {
    left: 10px;
    right: 10px;
  }
}
