/*
 * CareNestHQ Help Center (WORK-0090, remediated WORK-0091).
 *
 * This file is a thin layer on top of /styles.css. It must not introduce a
 * second design language: every colour, radius, shadow and type step below
 * resolves to a canonical token declared in the styles.css :root block.
 */

.help-center-page {
  /* Canonical tokens, aliased locally so Help components stay readable. */
  --hc-ink: var(--navy);
  --hc-body: var(--text);
  /*
   * Help copy is long-form, so the muted grey and the sage link colour are
   * darkened just enough to clear WCAG AA (4.5:1) on the cream page. They are
   * derived from --muted / --sage and read as the same colours at a glance.
   */
  --hc-muted: #5c6670;
  --hc-link: #426c59;
  --hc-border: var(--border);
  --hc-line: rgba(231, 227, 220, 0.85);
  --hc-card: var(--white);
  --hc-tint: rgba(78, 127, 107, 0.07);
  --hc-tint-warm: rgba(229, 106, 87, 0.07);
  --hc-radius: var(--radius-sm);
  --hc-radius-lg: var(--radius);
  --hc-radius-sm: 12px;
  --hc-shadow: var(--shadow-soft);
  --hc-shadow-lg: var(--shadow);
  --hc-max: 1120px;
  --hc-measure: 68ch;
  --hc-gutter: 6vw;
  --hc-video-max: 680px;

  background: var(--cream);
  color: var(--hc-body);
}

/*
 * styles.css declares a global `button { background: var(--sage); color: var(--white) }`.
 * Any Help button that sets its own background but not its own colour used to
 * inherit white text on a white surface (WORK-0091: invisible chapter rows).
 * Every non-CTA button in the Help Center opts out of the global skin here.
 */
.help-center-page button:not(.cn-cta) {
  background: var(--hc-card);
  color: var(--hc-ink);
  border-radius: var(--hc-radius-sm);
  font: inherit;
  font-weight: 600;
  padding: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.help-center-page button:not(.cn-cta):hover {
  transform: none;
  opacity: 1;
}

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

.hc-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  border-radius: 0 0 var(--hc-radius-sm) 0;
  font-weight: 700;
  text-decoration: none;
}

.hc-skip-link:focus {
  left: 0;
}

/* ----------------------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------------------- */

.hc-main {
  display: block;
}

.hc-shell {
  max-width: var(--hc-max);
  margin: 0 auto;
}

.hc-section {
  padding: clamp(48px, 6vw, 84px) var(--hc-gutter);
}

.hc-section--tight {
  padding-top: clamp(36px, 4.5vw, 56px);
}

.hc-section--tint {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--hc-line);
  border-bottom: 1px solid var(--hc-line);
}

.hc-section__head {
  max-width: var(--hc-measure);
  margin: 0 0 clamp(24px, 3vw, 40px);
}

.hc-section__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--hc-ink);
}

.hc-section__head p {
  margin: 14px 0 0;
  color: var(--hc-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hc-prose p {
  color: var(--hc-muted);
  line-height: 1.65;
  max-width: var(--hc-measure);
}

.hc-muted {
  color: var(--hc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Help-only tightening of the shared emotional footer (global styles stay intact). */
.help-center-page .emotional-footer-statement {
  padding-top: 56px;
  padding-bottom: 60px;
}

@media (max-width: 640px) {
  .help-center-page .emotional-footer-statement {
    padding-top: 40px;
    padding-bottom: 48px;
  }
}

/* Shared .eyebrow is 12px uppercase; darken it here to clear AA on cream. */
.help-center-page .eyebrow {
  color: var(--hc-muted);
}

.hc-lead {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--hc-muted);
  max-width: var(--hc-measure);
}

/* ----------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.hc-hero {
  position: relative;
  padding: clamp(36px, 4.5vw, 68px) var(--hc-gutter) clamp(28px, 3.5vw, 48px);
  background:
    radial-gradient(circle at top left, rgba(229, 106, 87, 0.09), transparent 34%),
    radial-gradient(circle at top right, rgba(78, 127, 107, 0.1), transparent 38%),
    var(--cream);
  border-bottom: 1px solid var(--hc-line);
}

.hc-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hc-hero__inner .eyebrow {
  justify-content: center;
}

.hc-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--hc-ink);
}

.hc-hero__lead {
  margin: 14px auto 0;
  max-width: 60ch;
  color: var(--hc-muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.6;
}

.hc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 18px;
  font-size: 0.95rem;
}

.hc-hero__actions a {
  color: var(--hc-link);
  font-weight: 650;
}

/* ----------------------------------------------------------------------
   Search
   ---------------------------------------------------------------------- */

.hc-search {
  margin: 22px auto 0;
  max-width: 620px;
  text-align: left;
}

.hc-search__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hc-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--hc-border);
  background: var(--white);
  box-shadow: var(--hc-shadow);
  font: inherit;
  color: var(--hc-body);
}

.hc-search input[type="search"]::placeholder {
  color: var(--hc-muted);
}

.hc-search input[type="search"]:focus-visible {
  outline: 3px solid rgba(78, 127, 107, 0.35);
  outline-offset: 2px;
  border-color: var(--hc-link);
}

.hc-search__hint {
  margin: 12px 2px 0;
  color: var(--hc-muted);
  font-size: 0.88rem;
  text-align: center;
}

.hc-search__hint-lead {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-align: center;
}

.hc-search__examples {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  color: var(--hc-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.hc-search--page {
  max-width: none;
  margin: 0 0 8px;
}

.hc-search--page .hc-search__hint,
.hc-search--page .hc-search__hint-lead,
.hc-search--page .hc-search__examples {
  text-align: left;
}

.hc-results-panel:not([hidden]) {
  display: block;
  margin: 0 0 28px;
}

.hc-results {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-results__item {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-card);
  box-shadow: var(--hc-shadow);
}

.hc-results__item a {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}

.hc-results__item a:hover,
.hc-results__item a:focus-visible {
  border-radius: var(--hc-radius);
  background: var(--hc-tint);
}

.hc-results__kicker {
  display: block;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-link);
}

.hc-results__title {
  display: block;
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--hc-ink);
  letter-spacing: -0.02em;
}

.hc-results__snippet {
  display: block;
  margin: 6px 0 0;
  color: var(--hc-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hc-results__status {
  margin: 0 0 16px;
  color: var(--hc-muted);
  font-size: 0.95rem;
}

.hc-results mark {
  background: rgba(229, 106, 87, 0.16);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

/* ----------------------------------------------------------------------
   Topic cards
   ---------------------------------------------------------------------- */

.hc-topic-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}

.hc-topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 26px 26px 22px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  background: var(--hc-card);
  box-shadow: var(--hc-shadow);
  color: var(--hc-ink);
  text-decoration: none;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.hc-topic-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hc-topic-card__copy {
  color: var(--hc-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hc-topic-card__more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--hc-link);
  font-weight: 650;
  font-size: 0.92rem;
}

.hc-topic-card:hover,
.hc-topic-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(78, 127, 107, 0.35);
  box-shadow: var(--hc-shadow-lg);
}

/* ----------------------------------------------------------------------
   Editorial steps ("Start here")
   ---------------------------------------------------------------------- */

.hc-steps {
  counter-reset: hc-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.hc-steps li {
  counter-increment: hc-step;
  padding: 24px 24px 22px;
  border-radius: var(--hc-radius-lg);
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.75);
}

.hc-steps li::before {
  content: counter(hc-step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--hc-link);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 0 rgba(11, 29, 45, 0.08);
}

.hc-steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--hc-ink);
}

.hc-steps p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hc-steps a {
  color: var(--hc-link);
  font-weight: 650;
}

/* ----------------------------------------------------------------------
   Featured video
   ---------------------------------------------------------------------- */

.hc-video {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

@media (min-width: 1000px) {
  .hc-video {
    grid-template-columns: minmax(0, var(--hc-video-max)) minmax(260px, 1fr);
    align-items: start;
  }
}

.hc-video__player {
  max-width: var(--hc-video-max);
  width: 100%;
}

.hc-video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--hc-radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--hc-shadow-lg);
}

.hc-video__stage img,
.hc-video__stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.help-center-page button.hc-video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.hc-video__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 45, 0) 45%, rgba(11, 29, 45, 0.5) 100%);
}

.hc-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.35rem;
  box-shadow: 0 10px 30px rgba(11, 29, 45, 0.32);
  transition: transform 0.2s ease-out;
}

.hc-video__facade:hover .hc-video__play {
  transform: scale(1.05);
}

.hc-video__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(11, 29, 45, 0.84);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hc-video__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 20px 0 0;
}

.hc-video__actions a:not(.cn-cta) {
  color: var(--hc-link);
  font-weight: 650;
  font-size: 0.95rem;
}

.hc-video__aside {
  display: grid;
  gap: 18px;
}

.hc-video__panel {
  padding: 22px 22px 18px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  background: var(--hc-card);
  box-shadow: var(--hc-shadow);
}

.hc-video__panel h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hc-chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.help-center-page button.hc-chapter {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  /* Explicit colour: guards against the global button skin in styles.css. */
  color: var(--hc-ink);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.35;
  cursor: pointer;
}

.help-center-page button.hc-chapter:hover,
.help-center-page button.hc-chapter:focus-visible {
  background: var(--hc-tint);
  border-color: rgba(78, 127, 107, 0.28);
}

.hc-chapter__time {
  flex: 0 0 auto;
  min-width: 3.25rem;
  color: var(--hc-link);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
}

.hc-chapter__title {
  color: var(--hc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------------
   Transcript
   ---------------------------------------------------------------------- */

.hc-transcript {
  margin-top: 22px;
  border: 1px solid rgba(78, 127, 107, 0.28);
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hc-shadow);
  overflow: hidden;
}

.hc-transcript > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 16px;
  cursor: pointer;
  color: var(--hc-ink);
  font-weight: 650;
  list-style: none;
  background: rgba(78, 127, 107, 0.08);
}

.hc-transcript > summary::-webkit-details-marker {
  display: none;
}

.hc-transcript__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-link);
  flex: 0 0 auto;
}

.hc-transcript > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 2px solid var(--hc-link);
  border-bottom: 2px solid var(--hc-link);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.hc-transcript[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.hc-transcript > summary::before {
  display: none;
}

.hc-transcript[open] > summary::before {
  display: none;
}

.hc-transcript__body {
  padding: 4px 20px 22px;
  border-top: 1px solid var(--hc-line);
}

.hc-transcript__segments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-height: 460px;
  overflow-y: auto;
}

.hc-transcript__segment {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.hc-transcript__time {
  color: var(--hc-link);
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 700;
  padding-top: 2px;
}

.hc-transcript__text {
  margin: 0;
  color: var(--hc-body);
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: var(--hc-measure);
}

.hc-transcript__source {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hc-line);
  color: var(--hc-muted);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------------------
   Article layout
   ---------------------------------------------------------------------- */

.hc-article {
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--hc-gutter) clamp(48px, 6vw, 88px);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 1000px) {
  .hc-article--with-toc {
    grid-template-columns: minmax(0, 1fr) 248px;
    align-items: start;
  }
}

.hc-article__main {
  min-width: 0;
  display: grid;
  gap: clamp(28px, 3.5vw, 44px);
}

/* Pages with no on-this-page rail keep an editorial measure instead of
   stretching the full shell width. */
.hc-article:not(.hc-article--with-toc) .hc-article__main {
  max-width: 820px;
}

.hc-article__header h1 {
  margin: 12px 0 0;
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--hc-ink);
}

.hc-article__header .hc-lead {
  margin: 16px 0 0;
}

.hc-article__main h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--hc-ink);
}

.hc-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--hc-muted);
}

.hc-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--hc-border);
}

.hc-breadcrumbs a {
  color: var(--hc-muted);
  text-decoration: none;
}

.hc-breadcrumbs a:hover {
  color: var(--hc-link);
  text-decoration: underline;
}

.hc-breadcrumbs [aria-current="page"] {
  color: var(--hc-ink);
  font-weight: 600;
}

.hc-toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: var(--hc-radius-lg);
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.75);
  align-self: start;
}

.hc-toc__label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hc-muted);
}

.hc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.hc-toc a {
  color: var(--hc-ink);
  text-decoration: none;
}

.hc-toc a:hover {
  color: var(--hc-link);
  text-decoration: underline;
}

@media (max-width: 999px) {
  .hc-toc {
    position: static;
  }
}

/* Key takeaways */

.hc-takeaways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hc-takeaways li {
  position: relative;
  padding: 0 0 0 34px;
  color: var(--hc-body);
  line-height: 1.6;
  max-width: var(--hc-measure);
}

.hc-takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--sage);
  background: var(--hc-tint);
}

/* FAQ accordion */

.hc-faq {
  display: grid;
  gap: 10px;
}

.hc-faq__item {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-card);
  box-shadow: var(--hc-shadow);
  overflow: hidden;
}

.hc-faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  cursor: pointer;
  color: var(--hc-ink);
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}

.hc-faq__item > summary::-webkit-details-marker {
  display: none;
}

.hc-faq__item > summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--hc-tint);
  color: var(--hc-link);
  font-weight: 700;
  line-height: 1;
}

.hc-faq__item[open] > summary::after {
  content: "\2212";
}

.hc-faq__answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--hc-line);
}

.hc-faq__answer p {
  margin: 14px 0 0;
  color: var(--hc-muted);
  line-height: 1.65;
  max-width: var(--hc-measure);
}

/* Card lists (guides in section, related) */

.hc-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.hc-cards a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-card);
  box-shadow: var(--hc-shadow);
  text-decoration: none;
  color: var(--hc-ink);
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.hc-cards a:hover,
.hc-cards a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(78, 127, 107, 0.35);
}

.hc-cards strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.hc-cards span {
  color: var(--hc-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Related / next steps block */

.hc-related {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--hc-radius-lg);
  border: 1px solid var(--hc-line);
  background: rgba(255, 255, 255, 0.78);
}

.hc-related h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hc-related__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.hc-related__actions a:not(.cn-cta) {
  color: var(--hc-link);
  font-weight: 650;
  font-size: 0.95rem;
}

/* Support / contact last resort */

.hc-support {
  display: grid;
  gap: 18px;
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--hc-radius-lg);
  border: 1px solid rgba(78, 127, 107, 0.22);
  background:
    radial-gradient(circle at top right, rgba(229, 106, 87, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--hc-shadow);
}

.hc-support h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--hc-ink);
}

.hc-support p {
  margin: 0;
  color: var(--hc-muted);
  line-height: 1.6;
  max-width: var(--hc-measure);
}

.hc-support__steps {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
  color: var(--hc-muted);
  line-height: 1.6;
}

.hc-support__steps a {
  color: var(--hc-link);
  font-weight: 650;
}

.hc-support__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

/* Simple link list */

.hc-simple-list {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
  line-height: 1.6;
  color: var(--hc-muted);
}

.hc-simple-list a {
  color: var(--hc-link);
  font-weight: 650;
}

/* ----------------------------------------------------------------------
   Motion / responsive
   ---------------------------------------------------------------------- */

@media (max-width: 640px) {
  .hc-search__row {
    grid-template-columns: 1fr;
  }

  .hc-transcript__segment {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .hc-chapter__title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-center-page * {
    transition: none !important;
    animation: none !important;
  }

  .hc-topic-card:hover,
  .hc-topic-card:focus-visible,
  .hc-cards a:hover,
  .hc-cards a:focus-visible,
  .hc-video__facade:hover .hc-video__play {
    transform: none;
  }
}
