/* Help centre (/help/). Shell, glass tokens and the guide art come from site.css. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help { width: min(100% - 40px, var(--site-max)); margin: 0 auto; padding: 0 0 24px; }

/* ---------- Hero + search ---------- */
.help-hero {
  position: relative; z-index: 0; overflow: hidden;
  margin-top: 28px; padding: 64px 40px 40px;
  border: 1px solid var(--glass-rim); border-radius: 36px;
  background:
    radial-gradient(40% 70% at 8% 0%, rgba(47, 190, 106, .28), transparent 70%),
    radial-gradient(36% 60% at 96% 12%, rgba(46, 155, 255, .2), transparent 70%),
    radial-gradient(40% 60% at 80% 110%, rgba(255, 107, 61, .2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .34));
  box-shadow: var(--glass-shadow);
  text-align: center;
}
.help-kicker { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--site-green-soft); color: var(--site-green-ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.help-hero h1 { margin: 18px 0 10px; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.help-hero > p { max-width: 560px; margin: 0 auto; color: var(--site-soft); font-size: 17px; line-height: 1.65; font-weight: 500; }

.help-search {
  position: relative; display: flex; align-items: center;
  width: min(100%, 680px); margin: 30px auto 0;
}
.help-search__icon { position: absolute; left: 22px; width: 20px; height: 20px; color: var(--site-muted); pointer-events: none; }
.help-search input {
  width: 100%; height: 62px; padding: 0 58px;
  border: 1px solid var(--glass-rim); border-radius: 999px; outline: 0;
  background: rgba(255, 255, 255, .9); color: var(--site-ink);
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px -14px rgba(22, 20, 15, .25);
  font: 600 16px/1 var(--site-font);
  -webkit-appearance: none; appearance: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.help-search input::placeholder { color: #9A957F; font-weight: 500; }
.help-search input::-webkit-search-cancel-button { display: none; }
.help-search input:focus { border-color: var(--site-green); box-shadow: 0 0 0 4px rgba(47, 190, 106, .18), 0 14px 34px -14px rgba(22, 20, 15, .25); }
.help-search__clear {
  position: absolute; right: 12px; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(22, 20, 15, .06); color: var(--site-soft); cursor: pointer;
}
.help-search__clear[hidden] { display: none; }
.help-search__clear svg { width: 16px; height: 16px; }
.help-search__clear:hover { background: rgba(22, 20, 15, .12); color: var(--site-ink); }

.help-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.help-popular span { color: var(--site-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.help-popular a {
  padding: 8px 14px; border: 1px solid var(--glass-rim); border-radius: 999px;
  background: rgba(255, 255, 255, .6); color: var(--site-ink);
  font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: var(--glass-thumb);
  transition: background .2s ease;
}
.help-popular a:hover { background: #fff; }

/* ---------- Topic cards ---------- */
.help-topics { padding: 56px 0 24px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px 18px 12px;
  border: 1px solid var(--glass-rim); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .42));
  box-shadow: var(--glass-shadow);
  color: var(--site-ink); text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.topic-card .guide-art { --size: 84px; }
.topic-card:hover { transform: translateY(-3px); }
.topic-card:hover .guide-art__tile { transform: rotate(-2deg) translateY(-4px) scale(1.05); }
.topic-card:hover .guide-art__chip--left { transform: rotate(-12deg) translate(-4px, 3px); }
.topic-card:hover .guide-art__chip--right { transform: rotate(14deg) translate(4px, -3px); }
.topic-card__body { display: grid; gap: 4px; min-width: 0; }
.topic-card strong { font-size: 18px; letter-spacing: -.02em; }
.topic-card__body > span { color: var(--site-soft); font-size: 13px; line-height: 1.5; font-weight: 500; }
.topic-card em { color: var(--site-green-ink); font-size: 12px; font-style: normal; font-weight: 800; }

/* ---------- Questions ---------- */
.help-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px 0 56px; }
.help-nav {
  position: sticky; top: 100px; z-index: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px; border-radius: 24px;
  font-size: 13px;
}
.help-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--glass-rim); border-radius: inherit;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.help-nav strong { padding: 4px 10px 8px; color: var(--site-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.help-nav a { padding: 9px 12px; border-radius: 12px; color: var(--site-soft); font-weight: 600; text-decoration: none; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.help-nav a:hover { color: var(--site-ink); background: rgba(255, 255, 255, .8); }
.help-nav a.is-active { color: var(--site-ink); background: #fff; box-shadow: var(--glass-thumb); }
.help-page.is-searching .help-nav { opacity: .45; pointer-events: none; }
/* While searching, results follow the search box directly. */
.help-page.is-searching .help-topics { display: none; }
.help-page.is-searching .help-body { padding-top: 40px; }

.help-results { margin: 0 0 18px; color: var(--site-soft); font-size: 14px; font-weight: 600; }
.help-topic { scroll-margin-top: 100px; }
.help-topic + .help-topic { margin-top: 44px; }
.help-topic[hidden] { display: none; }
.help-topic h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.035em; }

.faq {
  margin-bottom: 10px;
  border: 1px solid var(--glass-rim); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 10px 26px -18px rgba(22, 20, 15, .3);
  scroll-margin-top: 110px;
  transition: background .2s ease, box-shadow .2s ease;
}
.faq[hidden] { display: none; }
.faq[open] { background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 #fff, 0 18px 36px -20px rgba(22, 20, 15, .3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-radius: inherit;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--site-green-ink); }
.faq__chevron { flex: 0 0 auto; width: 20px; height: 20px; color: var(--site-muted); transition: transform .3s ease; }
.faq[open] .faq__chevron { transform: rotate(180deg); color: var(--site-green-ink); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { max-width: 720px; margin: 0; color: var(--site-soft); font-size: 15px; line-height: 1.75; font-weight: 500; }
.faq__answer a { color: var(--site-green-ink); font-weight: 700; }
.faq[open] .faq__answer { animation: faq-in .3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
.faq mark { padding: 0 2px; border-radius: 4px; background: rgba(245, 166, 35, .28); color: inherit; }

/* ---------- Contact ---------- */
.help-contact { display: flex; gap: 24px; padding: 40px; border-radius: 32px; background: var(--site-ink); color: #fff; }
.help-contact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(47, 190, 106, .18); color: var(--site-green); }
.help-contact__icon svg { width: 28px; height: 28px; }
.help-contact h2 { margin: 4px 0 10px; font-size: 28px; letter-spacing: -.035em; }
.help-contact p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.7; }
.help-contact__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--site-ink);
  font-size: 14px; font-weight: 800; text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}
.help-contact__cta svg { width: 18px; height: 18px; }
.help-contact__cta:hover { background: var(--site-green-soft); }
.help-contact__cta:active { transform: scale(.97); }
.help-contact small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .6); font-size: 13px; }
.help-contact__legal { margin-top: 10px; color: rgba(255, 255, 255, .45); font-size: 13px; }
.help-contact__legal a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.help-contact__legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 960px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .help-body { grid-template-columns: 1fr; gap: 0; }
  /* The topic list becomes a sticky chip bar under the header. */
  .help-nav {
    top: 76px; z-index: 5; flex-direction: row; overflow-x: auto; margin-bottom: 20px;
    padding: 6px; border-radius: 20px; white-space: nowrap; scrollbar-width: none;
    border: 1px solid var(--glass-rim);
    background: var(--glass-fill-strong);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
  .help-nav::-webkit-scrollbar { display: none; }
  .help-nav::before, .help-nav strong { display: none; }
  .help-nav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 40px; }
  .help-nav a.is-active { background: var(--site-green-soft); box-shadow: none; }
  .help-topic, .faq { scroll-margin-top: 150px; }
}
@media (max-width: 600px) {
  .help { width: calc(100% - 24px); }
  .help-hero { margin-top: 16px; padding: 40px 18px 26px; border-radius: 28px; }
  .help-hero > p { font-size: 15px; }
  .help-search input { height: 56px; padding: 0 50px; font-size: 15px; }
  .help-search__icon { left: 18px; }
  .help-popular span { width: 100%; margin: 0 0 2px; }
  .help-topics { padding-top: 40px; }
  .topic-grid { grid-template-columns: 1fr; gap: 12px; }
  .topic-card .guide-art { --size: 72px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq__answer { padding: 0 18px 18px; }
  .faq__answer p { font-size: 14px; }
  .help-contact { display: block; padding: 28px 24px; }
  .help-contact__icon { margin-bottom: 14px; }
  .help-contact h2 { font-size: 24px; }
}
