/* Beacon help centre: light, easy-to-read pages that share the website's brand. */
:root {
  --navy: #0B1E2A;
  --navy-2: #102A3A;
  --lime: #8BD13F;
  --lime-ink: #3F7A0E;
  --teal: #17B3A3;
  --blue: #1F7FD1;
  --paper: #F4F7F2;
  --card: #FFFFFF;
  --ink: #0E2330;
  --muted: #566874;
  --line: #E1E8E3;
  --soft: #EEF3EC;
  --amber-bg: #FFF6DB;
  --amber-line: #F2D27A;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 88px }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased }
a { color: var(--blue) }
img { max-width: 100% }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; letter-spacing: -0.01em; margin: 0 }

/* top bar */
.hbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #EAF1F4; border-bottom: 1px solid rgba(255,255,255,.08) }
.hbar-in { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 22px; display: flex; align-items: center; gap: 18px }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #EAF1F4; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 20px }
.brand small { font-family: var(--body); font-weight: 500; font-size: 14px; color: #9FB3BF; margin-left: 4px }
.hbar nav { margin-left: auto; display: flex; align-items: center; gap: 6px }
.hbar nav a { color: #C9D6DD; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 9px }
.hbar nav a:hover, .hbar nav a.on { color: #fff; background: rgba(255,255,255,.07) }
.hbar nav a.cta { background: var(--lime); color: var(--navy); font-weight: 600 }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #EAF1F4; padding: 46px 22px 56px }
.hero-in { max-width: 1240px; margin: 0 auto }
.hero .kicker { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px }
.hero h1 { font-size: 44px; margin-bottom: 12px }
.hero p { color: #9FB3BF; max-width: 720px; margin: 0 0 24px; font-size: 18px }
.search { position: relative; max-width: 640px }
.search input { width: 100%; height: 56px; border-radius: 14px; border: 0; padding: 0 18px 0 50px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5) }
.search input:focus { outline: 3px solid rgba(139,209,63,.6) }
.search svg { position: absolute; left: 17px; top: 17px; width: 22px; height: 22px; color: var(--muted) }
.search-note { color: #9FB3BF; font-size: 14px; margin-top: 10px; min-height: 22px }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px }
.quick a { color: #EAF1F4; text-decoration: none; font-size: 14.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18) }
.quick a:hover { border-color: var(--lime); color: #fff }

/* layout */
.layout { max-width: 1240px; margin: 0 auto; padding: 34px 22px 80px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; font-size: 15px }
.toc h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 20px 0 6px }
.toc h4:first-child { margin-top: 0 }
.toc a { display: block; color: var(--ink); text-decoration: none; padding: 4px 10px; border-radius: 8px; line-height: 1.4 }
.toc a:hover { background: var(--soft) }
.toc a.on { background: #E3F1D3; color: var(--lime-ink); font-weight: 600 }
.jump { display: none }
.content { min-width: 0; max-width: 820px }

/* topics and articles */
.topic { margin-bottom: 26px }
.topic > h2 { font-size: 30px; margin: 10px 0 6px; padding-top: 6px }
.topic > .lead { color: var(--muted); margin: 0 0 16px }
.a { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; margin-bottom: 16px }
.a h3 { font-size: 22px; margin-bottom: 10px }
.a h4 { font-size: 17px; margin: 18px 0 6px }
.a p { margin: 0 0 12px }
.a ul, .a ol { margin: 0 0 12px; padding-left: 22px }
.a li { margin-bottom: 6px }
.a > :last-child { margin-bottom: 0 }
.a .anchor { color: var(--muted); text-decoration: none; font-weight: 400; margin-left: 8px; opacity: 0; font-size: 18px }
.a h3:hover .anchor { opacity: 1 }
.ui { font-weight: 600; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; font-size: .94em }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .9em; background: var(--soft); border-radius: 6px; padding: 1px 6px }
.steps { list-style: none; padding: 0 !important; counter-reset: s }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 12px }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--lime); font-family: var(--head); font-weight: 700; font-size: 15px; display: grid; place-items: center }
.tip, .note { border-radius: 12px; padding: 14px 18px; margin: 4px 0 14px; font-size: 16px }
.tip { background: #EAF6DC; border: 1px solid #CDE8AE }
.note { background: var(--amber-bg); border: 1px solid var(--amber-line) }
.tip b:first-child, .note b:first-child { margin-right: 4px }
table { width: 100%; border-collapse: collapse; margin: 4px 0 14px; font-size: 15.5px }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line) }
th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600 }
td:first-child { font-weight: 600; white-space: nowrap }
td.wrap { white-space: normal }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 1px }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 6px 0 14px }
.cards a { display: block; text-decoration: none; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; line-height: 1.5 }
.cards a b { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 2px }
.cards a:hover { border-color: var(--lime) }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0 }
.faq details:last-child { border-bottom: 0 }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--muted) }
.faq details[open] summary::after { content: '–' }
.faq details p { margin: 10px 0 0 }
.hidden { display: none !important }
mark { background: #F4E27A; border-radius: 3px; padding: 0 1px }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 28px; text-align: center; color: var(--muted) }
.help-foot { background: var(--navy); color: #9FB3BF; padding: 36px 22px; font-size: 15px }
.help-foot-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between }
.help-foot a { color: #EAF1F4 }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 18px }
  .toc { display: none }
  .jump { display: block; position: sticky; top: 68px; z-index: 10; margin: 0 -22px 18px; padding: 10px 22px; background: var(--paper); border-bottom: 1px solid var(--line) }
  .jump select { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; padding: 0 12px }
  .hbar nav a:not(.cta):not(.keep) { display: none }
  .hero h1 { font-size: 34px }
  .a { padding: 20px 18px }
  td:first-child { white-space: normal }
}
@media (max-width: 560px) {
  .brand small { display: none }
  .hbar-in { gap: 10px }
  .hbar nav { gap: 4px }
  .hbar nav a { padding: 7px 10px; font-size: 14px; white-space: nowrap }
  .hbar nav a.keep:not(.on) { display: none }
  .hero { padding: 30px 18px 38px }
  .hero h1 { font-size: 30px }
  .hero p { font-size: 16.5px }
  .layout { padding-left: 16px; padding-right: 16px }
  .jump { margin: 0 -16px 18px; padding: 10px 16px }
  table { font-size: 14.5px }
  th, td { padding: 8px 6px }
}
@media print {
  .hbar, .toc, .jump, .search, .quick, .help-foot { display: none }
  .layout { display: block }
  .a { break-inside: avoid; border: 0; padding: 0 0 12px }
}
