/* Helpdesk page — extends the shared BranchAdvice design system. */
.hd-skip {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
  transform: translateY(-160%);
}
.hd-skip:focus { transform: none; }
.hd-hero { padding: calc(var(--nav-h) + 82px) 0 0; }
.hd-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
}
.hd-hero-copy, .hd-flow, .hd-plan, .hd-scope-card { min-width: 0; }
.hd-hero .h1 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.08; margin-bottom: 24px; }
.hd-hero .lead { font-size: 18px; line-height: 1.75; max-width: 540px; }
.hd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; margin-top: 32px; }
.hd-actions .btn { font-size: 14px; padding: 16px 22px; }
.hd-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--accent-3); }
.hd-text-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hd-text-link span { font-size: 18px; }
.hd-hero-note { margin-top: 22px; color: var(--muted); font-size: 12.5px; }
.hd-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 38px;
  margin-top: 64px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.hd-hero-strip span { display: inline-flex; align-items: center; gap: 10px; }
.hd-hero-strip span::before { content: ''; width: 5px; height: 5px; border: 1px solid var(--accent-2); border-radius: 50%; }

/* A process illustration, deliberately without live statuses or performance data. */
.hd-flow {
  position: relative;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(107, 146, 255, .25);
  border-radius: 28px;
  background: radial-gradient(400px 240px at 100% 0, rgba(47, 107, 255, .13), transparent 75%), linear-gradient(160deg, #101420, #0b0d14 65%);
  box-shadow: 0 30px 85px -30px rgba(0, 0, 0, .7);
}
.hd-flow-top { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; }
.hd-flow-mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(107, 146, 255, .2); border-radius: 14px; color: var(--accent-3); flex: none; }
.hd-flow-mark svg { width: 23px; height: 23px; }
.hd-flow-kicker { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.hd-flow-top strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.hd-flow-entry { padding: 20px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.025); }
.hd-flow-entry > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.hd-channels { display: flex; flex-wrap: wrap; gap: 7px; }
.hd-channels span { border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px; color: var(--muted); font-size: 11.5px; background: rgba(255,255,255,.025); }
.hd-flow-steps { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 22px; }
.hd-flow-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.hd-flow-steps li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 35px; height: calc(100% - 10px); width: 1px; background: linear-gradient(var(--border-strong), rgba(107,146,255,.16)); }
.hd-flow-number { position: relative; display: grid; place-items: center; width: 33px; height: 33px; flex: none; border: 1px solid rgba(107, 146, 255, .3); border-radius: 50%; color: var(--accent-3); font-size: 10px; font-weight: 600; background: #0f1525; }
.hd-flow-steps strong { display: block; font-size: 14px; font-weight: 600; padding-top: 3px; }
.hd-flow-steps p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.hd-flow figcaption { display: flex; align-items: center; gap: 9px; padding-top: 19px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.hd-flow figcaption svg { width: 16px; height: 16px; flex: none; color: var(--accent-3); }

.hd-section { padding: 104px 0; }
.hd-section-head { max-width: 760px; margin-bottom: 44px; }
.hd-section-head .eyebrow { margin-bottom: 20px; }
.hd-section-head .h2 { font-size: clamp(32px, 3.7vw, 48px); margin-bottom: 22px; }
.hd-section-head .lead { max-width: 630px; font-size: 17px; }
#perimetre, #organisations { scroll-margin-top: calc(var(--nav-h) + 24px); }
.hd-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hd-scope-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.hd-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.hd-card-top svg { width: 26px; height: 26px; color: var(--accent-2); }
.hd-card-top > span { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.hd-scope-card h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.hd-scope-card p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.hd-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.hd-card-tags span { font-size: 10.5px; color: var(--accent-3); padding: 4px 8px; background: rgba(47,107,255,.07); border-radius: 5px; }
.hd-scope-extension { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 28px 0 0; }
.hd-scope-extension > div { max-width: 760px; }
.hd-scope-extension strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.hd-scope-extension p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.hd-scope-extension > a { flex: none; }

.hd-section-tint { border-block: 1px solid var(--border); background: rgba(47,107,255,.018); }
.hd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hd-plan { display: flex; flex-direction: column; padding: 32px 28px 24px; border: 1px solid var(--border-strong); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.hd-plan-focus { border-color: rgba(107,146,255,.4); background: radial-gradient(400px 320px at 50% -20%, rgba(47,107,255,.15), transparent 80%), rgba(47,107,255,.025); }
.hd-plan-label { color: var(--accent-3); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.hd-plan h3 { font-size: 25px; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; margin-bottom: 18px; }
.hd-plan > p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.hd-plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 27px 0 32px; }
.hd-plan li { position: relative; padding-left: 18px; font-size: 13px; color: #c7c9d2; line-height: 1.65; }
.hd-plan li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--accent-2); border-radius: 50%; }
.hd-plan-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 21px; border-top: 1px solid var(--border); }
.hd-plan-bottom > span { font-size: 15px; font-weight: 600; }
.hd-plan-bottom a { color: var(--accent-3); font-size: 12px; font-weight: 500; }
.hd-plan-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hd-plan-bottom a span { margin-left: 4px; }
.hd-section-note { color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 950px; margin-top: 26px; }

.hd-launch-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; }
.hd-launch-steps li { position: relative; border-top: 1px solid var(--border-strong); padding-top: 25px; }
.hd-launch-number { display: inline-block; font-size: 12px; color: var(--accent-3); letter-spacing: .05em; margin-bottom: 24px; }
.hd-launch-steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 11px; }
.hd-launch-steps p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.hd-delivery-section { padding-block: 80px; background: radial-gradient(700px 420px at 5% 50%, rgba(47,107,255,.06), transparent 75%); border-block: 1px solid var(--border); }
.hd-delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 96px); align-items: center; }
.hd-delivery-copy .h2 { font-size: clamp(30px, 3.2vw, 43px); line-height: 1.15; margin-bottom: 24px; }
.hd-delivery-copy .lead { font-size: 17px; margin-bottom: 18px; }
.hd-delivery-copy > p:last-child { font-size: 14px; line-height: 1.8; color: var(--muted); }
.hd-delivery-points { display: flex; flex-direction: column; }
.hd-delivery-points article { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.hd-delivery-points article:first-child { padding-top: 0; }
.hd-delivery-points article:last-child { padding-bottom: 0; border-bottom: 0; }
.hd-delivery-points article > span { font-size: 12px; color: var(--accent-3); padding-top: 4px; }
.hd-delivery-points h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; letter-spacing: -.02em; }
.hd-delivery-points p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.hd-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 65px; align-items: start; }
.hd-faq-intro .h2 { font-size: clamp(34px, 3.7vw, 48px); margin-bottom: 24px; }
.hd-faq-intro > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.hd-faq { width: 100%; max-width: none; gap: 12px; }
.hd-faq .faq-item summary { font-size: 14.5px; padding: 20px; }
.hd-faq .faq-body { font-size: 14px; padding: 0 20px 22px; }
.hd-final-section { padding-top: 0; }
.hd-final { padding: 72px 32px; }
.hd-final .h2 { font-size: clamp(34px, 4.2vw, 54px); }
.hd-final .lead { max-width: 580px; font-size: 17px; }
.hd-final .btn { font-size: 15px; }
.hd-final-note { color: var(--muted); font-size: 12px; margin-top: 24px; }

@media (max-width: 1050px) {
  .hd-hero-grid { gap: 36px; }
  .hd-hero .h1 { font-size: 46px; }
  .hd-flow { padding: 24px; }
  .hd-hero .lead { font-size: 17px; }
  .hd-scope-card, .hd-plan { padding: 25px 22px; }
  .hd-plan h3 { font-size: 23px; }
  .hd-faq-grid { gap: 35px; }
}
@media (max-width: 900px) {
  .hd-hero { padding-top: calc(var(--nav-h) + 55px); }
  .hd-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .hd-hero-copy { max-width: 660px; }
  .hd-hero .h1 { font-size: clamp(44px, 6.4vw, 60px); }
  .hd-flow { max-width: 580px; width: 100%; }
  .hd-hero-strip { margin-top: 45px; }
  .hd-scope-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hd-plans { grid-template-columns: 1fr; gap: 18px; }
  .hd-plan { padding: 30px; }
  .hd-plan > p { max-width: 580px; }
  .hd-plan ul { padding-bottom: 24px; }
  .hd-launch-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
  .hd-delivery-grid { grid-template-columns: 1fr; gap: 42px; }
  .hd-delivery-copy { max-width: 650px; }
  .hd-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hd-faq-intro .h2 br { display: none; }
  .hd-section { padding-block: 78px; }
  .hd-final-section { padding-top: 0; }
}
@media (max-width: 600px) {
  .hd-hero { padding-top: calc(var(--nav-h) + 36px); }
  .hd-hero .eyebrow { font-size: 10.5px; letter-spacing: .09em; gap: 8px; }
  .hd-hero .h1 { font-size: clamp(36px, 9.1vw, 48px); }
  .hd-hero .h1 br { display: none; }
  .hd-hero .h1 em { display: block; }
  .hd-hero .lead { font-size: 16px; }
  .hd-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 26px; }
  .hd-actions .btn { width: 100%; }
  .hd-hero-note { font-size: 12px; line-height: 1.6; }
  .hd-hero-strip { flex-direction: column; gap: 12px; padding-block: 22px; font-size: 12px; }
  .hd-flow { padding: 22px 20px; border-radius: 22px; }
  .hd-flow-top strong { font-size: 17px; }
  .hd-flow-entry { padding: 17px; }
  .hd-channels span { padding: 4px 9px; }
  .hd-flow-steps { gap: 23px; }
  .hd-flow-steps strong { font-size: 13px; }
  .hd-flow-steps p { font-size: 12px; }
  .hd-section { padding-block: 64px; }
  .hd-section-head { margin-bottom: 30px; }
  .hd-section-head .h2 { font-size: 34px; }
  .hd-section-head .lead { font-size: 16px; }
  .hd-scope-grid { grid-template-columns: 1fr; gap: 14px; }
  .hd-scope-card { padding: 26px; }
  .hd-card-top { margin-bottom: 20px; }
  .hd-scope-card p { margin-bottom: 20px; }
  .hd-scope-extension { align-items: flex-start; flex-direction: column; gap: 18px; padding-top: 14px; }
  .hd-plan { padding: 28px 24px 24px; }
  .hd-plan h3 { font-size: 26px; }
  .hd-launch-steps { grid-template-columns: 1fr; gap: 27px; }
  .hd-launch-steps li { padding-top: 19px; }
  .hd-launch-number { margin-bottom: 14px; }
  .hd-launch-steps p { max-width: 420px; }
  .hd-delivery-copy .h2 { font-size: 32px; }
  .hd-delivery-points article { gap: 17px; }
  .hd-faq .faq-item summary { gap: 12px; font-size: 14px; }
  .hd-final-section { padding-top: 0; }
  .hd-final { padding: 46px 22px; }
  .hd-final .h2 { font-size: 34px; }
  .hd-final .lead { font-size: 15px; }
  .hd-final .btn { white-space: normal; line-height: 1.4; padding: 16px; font-size: 14px; }
  .hd-final-note { font-size: 11px; line-height: 1.8; }
}
