:root {
  --accl-h2-navy: #061e45;
  --accl-h2-blue: #096dcc;
  --accl-h2-blue-hover: #0759aa;
  --accl-h2-focus: #f5b819;
  --accl-h2-font: "Raleway", "Segoe UI", Arial, sans-serif;
}

body.accl-hero-v2 .header-main > .hero-overlay,
body.accl-hero-v2 .header-main > .wrapper + .hero-element,
body.accl-hero-v2 .page-title {
  display: none;
}

body.accl-hero-v2 .header-main {
  background: var(--accl-h2-navy);
}

.accl-h2,
.accl-h2 * {
  box-sizing: border-box;
}

.accl-h2 {
  position: relative;
  display: flex;
  min-height: 460px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--accl-h2-navy);
  font-family: var(--accl-h2-font);
}

.accl-h2__image,
.accl-h2__wash {
  position: absolute;
  inset: 0;
}

.accl-h2__image {
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
}

.accl-h2__wash {
  background: linear-gradient(90deg, rgba(3, 24, 57, .98) 0%, rgba(4, 29, 68, .92) 36%, rgba(4, 29, 68, .5) 66%, rgba(4, 29, 68, .2) 100%);
}

.accl-h2--strong .accl-h2__wash {
  background: linear-gradient(90deg, rgba(3, 24, 57, .98) 0%, rgba(4, 29, 68, .94) 40%, rgba(4, 29, 68, .68) 68%, rgba(4, 29, 68, .42) 100%);
}

/* Desktop "zoom out": the photo fills the right 62% (close to its own shape, so far less is cropped)
   and fades into the navy behind the text. Mobile keeps the full-bleed photo. */
@media (min-width: 761px) {
  .accl-h2__image {
    left: auto;
    right: 0;
    width: 62%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0, #000 38%);
  }

  .accl-h2__wash {
    background: linear-gradient(90deg, rgba(3, 24, 57, 1) 0%, rgba(4, 29, 68, .96) 38%, rgba(4, 29, 68, .55) 62%, rgba(4, 29, 68, .25) 100%);
  }
}

.accl-h2__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1310px);
  margin-inline: auto;
  padding-block: 48px;
}

.accl-h2__kicker {
  margin: 0 0 10px;
  color: #bcdcff;
  font: 700 .72rem/1.4 var(--accl-h2-font);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.accl-h2 h1 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #fff;
  font: 700 clamp(2rem, 2.9vw, 2.75rem)/1.12 var(--accl-h2-font);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.accl-h2__lead {
  max-width: 640px;
  margin: 0 0 24px;
  color: #edf5ff;
  font: 400 1rem/1.6 var(--accl-h2-font);
  text-wrap: pretty;
}

.accl-h2__lead a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.accl-h2__lead a:hover {
  color: #bcdcff;
}

.accl-h2__proof {
  display: flex;
  width: min(100%, 670px);
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.accl-h2__proof li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #dbe6f6;
  font: 500 .71rem/1.3 var(--accl-h2-font);
}

/* The theme sets span/li/strong to 17px globally; keep the trust bar at the homepage size. */
.accl-h2 .accl-h2__proof li span,
.accl-h2 .accl-h2__proof li strong {
  color: inherit;
  font: inherit;
}

.accl-h2 .accl-h2__proof li strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.accl-h2__proof svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Short one-line labels are for mobile only (see the 760px rule). */
.accl-h2 .accl-h2__proof .accl-h2__proof-short {
  display: none;
}

.accl-h2__proof li:first-child svg {
  color: #f5b819;
}

.accl-h2__proof strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.accl-h2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.accl-h2__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--accl-h2-blue);
  border-radius: 4px;
  color: #fff;
  background: var(--accl-h2-blue);
  font: 700 .86rem/1.2 var(--accl-h2-font);
  text-decoration: none;
  transition: background-color .2s ease-out, border-color .2s ease-out, transform .2s ease-out;
}

.accl-h2__button:hover {
  border-color: var(--accl-h2-blue-hover);
  color: #fff;
  background: var(--accl-h2-blue-hover);
  transform: translateY(-2px);
}

.accl-h2__button--outline {
  border-color: rgba(255, 255, 255, .62);
  background: transparent;
}

.accl-h2__button--outline:hover {
  border-color: #fff;
  color: var(--accl-h2-navy);
  background: #fff;
}

.accl-h2__button svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accl-h2__phone {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.accl-h2__arrow {
  width: 22px;
  height: 12px;
  stroke-width: 1.8;
}

.accl-h2 :focus-visible {
  outline: 3px solid var(--accl-h2-focus);
  outline-offset: 4px;
}

.accl-h2-opening {
  color: #43516a;
  background: #fff;
  font-family: var(--accl-h2-font);
}

.accl-h2-opening > .wrapper {
  width: min(calc(100% - 48px), 1310px);
  margin-inline: auto;
  padding-block: 36px 12px;
}

.accl-h2-opening p,
.accl-h2-opening ul,
.accl-h2-opening ol {
  max-width: 75ch;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

::selection {
  color: #fff;
  background: #096dcc;
}

/* Mobile rule (Spencer, 13 Oct): no gradient over the photo. The photo sits above the text as a 16:9 strip (the whole
   width of the image, so it reads zoomed out), and the text sits on plain navy below it. */
@media (max-width: 760px) {
  .accl-h2 {
    display: block;
    min-height: 0;
  }

  .accl-h2__image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .accl-h2__wash,
  .accl-h2--strong .accl-h2__wash {
    display: none;
  }

  .accl-h2__content {
    width: min(calc(100% - 32px), 1310px);
    padding-block: 26px 34px;
  }

  .accl-h2 h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.1rem);
  }

  .accl-h2__lead {
    font-size: .95rem;
  }

  /* Trust facts as one-line items on two rows, icons inline (Spencer, 13 Oct):
     Founded 1997 · £10m cover · BICSI RCDD / ISO 9001, 14001, 45001 · 25-year warranty.
     The ::after item is a full-width break between the rows; row one fits 360px phones. */
  .accl-h2__proof {
    display: flex;
    align-self: stretch;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 9px;
  }

  .accl-h2__proof::after {
    content: "";
    flex-basis: 100%;
    order: 4;
  }

  .accl-h2__proof li {
    gap: 5px;
    white-space: nowrap;
  }

  .accl-h2 .accl-h2__proof .accl-h2__proof-full {
    display: none;
  }

  .accl-h2 .accl-h2__proof .accl-h2__proof-short {
    display: inline;
    color: #fff;
    font-weight: 600;
  }

  .accl-h2__proof li:nth-child(1) { order: 1; }
  .accl-h2__proof li:nth-child(4) { order: 2; }
  .accl-h2__proof li:nth-child(2) { order: 3; }
  .accl-h2__proof li:nth-child(3) { order: 5; }
  .accl-h2__proof li:nth-child(5) { order: 6; }

  .accl-h2__proof svg {
    width: 20px;
    height: 20px;
  }

  /* The theme's .wrapper is a flex column aligned to the start, which shrank the buttons to their text. */
  .accl-h2__actions {
    flex-direction: column;
    align-self: stretch;
    width: 100%;
  }

  .accl-h2__button {
    width: 100%;
  }

  .accl-h2-opening > .wrapper {
    width: min(calc(100% - 32px), 1310px);
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accl-h2__button {
    transition: none;
  }
}
