/* Help Centre — frame 2:1571 (1440) / 45:577 (390).
 * One DOM for both: .topics is a grid on desktop (pills in row 1, the open
 * panel spans row 2 as a full-bleed section) and an accordion on mobile. */

/* ── hero (2:1598 / 45:593) ───────────────────────────────────────────── */
.hp-hero { position: relative; overflow: hidden; height: 518px; padding: 96px 60px; background: var(--color-bg); color: var(--color-cream-2); }
.hp-hero__wm { position: absolute; left: 530px; top: 87px; color: var(--color-lime); opacity: .08; font-family: var(--font-display); font-weight: 800; font-size: 220px; line-height: 264px; letter-spacing: -8px; pointer-events: none; }
.hp-hero__content { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.hp-hero__left { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 760px; flex: none; }
.hp-hero__title { display: flex; flex-direction: column; align-self: stretch; font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 86px; letter-spacing: -2px; }
.hp-hero__lead { width: 560px; font-size: 16px; line-height: 26px; color: var(--color-muted); }
.hp-hero__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; width: 420px; margin-top: 54.5px; }
.hp-hero__box { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: var(--radius-sm); background: var(--color-lime); color: var(--color-text-dark); font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 86.4px; }
.hp-hero__down { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-right: 6px; color: var(--color-lime); font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 17px; }
.hp-hero__down i { display: block; width: 2px; height: 56px; background: currentColor; }
.hp-hero__deco-star { display: none; }

/* ── directory (2:1603 / 45:607 + 45:618) ────────────────────────────── */
.hp-dir { padding: 20px 60px; background: var(--color-bg); color: var(--color-cream-2); }
.hp-dir__inner { display: flex; flex-direction: column; gap: 48px; }
.hp-dir__head .eyebrow--ghost .eyebrow__box { padding: 3px 8px; }
.hp-dir__title { color: var(--color-cream-2); }
.hp-dir__hl { margin-top: 8px; padding: 2px 6px; }
.hp-dir__hint { color: var(--color-muted); }

.topics { display: grid; grid-template-columns: repeat(8, max-content) 1fr; column-gap: 12px; }
.topic { display: contents; }
.topic__btn { grid-row: 1; display: inline-flex; align-items: center; height: 48px; padding: 16px 20px; border-radius: 6px; background: var(--color-bg); color: var(--color-cream-2); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 16px; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.topic__btn:hover { background: var(--color-surface); }
.topic.is-open .topic__btn { background: var(--color-lime); color: #000; }
.topic__n, .topic__arrow { display: none; }
.topic__panel { grid-row: 2; grid-column: 1 / -1; width: 0; min-width: calc(100% + 120px); margin: 20px 0 -20px -60px; padding: 96px 60px; background: var(--color-bg); }   /* width:0 keeps the panel out of the column sizing */
.topic__panel-inner { display: flex; gap: 80px; align-items: flex-start; }
.topic__left { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; width: 420px; flex: none; }
.topic__headline { display: flex; flex-direction: column; gap: 12px; width: 434px; }
.topic__title { font-family: var(--font-display); font-weight: 800; font-size: 68px; line-height: 60px; letter-spacing: -1px; }
.topic__sub { font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 17px; letter-spacing: 1px; color: var(--color-muted-4); }
.topic__big { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: var(--radius-sm); background: var(--color-lime); color: var(--color-text-dark); font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 86.4px; }
.topic__articles { flex: 1; min-width: 0; display: flex; flex-direction: column; box-shadow: inset 0 1px 0 var(--color-border); }
.article { display: flex; align-items: flex-start; gap: 24px; padding: 32px 0; box-shadow: inset 0 -1px 0 var(--color-border); }
.article__n { width: 72px; flex: none; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 48px; color: var(--color-lime); }
.article__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article__t { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 26.4px; }
.article__p { font-size: 15px; line-height: 24px; color: var(--color-muted); }

@media (max-width: 1199px) {
  .hp-hero { height: auto; padding: 48px 16px 40px; }
  .hp-hero__wm { left: 16px; top: 16px; font-size: 110px; line-height: 132px; letter-spacing: -4px; opacity: .05; }
  .hp-hero__content { flex-direction: column; }
  .hp-hero__left { width: auto; gap: 16px; }
  .hp-hero__left .eyebrow { gap: 6px; font-size: 10px; line-height: 12px; letter-spacing: 1.5px; }
  .hp-hero__title { font-size: 56px; line-height: 50px; letter-spacing: -1px; }
  .hp-hero__lead { width: auto; font-size: 14px; line-height: 22px; }
  .hp-hero__deco { margin-top: 8px; font-size: 14px; line-height: 17px; }
  .hp-hero__deco i { width: 60px; height: 2px; }
  .hp-hero__deco-star { display: inline; margin-left: 8px; font-weight: 800; font-size: 18px; line-height: 22px; }

  .hp-dir { padding: 40px 16px 40px; }
  .hp-dir__inner { gap: 16px; }
  .hp-dir__head { gap: 12px; }
  .hp-dir__head .markets__head-left { gap: 12px; }
  .hp-dir__head .eyebrow--ghost .eyebrow__box { padding: 2px 6px; font-size: 9px; line-height: 11px; letter-spacing: 1px; }
  .hp-dir__head .eyebrow--ghost .star { font-size: 10px; line-height: 12px; letter-spacing: 0; color: var(--color-lime); }
  .hp-dir__title { gap: 4px; font-size: 32px; line-height: 38.4px; letter-spacing: -.5px; }
  .hp-dir__hl { margin-top: 0; padding: 2px 6px; line-height: 32px; border-radius: 1px; }
  .hp-dir__hint { margin-top: 4px; font-weight: 400; font-size: 13px; line-height: 16px; letter-spacing: 0; }

  .topics { display: flex; flex-direction: column; margin-top: 16px; }
  .topic { display: block; }
  .topic__btn { display: flex; align-items: center; gap: 16px; width: 100%; height: 56px; padding: 16px 12px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--color-border); font-weight: 700; font-size: 15px; line-height: 18px; letter-spacing: .5px; }
  .topic.is-open .topic__btn { border-radius: var(--radius-sm); box-shadow: none; }
  .topic__n { display: inline; width: 24px; flex: none; font-weight: 800; font-size: 20px; line-height: 24px; color: var(--color-lime); }
  .topic.is-open .topic__n { color: #000; }
  .topic__label { flex: 1; }
  .topic__arrow { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; font-size: 12px; }
  .topic__arrow i { display: none; }
  .topic__panel { width: auto; min-width: 0; margin: 0; padding: 48px 16px 0; }
  .topic__panel-inner { flex-direction: column; gap: 24px; }
  .topic__left { gap: 24px; width: auto; }
  .topic__headline { gap: 12px; width: auto; }
  .topic__title { font-size: 36px; line-height: 43.2px; letter-spacing: -.5px; color: #fff; }
  .topic__sub { letter-spacing: .5px; }
  .topic__big { width: 64px; height: 64px; font-size: 36px; line-height: 43.2px; }
  .topic__articles { margin: 0 -16px; padding: 0 16px 48px; box-shadow: none; }
  .article { gap: 16px; align-items: center; padding: 16px 12px; box-shadow: inset 0 0 0 1px var(--color-border-light); }
  .article__n { width: 24px; font-size: 20px; line-height: 24px; }
  .article__body { gap: 4px; }
  .article__t { font-weight: 700; font-size: 15px; line-height: 18px; letter-spacing: .5px; color: #fff; }
  .article__p { font-size: 13px; line-height: 18px; color: var(--color-muted-cool); }
  .article__arrow { width: 16px; flex: none; color: var(--color-lime); font-family: var(--font-display); font-weight: 800; font-size: 12px; }
}
