/**
 * @file
 * Styles for the Solutions by Document Type listing page (path: /use-case-document-type).
 *
 * Mirrors the design reference `solutions_by_document_type_list`:
 * al-hero, sticky filter band, illustrated featured carousel, document-type card grid,
 * newsletter band, final CTA.
 *
 * Reuses bx-* classes shared with blog listing (al-hero, chips, carousel, results, empty).
 * Introduces bydoc-* classes for document-type-specific sections (band, listing, grid, feat, cta, al-newsband).
 */
/**
 * @file
 * Shared LESS variables — imported by general.less and component files.
 *
 * Breakpoint variables used in @media queries across the theme.
 */
/**
 * @file
 * Layout mixins — shared across content types.
 */
/* Full-bleed: break out of parent container to fill viewport width.
   Uses margin-left: calc(50% - 50vw) — the percentage resolves against the
   direct parent's width, cancelling out any centering offset, so the element
   always aligns with the viewport's left edge regardless of nesting depth. */
/* =========================================================================
   FULL-BLEED and GAP FIXES
   ========================================================================= */
.path-use-case-document-type .highlighted {
  display: none;
}
.path-use-case-document-type main.main-content {
  margin-top: -8px !important;
  padding-top: 0 !important;
}
.path-use-case-document-type .row {
  --bs-gutter-y: 0;
}
.path-use-case-document-type #main-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow-x: clip;
}
/* =========================================================================
   HERO (reuses al-hero classes from blog listing)
   ========================================================================= */
.al-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--al-navy-dark);
  color: #fff;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 24px;
  margin-top: 0;
}
.al-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.al-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.al-hero .container {
  position: relative;
}
.al-hero__figure {
  position: absolute;
  right: -6px;
  bottom: -22px;
  width: 452px;
  z-index: 1;
  pointer-events: none;
}
.al-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  .al-hero__figure {
    display: none;
  }
}
.al-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 60px;
  max-width: 880px;
}
/* ---------- Breadcrumb (inside al-hero) ---------- */
.al-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.al-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.al-hero .breadcrumb a:hover {
  color: #fff;
}
.al-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.al-hero .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
.al-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 75px 0 0;
  text-wrap: balance;
}
.al-hero__title .accent {
  color: var(--al-orange);
}
.al-hero__standfirst {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: #cfe0ec;
  max-width: 620px;
  margin: 18px 0 0;
  text-wrap: pretty;
}
/* ---------- Hero CTA buttons ---------- */
.al-hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.al-hero__cta .al-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s, transform 0.14s, box-shadow 0.14s, border-color 0.14s;
}
.al-hero__cta .al-btn svg {
  width: 18px;
  height: 18px;
}
.al-hero__cta .al-btn--primary {
  color: #fff;
  background: var(--al-orange);
  border: 1px solid var(--al-orange);
}
.al-hero__cta .al-btn--primary:hover {
  background: var(--al-orange-700);
  border-color: var(--al-orange-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224, 144, 48, 0.35);
  color: #fff;
}
.al-hero__cta .al-btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.al-hero__cta .al-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
/* ---------- Hero stats row ---------- */
.al-hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.al-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.al-hero__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--al-orange);
  line-height: 1;
}
.al-hero__stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 680px) {
  .al-hero__stats {
    flex-direction: column;
    gap: 20px;
  }
}
/* =========================================================================
   STICKY FILTER BAND
   ========================================================================= */
.bydoc-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(1, 55, 83, 0.08);
  padding: 14px 0;
}
.bydoc-band__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* ---------- Chip tabs (shared .bx-chip with blog listing) ---------- */
.bx-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.bx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--al-navy);
  background: #fff;
  border: 1px solid rgba(1, 55, 83, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s, box-shadow 0.14s;
  white-space: nowrap;
}
.bx-chip:hover {
  background: rgba(224, 144, 48, 0.08);
  border-color: rgba(224, 144, 48, 0.3);
}
.bx-chip.is-active {
  background: var(--al-navy);
  color: #fff;
  border-color: var(--al-navy);
  box-shadow: 0 4px 14px rgba(1, 55, 83, 0.18);
}
.bx-chip__count {
  font-size: 11px;
  opacity: 0.6;
  font-weight: 500;
}
.bx-chip.is-active .bx-chip__count {
  opacity: 0.8;
}
/* ---------- Search input ---------- */
.bydoc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(1, 55, 83, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: border-color 0.14s, box-shadow 0.14s;
  cursor: text;
  min-width: 220px;
}
.bydoc-search:focus-within {
  border-color: var(--al-orange);
  box-shadow: 0 0 0 3px rgba(224, 144, 48, 0.15);
}
.bydoc-search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(1, 55, 83, 0.35);
}
.bydoc-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--al-navy);
  width: 100%;
  min-width: 0;
}
.bydoc-search input::-moz-placeholder {
  color: rgba(1, 55, 83, 0.4);
}
.bydoc-search input::placeholder {
  color: rgba(1, 55, 83, 0.4);
}
@media (max-width: 680px) {
  .bydoc-band__row {
    flex-direction: column;
    align-items: stretch;
  }
  .bx-chips {
    justify-content: center;
  }
  .bydoc-search {
    min-width: 0;
  }
}
/* =========================================================================
   LISTING WRAPPER
   ========================================================================= */
.bydoc-listing {
  background: var(--bg-page);
  padding: 42px 0 8px;
}
/* =========================================================================
   FEATURED CAROUSEL (reuses bx-feat-* / bx-featured classes from role listing)
   ========================================================================= */
.bydoc-feat {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 0 0 42px;
  box-shadow: 0 24px 60px rgba(0, 32, 54, 0.2);
  background: var(--al-navy-dark);
}
.bx-feat-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bx-feat-slide {
  flex: 0 0 100%;
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .bx-feat-track {
    transition: none;
  }
}
/* ---------- Featured slide content ---------- */
.bx-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--al-navy-dark);
  overflow: hidden;
  position: relative;
  height: 100%;
}
.bx-featured__art {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #013753, #0a4f74);
}
.bx-featured__art::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 210px;
  border: 2px solid rgba(224, 144, 48, 0.4);
  border-radius: 50%;
  transform: rotate(-16deg);
}
.bx-featured__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.bx-featured__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(1, 55, 83, 0.28), rgba(10, 79, 116, 0) 50%, rgba(1, 55, 83, 0.4));
}
.bx-featured__body {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}
.bx-featured__cat {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #9fd2ea;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bx-featured__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--al-orange);
  margin: 9px 0 0;
  text-wrap: balance;
}
.bx-featured__excerpt {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #cfe0ec;
  margin: 14px 0 0;
  max-width: 52ch;
}
.bx-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #013753;
  background: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s, color 0.14s;
}
.bx-featured__cta svg {
  width: 16px;
  height: 16px;
}
.bx-featured__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 980px) {
  .bx-featured {
    grid-template-columns: 1fr;
  }
  .bx-featured__art {
    min-height: 240px;
  }
  .bx-featured__body {
    padding: 28px 24px;
  }
}
/* ---------- Carousel arrows ---------- */
.bx-feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, transform 0.14s;
  padding: 0;
}
.bx-feat-arrow svg {
  width: 20px;
  height: 20px;
}
.bx-feat-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}
.bx-feat-arrow--prev {
  left: 14px;
}
.bx-feat-arrow--next {
  right: 14px;
}
/* ---------- Carousel dots ---------- */
.bx-feat-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.bx-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.14s;
}
.bx-feat-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}
.bx-feat-dot.is-active {
  width: 24px;
  background: var(--al-orange);
}
/* =========================================================================
   RESULTS BAR + INTRO
   ========================================================================= */
.bx-results {
  margin: 0 0 28px;
}
.bx-results__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--al-navy);
  margin: 0;
}
.bx-results__intro {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--al-navy-300, #4a6a80);
  margin: 10px 0 0;
  max-width: 68ch;
}
.bx-results__count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--al-navy-300, #4a6a80);
  margin-top: 12px;
}
.bx-results__count b {
  color: var(--al-navy);
}
/* =========================================================================
   CARD GRID (3-column responsive)
   ========================================================================= */
.al-bydoc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) {
  .al-bydoc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .al-bydoc-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================================
   ROLE CARD (shared with role listing, plus al-bydoc-card modifier)
   ========================================================================= */
.al-role-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  text-decoration: none;
  color: var(--al-navy);
  position: relative;
  overflow: hidden;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(1, 55, 83, 0.06);
}
.al-role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--al-orange), var(--al-orange-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card:hover {
  background: var(--al-navy);
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -20px rgba(1, 55, 83, 0.45);
  border-color: var(--al-navy-dark);
  text-decoration: none;
}
.al-role-card:hover::before {
  transform: scaleX(1);
}
.al-role-card[hidden] {
  display: none;
}
.al-role-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(224, 144, 48, 0.1);
  color: var(--al-orange);
  margin-bottom: 16px;
  transition: background 0.42s var(--ease-out), color 0.42s var(--ease-out), transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
  flex-shrink: 0;
}
.al-role-card__icon svg {
  width: 28px;
  height: 28px;
}
.al-role-card:hover .al-role-card__icon {
  background: var(--al-orange);
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}
.al-role-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-out);
}
.al-role-card:hover .al-role-card__title {
  color: #fff;
}
.al-role-card__desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: #5a707e;
  margin: 0;
  flex: 1;
  transition: color 0.3s var(--ease-out);
}
.al-role-card:hover .al-role-card__desc {
  color: rgba(255, 255, 255, 0.74);
}
.al-role-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--al-orange);
  margin-top: 20px;
  transition: color 0.14s var(--ease-out), gap 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card__link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.al-role-card:hover .al-role-card__link {
  color: var(--al-orange-300);
  gap: 10px;
}
.al-role-card:hover .al-role-card__link svg {
  transform: translate(2px, -2px);
}
/* =========================================================================
   EMPTY STATE (shared .bx-empty with blog listing)
   ========================================================================= */
.bx-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  color: var(--al-navy-300, #4a6a80);
}
.bx-empty.is-shown {
  display: flex;
}
.bx-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(1, 55, 83, 0.05);
  color: rgba(1, 55, 83, 0.25);
  margin-bottom: 20px;
}
.bx-empty__icon svg {
  width: 28px;
  height: 28px;
}
.bx-empty h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--al-navy);
  margin: 0 0 8px;
}
.bx-empty p {
  font-family: var(--font-sans);
  font-size: 15px;
  margin: 0 0 18px;
  max-width: 44ch;
}
.bx-empty .al-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--al-navy);
  background: transparent;
  border: 1px solid rgba(1, 55, 83, 0.18);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s;
}
.bx-empty .al-btn--ghost:hover {
  background: rgba(1, 55, 83, 0.04);
  border-color: rgba(1, 55, 83, 0.35);
}
/* =========================================================================
   NEWSLETTER BAND
   ========================================================================= */
.al-newsband {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: #fff;
  position: relative;
  overflow: hidden;
  background: var(--al-navy);
  margin-top: 56px;
}
.al-newsband::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -100px;
  width: 330px;
  height: 190px;
  border: 2px solid rgba(224, 144, 48, 0.28);
  border-radius: 50%;
  transform: rotate(14deg);
  pointer-events: none;
}
.al-newsband__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: 56px 0;
}
.al-newsband h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  max-width: 20ch;
}
.al-newsband p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #bcd6e7;
  margin: 9px 0 0;
  max-width: 52ch;
}
.al-newsband form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.al-newsband input {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  min-width: 250px;
  width: auto;
  height: 48px;
  box-sizing: border-box;
}
.al-newsband input::-moz-placeholder {
  color: #8fb1c8;
}
.al-newsband input::placeholder {
  color: #8fb1c8;
}
.al-newsband input:focus {
  outline: none;
  border-color: var(--al-orange);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.al-newsband .form-item,
.al-newsband .js-form-item {
  margin: 0 !important;
  padding: 0 !important;
}
.al-newsband .form-item label,
.al-newsband .js-form-item label,
.al-newsband label {
  display: none;
}
.al-newsband .form-actions,
.al-newsband .webform-actions {
  margin: 0 !important;
}
.al-newsband .form-item,
.al-newsband .js-form-item,
.al-newsband .form-actions,
.al-newsband .webform-actions {
  flex: 0 0 auto;
}
.al-newsband .webform-title {
  display: none;
}
.al-newsband button[type="submit"],
.al-newsband input[type="submit"],
.al-newsband .webform-button--submit,
.al-newsband .form-submit {
  height: 48px;
  box-sizing: border-box;
}
.al-newsband h2 {
  font-size: 26px;
}
.al-newsband p {
  font-size: 15px;
  color: #cfe0ec;
}
.al-newsband input {
  min-width: 0;
  width: 280px;
}
@media (max-width: 680px) {
  .al-newsband__in {
    flex-direction: column;
    align-items: flex-start;
  }
  .al-newsband input {
    width: 100%;
  }
}
/* =========================================================================
   FINAL CTA (dark navy, matching reference design)
   ========================================================================= */
.al-finalcta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--al-navy-900);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.al-finalcta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 2px solid var(--al-orange);
  border-radius: 50%;
  transform: rotate(-15deg) scale(1, 0.34);
  opacity: 0.22;
  pointer-events: none;
}
.al-finalcta::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid var(--al-orange);
  border-radius: 50%;
  transform: rotate(28deg) scale(1, 0.4);
  opacity: 0.14;
  pointer-events: none;
}
.al-finalcta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: end;
}
.al-finalcta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.15vw, 50px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.al-finalcta p {
  font-size: 19px;
  line-height: 1.7;
  color: #cfe0ec;
  max-width: 58ch;
  margin: 0;
}
/* Document-type CTA overrides */
.bydoc-cta .al-finalcta__inner {
  grid-template-columns: 1.5fr 1fr;
}
.bydoc-cta__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.bydoc-cta .al-btn--quote {
  background: var(--al-orange);
  border-color: transparent;
  color: #fff;
  padding: 15px 24px;
  font-size: 16px;
  border-radius: 6px;
}
.bydoc-cta .al-btn--quote:hover {
  background: var(--al-orange-700);
  color: #fff;
}
.bydoc-cta .al-btn--line {
  background: transparent;
  color: #fff;
  border: 1.25px solid rgba(255, 255, 255, 0.34);
  padding: 15px 24px;
  font-size: 16px;
  border-radius: 6px;
}
.bydoc-cta .al-btn--line:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}
.bydoc-cta__iso {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.bydoc-cta__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #cfe0ec;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}
.bydoc-cta__chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--al-orange);
}
@media (max-width: 980px) {
  .al-finalcta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* =========================================================================
   DARK THEME — use-case / document-type listing
   ---------------------------------------------------------------------------
   Ported from design-review/solutions_by_document_type_list (body.dark …).
   Design class .role-card maps to production .al-role-card. Hero is navy
   already; newsband + final CTA deepen to navy-900 to match the role listing.
   ========================================================================= */
body.dark {
  /* Filter chips */
  /* Search box */
  /* Results header */
  /* Cards (design .role-card → .al-role-card) */
  /* Empty state */
  /* Featured band */
  /* Navy bands deepen for the dark theme */
}
body.dark .bydoc-listing {
  background: var(--al-navy);
}
body.dark .bydoc-band {
  background: rgba(0, 31, 54, 0.82);
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.dark .bx-chip {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}
body.dark .bx-chip:hover {
  border-color: var(--al-orange);
  color: #fff;
}
body.dark .bx-chip.is-active {
  background: var(--al-orange);
  border-color: var(--al-orange);
  color: #02283f;
}
body.dark .bydoc-search {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
}
body.dark .bydoc-search input {
  color: #fff;
}
body.dark .bx-results__title {
  color: #fff;
}
body.dark .bx-results__count b {
  color: #fff;
}
body.dark .al-role-card {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.dark .al-role-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.55);
}
body.dark .al-role-card::after {
  background: radial-gradient(circle at center, rgba(224, 144, 48, 0.18), transparent 68%);
}
body.dark .al-role-card__title {
  color: #fff;
}
body.dark .al-role-card:hover .al-role-card__title {
  color: var(--al-orange);
}
body.dark .al-role-card__desc {
  color: rgba(255, 255, 255, 0.72);
}
body.dark .bx-empty__icon {
  background: var(--al-navy-800);
}
body.dark .bx-empty h3 {
  color: #fff;
}
body.dark .bydoc-feat {
  background: var(--al-navy);
}
body.dark .bydoc-feat__title {
  color: #fff;
}
body.dark .al-newsband {
  background: var(--al-navy-900);
}
body.dark .al-finalcta {
  background: var(--al-navy-900);
}
