.help-page {
  --help-surface: #ffffff;
  --help-soft: #f4f8fb;
  --help-border: #cedbe6;
  --help-text: #263f52;
  --help-muted: #536b7e;
  --help-accent: #1f6f9f;
}

html[data-camus-theme="dark"] .help-page {
  --help-surface: #22262d;
  --help-soft: #272c34;
  --help-border: #3a4654;
  --help-text: #e6ebf0;
  --help-muted: #c2cad3;
  --help-accent: #8fbcff;
}

.help-page .help-hero {
  padding-top: 62px;
  padding-bottom: 46px;
}

.help-page .help-hero h1 {
  max-width: 790px;
  font-size: clamp(2.25rem, 4.5vw, 3.7rem);
}

.help-page .help-hero .camus-page-lead {
  max-width: 680px;
  margin-top: 16px;
}

.help-page .camus-page-actions {
  margin-top: 25px;
}

.help-nav {
  border-bottom: 1px solid var(--help-border);
  background: var(--help-surface);
}

.help-nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 27px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.help-nav a {
  padding: 7px 0;
  color: var(--help-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.help-nav a:hover,
.help-nav a:focus-visible {
  color: var(--help-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-page .help-content {
  padding-top: 8px;
  padding-bottom: 82px;
}

.help-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--help-border);
  scroll-margin-top: 92px;
}

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

.help-eyebrow {
  margin: 0 0 9px;
  color: var(--help-accent);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.help-section h2,
.help-support h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.6rem, 2.9vw, 2.15rem);
  line-height: 1.2;
  text-wrap: balance;
}

.help-section-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--help-muted);
  line-height: 1.65;
}

.help-page .help-section a:not(.help-panel-link):not(.btn),
.help-page .help-faq a {
  color: var(--help-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.help-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 23px 0 25px;
  border-top: 1px solid var(--help-border);
}

.help-step-number {
  padding-top: 2px;
  color: var(--help-accent);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.help-step h3,
.help-panel h3,
.help-update-grid h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.08rem;
  line-height: 1.4;
}

.help-step p,
.help-panel p,
.help-update-grid p,
.help-period-note p,
.help-faq p,
.help-support p:not(.help-eyebrow) {
  margin: 9px 0 0;
  color: var(--help-text);
  line-height: 1.7;
}

.help-inline-note {
  max-width: 860px;
  margin: 8px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--help-accent);
  color: var(--help-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

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

.help-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--help-border);
  border-radius: 10px;
  background: var(--help-surface);
}

.help-panel-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--help-accent);
  font-weight: 700;
  text-decoration: none;
}

.help-panel-link:hover,
.help-panel-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-period-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding: 20px 23px;
  border: 1px solid var(--help-border);
  border-left: 3px solid var(--help-accent);
  border-radius: 8px;
  background: var(--help-soft);
}

.help-period-note strong {
  color: var(--ink-strong);
}

.help-period-note p {
  margin-top: 0;
}

.help-update-grid > div {
  padding: 22px 0 8px;
  border-top: 1px solid var(--help-border);
}

.help-faq {
  max-width: 880px;
  border-top: 1px solid var(--help-border);
}

.help-faq details {
  border-bottom: 1px solid var(--help-border);
}

.help-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  color: var(--ink-strong);
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.help-faq summary::-webkit-details-marker {
  display: none;
}

.help-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--help-accent);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.help-faq details[open] summary::after {
  content: "−";
}

.help-faq p {
  max-width: 750px;
  margin: 0 0 21px;
  padding-right: 34px;
}

.help-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding: 30px;
  border: 1px solid var(--help-border);
  border-radius: 10px;
  background: var(--help-surface);
  scroll-margin-top: 92px;
}

.help-support > div {
  max-width: 680px;
}

.help-support .btn {
  flex: 0 0 auto;
}

.help-support-address {
  color: var(--ink-strong);
  overflow-wrap: anywhere;
  user-select: text;
}

.help-support-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

.help-support-actions .btn {
  justify-content: center;
}

.help-support-default {
  padding: 6px 0;
  text-align: center;
  font-size: .84rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .help-page .header-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 64px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .help-page .main-nav,
  .help-page .camus-header-link {
    display: none;
  }

  .help-page .camus-header-actions {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
  }

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

  .help-nav .container {
    gap: 3px 18px;
  }

  .help-section {
    padding: 40px 0;
  }

  .help-steps,
  .help-manage-grid,
  .help-update-grid {
    grid-template-columns: 1fr;
  }

  .help-period-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .help-support {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .help-support .btn {
    width: 100%;
  }
}
