/* Help centre (2026-11-09): the user guide, FAQ and compliance guides share one
   frame so they read as one built-in section. Same language as the FAQ: big
   type, thin rules, one accent, no boxed pages. Colours come from the shared
   public-content variables, so light and dark both follow Settings. */

/* Body text in true regular weight (brand-logo.css only carries 600). */
@font-face{font-family:Inter;src:url('/assets/fonts/Inter_400Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('/assets/fonts/Inter_700Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

.help-centre-page {
  --help-brand: #00788F;
  --help-body: #2c3a54;
  --help-panel: #ffffff;
  --help-note: #fff7e8;
  --help-note-line: #ecd3a6;
  --help-numeral: #9aa7bf;
}
body.dark-mode.help-centre-page {
  --help-brand: #5CC8DF;
  --help-body: #cfd8ea;
  --help-panel: #17233a;
  --help-note: #2b2418;
  --help-note-line: #5b4826;
  --help-numeral: #6d7c99;
}
.help-centre-page main { padding-bottom: 72px; }

/* ---------- One sub-navigation for the whole section ---------- */
.help-tabs { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 8px 0 0; border-bottom: 1px solid var(--pc-line); }
.help-tabs-label { display: none; color: var(--pc-ink); font-size: 13px; font-weight: 650; letter-spacing: -.005em; }
.help-tabs > div { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.help-tabs > div::-webkit-scrollbar { display: none; }
.help-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 48px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--pc-muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, border-color .15s; }
.help-tabs a:hover { color: var(--pc-ink); }
.help-tabs a[aria-current] { border-color: var(--help-brand); color: var(--pc-ink); }

/* ---------- Page opening ---------- */
.help-hero { display: grid; gap: 8px; padding: 36px 0 8px; }
.help-kicker, .faq-kicker { margin: 0 0 14px; color: var(--help-brand, var(--faq-brand)); font-size: 11px; font-weight: 650; line-height: 1.6; letter-spacing: 1.6px; text-transform: uppercase; }
.help-hero h1 { margin: 0; color: var(--pc-ink); font-size: clamp(36px, 9vw, 64px); font-weight: 680; line-height: 1.04; letter-spacing: -.045em; }
.help-lede { max-width: 560px; margin: 18px 0 0; color: var(--pc-muted); font-size: 17px; line-height: 1.6; }
.help-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0 0; padding: 0; color: var(--pc-muted); font-size: 13px; list-style: none; }
.help-crane { display: none; margin: 0; }
.help-crane img { display: block; width: 100%; height: auto; }

/* ---------- Side navigation + reading column ---------- */
.help-layout { display: block; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--pc-line); }
.help-side { padding: 24px 0; border-bottom: 1px solid var(--pc-line); }

.help-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 40px; padding: 9px 0 9px 14px; border-left: 2px solid var(--pc-line); color: var(--pc-muted); font-size: 14px; line-height: 1.45; text-decoration: none; transition: color .15s, border-color .15s; }
.help-toc a > span { flex: none; min-width: 18px; color: var(--help-numeral); font-size: 11px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.help-toc a:hover { color: var(--pc-ink); border-color: var(--pc-muted); }
.help-toc a[aria-current] { color: var(--pc-ink); border-color: var(--help-brand); font-weight: 600; }

.help-body { min-width: 0; max-width: 720px; color: var(--help-body); font-size: 16px; line-height: 1.75; }
.help-body p { margin: 0 0 16px; }
.help-body strong, .help-body dt { color: var(--pc-ink); font-weight: 650; }
.help-body a { color: var(--pc-ink); font-weight: 600; text-decoration-color: var(--help-brand); text-underline-offset: 3px; }
.help-body a:hover { color: var(--help-brand); }
.help-body ul, .help-body ol { margin: 0 0 20px; padding-left: 22px; }
.help-body li { margin: 0 0 10px; padding-left: 4px; }
.help-body li::marker { color: var(--help-brand); }
.help-body h3 { margin: 28px 0 10px; color: var(--pc-ink); font-size: 18px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
.help-body dl { margin: 0 0 20px; border-top: 1px solid var(--pc-line); }
.help-body dt { margin: 0; padding: 14px 0 0; }
.help-body dd { margin: 2px 0 0; padding: 0 0 14px; border-bottom: 1px solid var(--pc-line); color: var(--pc-muted); }

/* A chapter or section is a seamless block between thin rules. */
.help-section { padding: 40px 0 24px; border-top: 1px solid var(--pc-line); scroll-margin-top: 16px; }
.help-section:first-child, .help-section.is-first { border-top: 0; }
.help-section:focus { outline: none; }
.help-section > :last-child { margin-bottom: 0; }
.help-section > h2 { margin: 0 0 18px; color: var(--pc-ink); font-size: clamp(24px, 6vw, 30px); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; }
.help-section-number { display: block; margin: 0 0 10px; color: var(--help-brand); font-size: 11px; font-weight: 700; letter-spacing: .12em; }

.help-note { margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--help-note-line); border-radius: 12px; color: var(--help-body); background: var(--help-note); font-size: 15px; line-height: 1.65; }

.help-summary { margin: 0 0 24px; padding: 24px; border: 1px solid var(--pc-line); border-radius: 16px; background: var(--help-panel); }
.help-summary h2 { margin: 0 0 14px; color: var(--help-brand); font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: 1.6px; text-transform: uppercase; }
.help-summary ul { margin: 0; padding: 0; list-style: none; }
.help-summary li { position: relative; margin: 0; padding: 12px 0 12px 22px; border-top: 1px solid var(--pc-line); line-height: 1.6; }
.help-summary li:first-child { border-top: 0; padding-top: 0; }
.help-summary li::before { content: ""; position: absolute; top: 21px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--help-brand); }
.help-summary li:first-child::before { top: 9px; }

.help-toc h2 { margin: 0 0 10px; color: var(--pc-ink); font-size: 13px; font-weight: 650; }
.help-toc ol { display: grid; margin: 0; padding: 0; list-style: none; }

.help-footer-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--pc-line); color: var(--pc-muted); font-size: 13px; }
.help-footer-line a { color: var(--pc-ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Compliance pieces ---------- */
.compliance-cite { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; color: var(--help-brand); background: var(--pc-soft); font-size: 12px; font-weight: 650; line-height: 1.7; white-space: nowrap; vertical-align: 1px; }
.compliance-table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 15px; }
.compliance-table caption { margin-bottom: 10px; color: var(--pc-ink); font-weight: 650; text-align: left; }
.compliance-table th, .compliance-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--pc-line); text-align: left; vertical-align: top; }
.compliance-table th { color: var(--pc-muted); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.compliance-table tr:last-child td { border-bottom: 1px solid var(--pc-line); }
.compliance-table td:first-child { width: 40%; color: var(--pc-ink); font-weight: 600; }
.help-body .compliance-checks { padding: 0; list-style: none; }
.compliance-checks li { position: relative; padding-left: 32px; }
.compliance-checks li::before { content: ""; position: absolute; top: .5em; left: 4px; width: 12px; height: 7px; border-bottom: 2px solid var(--help-brand); border-left: 2px solid var(--help-brand); transform: rotate(-45deg); }

.help-countries { margin: 0; padding: 0; border-top: 1px solid var(--pc-line); list-style: none; }
.help-country { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--pc-line); color: var(--pc-ink); text-decoration: none; }
.help-country-code { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--help-brand); background: var(--pc-soft); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.help-country strong { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.help-country-laws { display: block; margin-top: 2px; color: var(--pc-muted); font-size: 14px; line-height: 1.5; }
.help-country-go { display: inline-flex; align-items: center; gap: 6px; color: var(--help-brand); font-size: 14px; font-weight: 650; white-space: nowrap; }
.help-country:hover strong { color: var(--help-brand); }
.help-country:hover .help-country-go svg { transform: translateX(3px); }
.help-country-go svg { transition: transform .2s; }
.help-soon { margin: 20px 0 0; color: var(--pc-muted); font-size: 15px; }

@media (min-width: 760px) {
  .help-tabs-label { display: block; }
  .help-hero { grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 48px; padding: 48px 0 8px; }
  .help-hero h1 { max-width: 15ch; text-wrap: balance; }
  .help-crane { display: block; justify-self: end; width: 220px; }
  .help-hero-plain { grid-template-columns: minmax(0, 1fr); }
  .help-hero-plain h1 { max-width: 20ch; }
  .help-hero-plain .help-lede { max-width: 680px; }
  .help-country { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; }
  .help-country-code { width: 56px; height: 56px; }
  .help-summary { padding: 28px 32px; }
}
@media (max-width: 759px) {
  .help-country-go span { display: none; }
  .compliance-table td:first-child { width: auto; }
}
@media (min-width: 960px) {
  .help-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 72px; padding-top: 40px; }
  .help-side { position: sticky; top: 24px; align-self: start; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 8px 0; border: 0; scrollbar-width: thin; }
  
  .help-section { padding-top: 48px; }
  .help-body > .help-section:first-child { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .help-tabs a, .help-toc a, .help-country-go svg { transition: none; }
}
@media print {
  .help-centre-page { background: #fff; color: #000; }
  .public-page-ribbon, .help-tabs, .help-side, .help-crane, .public-footer, .skip-link { display: none !important; }
  .help-layout { display: block; border: 0; margin: 0; padding: 0; }
  .help-body { max-width: none; color: #000; font-size: 10.5pt; }
  .help-section { padding: 14pt 0; break-inside: auto; }
  .help-section > h2, .help-body h3, .help-body dt { break-after: avoid; }
  .help-hero h1 { font-size: 24pt; }
  @page { margin: 18mm; }
}

/* ---------- Hub blocks and the way back ---------- */
.help-block { margin: 40px 0 0; }
.help-block-title { margin: 0 0 16px; color: var(--pc-ink); font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.help-block .help-note { margin-top: 32px; }

.compliance-guide-page .help-summary { margin-top: 32px; }
.compliance-guide-page .help-summary, .compliance-guide-page > .public-shell > main > .help-note { max-width: 960px; }
