/* Help centre (client's Canva design). Everything is scoped under #helpPage. */
#helpPage {
    --hc-green: #004238;
    --hc-deep: #01372f;
    --hc-hero: #173f33;
    --hc-accent: #D5D52B;
    --hc-cream: #F5F3EB;
    --hc-sage: #E9EBE0;
    --hc-ink: #0c1f1a;
    --hc-muted: #5B6760;
    --hc-line: #E3E1D6;
    --hc-line-2: #D8D6CA;
    background: #fff;
    color: var(--hc-ink);
    font-size: 16px;
    line-height: 1.5;
}
#helpPage *, #helpPage *::before, #helpPage *::after { box-sizing: border-box; }
#helpPage section { scroll-margin-top: var(--site-header-h, 76px); }
:where(#helpPage) h1, :where(#helpPage) h2, :where(#helpPage) h3 { margin: 0; color: var(--hc-green); font-weight: 500; }
:where(#helpPage) p { margin: 0; }
#helpPage a { text-decoration: none; }
#helpPage svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hc-wrap { max-width: 1240px; margin: 0 auto; padding: 80px 32px; }
.hc-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-green); display: flex; align-items: center; gap: 10px; margin-bottom: 14px !important; }
.hc-eyebrow.has-dot::before { content: ""; width: 7px; height: 7px; background: var(--hc-green); }
.hc-h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.hc-muted { color: var(--hc-muted); font-size: 14.5px; line-height: 1.6; }
.hc-head-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: end; margin-bottom: 26px; }
.hc-head-row > p { justify-self: end; max-width: 44ch; padding-bottom: 6px; }
.hc-cream { background: var(--hc-cream); }

/* hero */
.hc-hero { background: var(--hc-cream); border-bottom: 1px solid var(--hc-line); text-align: center; }
.hc-hero .hc-wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.hc-hero .hc-eyebrow { justify-content: center; }
.hc-hero h1 { font-size: 60.72px; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px; }
.hc-hero-lead { color: var(--hc-muted); font-size: 16.5px; margin-bottom: 30px !important; }
.hc-search { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 820px; background: #fff; border: 1px solid var(--hc-line-2); border-radius: 8px; padding: 7px 7px 7px 20px; transition: border-color .15s, box-shadow .15s; }
.hc-search:focus-within { border-color: var(--hc-green); box-shadow: 0 0 0 3px rgba(0, 66, 56, .12); }
.hc-search svg { color: var(--hc-muted); }
.hc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--hc-ink); padding: 10px 0; }
.hc-search input::placeholder { color: #7E8882; }
.hc-search button { border: 0; border-radius: 6px; background: var(--hc-hero); color: #fff; font: inherit; font-weight: 600; font-size: 14px; padding: 12px 22px; cursor: pointer; transition: background-color .15s, transform .1s ease-out; }
.hc-search button:hover { background: var(--hc-deep); }
.hc-search button:active { transform: scale(.97); }
.hc-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 1040px; margin-top: 28px; text-align: left; }
.hc-path { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--hc-line-2); border-radius: 8px; padding: 20px 22px; color: var(--hc-ink) !important; transition: border-color .15s, box-shadow .2s; }
.hc-path:hover { border-color: var(--hc-green); box-shadow: 0 16px 34px -26px rgba(12, 31, 26, .5); }
.hc-path-icon { width: 44px; height: 44px; border-radius: 6px; background: var(--hc-sage); color: var(--hc-green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hc-path-icon svg { width: 20px; height: 20px; }
.hc-path b { display: block; font-weight: 500; font-size: 17px; color: var(--hc-green); }
.hc-path span { font-size: 13px; color: var(--hc-muted); }
.hc-path > svg { margin-left: auto; color: var(--hc-green); transition: transform .15s ease-out; }
.hc-path:hover > svg { transform: translateY(2px); }

/* search results */
.hc-results .hc-wrap { padding-top: 48px; padding-bottom: 48px; }
.hc-results-list { display: flex; flex-direction: column; border-top: 1px solid var(--hc-line); margin-top: 20px; }
.hc-result { display: block; padding: 18px 0; border-bottom: 1px solid var(--hc-line); color: var(--hc-ink) !important; }
.hc-result small { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hc-muted); }
.hc-result b { display: block; font-weight: 500; font-size: 17px; color: var(--hc-green); margin: 4px 0 6px; }
.hc-result:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hc-clear { font-weight: 600; font-size: 14px; color: var(--hc-green) !important; text-decoration: underline !important; }

/* topic cards */
.hc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hc-card { position: relative; display: grid; grid-template-columns: 22px 1fr 14px; gap: 6px 20px; align-content: start; min-height: 154px; background: #fff; border: 1px solid var(--hc-line-2); border-radius: 8px; padding: 24px 22px 24px 22px; color: var(--hc-ink) !important; transition: border-color .15s, box-shadow .2s, transform .2s ease-out; }
.hc-card:hover { border-color: var(--hc-green); box-shadow: 0 18px 40px -30px rgba(12, 31, 26, .55); }
.hc-card > i { grid-row: 1 / span 2; font-size: 17px; color: var(--hc-green); padding-top: 4px; text-align: center; }
.hc-card h3 { font-size: 19px; line-height: 1.3; }
.hc-card p { grid-column: 2; color: var(--hc-muted); font-size: 13.5px; line-height: 1.6; }
.hc-card > svg { grid-column: 3; grid-row: 1; width: 14px; height: 14px; color: var(--hc-green); margin-top: 4px; transition: transform .15s ease-out; }
.hc-card:hover > svg { transform: translate(2px, -2px); }
.hc-empty { color: var(--hc-muted); font-size: 14.5px; padding: 24px; border: 1px dashed var(--hc-line-2); border-radius: 8px; }

/* FAQ */
.hc-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 10px; }
.hc-faq-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--hc-line-2); }
.hc-faq-head h3 { font-size: 20px; }
.hc-faq-head span { font-size: 12px; color: var(--hc-muted); }
.hc-faq-list details { border-bottom: 1px solid var(--hc-line-2); padding: 22px 0; }
.hc-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 500; font-size: 15.5px; color: var(--hc-green); }
.hc-faq-list summary::-webkit-details-marker { display: none; }
.hc-faq-list summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--hc-green); line-height: 1; }
.hc-faq-list details[open] summary::after { content: "–"; }
.hc-faq-answer { color: var(--hc-muted); font-size: 14px; line-height: 1.75; margin-top: 12px; }
.hc-faq-answer p { margin: 0 0 8px; }
.hc-faq-answer p:last-child { margin-bottom: 0; }
.hc-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 600; font-size: 13.5px; color: var(--hc-green) !important; }
.hc-link svg { width: 13px !important; height: 13px !important; transition: transform .15s ease-out; }
.hc-link:hover svg { transform: translate(2px, -2px); }
.hc-else { display: flex; justify-content: space-between; align-items: center; gap: 16px 36px; flex-wrap: wrap; border-top: 1px solid var(--hc-line-2); margin-top: 40px; padding-top: 24px; }
.hc-else > span { font-size: 13px; color: var(--hc-muted); }
.hc-else nav { display: flex; gap: 36px; flex-wrap: wrap; }
.hc-else .hc-link { margin: 0; }

/* still need a hand */
.hc-hand { background: var(--hc-sage); }
.hc-hand .hc-wrap { padding-top: 52px; padding-bottom: 52px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.hc-hand-copy { display: grid; grid-template-columns: 36px 1fr; gap: 8px 20px; align-items: center; }
.hc-hand-copy > svg { width: 30px; height: 30px; color: var(--hc-green); stroke-width: 1.4; }
.hc-hand h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.015em; }
.hc-hand-copy p { grid-column: 2; }
.hc-hand-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hc-btn { display: inline-flex; align-items: center; gap: 22px; background: var(--hc-hero); color: #fff !important; font-weight: 600; font-size: 14px; padding: 15px 22px; border-radius: 6px; transition: background-color .15s, transform .1s ease-out; }
.hc-btn:hover { background: var(--hc-deep); }
.hc-btn:active { transform: scale(.97); }
.hc-btn svg { width: 14px !important; height: 14px !important; }
.hc-hand-cta > a:last-child { font-size: 14px; color: var(--hc-green) !important; }
.hc-hand-cta > a:last-child:hover { text-decoration: underline; }

@media (max-width: 991px) {
    .hc-wrap { padding: 60px 20px; }
    .hc-head-row { grid-template-columns: 1fr; gap: 10px; }
    .hc-head-row > p { justify-self: start; }
    .hc-grid-3 { grid-template-columns: 1fr 1fr; }
    .hc-faq-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 680px) {
    .hc-hero h1 { font-size: 40px; }
    .hc-wrap { padding: 48px 16px; }
    .hc-paths, .hc-grid-3 { grid-template-columns: 1fr; }
    .hc-search { padding-left: 14px; }
    .hc-search button { padding: 12px 16px; }
    .hc-card { min-height: 0; }
    .hc-hand-cta { align-items: flex-start; }
    .hc-else nav { gap: 18px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    #helpPage * { transition: none !important; }
}

/* support sections: the FAQ categories as question boxes, above the help topics */
.hc-sub { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-muted); margin: 0 0 14px; }
.hc-qboxes + .hc-sub { margin-top: 36px; }
.hc-qboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hc-qbox { display: grid; grid-template-columns: 22px 1fr 14px; gap: 14px; align-items: center; background: var(--hc-sage); border: 1px solid transparent; border-radius: 8px; padding: 18px 20px; color: var(--hc-ink) !important; transition: border-color .15s, background-color .15s; }
.hc-qbox:hover { border-color: var(--hc-green); background: #fff; }
#helpPage .hc-qbox svg { width: 20px; height: 20px; color: var(--hc-green); }
#helpPage .hc-qbox > svg:last-child { width: 14px; height: 14px; transition: transform .15s ease-out; }
.hc-qbox:hover > svg:last-child { transform: translate(2px, -2px); }
.hc-qbox b { display: block; font-weight: 500; font-size: 16.5px; line-height: 1.3; color: var(--hc-green); }
.hc-qbox small { display: block; font-size: 12.5px; color: var(--hc-muted); margin-top: 2px; }
.hc-cream .hc-qbox { background: #fff; }
@media (max-width: 991px) { .hc-qboxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hc-qboxes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hc-qbox, .hc-qbox svg { transition: none; } }
