/* Help-centre layout. Scoped so legal pages can share the header. */

body.hc {
  background: #f4f5f7;
  color: #1c1c1c;
  font-family: Manrope, system-ui, sans-serif;
  --sticky-h: 108px;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.hc h1,
body.hc h2,
body.hc h3,
body.hc .modal-card h2,
body.hc .welcome-call h2,
body.hc .legal-page h1,
body.hc .legal-page article h2 {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.15;
}

.hc-top {
  background: #101828;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.hc-top-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hc-top a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 8px 0;
  font-size: 1.15rem;
  text-align: center;
}

.hc-top a span {
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

body.hc .header {
  background: #fff;
  border-bottom: 1px solid #e6e8ee;
}

body.hc .header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  gap: 18px;
}

body.hc .brand {
  gap: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

body.hc .wordmark {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  line-height: 1;
}

.hc-nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.hc-drop {
  position: relative;
}

.hc-drop > a,
.hc-help > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1c1c;
  background: none;
  border: 0;
  cursor: pointer;
}

.hc-caret {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.hc-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
  padding: 8px;
  z-index: 30;
}

.hc-drop:hover .hc-panel,
.hc-drop:focus-within .hc-panel,
.hc-drop.is-open .hc-panel,
.hc-help:hover .hc-panel,
.hc-help:focus-within .hc-panel,
.hc-help.is-open .hc-panel {
  display: grid;
}

.hc-help > .hc-panel {
  left: auto;
  right: 0;
  max-width: calc(100vw - 24px);
}

.hc-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1d4ed8;
  overflow-wrap: anywhere;
}

.hc-panel a span {
  display: block;
  margin-top: 2px;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.78rem;
}

.hc-panel a:hover {
  background: #f3f6fb;
}

.hc-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.hc-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #1c1c1c;
}

.hc-icon-btn:hover,
.hc-icon-btn:focus-visible {
  background: #f3f4f6;
}

.hc-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 14px;
  min-height: 44px;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(100deg, #163a86 0%, #3a2f8c 48%, #6d3478 100%);
  border-radius: 999px;
}

.hc-phone-short {
  display: none;
}

.hc-phone:hover,
.hc-phone:focus-visible {
  background: #102a66;
  color: #fff;
}

.hc-menu {
  display: inline-grid;
}

.hc-hero {
  background: linear-gradient(100deg, #163a86 0%, #3a2f8c 48%, #6d3478 100%);
  color: #fff;
  text-align: center;
  padding: 40px 16px 44px;
}

.hc-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
}

.hc-hero-note {
  margin: 0 auto 18px;
  max-width: 560px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.hc-search-label {
  margin: 26px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.hc-call-free {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.hc-search {
  width: min(560px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 4px 4px 4px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hc-search input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 1rem;
  padding: 12px 8px;
  color: #1c1c1c;
  background: transparent;
  min-width: 0;
}

.hc-search button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1d4ed8;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hc-call {
  width: min(640px, calc(100% - 32px));
  margin: -48px auto 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  text-align: center;
  padding: 28px 24px 26px;
  position: relative;
  z-index: 2;
}

.hc-call p {
  margin: 0 0 14px;
  font-weight: 600;
  color: #1c1c1c;
}

.hc-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(520px, 100%);
  background: linear-gradient(100deg, #163a86 0%, #3a2f8c 48%, #6d3478 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 14px;
  padding: 16px 22px;
  min-height: 84px;
  line-height: 1.15;
  text-align: left;
  box-shadow: 0 6px 0 #0c2454;
}

.hc-call-icon {
  width: 42px;
  height: 42px;
  flex: none;
}

.hc-call-copy {
  display: block;
  min-width: 0;
}

.hc-call-kicker {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.hc-call-num {
  display: block;
  margin-top: 2px;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.hc-call-btn:hover,
.hc-call-btn:focus-visible {
  background: #102a66;
  color: #fff;
}

.hc-hero .hc-call-btn {
  border: 3px solid #fff;
}

.hc-call-btn:focus-visible,
.hc-top a:focus-visible,
.hc-phone:focus-visible,
body.hc .sticky-call .btn-call:focus-visible {
  outline: 3px solid #ffe14a;
  outline-offset: 3px;
}

.hc-call-btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #0c2454;
}

.hc-call-again {
  width: min(640px, calc(100% - 32px));
  margin: 8px auto 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.05);
  text-align: center;
  padding: 28px 20px 24px;
}

.hc-call-again p {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1c1c1c;
}

.hc-call-again small {
  display: block;
  margin-top: 12px;
  color: #374151;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.hc-call small {
  display: block;
  margin-top: 12px;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 600;
}

.hc-section {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 12px;
}

.hc-section h2 {
  text-align: center;
  font-size: 1.55rem;
  margin: 0 0 22px;
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hc-card {
  display: block;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.04);
  padding: 22px 18px 20px;
  text-decoration: none;
  color: inherit;
  min-height: 168px;
}

.hc-card:hover {
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.1);
}

.hc-card svg {
  width: 28px;
  height: 28px;
  color: #374151;
  margin-bottom: 14px;
}

.hc-card h3 {
  margin: 0 0 6px;
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 800;
}

.hc-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.hc-empty {
  text-align: center;
  background: #fff;
  border-radius: 4px;
  padding: 22px;
  font-weight: 700;
}

.hc-empty[hidden] {
  display: none;
}

.hc-lists {
  width: min(1100px, calc(100% - 32px));
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 20px;
}

.hc-list-card {
  background: #fff;
  border-radius: 4px;
  padding: 22px 22px 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.hc-list-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.hc-list-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-list-card a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef0f4;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.hc-article,
.hc-split,
.hc-faq {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 8px;
}

.hc-article article,
.hc-faq-list,
.hc-split {
  background: #fff;
  border-radius: 4px;
  padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.hc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(1100px, calc(100% - 32px));
}

.hc-split h2,
.hc-article h2,
.hc-faq h2 {
  text-align: left;
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.hc-split ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hc-split li,
.hc-article p {
  color: #374151;
  font-weight: 600;
}

.hc-article p {
  margin: 0 0 12px;
}

.hc-article h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.hc-faq {
  padding-bottom: 48px;
}

.hc-faq .faq-item {
  border-radius: 8px;
  border: 1px solid #e6e8ee;
  box-shadow: none;
}

body.hc footer {
  background: #fff;
  color: #4b5563;
  border-top: 1px solid #e6e8ee;
  padding: 28px 0 36px;
}

body.hc footer a {
  color: #1d4ed8;
  font-weight: 700;
}

body.hc .footer-links {
  flex-wrap: wrap;
  row-gap: 8px;
}

body.hc .legal-page {
  background: #f4f5f7;
  padding-top: 36px;
}

body.hc .legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

body.hc .legal-page article {
  border-radius: 4px;
}

body.hc .sticky-call {
  display: block;
  background: #101828;
}

body.hc .sticky-call .btn-call {
  min-height: 58px;
  padding: 12px 16px;
  font-size: 1.2rem;
  line-height: 1.2;
  background: linear-gradient(100deg, #163a86 0%, #3a2f8c 48%, #6d3478 100%);
  border-radius: 12px;
  gap: 8px;
}

body.hc .sticky-call .btn-call span {
  font-size: 1.25rem;
}

body.hc .sticky-call .btn-call:hover,
body.hc .sticky-call .btn-call:focus-visible {
  background: #102a66;
}

body.hc .sticky-sub {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 6px 0 0;
}

body.hc .modal-card h2,
body.hc .big-number {
  font-family: Manrope, system-ui, sans-serif;
  letter-spacing: -0.03em;
  text-transform: none;
}

@media (min-width: 980px) {
  .hc-nav {
    display: flex;
    min-width: 0;
  }

  .hc-menu {
    display: none;
  }

  .hc-drop > a {
    padding: 10px 8px;
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  .hc-drop > a,
  .hc-help > a {
    font-size: 0.82rem;
    padding: 8px 6px;
  }

  .hc-phone {
    font-size: 0.92rem;
    padding: 8px 12px;
  }
}

@media (max-width: 979px) {
  body.hc .wordmark {
    font-size: 1.2rem;
  }

  body.hc .header-inner {
    gap: 10px;
    min-width: 0;
  }

  .hc-menu,
  .hc-icon-btn,
  .hc-phone {
    flex-shrink: 0;
  }

  body.hc .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .hc-tools {
    position: static;
    min-width: 0;
    gap: 2px;
  }

  .hc-tools [data-focus-search] {
    display: none;
  }

  .hc-help {
    position: static;
  }

  .hc-help > .hc-panel {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 100%;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(70dvh, 420px);
    overflow: auto;
    z-index: 45;
  }

  .hc-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid #e6e8ee;
    padding: 8px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.08);
  }

  .hc-nav.is-open {
    display: flex;
  }

  body.hc .header {
    position: sticky;
  }

  .hc-nav.is-open .hc-panel {
    position: static;
    display: grid;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .hc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hc-lists,
  .hc-split {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 979px) {
  .hc-help > .hc-panel {
    left: auto;
    right: 16px;
    width: min(360px, calc(100vw - 32px));
  }
}

@media (max-width: 640px) {
  .hc-phone-full {
    display: none;
  }

  .hc-phone-short {
    display: inline;
    font-size: 1.15rem;
  }

  .hc-phone {
    font-size: 1.15rem;
    padding: 10px 16px;
  }

  .hc-drop > a,
  .hc-help > a {
    padding: 8px 6px;
  }

  .hc-grid {
    grid-template-columns: 1fr;
  }

  .hc-hero {
    padding: 28px 16px 32px;
  }

  .hc-hero h1 {
    font-size: 2rem;
  }

  .hc-call-btn {
    width: 100%;
    text-align: left;
    padding: 14px 12px;
    gap: 10px;
  }

  .hc-call-icon {
    width: 34px;
    height: 34px;
  }

  .hc-call-kicker {
    font-size: 1rem;
  }

  .hc-call-num {
    font-size: 1.45rem;
  }

  .hc-top a,
  .hc-top a span {
    font-size: 1.05rem;
  }

  body.hc footer {
    padding-bottom: 28px;
  }
}

@media (max-width: 420px) {
  body.hc .header-inner {
    width: calc(100% - 20px);
    gap: 6px;
  }

  body.hc .wordmark {
    font-size: 1.02rem;
  }

  .hc-phone {
    font-size: 1.05rem;
    padding: 10px 14px;
  }

  .hc-help > a {
    font-size: 0.82rem;
    padding: 8px 2px;
  }

  .hc-call {
    padding: 20px 14px 18px;
  }

  .hc-help > .hc-panel {
    left: 10px;
    right: 10px;
  }
}
